users@glassfish.java.net

What causes an exception loading sessions from persistent storage?

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 Aug 2008 12:53:11 PDT

I have a deployed .EAR on GlassFish (Sun Java System Application Server 9.1_01). When I need to stop and start the application server, I run the following commands in this order:

./asadmin stop-domain domain1

./asadmin start-domain domain1

When I tail -f the server.log, I receive the following entry in the log file:

PWC2773: Exception loading sessions from persistent storage java.lang.ClassCastException: cannot assign instance of java.lang.String to field com.company.BasicBean.logger of type org.apache.log4j.Logger in instance of com.company.CustomerSearchBean

I'ved googled the statement "PWC2773: Exception loading sessions from persistent storage" in various forms, but I've not found anything related.

Oddly enough, this only happens when I start up GlassFish.

What causes an exception loading sessions from persistent storage?

Thanks,

--Todd
[Message sent by forum member 'jtp51' (jtp51)]

http://forums.java.net/jive/thread.jspa?messageID=295466