[
https://jira.jboss.org/jira/browse/JBIDE-6268?page=com.atlassian.jira.plu...
]
Libor Zoubek commented on JBIDE-6268:
-------------------------------------
Thanks, the ant way worked fine. I've just figured out, that I was testing bad
examples (because I was following ESB Tools Reference Guide). I have esb 4.7 (which is
part of soa 5) and I used non-soa 5 esb examples. SOA-5 esb helloWorld example works
fine.
I'll investigate running this example with esb versions prior to 4.7, then possibly
close this issue.
Hello world example client fails sending ESB message
----------------------------------------------------
Key: JBIDE-6268
URL:
https://jira.jboss.org/jira/browse/JBIDE-6268
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb, project-examples
Affects Versions: 3.2.next
Environment: jboss eap 5.0 GA, esb 4.7
Reporter: Libor Zoubek
Assignee: Brian Fitzpatrick
Fix For: 3.2.next
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
I am playing with HelloWorld and HelloWorld ESB examples. I've successfully deployed
HelloWorld, I am able to run SendJMSMessage client class with results as expected, but
SendEsbMessage fails
Here is result:
Usage SendEsbMessage <category> <name> <text to send>
Exception in thread "main"
org.jboss.soa.esb.listeners.message.MessageDeliverException:
org.apache.ws.scout.transport.TransportException: javax.naming.NameNotFoundException:
InquiryService not bound
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.helloworld.test.SendEsbMessage.main(SendEsbMessage.java:56)
Caused by: org.jboss.soa.esb.services.registry.RegistryException:
org.apache.ws.scout.transport.TransportException: javax.naming.NameNotFoundException:
InquiryService not bound
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: javax.naming.NameNotFoundException:
InquiryService not bound
at
org.apache.ws.scout.registry.BusinessQueryManagerImpl.findConcepts(BusinessQueryManagerImpl.java:544)
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