1 Reply Latest reply on Nov 7, 2007 10:58 PM by jaikiran

    URGENT: Problem in creating ConnectionFactory in JBOSS

    paradisonoir

      Hi all,

      My classes are working fine with Sun application server, but I wanted to change my application server to JBOSS because of some version problems in their AS.

      I have created my queues in JBOSS (by adding them in jbossmq-destinations-service.xml) , but do you know where I should create my ConnectionFactory?

      I want to use the ConnectionFactory later on like this:

      jndiContext = new InitialContext();
      connectionFactory = (ConnectionFactory) jndiContext.lookup("myConnectionFactory");
      dest = (Destination) jndiContext.lookup(myQueue);
      


      Thanks,