Why ican't I find jndi.properties for TopicConnectionFactory lookup?
I have a problem with IPlanetMessageQueue3.0 . Why i can't find jndi.properties for TopicConnectionFactory lookup ? Like this Context ctx = new
InitialContext();TopicConnectionFactory tcf = (TopicConnectionFactory)ctx.lookup("TopicConnectionFactory"); What is value of
Context.INITIAL_CONTEXT_FACTORYand Context.PROVIDER_URL ( I home jmqbroker://localhost:7676 ) for default configuration ?
Have you used the object manager to create the ConnectionFactory object(s) in the JNDI store? If not, you need to use the tool to create the
object(s) and store them in the JNDI server before you may use them.
There is a simple help for this in the IPlanetMessageQueue3.0 installation bin directory. In the MQ installation bin directory, type the following
command:
imqobjmgr -H
you will get examples on how to create JNDI objects and the values that you need to set up JNDI Context.