RE: How to turn off perssitent sessions in Tomcat 4.1?

2005-08-06 Thread Richard Mixon (qwest)
Hmm,

I assume you have read the documentation on this:
  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html
If so, have you tried leaving the manager element out?

 HTH - Richard

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 05, 2005 3:26 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to turn off perssitent sessions in Tomcat 4.1?


Can any one help me out in this issue?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:
Thursday, August 04, 2005 11:27 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to turn off perssitent sessions in Tomcat 4.1?


I am waiting for a good response.
Can any body help me out in this?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, August 03, 2005 6:01 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to turn off perssitent sessions in Tomcat 4.1?


Hi Edgar,

Thanks for the reply.
But I am using Tomcat 4.1.29 and I tried this option (I mean,
pathname="" in Manager element of server.xml) in Tomcat 4.1.29, which is
not successful. Is there any way to turn off session persistence in
Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0.

In order to avoid the exception we have to make all the objects that is
put in session to be serializable, right no?.

I am using struts framework. So by default all form beans are
serializable and all primitive data types are also serializable.


Why Tomcat complains about CoyoteRequestFacade is not serializable?


Please clarify my doubts.
Advance thanks to all of u !!!

-Original Message-
From: Edgar Alves [mailto:[EMAIL PROTECTED]

Sent: Wednesday, August 03, 2005 5:00 PM
To: Tomcat Users List
Subject: Re: How to turn off perssitent sessions in Tomcat 4.1?

Hi,
  On Tomcat 5.5 you can turn persistent session loading off by setting
the SessionManager pathname attribute to "". Hope that helps.

  -- Edgar Alves

[EMAIL PROTECTED] wrote:

>Hi,
>
>
>
>
>I am using Apache+Tomcat 4.1.29 for running my application. When I am 
>restarting Tomcat I am getting persistent session loading exception
like
>this:
>
>
>
>
>  2004-03-11 13:52:18 StandardManager[] IOException while loading 
>persisted sessions:
>
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845
)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845
)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>
>   at
>
>
>
>
>org.apache.catalina.session.StandardSession.readObject(StandardSession.
j
>ava:1369)
>
>
>
>
>I am not using clustering. I want to turn off the session persistence
in
>Tomcat 4.1.29?
>
>I have tried so many options with StandardManager in server.xml. But I 
>was not successful.
>
>Please help me out in this?
>
>
>
>
>Regards
>
>AK
>
>


>



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




Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. If you are not
the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately and destroy all copies of this message
and any attachments.

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




Confidentiality Notice


The information contained in this electronic message and any attachments
to this

Re: How to turn off perssitent sessions in Tomcat 4.1?

2005-08-05 Thread Christoph Kutzinski
Only put objects into the session that are serializable. This is a best 
practice anyway.
Tomcat complains about CoyoteRequestFacade not being serializable 
because it isn't. If you need data from the request (parameter, 
attributes etc.) in your session then extract them and put them alone 
into the session.


Or you could simply ignore the error messages at startup.


[EMAIL PROTECTED] wrote:

Can any one help me out in this issue?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Thursday, August 04, 2005 11:27 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to turn off perssitent sessions in Tomcat 4.1?


I am waiting for a good response.
Can any body help me out in this?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, August 03, 2005 6:01 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to turn off perssitent sessions in Tomcat 4.1?


Hi Edgar,

Thanks for the reply.
But I am using Tomcat 4.1.29 and I tried this option (I mean,
pathname="" in Manager element of server.xml) in Tomcat 4.1.29, which is
not successful. Is there any way to turn off session persistence in
Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0.

In order to avoid the exception we have to make all the objects that is
put in session to be serializable, right no?.

I am using struts framework. So by default all form beans are
serializable and all primitive data types are also serializable.


Why Tomcat complains about CoyoteRequestFacade is not serializable?


Please clarify my doubts.
Advance thanks to all of u !!!

-Original Message-
From: Edgar Alves [mailto:[EMAIL PROTECTED]

Sent: Wednesday, August 03, 2005 5:00 PM
To: Tomcat Users List
Subject: Re: How to turn off perssitent sessions in Tomcat 4.1?

Hi,
  On Tomcat 5.5 you can turn persistent session loading off by setting
the SessionManager pathname attribute to "". Hope that helps.

  -- Edgar Alves

[EMAIL PROTECTED] wrote:



Hi,




I am using Apache+Tomcat 4.1.29 for running my application. When I am
restarting Tomcat I am getting persistent session loading exception


like


this:




2004-03-11 13:52:18 StandardManager[] IOException while loading
persisted sessions:


 java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:


 org.apache.coyote.tomcat4.CoyoteRequestFacade

 java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:


 org.apache.coyote.tomcat4.CoyoteRequestFacade

 at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)

 at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845


)


 at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

 at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164


6


)

 at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

 at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845


)


 at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

 at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164


6


)

 at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

 at




org.apache.catalina.session.StandardSession.readObject(StandardSession.


j


ava:1369)




I am not using clustering. I want to turn off the session persistence


in


Tomcat 4.1.29?

I have tried so many options with StandardManager in server.xml. But I
was not successful.

Please help me out in this?




Regards

AK









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




Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

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




Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

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

RE: How to turn off perssitent sessions in Tomcat 4.1?

2005-08-05 Thread ajith.skumar

Can any one help me out in this issue?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 11:27 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to turn off perssitent sessions in Tomcat 4.1?


I am waiting for a good response.
Can any body help me out in this?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, August 03, 2005 6:01 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to turn off perssitent sessions in Tomcat 4.1?


Hi Edgar,

Thanks for the reply.
But I am using Tomcat 4.1.29 and I tried this option (I mean,
pathname="" in Manager element of server.xml) in Tomcat 4.1.29, which is
not successful. Is there any way to turn off session persistence in
Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0.

In order to avoid the exception we have to make all the objects that is
put in session to be serializable, right no?.

I am using struts framework. So by default all form beans are
serializable and all primitive data types are also serializable.


Why Tomcat complains about CoyoteRequestFacade is not serializable?


Please clarify my doubts.
Advance thanks to all of u !!!

-Original Message-
From: Edgar Alves [mailto:[EMAIL PROTECTED]

Sent: Wednesday, August 03, 2005 5:00 PM
To: Tomcat Users List
Subject: Re: How to turn off perssitent sessions in Tomcat 4.1?

Hi,
  On Tomcat 5.5 you can turn persistent session loading off by setting
the SessionManager pathname attribute to "". Hope that helps.

  -- Edgar Alves

[EMAIL PROTECTED] wrote:

>Hi,
>
>
>
>
>I am using Apache+Tomcat 4.1.29 for running my application. When I am
>restarting Tomcat I am getting persistent session loading exception
like
>this:
>
>
>
>
>  2004-03-11 13:52:18 StandardManager[] IOException while loading
>persisted sessions:
>
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845
)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845
)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>
>   at
>
>
>
>
>org.apache.catalina.session.StandardSession.readObject(StandardSession.
j
>ava:1369)
>
>
>
>
>I am not using clustering. I want to turn off the session persistence
in
>Tomcat 4.1.29?
>
>I have tried so many options with StandardManager in server.xml. But I
>was not successful.
>
>Please help me out in this?
>
>
>
>
>Regards
>
>AK
>
>


>



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




Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

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




Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

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




Confidentiality Notice


RE: How to turn off perssitent sessions in Tomcat 4.1?

2005-08-03 Thread ajith.skumar

I am waiting for a good response.
Can any body help me out in this?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 6:01 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to turn off perssitent sessions in Tomcat 4.1?


Hi Edgar,

Thanks for the reply.
But I am using Tomcat 4.1.29 and I tried this option (I mean,
pathname="" in Manager element of server.xml) in Tomcat 4.1.29, which is
not successful. Is there any way to turn off session persistence in
Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0.

In order to avoid the exception we have to make all the objects that is
put in session to be serializable, right no?.

I am using struts framework. So by default all form beans are
serializable and all primitive data types are also serializable.


Why Tomcat complains about CoyoteRequestFacade is not serializable?


Please clarify my doubts.
Advance thanks to all of u !!!

-Original Message-
From: Edgar Alves [mailto:[EMAIL PROTECTED]

Sent: Wednesday, August 03, 2005 5:00 PM
To: Tomcat Users List
Subject: Re: How to turn off perssitent sessions in Tomcat 4.1?

Hi,
  On Tomcat 5.5 you can turn persistent session loading off by setting
the SessionManager pathname attribute to "". Hope that helps.

  -- Edgar Alves

[EMAIL PROTECTED] wrote:

>Hi,
>
>
>
>
>I am using Apache+Tomcat 4.1.29 for running my application. When I am
>restarting Tomcat I am getting persistent session loading exception
like
>this:
>
>
>
>
>  2004-03-11 13:52:18 StandardManager[] IOException while loading
>persisted sessions:
>
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845
)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845
)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>
>   at
>
>
>
>
>org.apache.catalina.session.StandardSession.readObject(StandardSession.
j
>ava:1369)
>
>
>
>
>I am not using clustering. I want to turn off the session persistence
in
>Tomcat 4.1.29?
>
>I have tried so many options with StandardManager in server.xml. But I
>was not successful.
>
>Please help me out in this?
>
>
>
>
>Regards
>
>AK
>
>

>



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




Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

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




Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

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



RE: How to turn off perssitent sessions in Tomcat 4.1?

2005-08-03 Thread ajith.skumar

Hi Edgar,

Thanks for the reply.
But I am using Tomcat 4.1.29 and I tried this option (I mean,
pathname="" in Manager element of server.xml) in Tomcat 4.1.29, which is
not successful. Is there any way to turn off session persistence in
Tomcat 4.1 itself or I need to upgrade to Tomcat 5.0.

In order to avoid the exception we have to make all the objects that is
put in session to be serializable, right no?.

I am using struts framework. So by default all form beans are
serializable and all primitive data types are also serializable.

Why Tomcat complains about CoyoteRequestFacade is not serializable?

Please clarify my doubts.
Advance thanks to all of u !!!

-Original Message-
From: Edgar Alves [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 5:00 PM
To: Tomcat Users List
Subject: Re: How to turn off perssitent sessions in Tomcat 4.1?

Hi,
  On Tomcat 5.5 you can turn persistent session loading off by setting
the SessionManager pathname attribute to "". Hope that helps.

  -- Edgar Alves

[EMAIL PROTECTED] wrote:

>Hi,
>
>
>
>
>I am using Apache+Tomcat 4.1.29 for running my application. When I am
>restarting Tomcat I am getting persistent session loading exception
like
>this:
>
>
>
>
>  2004-03-11 13:52:18 StandardManager[] IOException while loading
>persisted sessions:
>
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845
)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845
)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>
>   at
>
>
>
>
>org.apache.catalina.session.StandardSession.readObject(StandardSession.
j
>ava:1369)
>
>
>
>
>I am not using clustering. I want to turn off the session persistence
in
>Tomcat 4.1.29?
>
>I have tried so many options with StandardManager in server.xml. But I
>was not successful.
>
>Please help me out in this?
>
>
>
>
>Regards
>
>AK
>
> 
>



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




Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

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



Re: How to turn off perssitent sessions in Tomcat 4.1?

2005-08-03 Thread Edgar Alves
Hi,
  On Tomcat 5.5 you can turn persistent session loading off by setting
the SessionManager pathname attribute to "". Hope that helps.

  -- Edgar Alves

[EMAIL PROTECTED] wrote:

>Hi,
>
>
>
>
>I am using Apache+Tomcat 4.1.29 for running my application. When I am
>restarting Tomcat I am getting persistent session loading exception like
>this:
>
>
>
>
>  2004-03-11 13:52:18 StandardManager[] IOException while loading
>persisted sessions:
>
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException:
>
>
>   org.apache.coyote.tomcat4.CoyoteRequestFacade
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>
>   at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>
>   at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646
>)
>
>   at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>
>   at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>
>   at
>
>
>
>
>org.apache.catalina.session.StandardSession.readObject(StandardSession.j
>ava:1369)
>
>
>
>
>I am not using clustering. I want to turn off the session persistence in
>Tomcat 4.1.29?
>
>I have tried so many options with StandardManager in server.xml. But I
>was not successful.
>
>Please help me out in this?
>
>
>
>
>Regards
>
>AK
>
>  
>



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



How to turn off perssitent sessions in Tomcat 4.1?

2005-08-03 Thread ajith.skumar

Hi,



I am using Apache+Tomcat 4.1.29 for running my application. When I am
restarting Tomcat I am getting persistent session loading exception like
this:



  2004-03-11 13:52:18 StandardManager[] IOException while loading
persisted sessions:

   java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:

   org.apache.coyote.tomcat4.CoyoteRequestFacade

   java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:

   org.apache.coyote.tomcat4.CoyoteRequestFacade

   at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)

   at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)

   at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

   at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646
)

   at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

   at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)

   at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

   at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646
)

   at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

   at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

   at


org.apache.catalina.session.StandardSession.readObject(StandardSession.j
ava:1369)



I am not using clustering. I want to turn off the session persistence in
Tomcat 4.1.29?

I have tried so many options with StandardManager in server.xml. But I
was not successful.

Please help me out in this?



Regards

AK











Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

SSL Sessions in Tomcat 5.5.4

2005-07-19 Thread Oliver Schoenwald

Hello,

how do I track sessions without using cookies or URL-writing?
Following the Servlet API 2.3, the third way to track sessions is by 
using the SSL-Layer to hold the ID.
I have tried that out with my installation (Apache 2.0.47, mod_jk2, 
Tomcat 5.5.4) and followed the

configuration hints about mod_jk and ssl.
However, using form-based authentication, the server seems not to save 
any session id as an attribute, ssl or anything.
In Bugzilla there was something about using  
request.getAttribute("javax.servlet.request.key_size") which would
"activate" another attribute which one should get with 
request.getAttribute("javax.servlet.request.ssl_session").

I tried that out - no effect.

Does someone use session tracking under SSL with a similar configuration 
like mine above? How do you set/access

the session id and get hold of the Session (or SSLSession)?

Thank you in advance,

Oliver Schönwald
University of Hagen, Germany


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



Re: User sessions in Tomcat

2003-11-21 Thread Gary Hardy
And, if you're not trying to do it "in code"... Tomcat Web Application
Manager... ala http://localhost:8080/manager/html

gary...

> From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Date: Fri, 21 Nov 2003 08:53:23 -0500
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Subject: RE: User sessions in Tomcat
> 
> 
> Howdy,
> You can write any number of HttpSession*Listener listeners to do
> whatever you want with session.
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
>> -Original Message-
>> From: Walter do Valle [mailto:[EMAIL PROTECTED]
>> Sent: Friday, November 21, 2003 9:26 AM
>> To: [EMAIL PROTECTED]
>> Subject: User sessions in Tomcat
>> 
>> It there a way to count or view details from all open user sessions in
> a
>> Tomcat instalation?
>> 
>> Any help is welcome.
>> 
>> Thanks
> 
> 
> 
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential, proprietary
> and/or privileged.  This e-mail is intended only for the individual(s) to whom
> it is addressed, and may not be saved, copied, printed, disclosed or used by
> anyone else.  If you are not the(an) intended recipient, please immediately
> delete this e-mail from your computer system and notify the sender.  Thank
> you.
> 
> 
> -
> 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]



RE: User sessions in Tomcat

2003-11-21 Thread Shapira, Yoav

Howdy,
You can write any number of HttpSession*Listener listeners to do
whatever you want with session.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Walter do Valle [mailto:[EMAIL PROTECTED]
>Sent: Friday, November 21, 2003 9:26 AM
>To: [EMAIL PROTECTED]
>Subject: User sessions in Tomcat
>
>It there a way to count or view details from all open user sessions in
a
>Tomcat instalation?
>
>Any help is welcome.
>
>Thanks



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: User sessions in Tomcat

2003-11-21 Thread Ben Souther
The Tomcat Manager application shows a session count for each running app.


On Friday 21 November 2003 09:26 am, Walter do Valle wrote:
> It there a way to count or view details from all open user sessions in a
> Tomcat instalation?
>
> Any help is welcome.
>
> Thanks

-- 
Ben Souther
F.W. Davison & Company, Inc.



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



User sessions in Tomcat

2003-11-21 Thread Walter do Valle
It there a way to count or view details from all open user sessions in a Tomcat 
instalation?

Any help is welcome.

Thanks

RE: Your help is still needed ... (RE: Sessions in Tomcat)

2003-09-10 Thread Shapira, Yoav

Howdy,

>Classpathes seem to be ok ... remains the question why every click on a
>button or link let Tomcat start a new session and putting the following
>things (pages or, in the case of Struts, actions) into that new session
>context 
>
>Help me .

I've already helped as much as I can ;)  Hopefully other people have
different ideas on this issue... Personally, I don't buy that the
classpaths are OK, I believe the IDE is at fault, I've never seen the
behavior you describe on an out of the box tomcat installation.

Can you tell us how to reproduce the problem without an IDE?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Your help is still needed ... (RE: Sessions in Tomcat)

2003-09-10 Thread steph . kimbrough
Classpathes seem to be ok ... remains the question why every click on a button or link 
let Tomcat start a new session and putting the following things (pages or, in the case 
of Struts, actions) into that new session context 

Help me .

-



Howdy,

>Now, please give me a hint ... what am I doing wrong in case of my
Tomcat
>configuration? (It does not seem to be the app, which is running just
fine
>when started inside of the IDE and its implemented Tomcat engine.)

When people say it runs fine within an IDE and not by itself, the
culprit is usually the classpath.  I can't help much more than that,
except to say this is why I never run webapps within an IDE.  Rather,
from the beginning package your webapp as a war and deploy it to the
container to be run/tested.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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




-- 
Sparen sie sich reich - 
Werden Sie Premium Mitglied bei freenet.de und erleben Sie 
eine exklusive aufregende Vorteilswelt!
http://www.freenet.de/tipp/premium/vorteile/index.html

RE: Your help is still needed ... (RE: Sessions in Tomcat)

2003-09-08 Thread Shapira, Yoav

Howdy,

>Now, please give me a hint ... what am I doing wrong in case of my
Tomcat
>configuration? (It does not seem to be the app, which is running just
fine
>when started inside of the IDE and its implemented Tomcat engine.)

When people say it runs fine within an IDE and not by itself, the
culprit is usually the classpath.  I can't help much more than that,
except to say this is why I never run webapps within an IDE.  Rather,
from the beginning package your webapp as a war and deploy it to the
container to be run/tested.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Your help is still needed ... (RE: Sessions in Tomcat)

2003-09-08 Thread steph . kimbrough
Alright,

let's take the number guess example ... every time I push the 'guess' button and the 
page reloads, there is a new number to be guessed (I checked it through an output) ... 
and when I take a look at the Web App Tool, I see that there are as many sessions (for 
this app) running as I pushed the button (+1 for the first call). My conclusion: every 
click on a button, link, etc. starts a new session and the next page is put into that 
context. Which would also explain why my Struts app does not work ... the web.xml 
and/or struts-config.xml isn't known to the app anymore with every new page or action 
called. Btw, requests work fine.

Now, please give me a hint ... what am I doing wrong in case of my Tomcat 
configuration? (It does not seem to be the app, which is running just fine when 
started inside of the IDE and its implemented Tomcat engine.)

Thanks for any clap on the head,

Steph Kimbrough


-


>Howdy,
>You'll need to provide more information so we can help you ;)  Needless
>to say, the number guess example works properly for nearly everyone ;)

>Yoav Shapira
>Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 05, 2003 11:33 AM
>To: [EMAIL PROTECTED]
>Subject: Sessions in Tomcat
>
>Hi everybody!
>
>In a webapp (Struts/Tomcat) we have the problem,
>that actions will not be found.
>
>Besides that we encountered another more universal
>problem with Tomcat: A Session is started for each
>request. So eg in the Number Guess example the
>Number to be guessed doesn't stay the same and you
>get very strange "lower/higher" tips ;-)
>
>How comes?
>
>Tomcat4.1.18/Struts1.01/SUSELinux8.1
>
>Bye
>
>
>--


-- 
60% Onlinekosten sparen!
Jetzt Premium Mitglied bei freenet.de werden und mit dem 
Tarifnavigator guenstiger surfen.
http://www.freenet.de/tipp/premium/tarif/index.html

RE: Sessions in Tomcat

2003-09-05 Thread Shapira, Yoav

Howdy,
You'll need to provide more information so we can help you ;)  Needless
to say, the number guess example works properly for nearly everyone ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 05, 2003 11:33 AM
>To: [EMAIL PROTECTED]
>Subject: Sessions in Tomcat
>
>Hi everybody!
>
>In a webapp (Struts/Tomcat) we have the problem,
>that actions will not be found.
>
>Besides that we encountered another more universal
>problem with Tomcat: A Session is started for each
>request. So eg in the Number Guess example the
>Number to be guessed doesn't stay the same and you
>get very strange "lower/higher" tips ;-)
>
>How comes?
>
>Tomcat4.1.18/Struts1.01/SUSELinux8.1
>
>Bye
>
>
>--
>Sparen sie sich reich -
>Werden Sie Premium Mitglied bei freenet.de und erleben Sie
>eine exklusive aufregende Vorteilswelt!
>http://www.freenet.de/tipp/premium/vorteile/index.html



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Sessions in Tomcat

2003-09-05 Thread steph . kimbrough
Hi everybody!

In a webapp (Struts/Tomcat) we have the problem,
that actions will not be found.

Besides that we encountered another more universal
problem with Tomcat: A Session is started for each
request. So eg in the Number Guess example the
Number to be guessed doesn't stay the same and you
get very strange "lower/higher" tips ;-)

How comes?

Tomcat4.1.18/Struts1.01/SUSELinux8.1

Bye


-- 
Sparen sie sich reich - 
Werden Sie Premium Mitglied bei freenet.de und erleben Sie 
eine exklusive aufregende Vorteilswelt!
http://www.freenet.de/tipp/premium/vorteile/index.html

Problem With Using allowLinking and Sessions in Tomcat 4.1.18

2003-01-23 Thread Mike Marchionna
Hello, I generally create a WebApp directory that uses symlinks to reference
all the top level JSP directory trees in my WebApp.  I do this so I can have
a
single JSP source tree in multiple App Server instances.  With Tomcat 4.1 I
am
forced to add a Resources element to the Context definition to get JSP pages
to
compile.  My Resources entry in my server.xml looks like this:

  

Here SPRTmikem is the root directory of my Web App.  This allows the JSPs to
compile, but if I hit a page referenced through a symlink I get a new
Session
object with every page hit.  For example if I have two directories under
SPRTmikem called symtest and phystest each with a sesstest.jsp file in them,
and symtest is a symlink to a directory outside the SPRTmikem web app
directory
each time I hit /SPRTmikem/symtest/sesstest.jsp I get a new Session object.
If I
hit /SPRTmikem/phystest/sesstest.jsp the request.getSession() function
behaves as
expected.

This seems like a bug, and I'm willing to track it down if someone knows a
good
place to start looking in the code.  Of course if there is a configuration
setting
to correct the problem that would be a lot easier.  Does anyone have any
clues?

--MDM


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Distributed Sessions in Tomcat ?

2002-12-18 Thread Srinadh Karumuri
Jeff Turner has a web page with the documentation for multiple Tomcats 
(3.2). Hope it helps.

http://webmap.socialchange.net.au/support/download/multi-tomcats.txt

Thank you,
-Sri

At 07:37 PM 12/18/2002 -0800, Bill Barker wrote:
As I understand it, TC 3.3.1 doesn't support distributed sessions at all. TC
4.x has experimental support for distributed sessions (IMHO, should be
considered Alpha).  TC 5.x will likely have full support for distributed
sessions.

"Hector Adolfo Alonso" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi:
>I'm implementing load balancing with Tomcat 3.3.1,
> and I would like to use distributed sessions too. I didn't
> find any reference about this topic in Tomcat docs, neither
> this list. However, there are some references about this
> topic Tomcat 4.0.x/4.1.x getting around (Tomcat 4.0.x /
> Tomcat 4.1.x). Please, can anybody confirm the status
> of this topic.
>Thanks in advance.
>
> Hector Adolfo Alonso
> Consist Teleinformatica





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Distributed Sessions in Tomcat ?

2002-12-18 Thread Bill Barker
As I understand it, TC 3.3.1 doesn't support distributed sessions at all. TC
4.x has experimental support for distributed sessions (IMHO, should be
considered Alpha).  TC 5.x will likely have full support for distributed
sessions.

"Hector Adolfo Alonso" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi:
>I'm implementing load balancing with Tomcat 3.3.1,
> and I would like to use distributed sessions too. I didn't
> find any reference about this topic in Tomcat docs, neither
> this list. However, there are some references about this
> topic Tomcat 4.0.x/4.1.x getting around (Tomcat 4.0.x /
> Tomcat 4.1.x). Please, can anybody confirm the status
> of this topic.
>Thanks in advance.
>
> Hector Adolfo Alonso
> Consist Teleinformatica





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Distributed Sessions in Tomcat ?

2002-12-18 Thread Hector Adolfo Alonso
Hi:
   I'm implementing load balancing with Tomcat 3.3.1,
and I would like to use distributed sessions too. I didn't
find any reference about this topic in Tomcat docs, neither
this list. However, there are some references about this
topic Tomcat 4.0.x/4.1.x getting around (Tomcat 4.0.x /
Tomcat 4.1.x). Please, can anybody confirm the status
of this topic.
   Thanks in advance.

Hector Adolfo Alonso
Consist Teleinformatica


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Problem regarding Sessions in Tomcat 4.0.1

2002-04-19 Thread Anand, Narinder

Hi,

 

I have a web application installed on Tomcat 4.0. The server seem to be
creating new sessions for the initial  requests  to the pages in the same
application. I can see that from the difference in jsessionids in the cookie
header .  But after that it maintains the session. 

Anybody have any hints ...

 

Any help will be appreciated..

 

Thanx,

NM

 



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Clustering HTTP Sessions in Tomcat

2002-04-10 Thread David Cassidy

anyone got anything like this for the tomcat 3 series ?

Ta

D


Dion Almaer wrote:

>Filip Hanik has written a great article on HTTP Session Replication using Tomcat 4.
>http://www.theserverside.com/resources/index.jsp
>
>In this article we will cover one of the clustering technologies, HTTP session 
>replication, that is used within the J2EE model. In
>the second half of the article, an example is provided of how session replication can 
>be implemented using Tomcat in conjunction
>with JavaGroups, a communication protocol which can perform reliable multicast 
>operations to transfer session state between nodes.
>
>Dion
>
>--
> \\|//
> (o o)
>+oOOo-(_)-oOOo--+
>|   [EMAIL PROTECTED]   | "Dew knot trussed yore spell chequer two|
>| www.almaer.com/dion |  fined awl yore mistakes"   |
>+---+
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Clustering HTTP Sessions in Tomcat

2002-04-09 Thread Dion Almaer


Filip Hanik has written a great article on HTTP Session Replication using Tomcat 4.
http://www.theserverside.com/resources/index.jsp

In this article we will cover one of the clustering technologies, HTTP session 
replication, that is used within the J2EE model. In
the second half of the article, an example is provided of how session replication can 
be implemented using Tomcat in conjunction
with JavaGroups, a communication protocol which can perform reliable multicast 
operations to transfer session state between nodes.

Dion

--
 \\|//
 (o o)
+oOOo-(_)-oOOo--+
|   [EMAIL PROTECTED]   | "Dew knot trussed yore spell chequer two|
| www.almaer.com/dion |  fined awl yore mistakes"   |
+---+


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Sessions in tomcat 4.03

2002-03-15 Thread Kishore R

Hi All,
 I am trying to store some objects in the "session" which 
are shared across multiple jsp's & servlets. To my surprise the 
session object I get from request.getSession() is different in different 
 servlets and jsp's and hence I am unable to access the objects 
that I store in the "session" in one jsp from another servlet. The 
same set of pages work neatly in weblogic 6.1. I am using tomcat4.03 on linux.

Any ideas.

Thanks,
Kishore




2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
http://my.lycos.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




sessions in tomcat

2002-02-27 Thread vinny patel

hi,
i am having problems creating a session id of my own.
i have tried the setId(), but comes up with a error
message when it comes it compiling it

can someone please help me!

thanks

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




2 or more sessions in tomcat

2001-10-26 Thread Rinku Randhawa

Hi,

Can there be 2 or more sessions handled by tomcat server in IE 5.0 browser
of a PC using its inbuilt session tracking property? I can see only one
session being able to be handled till now. Whenever there are 2 sessions
then the session values get interchanged between them.

Thanks
Rinku




Is there a maximum number of sessions in tomcat?

2001-03-18 Thread Greg Combs
Title: Is there a maximum number of sessions in tomcat?





  


   at around 800 connections a red hat 7.0 machine with apache 1.3.19 and tomcat 3.2.1 starts dropping the established sessions saying, "nope, i don't recall you logging in"  and then eventually *no one* gets in.

   is there some configable param in tomcat or should i just minimize the use of session variables?   


   





Re: disbale sessions in Tomcat

2001-03-06 Thread Endre Stølsvik

On Tue, 6 Mar 2001, William Au wrote:

| Is there a way to disable sessions in Tomcat?

Just don't ever ask the HttpServletRequest for a HttpSession? ;)

| Do I just remove the entries for the request.SessionInterceptor and
| session.StandardSessionInterceptor from server.xml?

This I don't know the implications of..


-- 
Mvh,
Endre


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




disbale sessions in Tomcat

2001-03-06 Thread William Au

Is there a way to disable sessions in Tomcat?
Do I just remove the entries for the request.SessionInterceptor and
session.StandardSessionInterceptor from server.xml?

Bill


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