0 Replies Latest reply on Apr 21, 2009 6:14 AM by 697303

    unknown protocol: jndi java.lang.Throwable: unknown protocol: jndi

    697303
      hi,
      i use WLI 8.1 sp6. in my application i have a JMS Queue to publish the message from first jpd and in the second JPD im reading the message using JMS EG. we have managed servers (MS1 and MS2) and 2 JMS Server. when the message is published to MS1 server its throwing the following exception

      <unknown protocol: jndi
      java.lang.Throwable: unknown protocol: jndi
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.lookupConnectionFactory(JMSWrapper.java:200)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.getConnectionFactory(JMSWrapper.java:169)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.ensureJNDILookupCache(JMSWrapper.java:127)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.acquirePooledJMSConnectionAndSession(JMSWrapper.java:64)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.getSession(JMSWrapper.java:325)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlMsg.createTextMsg(JMSControlMsg.java:115)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlMsg.createMessage(JMSControlMsg.java:72)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.createMessage(JMSControlImpl.jcs:1293)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.handleInvoke(JMSControlImpl.jcs:1279)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.invokeInternal(JMSControlImpl.jcs:377)
      at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.invoke(JMSControlImpl.jcs:310)
      at com.bea.control.WliJMSControlImpl.invoke(WliJMSControlImpl.jcs:205)
      at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
      at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
      at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
      at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
      at $Proxy64.sendTextMessage(Unknown Source)


      but in MS2 its working perfectly. Any help in solving this issue would be appreciated.

      thanks,
      Anees.