[jboss-user] [EJB 3.0] - problem passivating SFSB

asookazian do-not-reply at jboss.com
Wed Apr 16 16:47:14 EDT 2008


I have a Seam2.0.0.GA app with JBoss4.2.1.GA.  This particular SFSB has the following instance variables defined and I added a @PrePassivate callback handler method to close and null out JDBC related objects, etc.

What are you supposed to do with List objects that are not serializable??

SFSB partial code:

  | @Stateful
  | //AS 041508 - testing session scope for conversation ended error
  | @Scope(ScopeType.SESSION)
  | @Name("techDeployToUser")
  | public class TechDeployToUserAction implements TechDeployToUserLocal{
  | 
  | 	@Logger
  | 	Log log;  //externalizable (according to Pete Muir) which implements serializable
  | 		
  | 	@In
  | 	private FacesMessages facesMessages;  //serializable
  | 	   
  | 	@In
  | 	Identity identity;  //serializable
  | 	   
  | 	@In (required=false)
  | 	UTbUser user;  //serializable
  | 	   
  | 	@In 
  | 	Context sessionContext; //not serializable
  | 	
  | 	private List<TbHardwareObject> 	hardwareTableList			= new ArrayList(); //not serializable
  | 	private List<TbHardwareObject> 	locationsList 				= new ArrayList(); //not serializable	
  | 	private List<TbHardwareObject> 	userLocEquipList 			= new ArrayList(); //not serializable
  | 	private List<TbHardwareObject> 	newlyAssignedByTechEquipList= new ArrayList(); //not serializable
  | 	private List<TbHardwareObject> 	removedFromUserEquipList	= new ArrayList(); //not serializable
  | 	
  | 	Connection con 					= null;  //not serializable
  | 	Statement stmt 					= null;  //not serializable
  | 	PreparedStatement preparedStmt	= null;  //not serializable
  | 	ResultSet rs 					= null;  //not serializable
  | 	StringBuffer sqlStringBuffer	= null;  //serializable
  | 
  | 	List assignedToTechHardwareList = new ArrayList(); //not serializable
  | 	String locNo; //serializable
  | 	String techLocMsg = ""; //serializable
  | 	String userLocMsg = SHIMSConstants.USER_MSG; //serializable
  | 	
  | 	String month="", day="", year="", localAssignedDate=""; //serializable
  | 	Map params; //not serializable
  | 	
  | 	String msgConfirm; //serializable
  | 	String compId; //serializable
  | 	String compMsg; //serializable
  | 	String techLocationName;	//serializable
  | 	String userLocationName; //serializable
  | 	String networkLogin; //serializable
  | 	
  | 	boolean isAssignToTechBtn = true; // n/a
  | 	boolean isSubmitByTechBtn = true; // n/a
  | 	
  | 	Date now = new Date(); //serializable
  | 	TbLocationEntityDAO tbLocationDAO  = null; //not serializable
  | 	TbHardwareObject tbHardwareObject = null; //not serializable
  | ...
  | }

more partial code:

  | 	@PrePassivate
  | 	private void cleanupBeforePassivation() {
  | 		log.info("inside cleanupBeforePassivation()");
  | 		cleanUp();
  | 		con 					= null;  
  | 		stmt 					= null;  
  | 		preparedStmt			= null; 
  | 		rs 						= null;   
  | 	}


partial stack trace:

2008-04-16 13:27:28,543 ERROR [org.jboss.ejb3.cache.simple.SimpleStatefulCache.TechDeployToUserAction] problem passivation thread
  | javax.ejb.EJBException: Could not passivate; failed to save state
  | 	at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:406)
  | 	at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:301)
  | 	at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:209)
  | Caused by: java.io.IOException
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
  | 	at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
  | 	at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
  | 	at java.io.ObjectOutputStream.writeObject(Unknown Source)
  | 	at org.jboss.serial.io.MarshalledObject.<init>(MarshalledObject.java:51)
  | 	at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:842)
  | 	at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
  | 	at java.io.ObjectOutputStream.writeObject(Unknown Source)
  | 	at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:390)
  | 	... 2 more
  | Caused by: java.lang.reflect.InvocationTargetException
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
  | 	... 94 more
  | Caused by: java.io.IOException
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
  | 	at java.io.ObjectOutputStream.writeObject(Unknown Source)
  | 	at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.writeObject(ConcurrentReaderHashMap.java:1230)
  | 	... 99 more
  | Caused by: java.lang.reflect.InvocationTargetException
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
  | 	... 106 more
  | Caused by: java.io.IOException
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
  | 	at java.io.ObjectOutputStream.writeObject(Unknown Source)
  | 	at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.writeObject(ConcurrentReaderHashMap.java:1230)
  | 	... 111 more
  | Caused by: java.lang.reflect.InvocationTargetException
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
  | 	... 143 more
  | Caused by: java.io.IOException
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)
  | 	at java.io.ObjectOutputStream.writeObject(Unknown Source)
  | 	at EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.writeObject(CopyOnWriteArrayList.java:772)
  | 	... 148 more
  | Caused by: java.lang.reflect.InvocationTargetException
  | 	at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
  | 	... 165 more
  | Caused by: java.lang.NoClassDefFoundError: org/jaxen/VariableContext
  | 	at java.lang.Class.getDeclaredMethods0(Native Method)
  | 	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
  | 	at java.lang.Class.getDeclaredMethod(Unknown Source)
  | 	at org.jboss.serial.classmetamodel.ClassMetaData.lookupMethodOnHierarchy(ClassMetaData.java:102)
  | 	at org.jboss.serial.classmetamodel.ClassMetaData.lookupInternalMethods(ClassMetaData.java:432)
  | 	at org.jboss.serial.classmetamodel.ClassMetaData.<init>(ClassMetaData.java:122)
  | 	at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110)
  | 	at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101)
  | 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
  | 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
  | 	at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
  | 	at org.jboss.serial.persister.ObjectOutputStreamProxy.writeFields(ObjectOutputStreamProxy.java:79)
  | 	at org.jboss.serial.persister.ObjectOutputStreamProxy.defaultWriteObject(ObjectOutputStreamProxy.java:68)
  | 	at java.util.Vector.writeObject(Unknown Source)
  | 	... 169 more

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144642#4144642

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144642



More information about the jboss-user mailing list