RE: window close session invalidate

2003-08-09 Thread Jeremy Crosbie
Have you tried running this in Mozilla/Netscape? That would rule-out/in it
being a browser issue. Something to do with cookies, perhaps?

 -Original Message-
 From: Paul Wallace [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 06, 2003 4:55 PM
 To: [EMAIL PROTECTED]
 Subject: window close session invalidate
 
 Hi,
   This problem bought to the user list after it became evident it was
 a configuration issue and not a development one.
   Can anyone tell me why my session cookie is being invalidated when I
 close a popup window (the original remains open), either by
 window.close(); (Javascript) or the Windows close Ap. icon on the top
 right corner? Note: running the app. (and closing the popup) from the same
 instance of Tomcat, but from a different terminal does NOT do this! This
 would imply it is an IE config issue? Does anyone have any experience of
 this please?
 
 Thanks
 
 Paul.
 
 where my session was being invalidated
 OK, Thanks for that.
   An interesting note however..after some testing, the session is not
 killed when run from another terminal i.e running the same instance of TC
 (same server) but from different terminals. That would suggest it is an IE
 configuration issue (at much annoyance to certain developers). I will at
 this stage bring this up on the user list!
 
 Thanks
 
 Paul.
 
 i had the same problem with internet explorer. mozilla seems to work
 properly.
 i tracked the problem down and found out that internet explorer looses
 the session cookie when closing the popup browser window.
 
 then i added
  DefaultContext cookies=false /
 to my virtualhost definition in server.xml to disable the session-cookie
 mechanism.
 after that everything worked fine for me.
 remember to encode all urls with response.encodeURL().
 
 jochen schwörer
 
 
 Wednesday, August 6, 2003, 6:00:57 AM, you wrote:
 
 PW Dear all,
 PW May someone enlighten me on why my session is being
 invalidated
 PW when I close a browser window? I am doing this in one of two ways -
 the
 PW application close icon on the top right of the window, or a simple:
 
 PW a href=javascript:window.close();CLOSE/a
 
 PW Does anyone have any experience of this? The session is being killed
 and
 PW thus so is my app. I will submit this query to the user list, but
 PW thought it appropriate for this list as I am getting the same result
 PW from multiple instances of TC on different servers, implying it is not
 a
 PW configuration issue as first suspected.
 
 PW Thanks
 
 PW Paul.
 
 PW -
 PW To unsubscribe, e-mail: [EMAIL PROTECTED]
 PW For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat5: running embedded with JMX

2003-08-01 Thread Jeremy Crosbie
Hello, all. I am attempting to run the embedded distribution of Tomcat 5.0.5
on Linux using J2SDK 1.4.2 and running into problems. After tweaking the
tomcat.webapps property to point to the right place and copying the
management application over I am seeing the following stack trace:

[jmx-service] 2109 [main] INFO core.StandardEngine  - Starting Servlet
Engine: Apache Tomcat/5.0.5
[jmx-service] 3055 [main] ERROR modeler.BaseModelMBean  - Exception invoking
method start
[jmx-service] java.lang.NullPointerException
[jmx-service]   at
org.apache.commons.collections.ArrayStack.push(ArrayStack.java)
[jmx-service]   at
org.apache.commons.digester.Digester.push(Digester.java:2364)
[jmx-service]   at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va:340)
[jmx-service]   at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:720)
[jmx-service]   at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
271)
...

I am not seeing any errors during MBean deployment. I have started browsing
the code to attempt to figure out what is going on but I was hoping someone
on this list may have encountered the same problem. I tried searching the
mail archives, Google groups, and the Tomcat site for more documentation on
running embedded but have come up empty.

Thanks in advance for your help.

Jeremy Michael Crosbie



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]