Platform BZ for https://issues.jboss.org/browse/DROOLS-568
Fixed on 6.0.x branch by creating a new org.kie.remote module for the bpms layer. https://github.com/droolsjbpm/kie-wb-distributions/commit/df1a24c297bc76d41c879a68d6c9677862b555dd
Created attachment 926226 [details] updated kie-remote-reproducer app
Comment on attachment 926226 [details] updated kie-remote-reproducer app Updated since this BZ was since created.
Additional commits for fixes to the org.kie.remote module and its generation. https://github.com/droolsjbpm/kie-wb-distributions/commit/15b136c089c887740ce0e5f99b5578edd598eae5 https://github.com/droolsjbpm/kie-wb-distributions/commit/0a7055752469edf1b4fb951cac728e06fec15aeb https://github.com/droolsjbpm/kie-wb-distributions/commit/974472a662241e9293d81aa31c8a4f0277af5499 https://github.com/droolsjbpm/kie-wb-distributions/commit/8234666d995979036126c677c621c8b224798132 https://github.com/droolsjbpm/kie-wb-distributions/commit/10b8399568ee396e4c0653f096ad6e58524d7da6 My tests now run without errors.
Fix bug in org.kie.remote module dependencies https://github.com/droolsjbpm/kie-wb-distributions/commit/29a9e4261f649899a5fce11c62cab0e7ef96e3fd
Verified in BPMS 6.0.3.CR1 This is output of the reproducer that successfully deployed though I did not configure the bean and so the tests in the bean failed but not because of the missing classes because they are now used from the provided modules: 16:38:47,983 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named ReproducerBean in deployment unit deployment "kie-remote-reproducer-0.0.1-SNAPSHOT.jar" are as follows: java:global/kie-remote-reproducer-0.0.1-SNAPSHOT/ReproducerBean!org.reproducer.ReproducerBean java:app/kie-remote-reproducer-0.0.1-SNAPSHOT/ReproducerBean!org.reproducer.ReproducerBean java:module/ReproducerBean!org.reproducer.ReproducerBean java:global/kie-remote-reproducer-0.0.1-SNAPSHOT/ReproducerBean java:app/kie-remote-reproducer-0.0.1-SNAPSHOT/ReproducerBean java:module/ReproducerBean 16:38:47,997 INFO [stdout] (ServerService Thread Pool -- 66) ******** testJms(): start ********** 16:38:48,264 ERROR [org.hornetq.core.server] (Old I/O server worker (parentId: -607223660, [id: 0xdbce8094, /127.0.0.1:5445])) HQ224018: Failed to create session: HornetQException[errorType=SECURITY_EXCEPTION message=HQ119031: Unable to validate user: admin] 16:38:48,276 ERROR [stderr] (ServerService Thread Pool -- 66) org.kie.services.client.api.command.exception.RemoteCommunicationException: Unable to setup a JMS connection. 16:38:48,276 INFO [stdout] (ServerService Thread Pool -- 66) ******** testJms(): finish ********** 16:38:48,276 INFO [stdout] (ServerService Thread Pool -- 66) ******** testRest(): start ********** 16:38:49,401 ERROR [stderr] (ServerService Thread Pool -- 66) org.jboss.resteasy.client.ClientResponseFailure: Unable to find a MessageBodyReader of content-type text/html;charset="utf-8" and type null 16:38:49,402 INFO [stdout] (ServerService Thread Pool -- 66) ******** testRest(): finish ********** 16:38:49,438 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "kie-remote-reproducer-0.0.1-SNAPSHOT.jar" (runtime-name : "kie-remote-reproducer-0.0.1-SNAPSHOT.jar"