Trouble with JDBC Session Persistence (Tomcat 4.1)

2005-07-07 Thread lawrence
I am having some troubles getting JDBC session persistance to work. I have set up my Oracle DB and server.xml correctly (as I have verified that the session is indeed stored in the DB), but then after restarting tomcat, it appears that the session is not getting swapped in correctly. Here

Re: Can a client recapture a session in Tomcat 4.1

2005-05-13 Thread Ronald Klop
the same. Ronald. On Thu May 12 16:57:29 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: Can a client recapture his Tomcat session after he has accidentally closed the browser, provided that the session object still exists on the server? Would this be a browser-specific thing? After

Can a client recapture a session in Tomcat 4.1

2005-05-12 Thread Millies, Sebastian
Can a client recapture his Tomcat session after he has accidentally closed the browser, provided that the session object still exists on the server? Would this be a browser-specific thing? After all, I guess I'd need to tell the browser to persist the session cookie or some such thing. Or would

RE: Can a client recapture a session in Tomcat 4.1

2005-05-12 Thread Arup Vidyerthy
-Original Message- From: Millies, Sebastian [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 15:57 To: tomcat-user@jakarta.apache.org Subject: Can a client recapture a session in Tomcat 4.1 Can a client recapture his Tomcat session after he has accidentally closed the browser, provided

Re: Can a client recapture a session in Tomcat 4.1

2005-05-12 Thread Lutz Zetzsche
Hi Sebastian, Am Donnerstag, 12. Mai 2005 16:57 schrieb Millies, Sebastian: Can a client recapture his Tomcat session after he has accidentally closed the browser, provided that the session object still exists on the server? Would this be a browser-specific thing? After all, I guess I'd

Re: Can a client recapture a session in Tomcat 4.1

2005-05-12 Thread Tim Diggins
To: tomcat-user@jakarta.apache.org Subject: Can a client recapture a session in Tomcat 4.1 Can a client recapture his Tomcat session after he has accidentally closed the browser, provided that the session object still exists on the server? Would this be a browser-specific thing? After all, I guess

RE: Can a client recapture a session in Tomcat 4.1

2005-05-12 Thread Arup Vidyerthy
2005 16:21 To: Tomcat Users List Subject: Re: Can a client recapture a session in Tomcat 4.1 Using IP sounds a bit scary as a lookup - think of all the users with equivalent IP addresses (because of NATing routers/firewalls, etc.). Plus it would be a strikes me it would be a nightmare to test

Re: Can a client recapture a session in Tomcat 4.1

2005-05-12 Thread Lutz Zetzsche
Hi Tim, Am Donnerstag, 12. Mai 2005 17:20 schrieb Tim Diggins: Using IP sounds a bit scary as a lookup - think of all the users with equivalent IP addresses (because of NATing routers/firewalls, etc.). Plus it would be a strikes me it would be a nightmare to test... But, if instead you

Re: Can a client recapture a session in Tomcat 4.1

2005-05-12 Thread Will Hartung
From: Millies, Sebastian [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 15:57 Can a client recapture his Tomcat session after he has accidentally closed the browser, provided that the session object still exists on the server? If the client authenticates to your server (i.e. they log

Session state Tomcat 5.5.4

2005-03-02 Thread David Short
I'm experiencing, what I believe to be, strange behavior with Tomcat 5.5.4. I'm using Oracle connection pooling and the pool is initialized, and connections made to the database, upon startup. I can query the v$session view to verify that the connections were made. I put the connection pool

No session in tomcat 5.0.24

2004-05-14 Thread Rob Tillie
Hello all, Last night we updated our tomcat server from 5.0.16 to 5.0.24. Suddenly, the web applications don't keep the same session between requests, hereby rendering parts of our applications useless. I have searched the archives but couldn't find any usefull info. Any idea what the problem

RE: No session in tomcat 5.0.24

2004-05-14 Thread Dale, Matt
[mailto:[EMAIL PROTECTED] Sent: 14 May 2004 09:06 To: [EMAIL PROTECTED] Subject: No session in tomcat 5.0.24 Hello all, Last night we updated our tomcat server from 5.0.16 to 5.0.24. Suddenly, the web applications don't keep the same session between requests, hereby rendering parts of our applications

RE: No session in tomcat 5.0.24

2004-05-14 Thread Rob Tillie
:30 AM To: Tomcat Users List Subject: RE: No session in tomcat 5.0.24 I would hazard a guess that you have made configurational changes to either the server.xml or the web.xml in your older installation. I would look at all the parameters set in these files carefully and see if you can spot

RE: No session in tomcat 5.0.24

2004-05-14 Thread Dale, Matt
: No session in tomcat 5.0.24 I just did some more investigation. Sessions are working for every app except the most important one :). The web.xml of both apps are empty except for the body of web.xml. Pretty weird, -- Rob. -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent

RE: No session in tomcat 5.0.24

2004-05-14 Thread Rob Tillie
. -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 10:41 AM To: Tomcat Users List Subject: RE: No session in tomcat 5.0.24 What about the main web.xml in the conf directory? and do you have context.xml in the META-INF directory of the app. What about server.xml

RE: No session in tomcat 5.0.24

2004-05-14 Thread Dale, Matt
PROTECTED] Sent: 14 May 2004 09:48 To: Tomcat Users List Subject: RE: No session in tomcat 5.0.24 I only uncommented the invoker servlet in the main web.xml, haven't touched the server.xml. But as it works for another app on the same server, I'm guessing this couldn't be the problem

Re: No session in tomcat 5.0.24

2004-05-14 Thread Mario Ivankovits
Rob Tillie wrote: Last night we updated our tomcat server from 5.0.16 to 5.0.24. Suddenly, the web applications don't keep the same session between requests, hereby rendering parts of our applications useless. I have experienced a simmilar problem - it looks like the session was lost between

RE: No session in tomcat 5.0.24

2004-05-14 Thread Rob Tillie
Wow, this solved my problem... thanx a lot... so simple after 5 hours of work. Greetz, -- Rob. -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 11:05 AM To: Tomcat Users List Subject: Re: No session in tomcat 5.0.24 Rob Tillie wrote: Last

RE: No session in tomcat 5.0.24

2004-05-14 Thread Matthew Clark
May 2004 10:01 To: Tomcat Users List Subject: RE: No session in tomcat 5.0.24 Thats me out of ideas then. Good luck. In tomcat version 4 you could have a context container in your server.xml. In tomcat 5 it is recommended that you have these containers in context.xml in the META-INF directory

RE: No session in tomcat 5.0.24

2004-05-14 Thread Shapira, Yoav
:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 5:07 AM To: Tomcat Users List Subject: RE: No session in tomcat 5.0.24 Wow, this solved my problem... thanx a lot... so simple after 5 hours of work. Greetz, -- Rob. -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent

Create session on Tomcat 4.1.24

2003-10-24 Thread Chiming Huang
Hi, I am trying to upgrade our current Tomcat 4.0.4 to Tomcat 4.1.24. After logged in our application, we store the user information as an attribute in the session. With Tomcat 4.1.24, it seems the session was not created. How can I configure tomcat 4.1.24 to create session automatically

RE: Create session on Tomcat 4.1.24

2003-10-24 Thread Shapira, Yoav
-Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:19 AM To: Tomcat User Subject: Create session on Tomcat 4.1.24 Hi, I am trying to upgrade our current Tomcat 4.0.4 to Tomcat 4.1.24. After logged in our application, we store the user information

RE: Create session on Tomcat 4.1.24

2003-10-24 Thread Chiming Huang
and we'll try to help ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:19 AM To: Tomcat User Subject: Create session on Tomcat 4.1.24 Hi, I am trying to upgrade our current Tomcat 4.0.4

RE: Create session on Tomcat 4.1.24

2003-10-24 Thread Shapira, Yoav
: Create session on Tomcat 4.1.24 Hi, Thank you for your quick response. We are using Tomcat 4.0.4, Struts 1.0.2 for our application. In the perform() method of the logon action class, we get the HttpSession, say session, by calling request.getSession(). And then store the user class by calling

Re: Create session on Tomcat 4.1.24

2003-10-24 Thread Chiming Huang
Users List [EMAIL PROTECTED] Sent: Friday, October 24, 2003 11:02 AM Subject: RE: Create session on Tomcat 4.1.24 Owdy, And what do you see in your logs? Successful login, and then redirection to access denied page? Yoav Shapira Millennium ChemInformatics -Original Message- From

How many concurrent session in tomcat 4.1.24

2003-07-07 Thread pawan
Title: Nature Hello Everyone, I was just wonderingthat How many concurrent request / session can be efficiently handled by Tomcat 4.1.24 ?? and where it is configured??? Thanks Regards, Pawan Kumar Shrivastava Apar Infotech, Bombay Tel: 91-22-56939710/11/12/13

RE: How many concurrent session in tomcat 4.1.24

2003-07-07 Thread Angus Mezick
your butt. --Angus -Original Message- From: pawan [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 8:01 AM To: [EMAIL PROTECTED] Subject: How many concurrent session in tomcat 4.1.24 Hello Everyone, I

Session Persistence + tomcat 4.1.24

2003-07-02 Thread Dipl.Ing. Torsten Liermann
Hi, I would like to use persistent sessions with tomcat 4.1.24, but I wonder why the tomcat session cookie is only a browser session cookie. How can I configure the expiry date of the session cookies? Thanks Torsten

RE: Session Persistence + tomcat 4.1.24

2003-07-02 Thread Shapira, Yoav
10:08 AM To: [EMAIL PROTECTED] Subject: Session Persistence + tomcat 4.1.24 Hi, I would like to use persistent sessions with tomcat 4.1.24, but I wonder why the tomcat session cookie is only a browser session cookie. How can I configure the expiry date of the session cookies? Thanks Torsten

Re: Session Persistence + tomcat 4.1.24

2003-07-02 Thread Dipl.Ing. Torsten Liermann
] Subject: Session Persistence + tomcat 4.1.24 Hi, I would like to use persistent sessions with tomcat 4.1.24, but I wonder why the tomcat session cookie is only a browser session cookie. How can I configure the expiry date of the session cookies? Thanks Torsten

Non persistence session for Tomcat 4.0

2003-01-22 Thread Thomas Colin de Verdière
I read the answer for subject Non-persisting session manager for 4.1.x? so does Manager pathname = / in the Host works for Tomcat 4.0. I confirm it works for Context but don't for Host, is there another way to do it? Thomas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Non persistence session for Tomcat 4.0

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Thomas Colin de Verdière wrote: Date: Wed, 22 Jan 2003 14:30:08 +0100 From: Thomas Colin de Verdière [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Non persistence session for Tomcat 4.0 I read

Persistent Session in tomcat

2002-04-19 Thread yinglcs
Hi, Could anyone please tell me when will Tomcat retrieve session data from disk/database after the session is being perserved due to too many active sessions/being idle too long? Thanks. __ Your favorite stores, helpful

Losing Session Objects Tomcat 4.02?

2002-04-18 Thread Saiveau, Jim
Hey Everyone, I'm having a problem that hopefully some of you may be able to resolve. Within the main session I am storing a few custom session objects. For some reason, it seems that after a extended amount of time one of the objects is lost. The main session is still available, so Tomcat

Problem with session when Tomcat started from priviledged port(80)

2002-02-06 Thread Rahul Pathak
Hi, I am having a problem when i start Tomcat from the privilidged port on Solaris machinces(port 80).Everything works fine except the session. When i disable the cookies on the browser the website dosent work.But when i start the same tomcat (with all the java files same) on port above 8000

RE: session between tomcat and IIS

2002-02-06 Thread colin . madere
Since I just ran into the problem of sharing cookies between IIS and Tomcat, I noticed this trait: Tomcat can read cookies set by IIS/ASP, but IIS/ASP can NOT read cookies set by Tomcat. (sorry for the not including original message, just subscribed) -- To unsubscribe: mailto:[EMAIL

RE: session between tomcat and IIS

2002-02-06 Thread colin . madere
, 2002 6:10 PM To: [EMAIL PROTECTED] Subject: RE: session between tomcat and IIS Since I just ran into the problem of sharing cookies between IIS and Tomcat, I noticed this trait: Tomcat can read cookies set by IIS/ASP, but IIS/ASP can NOT read cookies set by Tomcat. (sorry

RE: Sticky session with Tomcat 4.0 and mod_jk

2001-12-14 Thread Andrew McGhee
in configuration to do loadbalancing for mod_jk) -Original Message- From: Subbu Kaleyathodi [mailto:[EMAIL PROTECTED]] Sent: 14 December 2001 06:56 To: '[EMAIL PROTECTED]' Subject: Sticky session with Tomcat 4.0 and mod_jk Hi All, We are using Tomcat 4.0.1 with Tomcat and would like to use mod_jk

RE: Sticky session with Tomcat 4.0 and mod_jk

2001-12-14 Thread Subbu Kaleyathodi
, 2001 6:20 PM To: Tomcat Users List Subject: RE: Sticky session with Tomcat 4.0 and mod_jk Good posting - We are assuming that mod_jk is in essence similar / superset of mod_jserv, of which the following information appears to be excelent regarding failover. http://java.apache.org/jserv/howto.load

Sticky session with Tomcat 4.0 and mod_jk

2001-12-13 Thread Subbu Kaleyathodi
Hi All, We are using Tomcat 4.0.1 with Tomcat and would like to use mod_jk as the connector from Apache to Tomcat. The main reason for going with mod_jk is because I read some snippets of documentation that mentioned that it supported sticky sessions. But I haven't found anything comprehensive

Disabling cookies for session by Tomcat

2001-11-26 Thread Oto Buchta
Is it possible to disable usage of cookies by the Tomcat 4.0? I have to share sessions bettween host.domain:80 and host.domain:443 (for SSL) and cookies are host and port specific. Thanks, -- Oto 'tapik' Buchta -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

Session with Tomcat

2001-11-22 Thread Stefano Bonnin
Hi, I have developed a web application with Tomcat+Cocoon. Now I have noticed that if, on the same machine, I open two MSIE, Tomcat return the same session. This is no good for me because the browsers on the same machine share the same session objects!! How can I do? Thanks in advance. --

AW: Session with Tomcat

2001-11-22 Thread Ralph Einfeldt
Do you open two browsers, or just two windows of the same browser? -Ursprüngliche Nachricht- Von: Stefano Bonnin [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 22. November 2001 14:23 An: [EMAIL PROTECTED] Betreff: Session with Tomcat Hi, I have developed a web application

RE: Session with Tomcat

2001-11-22 Thread Luke Studley
Also maybe try disabling sessions tracking through cookies in the server.xml. -Original Message- From: Stefano Bonnin [mailto:[EMAIL PROTECTED]] Sent: 22 November 2001 13:23 To: [EMAIL PROTECTED] Subject: Session with Tomcat Hi, I have developed a web application with Tomcat+Cocoon

RE: Session with Tomcat

2001-11-22 Thread Alexandre Victoor
Hi, This is quite normal because your 2 IE windows share the same cookies and so the same session ids. If you have a second browser, like netscape or opera, you can do easily your test. Regards Alex Hi, I have developed a web application with Tomcat+Cocoon. Now I have noticed that if, on

AW: Session with Tomcat

2001-11-22 Thread Ralph Einfeldt
An: 'Tomcat Users List' Betreff: RE: Session with Tomcat Also maybe try disabling sessions tracking through cookies in the server.xml. -Original Message- From: Stefano Bonnin [mailto:[EMAIL PROTECTED]] Sent: 22 November 2001 13:23 To: [EMAIL PROTECTED] Subject: Session with Tomcat

Number of active session in Tomcat instance

2001-09-08 Thread chiuming
Hi, I had asked this question before. But I didn't get any reply. So I post this again in hope someone could help me getting number of active session Tomcat holds. The following code will return number of sessions in a Context(web app) but not all the sessions in the whole JVM (tomcat instance

Session of Tomcat.

2001-08-16 Thread Harden ZHU
Hi, Can I catch the event when a session is created from tomcat? Thx Harden

RE: Session of Tomcat.

2001-08-16 Thread Michael Wentzel
Can I catch the event when a session is created from tomcat? Yes, take a look at javax.servlet.HttpSessionBindingListener in servlet API. This has been covered on this group before please look at the list archives. --- Michael Wentzel Software Developer Software As We Think -

Re: Session of Tomcat.

2001-08-16 Thread Rob S.
Yes, take a look at javax.servlet.HttpSessionBindingListener in servlet API. This has been covered on this group before please look at the list archives. HSBL is when something is bound to the session, not when the session itself is created. You can create the sessions yourself I guess =) -

RE: Session of Tomcat.

2001-08-16 Thread Craig R. McClanahan
On Thu, 16 Aug 2001, Michael Wentzel wrote: Can I catch the event when a session is created from tomcat? Yes, take a look at javax.servlet.HttpSessionBindingListener in servlet API. This has been covered on this group before please look at the list archives. Actually, this doesn't

RE: Session of Tomcat.

2001-08-16 Thread Michael Wentzel
Can I catch the event when a session is created from tomcat? Yes, take a look at javax.servlet.HttpSessionBindingListener in servlet API. This has been covered on this group before please look at the list archives. Actually, this doesn't accurately answer the original

Re: Session of Tomcat.

2001-08-16 Thread Bo Xu
Harden ZHU wrote: Hi, Can I catch the event when a session is created from tomcat? Thx Harden in: http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servletapi_p.html ... The session listener model is similar to the context listener model. In the session model, there's an

Session in Tomcat

2001-05-30 Thread Pablo Trujillo
Hello friends, I need information about how Tomcat assign the numbers of ID for each session. I also need to know where is the Cookie JSessionID stored. I wait you can help me and thank you Pablo

RE: Session in Tomcat

2001-05-30 Thread Randy Layman
12:08 PM To: [EMAIL PROTECTED] Subject: Session in Tomcat Hello friends, I need information about how Tomcat assign the numbers of ID for each session. I also need to know where is the Cookie JSessionID stored. I wait you can help me and thank you Pablo

Session In TOmcat

2001-05-30 Thread Pablo Trujillo
Hello friends, I need information about how Tomcat assign the numbers of ID for each session. I also need to know where is the Cookie JSessionID stored. I wait you can help me and thank you Pablo P.D.:This is the second time that I send the message, but I don't receive it. Excuse me for the

Persistent JSP-Session in Tomcat ?

2001-03-27 Thread Irma Tröger
Hi, I have a question about the failover capabilities of Tomcat. We want to setup an environment running multiple Tomcat-Servers. I've heart that there's a way in Tomcat to ensure that the JSP-sessions keep alive in case the a tomcat server falls down. Does anyone know how to setup such an

RE: session between tomcat and IIS

2001-01-17 Thread CPC Livelink Admin
] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 2:58 PM To: [EMAIL PROTECTED] Subject: session between tomcat and IIS Hello, I'm in a bit of a peckerwood situation here. Tomcat 3.2.1 Apache is the preferred apps but I have been told to integrate with an IIS machine. Ok, so my problem