When you have multiple @Remotable classes in a dependent jar (not kjar) and make a REST call, you will hit the following error:
14:49:28,290 WARN [org.kie.remote.services.cdi.ProcessRequestBean] (http-127.0.0.1:8080-2) Unable to execute StartProcessCommand/0: org.kie.remote.services.exception.KieRemoteServicesDeploymentException: Could not unmarshall user-defined class instance parameter of type 'myPojo2' at org.kie.remote.services.cdi.ProcessRequestBean.verifyObjectHasBeenUnmarshalled(ProcessRequestBean.java:277) [kie-remote-services-6.4.0.Final-redhat-3-debug01.jar:6.4.0.Final-redhat-3] at org.kie.remote.services.cdi.ProcessRequestBean.checkThatUserDefinedClassesWereUnmarshalled(ProcessRequestBean.java:266) [kie-remote-services-6.4.0.Final-redhat-3-debug01.jar:6.4.0.Final-redhat-3] at org.kie.remote.services.cdi.ProcessRequestBean.preprocessCommand(ProcessRequestBean.java:241) [kie-remote-services-6.4.0.Final-redhat-3-debug01.jar:6.4.0.Final-redhat-3] at org.kie.remote.services.cdi.ProcessRequestBean.processCommand(ProcessRequestBean.java:180) [kie-remote-services-6.4.0.Final-redhat-3-debug01.jar:6.4.0.Final-redhat-3] at org.kie.remote.services.cdi.ProcessRequestBean$Proxy$_$$_WeldClientProxy.processCommand(ProcessRequestBean$Proxy$_$$_WeldClientProxy.java) [kie-remote-services-6.4.0.Final-redhat-3-debug01.jar:6.4.0.Final-redhat-3] at org.kie.remote.services.util.ExecuteCommandUtil.restProcessJaxbCommandsRequest(ExecuteCommandUtil.java:63) [kie-remote-services-6.4.0.Final-redhat-3-debug01.jar:6.4.0.Final-redhat-3] at org.kie.remote.services.rest.ExecuteResourceImpl.execute(ExecuteResourceImpl.java:60) [kie-remote-services-6.4.0.Final-redhat-3-debug01.jar:6.4.0.Final-redhat-3] at org.kie.remote.services.rest.ExecuteResourceImpl$Proxy$_$$_WeldClientProxy.execute(ExecuteResourceImpl$Proxy$_$$_WeldClientProxy.java) [kie-remote-services-6.4.0.Final-redhat-3-debug01.jar:6.4.0.Final-redhat-3] ...
- clones
-
RHPAM-46 "org.kie.remote.services.exception.KieRemoteServicesDeploymentException: Could not unmarshall user-defined class instance parameter of type" with multiple @Remotable classes in a dependent jar
- Closed
- incorporates
-
JBPM-5415 KModuleDeploymentService doesn't add multiple @Remotable classes in a dependent jar
- Resolved