| Author |
WLST in Weblogic 7
|
TK Ganesh
Greenhorn
Joined: May 22, 2006
Posts: 14
|
|
I am trying to connect to my weblogic server using WLST. I have set classpath for jython.jar, wlst.jar and weblogic.jar and executed the following command. java weblogic.WLST Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands wls:/(offline)> connect('weblogic','weblogic','t3://localhost:3080') Connecting to weblogic server instance running at t3://localhost:3080 as username system ... <Nov 5, 2008 1:22:48 PM IST> <Error> <RJVM> <000503> <Incoming message header or abbreviation processing failed java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -5467795090068647408, local class ser 1081892073854801359 java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -5467795090068647408, local class seri 1081892073854801359 at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:29) at java.io.ObjectInputStream.readExternalData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65) at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37) at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:222) at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:203) at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:733) at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:711) at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:372) at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:262) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:224) > Traceback (innermost last): File "<input>", line 1, in ? File "<iostream>", line 74, in connect WLSTException: 'Error occured while performing connect : Unknown Error. Use dumpStack() to view the error stack trace' I am not able to find out the problem. Please help....
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8259
|
|
Make sure you use the same JVM and classpath to run the server and WLST. If you use a different JVM or classpath, the server and WLST will have different versions of classes and will not be able to talk.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
TK Ganesh
Greenhorn
Joined: May 22, 2006
Posts: 14
|
|
|
Thanks for the reply. I have resolved this problem by removing my environment settings and running setWLSEnv.cmd which available in Weblogic.
|
 |
 |
|
|
subject: WLST in Weblogic 7
|
|
|