Description of problem: I hit the following error when I try to run mortgage-demo based on DR4. The issue is the same if I compile it based on community verison 6.2.0.Beta3 kie version. [rzhang@/workspace/3jboss-bpm-example-app/mortgage-demo-client/target]$java -jar mortgage-demo-client-6.1.0-SNAPSHOT.jar quickstartUser quickstartPwd1! Exception in thread "main" org.kie.services.client.serialization.SerializationException: Unable to marshall JaxbCommandsRequest instance. at org.kie.services.client.serialization.JaxbSerializationProvider.serialize(JaxbSerializationProvider.java:292) at org.kie.services.client.serialization.JaxbSerializationProvider.serialize(JaxbSerializationProvider.java:263) at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeRestCommand(AbstractRemoteCommandObject.java:381) at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeCommand(AbstractRemoteCommandObject.java:126) at org.kie.services.client.api.command.KieSessionClientCommandObject.startProcess(KieSessionClientCommandObject.java:286) at com.redhat.bpms.examples.mortgage.CreateProcesses.populateSamples(CreateProcesses.java:57) at com.redhat.bpms.examples.mortgage.CreateProcesses.main(CreateProcesses.java:47) Caused by: javax.xml.bind.MarshalException - with linked exception: [com.sun.istack.SAXException2: class com.redhat.bpms.examples.mortgage.Application nor any of its super class is known to this context. javax.xml.bind.JAXBException: class com.redhat.bpms.examples.mortgage.Application nor any of its super class is known to this context.] at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:326) at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251) at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:116) at org.kie.services.client.serialization.JaxbSerializationProvider.serialize(JaxbSerializationProvider.java:290) ... 6 more Caused by: com.sun.istack.SAXException2: class com.redhat.bpms.examples.mortgage.Application nor any of its super class is known to this context. javax.xml.bind.JAXBException: class com.redhat.bpms.examples.mortgage.Application nor any of its super class is known to this context. at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:247) at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:262) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:653) at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:158) at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:358) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696) at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:69) at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:172) at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:159) at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:358) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696) at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:158) at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:358) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696) at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:69) at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:172) at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:159) at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:358) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsSoleContent(XMLSerializer.java:593) at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:340) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494) at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323) ... 9 more Caused by: javax.xml.bind.JAXBException: class com.redhat.bpms.examples.mortgage.Application nor any of its super class is known to this context. at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:588) at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:648) ... 28 more Version-Release number of selected component (if applicable): How reproducible: jboss-bpm-example source: https://github.com/jboss-integration/jboss-bpm-example-app/tree/6.1.x Steps to Reproduce: 1. Start DR4 bpm server 2. Add user: ./add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' -ro 'admin,analyst 3. followed steps in jboss-brms-bpm-quickstart/jboss-bpm-example-app/README.txt 4 The error occured when run against mortgage-demo-client Actual results: Expected results: Additional info:
Created attachment 948905 [details] Exception when running mortgage-demo-client.jar
From QE perspective I confirm I am facing similar exception when running mortgage-demo-client.jar. The exception I'm getting is added to the attachment.
Kris, could you have a look on this issue? I have no clue what's going on, I am not sure if it relates to some interface change.
Yes, I have seen the same error QE report in comment 3 for ER1.
After tested on 6.1.0 ER2, I didn't see this issue anymore. It seems that it has been fixed somehow.
The issue has been fixed. Verified with BPM Suite 6.1. ER2