Hi,
I have developed a client application based on the example in the "Programmers Guide". It is working perfect and it is sending messages to the ESB. Next I have tried to use the code from the application in a webapplication running under Tomcat 5.5 and now my problems starts.
When the ServiceInvoker is called I get:
javax.naming.NameNotFoundException: Name InquiryService is not bound in this Context
All the jar's are the same and I have jbossesb-properties.xml on the classpath.
Any ideas on what goes wrong?
Regards
Søren
Hi,
After adding:
System.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
Everything works fine.
/Soren