Hello, How does one configure tomcat so that a hosted application could connect to a JMS Message server such as WebSphereMQ?
I have managed to write a small test application in JMS and deployed it to tomcat and configured it to connect to MQ. This application defines the default initial context using InitialContext context = new InitialContext() And have configured the context.xml and web.xml. I have deployed and tested and it works quite well. However, I do not want to use the default context. I want to use code something like below: Hashtable env = new Hashtable() env.put(Context, "contextValue") env.put(ProviderURL, "theURL) etc InitialContext context = new InitialContext(env) My question is - What does this ProviderURL represents? Is it the URL to the JNDI service or is it the URL to the JMS message server? If it is the URL to the JNDI server, does tomcat have a separate JNDI server? If so, what is its URL? Thanks