http://en.wikipedia.org/wiki/Serialization
try ..implements Serializable

debug with Log4j..here is a good tutorial
Logger barlogger = Logger.getLogger("com.foo.Bar");

   // This request is enabled, because WARN >= INFO.
   logger.warn("Low fuel level.");

   // This request is disabled, because DEBUG < INFO.
   logger.debug("Starting search for nearest gas station.");
http://logging.apache.org/log4j/1.2/manual.html

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> Date: Mon, 9 Feb 2009 19:39:50 -0500
> From: ch...@christopherschultz.net
> To: users@tomcat.apache.org
> Subject: Re: sessions lost after redeploy
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Robert,
> 
> J Robert Ray wrote:
> > I don't see anything relevant in the logs. My session consists of a
> > single value, a Byte[], so I shouldn't have a problem with
> > unserializable data. Besides, it reloads properly across a tomcat
> > restart.
> 
> Yeah, that should work.
> 
> > Do you have an app that preserves sessions through a redeploy?
> 
> I have several of them, in fact, though they all happen to be TC 5.5
> installs. I can even redeploy the same webapp and have the sessions
> persist across the server restart or webapp reload.
> 
> I'm not sure what the best way is to get debugging output from that
> component.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkmQzNYACgkQ9CaO5/Lv0PBSDwCgj5ZanPdJUOoJU3CO400Z9jtl
> B5AAn0/QpgZAfAczXBwujJTWjStlBAk/
> =feOW
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
Windows Liveā„¢: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022009

Reply via email to