JMSException:Option unsupported by protocol
843830Jun 7 2002 — edited Jul 25 2002Hi
When reading a message from topic i get the folowing exception
Exception occurred: javax.jms.JMSException: Unable to connect to JMSServer (NOAH
/192.168.0.131:9127): Option unsupported by protocol: no further information
javax.jms.JMSException: Unable to connect to JMSServer (NOAH/192.168.0.131:9127)
: Option unsupported by protocol: no further information
at com.evermind._hrb._mu(.:136)
at com.evermind._hrb.start(.:33)
at Tester.main(Tester.java:91)
I have noticed that this occours if the JMS server is running on JRE 1.4 and the client on JRE1.3
If the JMS server is runnning on JRE 1.3 , clients with either JRE 1.3 or 1.4 can connect ot it.
What could be the reason? and is there any solution to this?
The code i am using in the client is given below
topicConnection = topicConnectionFactory.createTopicConnection();
topicSession = topicConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
topicSubscriber = topicSession.createSubscriber(topic);
topicListener = new TextListener();
topicSubscriber.setMessageListener(topicListener);
topicConnection.start();
regards
Raees