Re: Problem with session activation after restart

2007-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacek, Jacek Olszak wrote: > I try to describe my situation. I have a couple of session beans which > have transient properties. Those properties are in fact references to > Spring application beans. When the session is activated after restart > I wan

Re: Problem with session activation after restart

2007-11-16 Thread Pid
Jacek Olszak wrote: > Hi, > > I try to describe my situation. I have a couple of session beans which > have transient properties. Those properties are in fact references to > Spring application beans. When the session is activated after restart > I want to inject spring beans again into restored s

Re: Problem with session activation after restart

2007-11-16 Thread Jacek Olszak
Hi, I try to describe my situation. I have a couple of session beans which have transient properties. Those properties are in fact references to Spring application beans. When the session is activated after restart I want to inject spring beans again into restored session beans. Unfortunately Spri

Re: Problem with session activation after restart

2007-11-16 Thread Pid
I think your problem may be rooted in a misunderstanding* of this listeners purpose. Perhaps you can elaborate on what you're trying to achieve? HttpSessionActivationListener.sessionDidActivate() is called when a session is retrieved from a persisted state or moved to another JVM. It's counterpa

Re: Problem with session activation after restart

2007-11-16 Thread Jacek Olszak
Hi again, I found that I've sent wrong log when stopping the server (second log in my earlier post). The correct is: INFO: Pausing Coyote HTTP/1.1 on http-8080 2007-11-16 10:50:35 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina DEBUG 2007-11-16 10:50:35,625 test.Sessi

Re: Problem with session activation after restart

2007-11-16 Thread Jacek Olszak
Hi Chris, First of all thanks for reply. On Nov 15, 2007 8:09 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jacek, > > Jacek Olszak wrote: > > The problem is that the method > > HttpSessionActivationListener.sessionDidActivate() is called

Re: Problem with session activation after restart

2007-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacek, Jacek Olszak wrote: > The problem is that the method > HttpSessionActivationListener.sessionDidActivate() is called before > any context listeners. I have a ContextLoaderListener configured in > my web.xml which creates the Spring context. Do

Problem with session activation after restart

2007-11-15 Thread Jacek Olszak
Hi everyone! I've a problem with session activation after Tomcat 6 restart. The problem is that the method HttpSessionActivationListener.sessionDidActivate() is called before any context listeners. I have a ContextLoaderListener configured in my web.xml which create the Spring context. I want my s

Problem with session activation after restart

2007-11-15 Thread Jacek Olszak
Hi everyone! I have a problem with session activation after Tomcat 6 restart.The problem is that the method Thainks in advance, Jacek - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECT