[jboss-dev-forums] [JBoss ESB Development] - Re: Use of ServiceInvoker to test an ESB service

Brian Fitzpatrick do-not-reply at jboss.com
Thu Jun 23 09:10:45 EDT 2011


Brian Fitzpatrick [http://community.jboss.org/people/bfitzpat] created the discussion

"Re: Use of ServiceInvoker to test an ESB service"

To view the discussion, visit: http://community.jboss.org/message/611612#611612

--------------------------------------------------------------
Thanks Magesh, but for some reason running that as a Java program in Eclipse throws an exception. Any ideas?

{code}
Usage SendEsbMessage <category> <name> <text to send>
Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: Invocation exception. null
    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 org.jboss.soa.esb.samples.quickstart.aggregator.test.SendEsbMessage.main(SendEsbMessage.java:70)
Caused by: org.jboss.soa.esb.services.registry.RegistryException: Invocation exception. null
    at org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:121)
    at org.jboss.soa.esb.services.registry.RegistryFactory.getRegistry(RegistryFactory.java:86)
    at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:220)
    at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:532)
    ... 4 more
Caused by: java.lang.NullPointerException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:65)
    at org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:110)
    ... 7 more
{code}
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/611612#611612]

Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110623/9cae8d10/attachment.html 


More information about the jboss-dev-forums mailing list