0 Replies Latest reply on Sep 14, 2010 2:03 AM by Gurpreet Singh

    Error creating bean with name 'inboundConnectionFactory'

    Gurpreet Singh Newbie

      Hi,

       

      Im getting the below mentioned error while running Jboss 5.0.1

       

      Error creating bean with name 'inboundConnectionFactory' defined in class path resource com/equant/tBroker/ibm/config/ibminterface-spring.xml]:

      Initialization of bean failed; nested exception is javax.naming.NameNotFoundException: ConnectionFactory not bound javax.naming.NameNotFoundException: ConnectionFactory not bound.

      My JMS connection factories in file ibminterface-spring.xml  are defined as

       

       

       

       

       

      <!--JMS Connection Factories -->

       

       

      <bean id="inboundConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">

       

      <property name="jndiName"><value>ConnectionFactory</value></property>

       

      <property name="jndiEnvironment"><ref bean="jbossmqProperties"/></property>

       

      </bean>

       

       

       

       

       

      I have tried all combinations of declaring value of jndiName for eg

       

      1..<value>ConnectionFactory</value>

      2..<value>java:/ConnectionFactory</value

       

      etc but its has not worked for me.

       

       

      Regards,

      Gurpreet