Announcement Announcement Module
Collapse
No announcement yet.
weblogic.jms.common.JMSException: Connection not found Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • weblogic.jms.common.JMSException: Connection not found

    Hi,

    I am trying to send a message by using Weblogic8.1 which is running in another system.... Looks like it is able to recoganize the QUEUE details;however it shows that "weblogic.jms.common.JMSException: Connection not found" error;

    Request you help in this regards.... I have shared my application config details here....

    Thanks......


    <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
    <property name="environment">
    <props>
    <prop key="java.naming.factory.initial">
    weblogic.jndi.WLInitialContextFactory
    </prop>

    <prop key="java.naming.provider.url">
    t3://10.249.88.204:7001
    </prop>
    </props>
    </property>

    </bean>
    <bean id="jmsQueueConnectionFactory"
    class="org.springframework.jndi.JndiObjectFactoryB ean">


    <property name="jndiTemplate">
    <ref bean="jndiTemplate"/>
    </property>
    <property name="jndiName">
    >
    <value>messages1</value>
    </property>
    </bean>

    <bean id="sendDestination"
    class="org.springframework.jndi.JndiObjectFactoryB ean">
    <property name="jndiTemplate">
    <ref bean="jndiTemplate"/>
    </property>
    <property name="jndiName">
    <value>testmessage</value>
    </property>
    </bean>


    <bean id="receiveDestination" class="org.springframework.jndi.JndiObjectFactoryB ean">

    <property name="jndiTemplate">
    <ref bean="jndiTemplate"/>
    </property>
    <property name="jndiName">
    <value>messages</value>
    </property>
    </bean>

    <!-- JMS Destination Resolver -->
    <bean id="jmsDestinationResolver"
    class="org.springframework.jms.support.destination .JndiDestinationResolver">
    <property name="jndiTemplate">
    <ref bean="jndiTemplate"/>
    </property>
    <property name="cache">
    <value>true</value>
    </property>
    </bean>

    <bean id="jmsTemplate"
    class="org.springframework.jms.core.JmsTemplate102 ">
    <property name="connectionFactory">
    <ref bean="jmsQueueConnectionFactory"/>
    </property>
    <property name="destinationResolver">
    <ref bean="jmsDestinationResolver"/>
    </property>
    <property name="receiveTimeout">
    <value>30000</value>
    </property>
    </bean>

    <bean id="jmsSender" class="com.db.vittoriaqw.jms.JMSSender">
    <property name="jmsTemplate">
    <ref bean="jmsTemplate"/>
    </property>
    <property name="destination">
    <ref bean="sendDestination"/>
    </property>

    </bean>
    <bean id="jmsReceiver" class="com.db.vittoriaqw.jms.JMSReceiver">
    <property name="jmsTemplate">
    <ref bean="jmsTemplate"/>
    </property>[/LEFT][/LEFT][/LEFT]
    </bean>
Working...
X