My Oracle Support Banner

WLSTException: Error Occurred While Performing Connect (Doc ID 1372757.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle WebLogic Server - Version 9.2 and later
Information in this document applies to any platform.
***Checked for relevance on 12-Sep-2014***

Symptoms

When attempting to connect using WLST, the following error occurs.

WLSTException: Error occurred while performing connect Error getting the initial context. There is no server running at t3://localhost:7001.

wls:/offline> dumpStack()
This Exception occurred at Mon Oct 31 12:45:12 PDT 2011.
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
       java.io.StreamCorruptedException: invalid type code: 88]
       at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
       at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
       at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
       at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:673)
       at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
       ...
       ...
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
       java.io.StreamCorruptedException: invalid type code: 88
       at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:222)
       at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
       at weblogic.common.internal.RMIBootServiceImpl_1002_WLStub.authenticate(Unknown Source)
       ...
       ...
Caused by: java.io.StreamCorruptedException: invalid type code: 88
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1355)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
       at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
       at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
       at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
       ...
       ...

WLSTException: Error occurred while performing connect Error getting the initial context. There is no server running at t3://localhost:7001.

wls:/offline> dumpStack()
This Exception occurred at Mon Oct 31 12:45:12 PDT 2011.
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
       java.io.StreamCorruptedException: invalid type code: 88]
       at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
       at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
       at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
       at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:673)
       at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
       at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:373)
       at weblogic.jndi.Environment.getContext(Environment.java:307)
       at weblogic.jndi.Environment.getContext(Environment.java:277)
       at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
       at javax.naming.InitialContext.init(InitialContext.java:223)
       at javax.naming.InitialContext.<init>(InitialContext.java:197)
       at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:498)
       at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:551)
       at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:303)
       at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:201)
       at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
       at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:121)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
       at org.python.core.PyMethod.__call__(PyMethod.java:96)
       at org.python.core.PyObject.__call__(PyObject.java:248)
       at org.python.core.PyObject.invoke(PyObject.java:2016)
       at org.python.pycode._pyx6.connect$1(<iostream>:16)
       at org.python.pycode._pyx6.call_function(<iostream>)
       at org.python.core.PyTableCode.call(PyTableCode.java:208)
       at org.python.core.PyTableCode.call(PyTableCode.java:404)
       at org.python.core.PyTableCode.call(PyTableCode.java:253)
       at org.python.core.PyFunction.__call__(PyFunction.java:169)
       at org.python.pycode._pyx19.f$0(<console>:1)
       at org.python.pycode._pyx19.call_function(<console>)
       at org.python.core.PyTableCode.call(PyTableCode.java:208)
       at org.python.core.PyCode.call(PyCode.java:14)
       at org.python.core.Py.runCode(Py.java:1135)
       at org.python.core.Py.exec(Py.java:1157)
       at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
       at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
       at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
       at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:44)
       at weblogic.management.scripting.WLST.main(WLST.java:157)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at weblogic.WLST.main(WLST.java:29)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
       java.io.StreamCorruptedException: invalid type code: 88
       at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:222)
       at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
       at weblogic.common.internal.RMIBootServiceImpl_1002_WLStub.authenticate(Unknown Source)
       at weblogic.security.acl.internal.Security$1.run(Security.java:185)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
       at weblogic.security.service.SecurityManager.runAs(Unknown Source)
       at weblogic.security.acl.internal.Security.authenticate(Security.java:181)
       at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:734)
       at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:667)
       ... 45 more
Caused by: java.io.StreamCorruptedException: invalid type code: 88
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1355)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
       at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
       at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
       at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
       at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
       at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:592)
       at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:483)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
       at weblogic.security.service.SecurityManager.runAs(Unknown Source)
       at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:478)
       at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:62)
       at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1041)
       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
       java.io.StreamCorruptedException: invalid type code: 88]

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.