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 fi
> 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 webapp
> From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br]
> Subject: Re: Session lost when app. is redeployed
>
> Then I touch (with gnuwin32 touch utility) the war file.
I've finally been able to reproduce your observations, but only by touching the
.war file itsel
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
> From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br]
> Subject: Re: Session lost when app. is redeployed
>
> When redeployed, this directory is cleared.
I suspect your webapp is also clearing the work directory as it shuts down,
which deletes the SESSIONS.ser file.
> From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br]
> Subject: Re: Session lost when app. is redeployed
>
> are you *reloading* the application, or in some way or another,
> updating (redeploying) it?
Yes; as I stated, I followed the exact same procedure you docume
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
> From: Martin Gainty [mailto:mgai...@hotmail.com]
> Subject: RE: Session lost when app. is redeployed
>
> from what I've seen the normal way of handling the webapp reload
> is to clean off the work folder *.ser files
Don't confuse reload with undeploy; Tomcat creates t
> 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
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
for the content provided.
> Date: Wed, 25 Mar 2009 20:11:33 +0100
> Subject: Re: Session lost when app. is redeployed
> From: joseph.mil...@gmail.com
> To: users@tomcat.apache.org
>
> Not sure this might be of use but Apache normally has a *graceful *restart
> option th
Not sure this might be of use but Apache normally has a *graceful *restart
option that's normally tailored to such needs.
On Wed, Mar 25, 2009 at 1:17 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Adriano,
>
> On 3/24/2009 7:1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adriano,
On 3/24/2009 7:13 AM, Adriano dos Santos Fernandes wrote:
> So my question is how to update an application, when it have full
> serializable sessions, and the new application classes are compatible
> with the serialized session?
>
> I didn't
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
> 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 doing?
- Chuck
THI
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
> 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 information?
> The problem is
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
19 matches
Mail list logo