aspose file tools*
The moose likes BEA/Weblogic and the fly likes Weblogic 7.0 Deployment or Classpath problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 7.0 Deployment or Classpath problem" Watch "Weblogic 7.0 Deployment or Classpath problem" New topic
Author

Weblogic 7.0 Deployment or Classpath problem

alex seba
Greenhorn

Joined: Jul 19, 2002
Posts: 12
Hi,
I'm trying to manage some JDO-Classes with a stateless session bean under Weblogic 7.0.
I get a PersistenceManagerFactory and a PersistenceManager, but when I'm trying to use the PM I get the following exception:
java.io.InvalidClassException: javax.jdo.JDOException; local class incompatible:
stream classdesc serialVersionUID = 3079185867568691208, local class serialVers
ionUID = 2958849160934061695
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
1)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1254)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:29)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:167
6)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
634)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConne
ction.java:202)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputS
tream.java:193)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:3
68)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating
response stream ] - with nested exception:
[java.io.InvalidClassException: javax.jdo.JDOException; local class incompatible
: stream classdesc serialVersionUID = 3079185867568691208, local class serialVer
sionUID = 2958849160934061695]
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConne
ction.java:212)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputS
tream.java:193)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:488)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:3
68)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Exception in thread "main" weblogic.rjvm.PeerGoneException: ; nested exception i
s:
weblogic.utils.NestedException: ***** ASSERTION FAILED *****[ Exception
creating response stream ] - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating
response stream ] - with nested exception:
[java.io.InvalidClassException: javax.jdo.JDOException; local class incompatible
: stream classdesc serialVersionUID = 3079185867568691208, local class serialVer
sionUID = 2958849160934061695]]
at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundR
equest.java:109)
at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(Activata
bleRemoteRef.java:82)
at test.TraderBean_5ysgq2_EOImpl_WLStub.run(Unknown Source)
at test.TestClient.main(TestClient.java:46)
Caused by: weblogic.utils.NestedException: ***** ASSERTION FAILED *****[ Excepti
on creating response stream ] - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception creating
response stream ] - with nested exception:
[java.io.InvalidClassException: javax.jdo.JDOException; local class incompatible
: stream classdesc serialVersionUID = 3079185867568691208, local class serialVer
sionUID = 2958849160934061695]]
at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:575)
at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManag
er.java:823)
at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:62
5)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:4
27)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
I guess it's a deployment oder classpath problem. I put my business(JDO-) classes in the server's and client's classpath, then I deploy the session bean and start a test client from the command prompt.
Any ideas about this error?
I would appreciate any help!
Thanks
Alex
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic 7.0 Deployment or Classpath problem