954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

persisting the session

Hi,

i am trying to persist the session of my application. i have several complex objects, some of which may not be implementing serializable. i have started with retrieving the session and for each attribute in the session i generate an xml. the problem occurs when i try to convert back from the xml to object. the xml has all the data, but when i try to deserialize it, it gives me exceptions. One of which is:

com.skaringa.javaxml.DeserializerException: exception in initializer: null

Part of the xml formed is as follows:

<?xml version="1.0" encoding="UTF-8"?>
http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " id="i0" xsi:type="com.css.core.infra.ssm.NamespaceInfoDO">
1172493650182.css.core.infra.ssm.NamespaceInfoDO>

This xml was generated using Skaringa ( http://skaringa.sourceforge.net/index.html )


Also for some objects where deserialization is possible only the object reference is returned, though the xml contains its structure.

If anyone has any suggestion, please help.
If you have any other way which you think might be better to persist the session, suggestions are most welcome.


Thanks,
Ruchita

ronpar123
Newbie Poster
10 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You