0 Replies Latest reply on Mar 1, 2004 7:55 AM by tonig

    Creating a TopicConnectionFactory?

    tonig Newbie

      Hello,

      i have copied a Sample JMS Client, but i have problems with the lookup.

      connectionFactory = (TopicConnectionFactory) jndiContext.lookup("TopicConnectionFactory");

      i get that console output

      javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial


      When i start my JMX console, i cant find the "TopicConnectionFactory", so i think i need to get or make it.
      But i never make a ConnectionFactory and i dont have an idea how.

      Maybe i am wrong and have to do something comletely different.

      Thank you for your help.