WebSphere Application Server - java.lang.IllegalStateException: unread block data during process

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > October 2006 > java.lang.IllegalStateException: unread block data during process





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author java.lang.IllegalStateException: unread block data during process

2006-10-31, 1:32 am

Hi,
I am running WPS 6.0.1.3ND on Windows.
I was getting errors during startup.
I feel there was some configuration setting thats causing this.
Could anyone help me in resolving this error.
Thanks in advance.





The resource adaptor exceptions are gone but we are still getting the compensation scope errors at start up.

[10/27/06 15:35:15:147 PDT] 0000000a RecoveredData E CSCP0013E: During Compensation Scope recovery an error occurred. The error was java.lang.IllegalStateException: unread block data
at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at com.ibm.ws.cscope.CompensatorRecord.getCompensator(CompensatorRecord.java:218)
at com.ibm.ws.cscope.RecoveredData.getCompensators(RecoveredData.java:587)
at com.ibm.ws.cscope.CScopeImpl.<init>(CScopeImpl.java:210)
at com.ibm.ws.cscope.CScopeRootImpl.<init>(CScopeRootImpl.java:128)
at com.ibm.ws.cscope.CScopePGMgr.recoverPropertyGroup(CScopePGMgr.java:357)
at com.ibm.ws.activity.LocalActivityContext.recreatePGs(LocalActivityContext.java:3628)
at com.ibm.ws.activity.LocalActivityContext.recreate(LocalActivityContext.java:469)
at com.ibm.ws.activity.ServerUserActivityImpl.recreateActivity(ServerUserActivityImpl.java:383)
at com.ibm.ws.activity.UserActivityImpl.recreate(UserActivityImpl.java:1754)
at com.ibm.ws.cscope.RecoveryManager.processRecoveredData(RecoveryManager.java:538)
at com.ibm.ws.cscope.RecoveryManager.setServerStatus(RecoveryManager.java:405)
at com.ibm.ws.cscope.CScopeRecoveryAgent.setServerStatus(CScopeRecoveryAgent.java:295)
at com.ibm.ws.cscope.CScopeComponentImpl.propertyChange(CScopeComponentImpl.java:586)
at java.beans.PropertyChangeSupport. firePropertyChange(PropertyChangeSupport
.java:343)
at java.beans.PropertyChangeSupport. firePropertyChange(PropertyChangeSupport
.java:270)
at com.ibm.ws.runtime.component.ComponentImpl.setState(ComponentImpl.java:401)
at com.ibm.ws.runtime.component.ComponentImpl.setStartState(ComponentImpl.java:421)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:415)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
at java.lang.Thread.run(Thread.java:568)
..
[10/27/06 15:35:16:632 PDT] 0000000a LocalActivity E WACT0001E: The method recreate in class com.ibm.ws.activity.LocalActivityContext received an unexpected exception; the exception stack trace follows: com.ibm.ws.cscope.CScopeSystemException
at com.ibm.ws.cscope.RecoveredData.getCompensators(RecoveredData.java:667)
at com.ibm.ws.cscope.CScopeImpl.<init>(CScopeImpl.java:210)
at com.ibm.ws.cscope.CScopeRootImpl.<init>(CScopeRootImpl.java:128)
at com.ibm.ws.cscope.CScopePGMgr.recoverPropertyGroup(CScopePGMgr.java:357)
at com.ibm.ws.activity.LocalActivityContext.recreatePGs(LocalActivityContext.java:3628)
at com.ibm.ws.activity.LocalActivityContext.recreate(LocalActivityContext.java:469)
at com.ibm.ws.activity.ServerUserActivityImpl.recreateActivity(ServerUserActivityImpl.java:383)
at com.ibm.ws.activity.UserActivityImpl.recreate(UserActivityImpl.java:1754)
at com.ibm.ws.cscope.RecoveryManager.processRecoveredData(RecoveryManager.java:538)
at com.ibm.ws.cscope.RecoveryManager.setServerStatus(RecoveryManager.java:405)
at com.ibm.ws.cscope.CScopeRecoveryAgent.setServerStatus(CScopeRecoveryAgent.java:295)
at com.ibm.ws.cscope.CScopeComponentImpl.propertyChange(CScopeComponentImpl.java:586)
at java.beans.PropertyChangeSupport. firePropertyChange(PropertyChangeSupport
.java:343)
at java.beans.PropertyChangeSupport. firePropertyChange(PropertyChangeSupport
.java:270)
at com.ibm.ws.runtime.component.ComponentImpl.setState(ComponentImpl.java:401)
at com.ibm.ws.runtime.component.ComponentImpl.setStartState(ComponentImpl.java:421)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:415)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
at java.lang.Thread.run(Thread.java:568)
..
[10/27/06 15:35:18:366 PDT] 0000000a RecoveryManag E CSCP0014E: During Compensation Scope recovery a recreation attempt failed. The cause of the failure was com.ibm.ws.javax.activity.SystemException
at com.ibm.ws.activity.LocalActivityContext.recreate(LocalActivityContext.java:536)
at com.ibm.ws.activity.ServerUserActivityImpl.recreateActivity(ServerUserActivityImpl.java:383)
at com.ibm.ws.activity.UserActivityImpl.recreate(UserActivityImpl.java:1754)
at com.ibm.ws.cscope.RecoveryManager.processRecoveredData(RecoveryManager.java:538)
at com.ibm.ws.cscope.RecoveryManager.setServerStatus(RecoveryManager.java:405)
at com.ibm.ws.cscope.CScopeRecoveryAgent.setServerStatus(CScopeRecoveryAgent.java:295)
at com.ibm.ws.cscope.CScopeComponentImpl.propertyChange(CScopeComponentImpl.java:586)
at java.beans.PropertyChangeSupport. firePropertyChange(PropertyChangeSupport
.java:343)
at java.beans.PropertyChangeSupport. firePropertyChange(PropertyChangeSupport
.java:270)
at com.ibm.ws.runtime.component.ComponentImpl.setState(ComponentImpl.java:401)
at com.ibm.ws.runtime.component.ComponentImpl.setStartState(ComponentImpl.java:421)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:415)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)

Andy Wilkinson

2006-10-31, 1:22 pm

kishoreyendamuri@gmail.com wrote:

> [10/27/06 15:35:15:147 PDT] 0000000a RecoveredData E CSCP0013E: During Compensation Scope recovery an error occurred. The error was java.lang.IllegalStateException: unread block data


This error message indicates that during server startup the Compensation
service has found information in its logs and is attempting to recover
that information but has been unable to do so due to an
IllegalStateException during the deserialization of data from the log.

I can tell from the stack trace that it is a compensator which is being
deserialized. This compensator contains application-defined data that
allows a compensating action to be performed. Unfortunately, with the
information that you have provided it's impossible to tell if the
problem lies with the application data or in WPS or the underlying WAS.

I suggest that you open a PMR with IBM. The support team will almost
certainly want to see the compensation service's log files which, by
default, are stored in
<was-install-root>/profiles/<profile-name>/recoveryLogs.

Regards,
Andy
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com