Validation of LTPA token failed due to invalid keys or token type.
大家好,在was上发布应用成功,启动也成功,但是后台日志提示有错,登录提示账户信息已经变更现将错误日志贴上,希望高手 帮忙看一下
[10/20/13 22:15:00:281 EDT] 0000009a J2EEContext E ASYN9999E: Unexpected Exception Occurred: com.ibm.websphere.asynchbeans.SerialDeserialException: Exception while deserializing a saved service. Service=security. Unable to deserialize the Subjects in this Context, cause: Validation of LTPA token failed due to invalid keys or token type.
at com.ibm.ws.asynchbeans.J2EEContext.setSavedServicesFromBytes(J2EEContext.java:1942)
at com.ibm.ws.asynchbeans.J2EEContext.readObject(J2EEContext.java:1535)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1044)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
at com.ibm.ws.asynchbeans.ExecutionContextImpl.readObject_PAE(ExecutionContextImpl.java:290)
at com.ibm.ws.asynchbeans.ExecutionContextImpl.access$100(ExecutionContextImpl.java:52)
at com.ibm.ws.asynchbeans.ExecutionContextImpl$PAEReadObject.run(ExecutionContextImpl.java:347)
at com.ibm.ws.asynchbeans.ExecutionContextImpl$PAEReadObject.run(ExecutionContextImpl.java:338)
at java.security.AccessController.doPrivileged(AccessController.java:254)
at com.ibm.ws.asynchbeans.ExecutionContextImpl.readObject(ExecutionContextImpl.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1044)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
at com.ibm.ws.scheduler.ByteSerializationUtils$1.run(ByteSerializationUtils.java:240)
at java.security.AccessController.doPrivileged(AccessController.java:254)
at com.ibm.ws.scheduler.ByteSerializationUtils.getObjectFromBytes(ByteSerializationUtils.java:236)
at com.ibm.ws.scheduler.ByteSerializationUtils.getObjectByIDAndVersion(ByteSerializationUtils.java:522)
at com.ibm.ws.scheduler.ThreadContextHolder.setBytes(ThreadContextHolder.java:202)
at com.ibm.ws.scheduler.ByteSerializationUtils.getObjectFromBytes(ByteSerializationUtils.java:250)
at com.ibm.ws.scheduler.TaskInfoBinaryData.getThreadContextHolder(TaskInfoBinaryData.java:580)
at com.ibm.ws.scheduler.AbstractTask.getThreadContextHolder(AbstractTask.java:1101)
at com.ibm.ws.scheduler.AlarmListener.fireTask(AlarmListener.java:1413)
at com.ibm.ws.scheduler.AlarmListener.fired(AlarmListener.java:1334)
at com.ibm.ws.asynchbeans.AlarmImpl.callListenerMethod(AlarmImpl.java:427)
at com.ibm.ws.asynchbeans.timer.GenericTimer.run(GenericTimer.java:228)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:265)
at java.security.AccessController.doPrivileged(AccessController.java:203)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1165)
at com.ibm.ws.asynchbeans.AlarmImpl.runListenerAsCJWork(AlarmImpl.java:249)
at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:333)
at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:230)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1650)
Caused by: java.io.IOException: Unable to deserialize the Subjects in this Context, cause: Validation of LTPA token failed due to invalid keys or token type.
at com.ibm.ws.security.context.ContextImpl.readObject(ContextImpl.java:1218)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1044)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
at com.ibm.ws.asynchbeans.J2EEContext.setSavedServicesFromBytes(J2EEContext.java:1907)
... 44 more
Caused by: com.ibm.websphere.security.WSSecurityException: Validation of LTPA token failed due to invalid keys or token type.
at com.ibm.ws.security.context.ContextImpl.doLogin(ContextImpl.java:813)
at com.ibm.ws.security.context.ContextImpl.deserializeSubjects(ContextImpl.java:1259)
at com.ibm.ws.security.context.ContextImpl.readObject(ContextImpl.java:1196)
... 54 more LTPA WebSphere was invalid keys --------------------编程问答-------------------- http://www-01.ibm.com/support/docview.wss?uid=swg21618152 --------------------编程问答-------------------- 亲 这个具体怎么操作啊 刚解除was ,不懂啊
补充:企业软件 , WebSphere