RE: list active sessions.

2004-06-23 Thread Jacob Kjome
Quoting Frank Zammetti <[EMAIL PROTECTED]>: > I don't see that behavior. Is there a setting in Tomcat to turn that > function on and off perhaps? None of my sessions survive a Tomcat restart, > so I've never had to deal with this. > Tomcat will dump session o

RE: list active sessions.

2004-06-23 Thread Frank Zammetti
I don't see that behavior. Is there a setting in Tomcat to turn that function on and off perhaps? None of my sessions survive a Tomcat restart, so I've never had to deal with this. Frank From: "Radek Liebzeit" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List&qu

RE: list active sessions.

2004-06-22 Thread Radek Liebzeit
Really nice. I am just wondering about one thing - about "persistent sessions". I have a session counter based on the SessionListeners. It is increased when some session is created and decreased when the session is destroyed. So, when I restart the Tomcat server some sessions are rec

RE: list active sessions.

2004-06-21 Thread Frank Zammetti
problem when talking about sessions). And although there is a critical section involved, since it's only during logon and not every request, I don't imagine it's a significant problem. If your just recording the session ID and not the extra info I do later on, I suspect it would s

RE: list active sessions.

2004-06-21 Thread Alex
eady, why do it again... On Mon, 21 Jun 2004, Frank Zammetti wrote: > Date: Mon, 21 Jun 2004 09:45:05 -0400 > From: Frank Zammetti <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: list active sessions. > >

RE: list active sessions.

2004-06-21 Thread Frank Zammetti
I spent a couple of days last week implementing just such a thing, so I feel qualified to answer :) There is no easy way to do it. There USED to be a SessionContext object available in the servlet spec that would allow you to do a lot of cool things with sessions, but it was removed as of

list active sessions.

2004-06-21 Thread Alex
Is there a way to list all sessions which are currently active for the webapp which would be calling for such a list? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: persist sessions in a clustered environment

2004-06-08 Thread Dale, Matt
ailto:[EMAIL PROTECTED] Sent: 08 June 2004 20:00 To: Tomcat Users List Subject: Re: persist sessions in a clustered environment >Jun 2, 2004 5:25:22 PM org.apache.catalina.cluster.tcp.SocketSender waitForAck >WARNING: Wasn't able to read acknowledgement from server[/172.16.1.11:400

Re: persist sessions in a clustered environment

2004-06-08 Thread Filip Hanik - Dev
sday, June 08, 2004 12:08 PM Subject: RE: persist sessions in a clustered environment Hi Filip, 3 Solaris machines, a variety of specs but one 7, one 8 and one 9 I think. As the machines are live we cant just chop and change the config but I am working on getting seperate tomcats set up on each o

Re: persist sessions in a clustered environment

2004-06-08 Thread Filip Hanik - Dev
"mcastDropTime" should prevent this. >My intended course of action was to retain the clustering >and write the sessions to a shared disk to Using the persistence manager and a shared file system, will achieve this. I of course, am more interested in figuring out what problems you

RE: persist sessions in a clustered environment

2004-06-08 Thread Dale, Matt
able to send replicated message, is server down? java.net.SocketTimeoutException: Read timed out As a note i've been told that our sessions are larger than average. 50K or bigger has been suggested. We have only got about 70 users across the 3 nodes but the number of sessions seems to

Re: persist sessions in a clustered environment

2004-06-08 Thread Filip Hanik - Dev
"mcastDropTime" should prevent this. >My intended course of action was to retain the clustering >and write the sessions to a shared disk to Using the persistence manager and a shared file system, will achieve this. I of course, am more interested in figuring out what problems you

RE: persist sessions in a clustered environment

2004-06-08 Thread Dale, Matt
ns, all of the active sessions will have to be shared between the members so increased network traffic there. If you have any ideas on that i'd be grateful. My intended course of action was to retain the clustering and write the sessions to a shared disk to avoid the network traffic a

Re: persist sessions in a clustered environment

2004-06-08 Thread Filip Hanik - Dev
persist sessions in a clustered environmentuse the PersistenceManager instead of the clustering if all you want is to write sessions to a file system. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html Did you need any help figuring out why in memory replication didn't

persist sessions in a clustered environment

2004-06-07 Thread Dale, Matt
Title: persist sessions in a clustered environment Hi, We have been experiencing problems with our cluster using in-memory replication so we are looking into other ways in which to replicate the sessions. Our first step will be to switch to asynchronous mode for the replication from pooled

Tomcat MaxThreads and sessions

2004-06-06 Thread ariel
f there is a limitation to the amount of sessions that the tomcat handles ? Thanks in Advance, Ariel Pessah Project Manager R&D Team MailVision LTD. - To unsubscribe, e-mail: [EMAIL PROTEC

Re: Why so many sessions?

2004-06-03 Thread Leonard Sitongia
On May 28, 2004, at 7:15 AM, Leonard Sitongia wrote: On May 27, 2004, at 12:43 PM, Leonard Sitongia wrote: On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote: But, the number of Sessions is 140. The number appears to have fluctuations up and down, but the overall trend is to increase. There

Re: Maintaining Sessions

2004-06-02 Thread Justin Ruthenbeck
ach > is to put all of the > JSPs for (A) and (C) in the same webapp, but set > s > for those resources (C) that require https. > > See: > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html > > What you're describing here is a deployment-time > proble

Re: Maintaining Sessions

2004-06-02 Thread Justin Jaynes
tp://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html > > What you're describing here is a deployment-time > problem -- it shouldn't > impact your code in a major way like distributed > sessions would cause. > > justin > > > At 02:56 PM 6/2/2004,

Re: Maintaining Sessions

2004-06-02 Thread Justin Ruthenbeck
webapp, but set s for those resources (C) that require https. See: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html What you're describing here is a deployment-time problem -- it shouldn't impact your code in a major way like distributed sessions would cause. justin At 02:

Maintaining Sessions

2004-06-02 Thread Justin Jaynes
Hello, I am running Tomcat 5.0.25 on SuSE Linux 9.1. I am running ONE Tomcat server with two services: 1. Standalone on port 80, with two hosts: A. A basic shopping site with a CartBean.java that I set scope=session when I call it from JSP's. B. Another not related hos

Re: Why so many sessions?

2004-05-28 Thread Leonard Sitongia
On May 27, 2004, at 12:43 PM, Leonard Sitongia wrote: On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote: But, the number of Sessions is 140. The number appears to have fluctuations up and down, but the overall trend is to increase. There are now 170 sessions. Some sessions apparently expire

Re: Why so many sessions?

2004-05-27 Thread Leonard Sitongia
On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote: But, the number of Sessions is 140. The number appears to have fluctuations up and down, but the overall trend is to increase. There are now 170 sessions. Some sessions apparently expire but others do not, hence the overall increase. Is

Why so many sessions?

2004-05-27 Thread Leonard Sitongia
Hello, I find that the number of Sessions displayed by the Manager is surprisingly high. My application has the session timeout set to 5. The access_log shows 8 hits in the last five minutes. But, the number of Sessions is 140. I'm running Tomcat 5.0.19 on Solaris 5.9. I use two se

RE: Can you ever update a sessions access time?

2004-05-11 Thread Balunas, Jay
To: Tomcat Users List Subject: RE: Can you ever update a sessions access time? One method i've used to maintain a session is a meta refresh on the html pages, this may or may not be appropriate to your app though. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent:

RE: Can you ever update a sessions access time?

2004-05-11 Thread Dale, Matt
ate a sessions access time? Hi, > Our need for this is that we have a java application that is launched >remotely by a control web-page. As long as the remove application is >active we do not want to the session that launched it to die. >Unfortunately these were the requirements gi

RE: Can you ever update a sessions access time?

2004-05-11 Thread Shapira, Yoav
d to see >if it is possible. You should probably scream a bit at the person who gave you the requirements ;) What about setting session-timeout to -1 in your web.xml? That means sessions won't timeout due to inactivity, and will become invalid only if you explicitly invalidate them. Th

RE: Can you ever update a sessions access time?

2004-05-11 Thread Balunas, Jay
update a sessions access time? Hi, Why are you doing this at all? Any time you try to circumvent the Servlet Specification this way, you'll get burned in the long run. More specifically, any solution you come up with here will be specific not only to tomcat, but to this tomcat version, a

RE: Can you ever update a sessions access time?

2004-05-11 Thread Shapira, Yoav
PROTECTED] >Sent: Tuesday, May 11, 2004 9:29 AM >To: [EMAIL PROTECTED] >Subject: Can you ever update a sessions access time? > >All, > >I need to update a session access time (as if a request had just occurred). > >I have a application that sends a "keep-a-live&qu

Can you ever update a sessions access time?

2004-05-11 Thread Balunas, Jay
All, I need to update a session access time (as if a request had just occurred). I have a application that sends a "keep-a-live" message to tomcat (with a sessionID). I wrote a session tracker to retrieve the already created session (via an earlier web-page request) When I our servlet recei

FW: how many sessions can serve

2004-05-03 Thread Mazin Safadi
from the browser! In the jmeter manual it asks to provide /manager/status which is not exists! Thanks guys. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 14:54 To: Tomcat Users List Subject: RE: how many sessions can serve Hi,

RE: how many sessions can serve

2004-05-02 Thread Mazin Safadi
from the browser! In the jmeter manual it asks to provide /manager/status which is not exists! Thanks guys. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 14:54 To: Tomcat Users List Subject: RE: how many sessions can serve Hi,

Re: SSL and sessions

2004-04-21 Thread Parsons Technical Services
(Glen)" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 8:15 AM Subject: SSL and sessions > Hi > > I am using tomcat with ssl for the initial log into my application over ssl, > the problem is that if i se

RE: SSL and sessions

2004-04-21 Thread Andy Eastham
lto:[EMAIL PROTECTED] Sent: 21 April 2004 13:15 To: 'Tomcat Users List' Subject: SSL and sessions Hi I am using tomcat with ssl for the initial log into my application over ssl, the problem is that if i send the application back to http (normal) the session that i first created under

SSL and sessions

2004-04-21 Thread Drinkwater, GJ (Glen)
Hi I am using tomcat with ssl for the initial log into my application over ssl, the problem is that if i send the application back to http (normal) the session that i first created under ssl is different from the session that is created going back to http. Is there any configuration that allows t

RE: Detecting Sessions already existent at Tomcat Startup?

2004-04-19 Thread Mark Thomas
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach > Aside from that, wouldn't it be nice of the servlet spec would allow > binding HttpSessionActivationListeners to the whole > application instead > just to an attribute? In my application, it would be much > elegant/easier. M

Re: Detecting Sessions already existent at Tomcat Startup?

2004-04-19 Thread Andreas Schildbach
Hello again, I solved the inner class issue. Had to declare the inner class as static. Regards, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Detecting Sessions already existent at Tomcat Startup?

2004-04-19 Thread Andreas Schildbach
Hello Mark, you are right, sorry for misinterpreting the spec. What I am now doing is, for each session I set an instance of a custom HttpSessionActivationListener implementation as an attribute. This works, at least if the Listener is implemented as a normal (outer) class. If I implement it a

RE: Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Mark Thomas
w is that this is the correct interpretation. Mark > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach > I've got a simple class that keeps track of the sessions that are > active. See sourcecode below. As you can see, sessions are > being added > or removed

Re: Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Andreas Schildbach
Mark Thomas wrote: Without looking at your source code, no idea. I have just checked the Tomcat source and every attribute that implements HttpSessionActivationListener will have sessionWillPassivate() and sessionDidActivate() called. I've got a simple class that keeps track of the ses

RE: Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Mark Thomas
nal Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach > Sent: Sunday, April 18, 2004 7:28 PM > To: [EMAIL PROTECTED] > Subject: Re: Detecting Sessions already existent at Tomcat Startup? > > Hello Mark, > > > > > SRV.

Re: Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Andreas Schildbach
Hello Mark, SRV.15.1.8 HttpSessionActivationListener HttpSessionActivationListener is the way to achieve what you are trying to do. Then why doesn't Tomcat 5.0.19 call my registered HttpSessionActivationListener when I shut Tomcat down or start it up again? I know that my sessions are

RE: Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Mark Thomas
SRV.15.1.8 HttpSessionActivationListener public interface HttpSessionActivationListener extends java.util.EventListener All Superinterfaces: java.util.EventListener Objects that are bound to a session may listen to container events notifying them that sessions will be passivated and that

Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Andreas Schildbach
Hello everyone, when I start up Tomcat and Tomcat activates any sessions from SESSION.ser, shouldn't sessionDidActivate() in a registered HttpSessionActivationListener be called? Or is this listener reserved only for Session migrations between JVMs? In any case, how can I detect a sessi

RE: jk2 + apache vhosts + tomcat sessions

2004-04-15 Thread Angus Mezick
Sorry for this being so late. [uri:*] group=lb This will map all traffic to the same load balance group. > -Original Message- > From: Jens Saade [mailto:[EMAIL PROTECTED] > Sent: Monday, April 12, 2004 8:09 AM > To: Tomcat Users List > Subject: Re: jk2 + apache vhosts +

Re: Followup jk2 + apache vhosts + tomcat sessions

2004-04-13 Thread Jens Saade
h the tomcat vhosts? Or do they still not "share" the same tomcat http session on this single application? Jens Nikola Milutinovic wrote: Jens Saade wrote: Hi, I already sent an email named "jk2 + apache vhosts + tomcat sessions" but no response yet. Maybe I didn't descr

Re: Followup jk2 + apache vhosts + tomcat sessions

2004-04-13 Thread Nikola Milutinovic
Jens Saade wrote: Hi, I already sent an email named "jk2 + apache vhosts + tomcat sessions" but no response yet. Maybe I didn't describe my problem clearly enough so here is another go: I've got an apache http 1.3.x running in front with multiple vhosts. Some of those v

Followup jk2 + apache vhosts + tomcat sessions

2004-04-12 Thread Jens Saade
Hi, I already sent an email named "jk2 + apache vhosts + tomcat sessions" but no response yet. Maybe I didn't describe my problem clearly enough so here is another go: I've got an apache http 1.3.x running in front with multiple vhosts. Some of those vhosts are redirected

Re: jk2 + apache vhosts + tomcat sessions

2004-04-12 Thread Jens Saade
oops, of course i ment vh1.foobar.com and so on ... =) Jens Saade wrote: Hi, I have multiple vhosts on an apache 1.3.x connected to a tomcat 5 via jk2. e.g.: [EMAIL PROTECTED] (apache http) -jk2--- v [EMAIL PROTECTED] (apache http) -jk2---> single tomcat instance [EMAIL PROTECTED] (apache http

jk2 + apache vhosts + tomcat sessions

2004-04-12 Thread Jens Saade
Hi, I have multiple vhosts on an apache 1.3.x connected to a tomcat 5 via jk2. e.g.: [EMAIL PROTECTED] (apache http) -jk2--- v [EMAIL PROTECTED] (apache http) -jk2---> single tomcat instance [EMAIL PROTECTED] (apache http) -jk2---^ ... Is it possible for those vhosts to somehow share the same tomc

RE: Snapshot of Tomcat's Sessions

2004-04-08 Thread Shapira, Yoav
] [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 08, 2004 9:02 AM >To: [EMAIL PROTECTED] >Subject: Snapshot of Tomcat's Sessions > > >I would like to do so metrics on the number and size of sessions in Tomcat >4.1.x. > >Is there any good tools or utilities to use for th

Snapshot of Tomcat's Sessions

2004-04-08 Thread Michael . Medwith
I would like to do so metrics on the number and size of sessions in Tomcat 4.1.x. Is there any good tools or utilities to use for this? Michael Medwith Flagstar Bank Mortrac 4 - Development Team 248.312.5959 This e-mail may contain data that is confidential, proprietary or "non-p

Re: Sticky sessions on Apache/JK2

2004-04-02 Thread Eulogio Robles
The "stickySession" line is not recognized on Linux either. Where can I find the correct method to implement sticky sessions? Best regards, E. Robles Eulogio Robles wrote: I'm trying to set up sticky sessions on Apache/Tru64, using JK2 latest version. I'm using both Ap

Sticky sessions on Apache/JK2

2004-04-01 Thread Eulogio Robles
I'm trying to set up sticky sessions on Apache/Tru64, using JK2 latest version. I'm using both Apache 2.0.49, and the version distributed by HP on its Secure Web Server 6.1.1 (2.0.47). According to JK2 documentation, I should use a sentence like this on my workers2.properties file

Re: need for deployment strategy without terminating user sessions

2004-03-25 Thread Tim Funk
Tomcat should be saving all session data to a serializable file. So you can persist session across an application restart. You can also (in tomcat 5) - use the clustering capability. You can use JDBC to persist sessions. OR You can not put stuff critical to a session and persist in another

need for deployment strategy without terminating user sessions

2004-03-25 Thread Hubbert, Thomas
Hi, I need some help on how to deploy applications on tomcat without terminating all the user sessions (by stopping and restarting the application). At the moment I can't see how this could be possible (not even with the help of session replication). Is there any feature in tomcat or modjk

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Mark Shifman
Shapira, Yoav wrote: Hi, No I am using the default out-of-the-box manager. It worried me that I didn't see Session.ser (or whatever) anywhere which is what made me think I somehow farkled the permissions. I mispelled the file name, it's sessions.ser as others have pointed out. (Don't del

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Shapira, Yoav
Hi, >No I am using the default out-of-the-box manager. It worried me that I >didn't see Session.ser (or whatever) anywhere which is what made me >think I somehow >farkled the permissions. I mispelled the file name, it's sessions.ser as others have pointed out. (Don't delete .cer files if you ha

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Mark Shifman
Shapira, Yoav wrote: Hi, I don't see any session.cer file anywhere. $CATALINA_HOME/work, or anywhere along the path work/Catalina/localhost/chartms Whoa ;) Tomcat must be reading and deserializing the sessions from somewhere, no? Do you have a custom session manager (Manager eleme

memory gobbled up by sessions

2004-03-22 Thread Mark Orr
Hi, We're using Tomcat 3.3.1 on SuSe Linux with nearly 1GB of memory and Java HotSpot VM (build 1.4.0-beta3-b84). We're storing rather a lot of stuff in sessions. When the site is busy and the server is restarted, the amount of free memory, as reported by the command 'free'

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Larry Isaacs
uot; can be very hard to see sometimes. HTH. Cheers, Larry > -Original Message- > From: Mark Shifman [mailto:[EMAIL PROTECTED] > Sent: Monday, March 22, 2004 4:03 PM > To: Tomcat Users List > Subject: Re: IOException while loading persisted sessions: > java.

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Mike Curwen
gt; Subject: RE: IOException while loading persisted sessions: > java.io.WriteAbortedException: writing aborted; > java.io.NotSerializableException: > org.apache.commons.logging.impl.Log4JLogger > > > > Hi, > > >I don't see any session.cer file anywhere. $CATAL

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Shapira, Yoav
Hi, >I don't see any session.cer file anywhere. $CATALINA_HOME/work, or >anywhere along the path >work/Catalina/localhost/chartms Whoa ;) Tomcat must be reading and deserializing the sessions from somewhere, no? Do you have a custom session manager (Manager element in serv

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Mark Shifman
Shapira, Yoav wrote: Hi, OK, so we don't see the Logger being added as a session attribute. Could it be a leftover from a previous version of your webapp? If you stop tomcat, remove the session.cer file from under $CATALINA_HOME/work, start tomcat, use your webapp (to create sessions), th

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Shapira, Yoav
Hi, OK, so we don't see the Logger being added as a session attribute. Could it be a leftover from a previous version of your webapp? If you stop tomcat, remove the session.cer file from under $CATALINA_HOME/work, start tomcat, use your webapp (to create sessions), then do your WAR cop

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Mark Shifman
FE18', 'RechartForm', 'DynaActionForm[dynaClass=RechartForm,xlow=,nthpoint=,xhigh=,yrange=,ylow=,yhigh=,offset=,xpixel=,xrange=,ypixel=]') 2004-03-22 15:35:11 StandardContext[/chartms]SessionListener: attributeReplaced('12967DF686489F6E34AC3035F55BFE18', 'chart

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Shapira, Yoav
Hi, >This is a very simple application in struts. My only session attributes >are a String , an Integer , an ArrayList and a String[]. the struts >form beans, are >DyanValidatorForm which are serializable. OK. Write a simple HttpSessionAttributeListener that just logs in the attributeAdded

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Mark Shifman
onday, March 22, 2004 2:10 PM To: Tomcat Users List Subject: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger My server .xml is set out of the box with: unpackWARs="true" a

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Shapira, Yoav
Original Message- >From: Mark Shifman [mailto:[EMAIL PROTECTED] >Sent: Monday, March 22, 2004 2:10 PM >To: Tomcat Users List >Subject: IOException while loading persisted sessions: >java.io.WriteAbortedException: writing aborted; >java.io.NotSerializableException: >org.apache.com

IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-22 Thread Mark Shifman
My server .xml is set out of the box with: unpackWARs="true" autoDeploy="true" If I copy a war file to webapps when there is an active session present i get this error: IOException while loading persisted sessions: java.io.WriteAbortedExcept

RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts [follow-up: success]

2004-03-10 Thread Justin Johnson
ject and Dispatcher do is allow for event-based communication based on arbitrary criteria (username, in my case). -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 2:40 PM To: 'Tomcat Users List' Subject: RE: Please Comment: plan for co

RE: Please Comment: plan for co-ordinating sessions across mutliple contexts [follow-up: success]

2004-03-10 Thread Yansheng Lin
Thanks! -Yan -Original Message- From: Justin Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 1:05 PM To: 'Tomcat Users List' Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple contexts [follow-up: success] I implemented UserDataBeanEvent

RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts [follow-up: success]

2004-03-10 Thread Justin Johnson
ay to unify the user's experience across multiple contexts, and if I'm not mistaken, it's fairly lightweight. Justin -Original Message- From: Justin Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 9:58 AM To: 'Tomcat Users List' Subject: Please

RE: Sessions

2004-03-10 Thread Mike Curwen
rt Menu or Quicklaunch toolbar to launch a separate instance of IE, then that's two different sessions. > -Original Message- > From: SH Solutions [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 10, 2004 12:27 PM > To: 'Tomcat Users List' > Subject: RE: Sessio

RE: Sessions

2004-03-10 Thread SH Solutions
Hi > This means that the 2 browser windows are 2 separate sessions. Right. > My question is whether this is how tomcat implements sessions or whether it is something I have done code-side to force a new session created. Neigther nor. That's how browsers implement sessions (adhea

RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts

2004-03-10 Thread Justin Johnson
EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 10:01 AM To: Tomcat Users List Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple contexts Hi, Can you make this UserDataBean work with Tomcat's SingleSignOn valve? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config

RE: Please Comment: plan for co-ordinating sessions across mutliple contexts

2004-03-10 Thread Shapira, Yoav
ent: Wednesday, March 10, 2004 10:58 AM >To: 'Tomcat Users List' >Subject: Please Comment: plan for co-ordinating sessions across mutliple >contexts > >I have an internal website with several web applications, and thus several >contexts. The user's identity is automat

Please Comment: plan for co-ordinating sessions across mutliple c ontexts

2004-03-10 Thread Justin Johnson
e filter catches the change, calls the change method in the session's UserDataBean, which changes the preference and updates the database. The experienced among you have already spotted the problem: with multiple contexts there are multiple sessions for the user, and multiple UserDataBeans; changing

Sessions

2004-03-10 Thread Allistair Crossley
x27;s values and does not show the new ones. This means that the 2 browser windows are 2 separate sessions. My question is whether this is how tomcat implements sessions or whether it is something I have done code-side to force a new session created. Thanks

RE: Loosing sessions when poping a window

2004-03-08 Thread Derek Clarkson
Hmm, the popup is this case is definitely accessing a different domain. We have our main site www.foo.com and a secure site for transactions (secure.foo.com). We actually don't care about sessions on the popup secure site because it uses it's own session. The problem appears to be tha

AW: IIS + Tomcat 4.1.x + Load Balancing with session affinity ("s ticky" sessions) possible ? Yes !

2004-03-08 Thread Bjoern . Andersen
Ursprüngliche Nachricht- > Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 8. März 2004 13:29 > An: Tomcat Users List > Betreff: RE: IIS + Tomcat 4.1.x + Load Balancing with session > affinity ("sticky" sessions) possible ? > > > I can just a

RE: IIS + Tomcat 4.1.x + Load Balancing with session affinity ("sticky" sessions) possible ?

2004-03-08 Thread Ralph Einfeldt
I can just answer one question of yours: 'How do these sticky sessions work anyway' Tomcat appends a engine specific postfix to the session id. (That's why you have to define a jvmroute in the engine tag) An incoming request is balanced depending on the included postfix of

Re: AW: IIS + Tomcat 4.1.x + Load Balancing with session affinity ("s ticky" sessions) possible ?

2004-03-08 Thread Alex
New code in cvs i've found for jk2 isapi fll for IIS5 does support sticky sessions going to multiple tomcat instances using ajp13. All my attempts to check out and compile it into a dll though have failed. On Mon, 8 Mar 2004 [EMAIL PROTECTED] wrote: > Date: Mon, 8 Mar 2004 13:16:

AW: IIS + Tomcat 4.1.x + Load Balancing with session affinity ("s ticky" sessions) possible ?

2004-03-08 Thread Bjoern . Andersen
Thanks, but that is exactly what I need to know. We can't replicate sessions coz our crap Framework can't serialize the sessions. So we depend on sticky sessions to get to the right worker. I thought the code for mod_jk and isapi redirector is quite similar or equal, apart from the int

RE: IIS + Tomcat 4.1.x + Load Balancing with session affinity ("sticky" sessions) possible ?

2004-03-08 Thread Ralph Einfeldt
I don't know if your suggested solution works with IIS. But what should work is a solution without sticky sessions. (If that works for you depends on your application) You can use tomcat with session replication: http://www.apache.org/~fhanik/ I'm not aware of the current state of th

IIS + Tomcat 4.1.x + Load Balancing with session affinity ("stick y" sessions) possible ?

2004-03-08 Thread Bjoern . Andersen
Hi Group, We got a small webfarm with 2 IIS & JK on a WLBS balancer. Behind them are two Tomcat workers on different machines. So we need Session affinity to have the JK choose the right (same) Tomcat for the session. Client (Browser) || WLBS /\

RE: Loosing sessions when poping a window

2004-03-05 Thread Mike Curwen
From: Derek Clarkson [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 04, 2004 5:25 PM > To: 'Tomcat Users List' > Subject: RE: Loosing sessions when poping a window > > > Yes, here is my reply to the postings you linked to: > > Hello everyone, I just found this

Re: Loosing sessions when poping a window

2004-03-05 Thread Harry Mantheakis
> I'm still trying to figure out how Tomcat > sees a new window as a new session I do not think Tomcat sees anything more than what is sent to with the request. As I understand it, if the browser does not send a session cookie id, Tomcat will not be able to associate the request with any of its ex

RE: Loosing sessions when poping a window

2004-03-04 Thread Derek Clarkson
Yes, here is my reply to the postings you linked to: Hello everyone, I just found this posting. I have had the same problem. Opening a window causes the session to change. BIG NOTE: I have reproduced this in FireFox - therefore it is NOT IE specific. I solved it by writing a cookie for JSESSIONID

RE: Loosing sessions when poping a window

2004-03-04 Thread Mike Curwen
Is it like this?: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=7 &t=009723 > -Original Message- > From: Derek Clarkson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 03, 2004 11:48 PM > To: 'Tomcat Users List' > Subjec

Loosing sessions when poping a window

2004-03-03 Thread Derek Clarkson
IONID cookie and set the domain to my domain and path = "/". I would prefer to let Tomcat do the session tracking so that it can handle browsers with cookies turned of. Has anyone encountered this problem and can give me a better idea of what is going on ? At the moment I think that tomc

Newbie problem with Sessions

2004-03-02 Thread Derek Clarkson
"lost" and the system insists I logon again. Then every time I try to access a page it keeps creating new sessions and insisting I relogon. This only seems to happen after I access the secure server. I have to restart the browser to get everything working again. I've logged the s

RE: cookies and sessions

2004-02-24 Thread Mike Curwen
> -Original Message- > From: John MccLain [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 24, 2004 11:37 AM > To: Tomcat user list > Subject: cookies and sessions > > > could someone give me a process flow description of how > cookies work, i.e., >

cookies and sessions

2004-02-24 Thread John MccLain
could someone give me a process flow description of how cookies work, i.e., 1)user authenticates - what is actually sent in header???, Is it necessary to authenticate??? 2) cookie issued - Is it sent in the response? 3) user makes request with cookie 4) cookie is recognized - How does this happen??

how to store sessions in a database with jboss and tomcat

2004-02-16 Thread Hugo Kotsubo
Hi! I'm using Jboss 3.2.1 with Tomcat 4.1.24, and Tomcat is running as a Jboss MBean. I want to control the number of sessions each application can have. To do this, I'm trying to store sessions in a postgresql database, and use the Tomcat PersistentManager Implementation.

RE: Tomcat Sessions

2004-02-12 Thread Shapira, Yoav
Howdy, >Currently it seems that sessions are serialised and kept through restarts >of Tomcat. Is there any way to prevent this so that all sessions are wiped >when Tomcat is restarted. > >And even better would be to wipe them on a context basis, when a context is >reloaded.

Jboss + Tomcat and Database Stored Sessions

2004-02-12 Thread Hugo Kotsubo
Hi! I'm using Jboss 3.2.1 with Tomcat 4.1.24, and Tomcat is running as a Jboss MBean. I want to control the number of sessions each application can have. To do this, I'm trying to store sessions in a postgresql database, and use the Tomcat PersistentManager Implementation.

Tomcat Sessions

2004-02-12 Thread Dale, Matt
Hi, Currently it seems that sessions are serialised and kept through restarts of Tomcat. Is there any way to prevent this so that all sessions are wiped when Tomcat is restarted. And even better would be to wipe them on a context basis, when a context is reloaded. Ta Matt Any opinions

RE: IOException while loading persisted sessions continued..

2004-01-30 Thread Allistair Crossley
Thanks mate. Finally an answer that does not include what Serialization is ;) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 13:52 To: Tomcat Users List Subject: RE: IOException while loading persisted sessions continued.. Howdy, It's funn

RE: IOException while loading persisted sessions continued..

2004-01-30 Thread Shapira, Yoav
u do not >want clustering I cannot see why session persistence is ON by default... TC5 requires that session attributes be Serializable by default even outside a cluster because TC5 persists sessions to disk by default. If you change the Manager used to handle sessions, you can get around

<    1   2   3   4   5   6   7   8   9   10   >