Caldarale, Charles R escreveu:
From: Caldarale, Charles R
Subject: RE: Session lost when app. is redeployed
I've finally been able to reproduce your observations, but only by
touching the .war file itself.
There is a workaround to this problem. Create a META-INF/context.xml file in
your
Caldarale, Charles R escreveu:
That is the trace of the SESSIONS.ser file being written, which is created
*before* any ServletContextListener is called via contextDestroyed(). If any
such listener removes everything in the work directory, the sessions will be
lost.
I tried now a very basic ex
Caldarale, Charles R escreveu:
Try updating your logging.properties to set the logging level for your webapp
to FINE, restart Tomcat, and then do your procedure again. Use something like
this:
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].level
= FINE
org.apache.catalina.
Caldarale, Charles R escreveu:
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br]
Subject: Re: Session lost when app. is redeployed
I mainly used Lambda Probe. I now also tried:
- stop the application
- touch the war
- start the application
- application is undeployed and deployed
Martin Gainty wrote:
Adriano-
from what I've seen the normal way of handling the webapp reload is to clean off
the work folder *.ser files
this would be considered 'normal behaviour' since your webapp configuration has changed the attributes for any previous serialised objects would be changed
Caldarale, Charles R escreveu:
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br]
Subject: Re: Session lost when app. is redeployed
What cause session lost is redeploy.
There is no "redeploy" in the Tomcat manager. What is the exact procedure
you're d
Caldarale, Charles R escreveu:
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br]
Subject: Session lost when app. is redeployed
Don't you think that telling us the version of Tomcat you're using, the JRE/JDK
level, platform, etc., just might be useful i
Hi!
First, I must say that I found in the archives the exact problem I have
now, but no solution was presented.
My application (built using Apache Wicket), is stateful. When I reload
it, or when I restart Tomcat, the session is correctly serialized and
restored. Jetty is also able to restore
Kees Jan Koster wrote:
Dear Adriano,
As I had having OutOfMemory exceptions (PermGen) when redeploying an
application, I started to verify things using Eclipse Memory Analyzer.
I've discovered some real leaks, for example caused by the Java
Disposer thread being instantiated using the Webapp
Hi!
As I had having OutOfMemory exceptions (PermGen) when redeploying an
application, I started to verify things using Eclipse Memory Analyzer.
I've discovered some real leaks, for example caused by the Java Disposer
thread being instantiated using the Webapp classloader. After fix this,
whe
10 matches
Mail list logo