3 Replies Latest reply on Jul 21, 2004 5:56 AM by Matteo Maria Pileggi


    Lito Bexavanaki Newbie

      I have been using jboss 2.4.4 and I decided to switch to jboss 3.2.3.
      I have a clean Jboss 3.2.3 installation. I have only modified jbossmq-state.xml and jbossmq-destinations-service.xml to add users and topics. I get no errors at JBoss startup.

      Then I try to run the following:

      Hashtable props = new Hashtable();
       props.put(Context.PROVIDER_URL, server);
       props.put("java.naming.rmi.security.manager", "yes");
       jndiContext = new InitialContext(props);
       topicConnectionFactory = (TopicConnectionFactory)

      The returned topicConnectionFactory is null. I don't get NamingException or JMSException. Using the same context I can lookup topics I have defined in jbossmq-state.xml. I am missing something here?

      Thank you in advance.