which method gets called first listener.sessionDestroyed() or session.invalidate()

2003-08-14 Thread dutta_kaushik

Hi All,

I have written a Http Session Listener for logging
session termination event.

In my listener I am trying to get user related data by calling getSession() then
getAttribute() method. Here I am always getting an exception saying 
IllegalStateException
: Session is already
invalidated.

Could you please tell me why session is getting invalidated before calling
listener.sessionDestroyed(..) method.

Thanks,

Kaushik Dutta

This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai

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

Re: How to get the container within an instance event?

2003-07-02 Thread dutta_kaushik

Hi All,


From where can I get complete class diagrams of Tomcat ?



Thanks,

Kaushik

This mail was scanned by Interscan Viruswall, CR ,TCS CHENNAI 

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

class diagram

2003-07-02 Thread dutta_kaushik

I was asking abt UML class diagram, not API's.
Could u please tell me where can i get it.

- Kaushik








http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/index.html



 Hi All,


 From where can I get complete class diagrams of Tomcat ?



 Thanks,

 Kaushik








This mail was scanned by Interscan Viruswall, CR ,TCS CHENNAI 

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

Installation problem

2003-04-01 Thread dutta_kaushik

Hi All,

I installed tomcat 4.1 on Solaris OS.
While running i get an error which is given
below:


java.util.zip.ZipException: invalid END header (bad central directory offset)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(ZipFile.java:112)
at java.util.jar.JarFile.init(JarFile.java:117)
at java.util.jar.JarFile.init(JarFile.java:55)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
StandardClassLoader.java:1082)
at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLo
ader.java:200)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
sLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipExce
ption: invalid END header (bad central directory offset)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
StandardClassLoader.java:1110)
at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLo
ader.java:200)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
sLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)



can anyone tell me that what could be the cause of this error and
how can it be rectified.



Thanks,

Kaushik



* * * The information contained in this message is legally privileged and confidential
information intended only for the use of the addressed individual or entity indicated 
in
this message (or responsible for delivery of the message to such person). It must not 
be
read, copied, disclosed, distributed or used by any person other than the addressee.
Unauthorised use, disclosure or copying is strictly prohibited and may be unlawful.
 Opinions, conclusions and other information on this message that do not relate to the
official business of any of the constituent companies of the TATA CONSULTANCY SERVICES
shall be understood as neither given nor endorsed by the Group. If you have received 
this
message in error, you should destroy this message and kindly notify the sender by 
e-mail.
Thank you. * * *

This eMail has been scanned by Interscan Viruswall

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

single object among many tomcat servers !!

2002-11-26 Thread dutta_kaushik
Hi All,

I have more than one instance of tomcat server running
on a  Apache HTTP Server.

I have a cache component which caches objects in it.
How can I create a single instance of the cache component
across the tomcat servers ?


Thanx and Regards,
Kaushik


***The information contained in this message is legally privileged and confidential
information intended only for the use of the addressed individual or entity indicated 
in
this message (or responsible for delivery of the message to such person). It must not 
be
read, copied, disclosed, distributed or used by any person other than the addressee.
Unauthorised use, disclosure or copying is strictly prohibited and may be unlawful.
 Opinions, conclusions and other information on this message that do not relate to the
official business of any of the constituent companies of the TATA CONSULTANCY SERVICES
shall be understood as neither given nor endorsed by the Group. If you have received 
this
message in error, you should destroy this message and kindly notify the sender by 
e-mail.
Thank you.***


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