1 Reply Latest reply on Nov 9, 2004 10:58 AM by starksm64

    Upgrading from 3.2.1 to 3.2.6: topic has no jndi binding

    tnx

      Hello,

      I'm trying to move my application from JBoss 3.2.1 to 3.2.6 but something seems to be changed in the JMS part. On startup I'm getting the following error:

      15:18:06,185 ERROR [WebModule] Starting failed jboss.web.deployment:war=sk.war,id=364662924
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: jms/SKTopicConnection has no valid JNDI binding. Check the jboss-web/resource-ref.)

      jms/SKTopicConnection is defined in web.xml as follows:

      <resource-ref>
       <description>Sk TopicConnectionFactory</description>
       <res-ref-name>jms/SKTopicConnection</res-ref-name>
       <res-type>javax.jms.TopicConnectionFactory</res-type>
       <res-auth>Container</res-auth>
      </resource-ref>
      


      In 3.2.1 everything is working fine. What should I check or change?

        • 1. Re: Upgrading from 3.2.1 to 3.2.6: topic has no jndi binding
          starksm64

          There needs to be a WEB-INF/jboss-web.xml jboss-web/resource-ref that specifies the jndi name of the topic connection factory being referred to here.

          <jboss-web>
          ...
           <resource-ref>
           <res-ref-name>jms/SKTopicConnection</res-ref-name>
           <jndi-name>ConnectionFactory</jndi-name>
           </resource-ref>
          </jboss-web>