1 Reply Latest reply on Jul 21, 2005 5:27 PM by Ronald van Kuijk

    JMS migration from WLS to JBoss 4

    nitin_bit Newbie

      Hi,
      We are migrating a J2EE application (involving JMS/MDB) from Weblogic 7 to JBoss 4. The setup on weblogic uses Queue, Connection factory, JMS server, JDBC Message store.
      We have been able to create Queue on JBoss using jbossmq-destinations-service.xml and we tried to create Connection factory in jms-ds.xml as :





      <no-tx-connection-factory>
      <jndi-name>PBOLogQueueConnectionFactory</jndi-name>
      <rar-name>jms-ra.rar</rar-name>
      <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
      <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Queue</config-property>
      <max-pool-size>20</max-pool-size>
      <security-domain-and-application/>
      </no-tx-connection-factory>

      But our remote client says the factory is not bound as :
      Testing JMS log queue by sending a test message...javax.naming.NameNotFoundException: PBOLogQueueConnectionFactory not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      Now our query is :
      a) why is ConnectionFactory not found by client ?
      b) how to declare/configure JDBC Message-store and JMS server in JBoss ? Could not find any xml-based way to do so.