Posted on 2009-03-21 08:48
morcble的blog 阅读(1559)
评论(0) 编辑 收藏
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
[java] java.io.StreamCorruptedException: invalid type code: 31]
[java] at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
[java] at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
[java] at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
[java] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:673)
[java] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
[java] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:373)
[java] at weblogic.jndi.Environment.getContext(Environment.java:307)
[java] at weblogic.jndi.Environment.getContext(Environment.java:277)
[java] at weblogic.jndi.Environment.createInitialContext(Environment.java:200)
[java] at weblogic.jndi.Environment.getInitialContext(Environment.java:184)
[java] at weblogic.jndi.Environment.getInitialContext(Environment.java:162)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:330)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:302)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
[java] ... 11 more
[java] Caused by: java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
[java] java.io.StreamCorruptedException: invalid type code: 31
[java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:225)
[java] at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
[java] at weblogic.common.internal.RMIBootServiceImpl_1000_WLStub.authenticate(Unknown Source)
[java] at weblogic.security.acl.internal.Security$1.run(Security.java:185)
[java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[java] at weblogic.security.service.SecurityManager.runAs(Unknown Source)
[java] at weblogic.security.acl.internal.Security.authenticate(Security.java:181)
[java] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:734)
[java] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:667)
[java] ... 21 more
[java] Caused by: java.io.StreamCorruptedException: invalid type code: 31
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
[java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
[java] at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
[java] at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
[java] at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
[java] at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
[java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:223)
[java] ... 29 more
[java] Unable to connect to 't3://localhost:7001/': invalid type code: 31. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
[java] Java Result: 1
ant jre版本和weblogic的jre版本高,不兼容。