Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JMSException:Option unsupported by protocol

843830Jun 7 2002 — edited Jul 25 2002
Hi

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2002
Added on Jun 7 2002
1 comment
234 views