Remote ServiceInvoker fails when using 4.7 jbossesb-rosetta.jar
---------------------------------------------------------------
Key: JBESB-3258
URL:
https://jira.jboss.org/jira/browse/JBESB-3258
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.7
Environment: jbossesb-server-4.7, JDK 1.5 or 1.6
Reporter: Scott Dawson
Using a simple remote ServiceInvoker client like the one described in the Programmer's
Guide ('Configuration for a remote ServiceInvoker') to invoke the helloworld
quickstart, if the client uses the jbossesb-rosetta.jar from
jbossesb-server-4.7/server/default/deploy/jbossesb.sar/lib, then the service invocation
fails with:
org.jboss.soa.esb.listeners.message.MessageDeliverException:
org.apache.ws.scout.transport.TransportException: java.lang.Exception:
org.jboss.internal.soa.esb.registry.client.JuddiRMITransport
This appears to happen during the creation of the ServiceInvoker object, so the call to
deliverAsync never happens.
Switching to a more recent jbossesb-rosetta.jar built from trunk solves the problem, so
the issue seems to be with the out-of-the-box 4.7 jar. Based on posts in the user forum it
seems a number of people are experiencing the problem. See the Forum Reference for more
information.
Here is a more complete stack trace:
org.jboss.soa.esb.listeners.message.MessageDeliverException:
org.apache.ws.scout.transport.TransportException: java.lang.Exception:
org.jboss.internal.soa.esb.registry.client.JuddiRMITransport
at
org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:545)
at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:174)
at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:155)
at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:197)
at EsbClient.main(EsbClient.java:16)
Caused by: org.jboss.soa.esb.services.registry.RegistryException:
org.apache.ws.scout.transport.TransportException: java.lang.Exception:
org.jboss.internal.soa.esb.registry.client.JuddiRMITransport
at
org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:348)
at
org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.findEPRs(InVMRegistryInterceptor.java:85)
at
org.jboss.soa.esb.services.registry.RegistryFactory$HeadRegistryInterceptor.findEPRs(RegistryFactory.java:229)
at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:226)
at
org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:532)
... 4 more
Caused by: javax.xml.registry.JAXRException:
org.apache.ws.scout.transport.TransportException: java.lang.Exception:
org.jboss.internal.soa.esb.registry.client.JuddiRMITransport
at
org.apache.ws.scout.registry.BusinessQueryManagerV3Impl.findConcepts(BusinessQueryManagerV3Impl.java:516)
at
org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.getJBossESBTModel(JAXRRegistryImpl.java:653)
at
org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:307)
... 8 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira