A problem with create TopicSession

lnj2050 <lnj2050-9Onoh4P/[email protected]> Fri, 27 Apr 2007 17:32:23 -0700 (PDT)
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
In my program, when hava get the TopicConnection,And I want to get the
TopicSession,an exception cause:

ERROR  Thread-16  (JmsCorrProvider.java:74)     - catch Exception while
starting Jms Provider thread
org.exolab.jms.net.proxy.RemoteInvocationException: 
java.io.InvalidClassException:
org.exolab.jms.client.net.JmsSessionStubImpl__Proxy; local class
incompatible: stream classdesc serialVersionUID = 5760464376818983147, local
class serialVersionUID = 7213503607581304163
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
	at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
	at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
	at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
	at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
	at
org.exolab.jms.net.connector.MarshalledInvocation.getRequest(MarshalledInvocation.java:102)
	at
org.exolab.jms.net.connector.ContextInvocationHandler$ContextInvocation.getRequest(ContextInvocationHandler.java:127)
	at org.exolab.jms.net.orb.DefaultORB$1.run(DefaultORB.java:528)
	at
org.exolab.jms.common.threads.ThreadPool$NotifyingRunnable.run(ThreadPool.java:211)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
	at java.lang.Thread.run(Thread.java:595)

And my code is:
		topicConnection = factory.createTopicConnection();
		
		topicConnection.start();

		TopicSession topicSession = topicConnection.createTopicSession(false,
				Session.AUTO_ACKNOWLEDGE);
The exception happen at the third line:
      TopicSession topicSession = topicConnection.createTopicSession(false,
				Session.AUTO_ACKNOWLEDGE);
Every one,do you know how about this? please tell me ,thank you very much!

-- 
View this message in context: http://www.nabble.com/A-problem-with-create-TopicSession-tf3660511.html#a10228476
Sent from the OpenJMS - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/