当我尝试发送 WS 请求(如下)时,我收到了这个奇怪的错误。我正在使用WebSphere App Server 7.0.0.23。由于我不熟悉这种低级别的 WebSphere 功能,因此将不胜感激有关此问题的任何帮助。谢谢!
Caused by: javax.xml.ws.WebServiceException: java.io.IOException: Unable to deserialize the Subjects in this Context, cause: org.ietf.jgss.GSSException, major code: 8, minor code: 0
major string: Credential expired
minor string: GSSCredential expired, must login again.
at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128)
at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:586)
at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:130)
at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93)
at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:364)
at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:185)
... 72 more
Caused by: java.io.IOException: Unable to deserialize the Subjects in this Context, cause: org.ietf.jgss.GSSException, major code: 8, minor code: 0
major string: Credential expired
minor string: GSSCredential expired, must login again.
at com.ibm.ws.security.context.ContextImpl.readObject(ContextImpl.java:1116)
at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1030)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1855)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1759)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1335)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:354)
at com.ibm.ws.websvcs.utils.SecurityContextMigrator$6.run(SecurityContextMigrator.java:389)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at com.ibm.ws.websvcs.utils.SecurityContextMigrator.migrateThreadToContext(SecurityContextMigrator.java:386)
at org.apache.axis2.util.ThreadContextMigratorUtil.performMigrationToContext(ThreadContextMigratorUtil.java:163)
at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.preExecute(AxisInvocationController.java:608)
at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:570)
... 78 more
Caused by: com.ibm.websphere.security.WSSecurityException: org.ietf.jgss.GSSException, major code: 8, minor code: 0
major string: Credential expired
minor string: GSSCredential expired, must login again.
at com.ibm.ws.security.context.ContextImpl.doLogin(ContextImpl.java:781)
at com.ibm.ws.security.context.ContextImpl.deserializeSubjects(ContextImpl.java:1144)
at com.ibm.ws.security.context.ContextImpl.readObject(ContextImpl.java:1110)
... 92 more