Global Sessions

2005-10-19 Thread Eoghan Shields
Hi, Is it possible to have a single session which can be used over multiple applications on a single server, the basic problem is there is multiple webapps running on the same server but when a user logs into one, it would be nice to share all their session data so that they could switch betwe

Maintaing sessions

2006-02-14 Thread Marcelo Fukushima
Hello guys. I dont know if this is the right list for this question, but i dont have anywhere else to rely on so... the problem im facing is kinda tricky: theres this one computer that cant maintain sessions when i redirect it or click on a link... in fact, my guess is that this one client is not

OT: Sessions

2007-06-27 Thread vnug
Hi: We have an Enterprise application that uses sessions to keep track of User Information (name, role, dept). This information is used against the user when logging out, checking credentials and displaying user information. Since we are using Session Attributes to keep track of User

Re: Sessions

2007-06-27 Thread Terence M. Bandoian
Hi- Are both users accessing the web application from the same computer? -Terence M. Bandoian [EMAIL PROTECTED] > Hi: > > Thanks David, Chris and Martin for the responses. I appreciate them. May be I didn't explain the situation properly in my posting. I will try to explain better - > > The app

Re: Sessions

2007-06-28 Thread vnug
Yes. They are using the web application from the same computer. -Vasu "Terence M. Bandoian" <[EMAIL PROTECTED]> wrote: > Hi- > > Are both users accessing the web application from the same computer? > > -Terence M. Bandoian > [EMAIL PROTECTED] > > > Hi: > > > > Thanks David, Chris and M

invalid sessions

2006-12-18 Thread Asensio, Rodrigo
Hi guys, Im trying to reject users whose sessions was invalidated (in purpose because a logout or timeout) But I found that there is not logic combination in the session valid or invalid methods. Case 1 First request Session.isNew() TRUE Request.isRequestedSessionIdValid() FALSE We can say that

Invalidate sessions

2008-06-17 Thread JLucas ZB
Hello, i would like to invalidate the sessions. Is there any way to do that ? J Lucas

Re: Global Sessions

2005-10-19 Thread David Delbecq
It would be a nightmare ;) Sessions are used to store objects, lots of libs does store in session various datas. All objects loaded are linked to their Classloader. So if you store a org.mycompany.MyData object under key "SOME_KEY" in session within webapp1 and you do this in we

turning off sessions

2006-02-07 Thread David Durham
Anyway to configure a Tomcat 5.5 app to not create sessions through META-INF/context.xml? The closest thing I've found was the maxInactiveInterval attribute of the manager element. E.g., But, even that doesn't work properly. Anyone know what I need to do? Than

Re: Maintaing sessions

2006-02-14 Thread Marcelo Fukushima
his is the right list for this question, but i dont > have anywhere else to rely on so... > the problem im facing is kinda tricky: theres this one computer that > cant maintain sessions when i redirect it or click on a link... in > fact, my guess is that this one client is not able t

Re: Maintaing sessions

2006-02-16 Thread Filip Hanik - Dev Lists
cant maintain sessions when i redirect it or click on a link... in fact, my guess is that this one client is not able to maintain any session at all... im guessing this client is buged, but it can acess virtually any web site without problems, so i cant really be sure... any toughs? im using

Problem with sessions

2006-07-10 Thread Juba
Hi all, First: I don't know English very well. Second: I am using Tomcat 5.5.17 and when I run my application I notice that Tomcat creates more than 1 session when an user log in my application. And when this happen I can't recover information about the users and the application's applets can't lo

Sessions in Tomcat

2006-08-01 Thread Skidmore, Donald \(GTI PE\)
ed going into Tomcat's manager and doing a reload. Both browser sessions bring to work normally, the original browser continues as if nothing happened and the second browser session loads without the null pointer exception. Is there something I am not setting? Even more bizarre, after I do a

Re: OT: Sessions

2007-06-27 Thread David Smith
ickier and probably not in your best interest from a security perspective. --David [EMAIL PROTECTED] wrote: Hi: We have an Enterprise application that uses sessions to keep track of User Information (name, role, dept). This information is used against the user when logging out, checking crede

Re: OT: Sessions

2007-06-27 Thread Christopher Schultz
; the person who gets logged in will overwrite the current user's > attribute thus losing first user information). Just to be sure I understand: You have an application that uses sessions. When the user logs-in in one window, then opens another window and logs-in again, the first user

Re: OT: Sessions

2007-06-27 Thread vnug
to login to application > > from the same browser (in FireFox) and Ctrl-N from IE (in other words > > the person who gets logged in will overwrite the current user's > > attribute thus losing first user information). > > Just to be sure I understand: > > You have

Re: OT: Sessions

2007-06-27 Thread 吴熊敏
rote: > Hi: > > We have an Enterprise application that uses sessions to keep track of User > Information (name, role, dept). This information is used against the user > when logging out, checking credentials and displaying user information. Since > we are using Session Att

Re: OT: Sessions

2007-06-28 Thread David Smith
r information). Just to be sure I understand: You have an application that uses sessions. When the user logs-in in one window, then opens another window and logs-in again, the first user's session appears to go away, and both windows now point to the new login? If that's what you

Re: OT: Sessions

2007-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vasu, [EMAIL PROTECTED] wrote: > The application has pretty decent authentication mechanism that > differentiates between users, roles and permissions etc. What the > application need to maintain is user object information specifically > - name, ro

RE: OT: Sessions

2007-07-03 Thread Propes, Barry L
Users List Subject: Re: OT: Sessions -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vasu, [EMAIL PROTECTED] wrote: > The application has pretty decent authentication mechanism that > differentiates between users, roles and permissions etc. What the > application need to maintain

Deserialize tomcat sessions

2006-02-27 Thread Abraham Fdez
Hi all, I have Persistent sessions in tomcat that are saved into Postgresql database. I make a Select from tomcat_sessions in order to get sessions to get an attribute that is on each one. What is the function to deserialize each session from database? Thanks, <h

Confusion in sessions

2006-03-21 Thread George Azzopardi
Hi people, I have two separate web applications, appA and appB, running on Tomcat. The problem is that sometimes appA loads a page of appB instead of the actual page. Do you have any ideas? Regards, George Azzopardi *** Internet Email Notice *** The i

list of sessions

2006-07-02 Thread tanja Fuhr
Hello, I would like to get list of sessions, which Tomcat are managed. I see, that I can use method findSessions() of StandardManager class, but I don't how can I get an instance of this class. All what I have is HttpServletRequest and HttpSession T

RE: invalid sessions

2006-12-18 Thread Asensio, Rodrigo
sessions Hi guys, Im trying to reject users whose sessions was invalidated (in purpose because a logout or timeout) But I found that there is not logic combination in the session valid or invalid methods. Case 1 First request Session.isNew() TRUE Request.isRequestedSessionIdValid() FALSE We can say

Re: invalid sessions

2006-12-18 Thread Veit Guna
I check for invalidated sessions (timeout) the following way: if (! lRequest.isRequestedSessionIdValid() && lRequest.getRequestedSessionId() != null) { log.debug("session expired"); } else { log.debug("the normal way"); } regards, Veit Asensio, Ro

RE: invalid sessions

2006-12-18 Thread Asensio, Rodrigo
settings. Thanks ! -Original Message- From: Veit Guna [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 2:28 PM To: Tomcat Users List Subject: Re: invalid sessions I check for invalidated sessions (timeout) the following way: if (! lRequest.isRequestedSessionIdValid

Tomcat mixes sessions?

2007-10-23 Thread Eero Nevalainen
Hello everyone, I've got a really serious issue with session handling in my web application. Some of my users complain that after they login into the app, they actually see someone else's data! Personally, I have never managed to replicate this, and most of the users seem to be perfectly happy. So

Applets and Sessions

2008-01-21 Thread Charlie Wingate
Hi All, At every user instance of an applet is there a "session" started as reported by tomcat manager for that application? Charlie --- This message is a CONFIDENTIAL communication. If you are not the intended re

Disabling the sessions

2008-03-12 Thread jean-louis . mateo
Tomcat : Java : Hi everybody, is there any way to turn off the jsessionid (disabling the rewriting URL) ? Thank you very much Best Regards Jean-Louis Matéo - To start a new topic, e-mail: users@tomcat.apache.org To uns

Re: Invalidate sessions

2008-06-17 Thread Youssef Mohammed
call invalidate method on javax.servlet.http.HttpSession On 6/17/08, JLucas ZB <[EMAIL PROTECTED]> wrote: > > > Hello, > > i would like to invalidate the sessions. > Is there any way to do that ? > > J Lucas > -- Regards, Youssef

Re: Invalidate sessions

2008-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J, JLucas ZB wrote: | i would like to invalidate the sessions. | Is there any way to do that ? Do you mean that you want to invalidate all sessions at once? In order to do that, you'd have to collect sessions as they are created (us

problem with sessions

2008-06-26 Thread abhishek reddy
hi every one, i have a jsp page, once the user logged in iam creating a session in the jsp page.When the user logged out iam invalidating the session. when two users logged in, and if one user logged out, the other user session is also getting invalidated.I dont want this to happen i.e. evethough

RE: turning off sessions

2006-02-07 Thread Tim Lucia
Tomcat doesn't create sessions. Web applications create sessions. I.e., code says: HttpSession session = ((HttpServletRequest)request).getSession({true|false}); // true for create if not exist, false for don't create); FWIW, Struts will create one for you, even if you don't

Re: turning off sessions

2006-02-07 Thread David Durham
Tim Lucia wrote: Tomcat doesn't create sessions. Web applications create sessions. I.e., code says: HttpSession session = ((HttpServletRequest)request).getSession({true|false}); // true for create if not exist, false for don't create); That's strange because there is no cal

RE: turning off sessions

2006-02-07 Thread Tim Lucia
PM To: Tomcat Users List Subject: Re: turning off sessions Tim Lucia wrote: > Tomcat doesn't create sessions. Web applications create sessions. > I.e., code says: > > HttpSession session = > ((HttpServletRequest)request).getSession({true|false}); // true for > create

RE: turning off sessions

2006-02-07 Thread Tim Lucia
m Lucia [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 4:49 PM To: 'Tomcat Users List' Subject: RE: turning off sessions Interesting. You are right. A trivial jsp with only text inside produces a session. I am fairly certain I have seen servlets (not JSPs) behaving without

RE: turning off sessions

2006-02-07 Thread Ed
Yep, JSPs automatically create sessions (part of the JSP spec certainly). To turn session off put <%@ page session="false" %> in your JSP. Beware, that web frameworks such as struts may also create sessions for other purposes (eg, storing the locale). you may also turn this of

RE: turning off sessions

2006-02-07 Thread Tim Lucia
Thanks! Now I do remember seeing this. Been a long time since I have created a stateless application, I guess ;-) -Original Message- From: Ed [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 6:15 PM To: users@tomcat.apache.org Subject: RE: turning off sessions Yep, JSPs

Re: turning off sessions

2006-02-07 Thread David Durham
To turn session off put <%@ page session="false" %> in your JSP. That works. Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: turning off sessions

2006-02-09 Thread Eric Haszlakiewicz
On Wed, Feb 08, 2006 at 12:14:36AM +0100, Ed wrote: > Yep, JSPs automatically create sessions (part of the JSP spec certainly). > > To turn session off > put <%@ page session="false" %> in your JSP. > > Beware, that web frameworks such as struts may also create

Multiple Sessions per user

2006-02-16 Thread Daniel Guggi
er/technicalArticles/Servlets/ServletControl/) would help me with creating multiple sessions for the same users? And how would someone solve the problem with the problem of multiple browser windows? TIA, Daniel - To unsubsc

Multiple Sessions per user

2006-02-16 Thread Daniel Guggi
er/technicalArticles/Servlets/ServletControl/) would help me with creating multiple sessions for the same users? And how would someone solve the problem with multiple browser-windows or -tabs? TIA, Daniel - To unsubsc

Re: Sessions in Tomcat

2006-08-01 Thread Christopher Schultz
ncode the jsessionid into each URL? If that's the case, you might be simply typing a URL into your second browser window that doesn't have this magic parameter, and therefore not getting a session. > [After a restart, ] both browser sessions bring to work normally, the > original browse

RE: Sessions in Tomcat

2006-08-01 Thread Skidmore, Donald \(GTI PE\)
tz [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 12:46 PM To: Tomcat Users List Subject: Re: Sessions in Tomcat * PGP Signed by an unknown key: 08/01/2006 at 12:46:13 PM Donald, > The first browser session works fine and I can > navigate thru all my pages without a problem. A f

Sessions and sendDirect(url)

2006-09-07 Thread Serlet Jean-Claude
Hello What i'm looking for is the answer to this question Under Tomcat 5.5 _ Windows 2003 what happen to a session when there is a sendDirect(url) used ? Is this session be invalidate ? Thanks you Jean-Claude

multiple tomcat sessions running

2006-10-27 Thread chlawren
Guys, I am pretty new to tomcat and am an AIX server engineer. I have been asked to install tomcat on and AIX 5.3 server, install is fine and starts ok however I notice multiple sessions being started for about 10 seconds which consume most of the cpu ( 18 way system ) Please can someone help

sticky sessions not sticking

2007-06-14 Thread Eddie Yee
Hi, I am not sure if this is a bug, but it appears that my sticky sessions configuration don't want to stick. I am running two servers with tomcat 5.5.20 (configured as single servers ie. no session replication) with standard ajp13 connector (8009) and one web server running iPlanet 6

Save sessions across restarts

2007-06-17 Thread lightbulb432
During development, I'd like my sessions to stick around while I reload the context or restart the container, so that when I make a change to a servlet, for example, that requires a context reload, I don't have to relogin in the application. I notice the saveOnRestart attribute

Re: Deserialize tomcat sessions

2006-02-27 Thread Filip Hanik - Dev Lists
File: StandardSession.java Method: readObjectData Filip Abraham Fdez wrote: Hi all, I have Persistent sessions in tomcat that are saved into Postgresql database. I make a Select from tomcat_sessions in order to get sessions to get an attribute that is on each one. What is the

RE: Deserialize tomcat sessions

2006-02-27 Thread Abraham Fdez
[mailto:[EMAIL PROTECTED] Enviado el: lunes, 27 de febrero de 2006 14:18 Para: Tomcat Users List Asunto: Re: Deserialize tomcat sessions File: StandardSession.java Method: readObjectData Filip Abraham Fdez wrote: > Hi all, > > > > > > I have Persistent sessions in tomca

Re: Deserialize tomcat sessions

2006-02-27 Thread Filip Hanik - Dev Lists
anik - Dev Lists [mailto:[EMAIL PROTECTED] Enviado el: lunes, 27 de febrero de 2006 14:18 Para: Tomcat Users List Asunto: Re: Deserialize tomcat sessions File: StandardSession.java Method: readObjectData Filip Abraham Fdez wrote: Hi all, I have Persistent sessions in tomcat that are

RE: Deserialize tomcat sessions

2006-02-28 Thread Abraham Fdez
original- De: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Enviado el: lunes, 27 de febrero de 2006 20:07 Para: Tomcat Users List Asunto: Re: Deserialize tomcat sessions byte[] mysessiondata = ...; ObjectInputStream stream = new ObjectInputStream(new ByteArrayInputStream(mysessiondata

RE: Deserialize tomcat sessions

2006-02-28 Thread Abraham Fdez
a: Tomcat Users List Asunto: Re: Deserialize tomcat sessions byte[] mysessiondata = ...; ObjectInputStream stream = new ObjectInputStream(new ByteArrayInputStream(mysessiondata)); StandardSession mysession = new StandardSession(); mysession.readObjectData(mysessiondata); Object attribute = my

Re: Confusion in sessions

2006-03-21 Thread Antonio Petrelli
George Azzopardi ha scritto: Hi people, I have two separate web applications, appA and appB, running on Tomcat. The problem is that sometimes appA loads a page of appB instead of the actual page. Do you have any ideas? It is nearly impossible if you use context-relative URLs (maybe using

Re: Confusion in sessions

2006-03-21 Thread George Azzopardi
ubject Please respond to Re: Confusion in sessions "Tomcat Users List" &

Re: Confusion in sessions

2006-03-21 Thread Antonio Petrelli
George Azzopardi ha scritto: What do you mean by context-relative URLs? Usually, I use relative paths (../page1.jsp) for example. I confirmed that both applications do not have any page with the same filename. (a) Are you forwarding to a JSP page from a servlet? (b) Or redirecting? (c) Or is

Managing sessions - Object destruction

2006-03-30 Thread Victor Hugo Germano
Hello, We are having some throuble working with reference objects in session, i mean, every time i try to reload a context the session is not reloaded, and all its contents are kept in memory reaching the full memory capacity very fast. I am sorry my english. I'll try to explain it better:

Re: list of sessions

2006-07-03 Thread Mark Thomas
tanja Fuhr wrote: > Hello, > > I would like to get list of sessions, which Tomcat are managed. > I see, that I can use method findSessions() of StandardManager class, but I > don't how can I get an instance of this class. > All what I have is HttpServletRequest and H

Notification of expiring sessions

2006-12-19 Thread ben short
Hi, I want to store user session data into a database rather than in the session, to conserve memory. I want to use the session id as the key to look up this data. As a request comes in, the servlet will hit the db with the session id and get the data if its there. if its not then i will create

overlapped parameters between sessions

2007-02-20 Thread WILLIAM PARRA
Hi, I'm currently using a Tomcat 4 container for our web applications (jsp's, servlets). When passing parameters with get metod, with many users (about 200); some parameters, are overlapped between sessions. There is a special configuration in Tomcat when i work with sessions??

Re: Tomcat mixes sessions?

2007-10-23 Thread Konstantin Kolinko
Just to be sure. I hope that others have more fruitful thoughts. 1) Do you invalidate the session when the users log out ? 2) I do not like the following fragment: > req.getSession().setAttribute("user", p); > req.getSession().setAttribute("prev_session_time", > p.getLas

Re: Tomcat mixes sessions?

2007-10-24 Thread Oliver Schoett
Eero Nevalainen wrote: After that, it's just a matter of getting the username from the session-stored object for subsequent queries. How do you store the session ID in the client browser? I have seen a similar problem with a login page that handed out Session IDs in the URLs contained in the

Re: Tomcat mixes sessions?

2007-10-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eero, Eero Nevalainen wrote: > The application itself is nothing fancy. The login controller hits the > database, puts a "user" key in session with some user-specific data, > and after that, a front filter checks for the existence of the key for > log

Re: Applets and Sessions

2008-01-21 Thread david delbecq
Applet are client side, they are not related to tomcat. If you applet request ressources from server, the fact it creates or not session depend on the way it access it and on the fact ressource requires or not a user session. Charlie Wingate a écrit : Hi All, At every user in

RE: Applets and Sessions

2008-01-22 Thread Charlie Wingate
- From: david delbecq [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 4:12 PM To: Tomcat Users List Subject: Re: Applets and Sessions Applet are client side, they are not related to tomcat. If you applet request ressources from server, the fact it creates or not session depend on the way

Re: Disabling the sessions

2008-03-12 Thread albrecht andrzejewski
[EMAIL PROTECTED] a écrit : is there any way to turn off the jsessionid (disabling the rewriting URL) ? Hi jeanlouis, If you choose to have a cookie session mechanism only, you should track your session with the cookie methods. If you want exclude the url method, you won't be able to track

Re: Disabling the sessions

2008-03-12 Thread Len Popp
There's an article here: http://randomcoder.com/articles/jsessionid-considered-harmful that describes how to disable URL rewriting using a filter. -- Len On 3/12/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Tomcat : > Java : > > > Hi everybody, > > is there any way to turn off the jsession

cluster problem (sessions lost)

2008-03-17 Thread Ronald Klop
Hello, I have this problem in which there is very little data to get to a solution. - Running a 5 node cluster of 5.5.23 on java 1.5.0_10. Debian 4.0 and kernel 2.6.22.18-SMP. - It runs behind a Linux LVS which balances the connections over the cluster. - Attached is my server.xml. - Sessions

expiring sessions upon shutdown

2008-03-18 Thread Ronald Klop
Hello, My Tomcat's (5.5.26) currently print 'INFO: Manager [] expiring sessions upon shutdown' on shutdown. This triggers my SessionListeners which prints a lot of these lines. [nl.base.servlets.SessionListener] Logout: [EMAIL PROTECTED] [userid=43321] [nl.base.servlets.SessionL

sticky sessions without cookies?

2008-04-15 Thread Gunnar Schmid
Hi, I'm looking for a way to have sticky sessions without cookies. But let me explain our scenario first, maybe there's another approach I currently can't think of. We are running a JSF based application on two Tomcat 5.5 servers, both behind a load balancer with sticky s

Tomcat sessions in profiler

2008-06-02 Thread dhay
We've had some performance issues with tomcat, and stuck it in JProfiler, and seen something strange. We load our portal page and then log out. After a while, new StandardSessions appear in the profiler! Does Tomcat use sessions for some internal stuff? Any other ideas? It's ha

Re: problem with sessions

2008-06-26 Thread Leon Rosenberg
want to have multiple sessions: - use different browsers (firefox 3, firefx 2, netscape 9 (which is firefox), flock, mozilla, camino, ie, safari) - if you use internet explorer -> set the above setting to true - define multiple virtual hosts in /etc/hosts 127.0.0.1 localhost myhost1 myhost2 myho

Re: problem with sessions

2008-06-30 Thread abhishek reddy
indow belongs > to the same process as the old window, sharing all the states, > including session cookies. So both windows are tied to the same > session. > If you want to have multiple sessions: > - use different browsers (firefox 3, firefx 2, netscape 9 (which is > firefox)

proxy_ajp sticky sessions troubles

2008-07-02 Thread Michele Mase'
According with the documentation, I've tried to setup a load balancer apache2.2.x/tomcat5.5.x; I'm unable to maintain the session. my conf: apache2.2.9/tomcat5.5.26/jdk1.5.0_15,linux redhat5.2 apache side: RewriteEngine On ProxyPreserveHost On ProxyRequests Off ProxyVia

replicated sessions and manager app

2005-11-10 Thread Olve Hansen
I was wondering... In a cluster of  tomcats, should the session count be equal in all three webapp listings (the sum of all sessions, since they are replicated) in the separate managers, or does the manger only count sessions created on the tomcat instance the manager represents? Thanks

Reading Sessions from Persistent Store

2006-01-10 Thread Gary Blomquist
I am attempting to use non-sticky sessions using a syncronous Persistent Manager and a JDBC Store. I have written a class SyncPersistentManager that extends PersistentManagerBase and implements HttpSessionAttributeListener to store the sessions in the JDBC store each time an attribute in the

RE: Multiple Sessions per user

2006-02-16 Thread Peter Crowther
issues of copy/paste URLs, favourites, and so on. A third approach would be to manage your sessions yourself, using custom code. There may be libraries out there that help with this, but I've not needed to do it and therefo

RE: Multiple Sessions per user

2006-02-16 Thread Duan, Nick
In your situation, you probably don't want to mess around with the HttpSession object. The session object is designed for sharing info within the same session, not the same user. If sharing info among multiple sessions is desired, use ServletContext instead. One solution would be store

Firefox / cookies / sessions - tomcat problem

2006-08-18 Thread Jon Yeargers
Issue: Im running into problems with a tomcat based application that uses the JNDI connection pooling mechanism that ships with tomcat. It appears that my session bits are being kept 'alive' by any running instances of firefox even after the browser running my app is closed. Situation: I have

TR: Sessions and sendDirect(url)

2006-09-07 Thread Serlet Jean-Claude
t.apache.org) > Objet : Sessions and sendDirect(url) > > Hello > What i'm looking for is the answer to this question > Under Tomcat 5.5 _ Windows 2003 what happen to a session when there is a > sendDirect(url) used ? > Is this session be invalidate ? > Thanks you > > Jean-Claude >

tomat5 / sticky sessions / missing route?

2006-10-12 Thread Daniel Eckstein
Dear listmember, Ive searched the docs and the web and couldnt find an answer to the following: The setup is like 2 apaches are connecting to 2 tomcats crosswise, apache1 to tomcat1/tomcat2 and apache2 to tomcat1/tomcat2 by using workers.java_home=/usr/bin/java ps=/ worker.list=lb,jkstatus

Re: multiple tomcat sessions running

2006-10-27 Thread Mikolaj Rydzewski
chlawren wrote: Guys, I am pretty new to tomcat and am an AIX server engineer. What command do you use to start Tomcat? Why do you run Tomcat as root user? -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

Re: multiple tomcat sessions running

2006-10-27 Thread chlawren
ver engineer. > > I have been asked to install tomcat on and AIX 5.3 server, install is fine > and starts ok however I notice multiple sessions being started for about > 10 seconds which consume most of the cpu ( 18 way system ) > > Please can someone help and tell me how to

Sticky sessions not changing servers

2007-04-21 Thread lightbulb432
I've configured mod_jk and have sticky sessions, but every request is going to the exact same Tomcat instance and not the other instance. I've tried setting the loadbalancer method to both Request and Busyness, but they both do the same thing. It works as expected when sticky se

Re: sticky sessions not sticking

2007-06-14 Thread Filip Hanik - Dev Lists
change your JVM route to jvmRoute="worker1", as I believe the jvmRoute value has to match the name of the worker. Filip Eddie Yee wrote: Hi, I am not sure if this is a bug, but it appears that my sticky sessions configuration don't want to stick. I am running two serve

Re: sticky sessions not sticking

2007-06-14 Thread Eddie Yee
Hi Filip. It looks like that solved the problem! Thanks for your help! Eddie From: Filip Hanik - Dev Lists <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: sticky sessions not sticking Date: Thu, 14 Jun 2007 21:44:59 +0200 change y

Re: Save sessions across restarts

2007-06-17 Thread Martin Gainty
]> To: Sent: Sunday, June 17, 2007 4:27 PM Subject: Save sessions across restarts During development, I'd like my sessions to stick around while I reload the context or restart the container, so that when I make a change to a servlet, for example, that requires a context reload, I don

Re: Save sessions across restarts

2007-06-17 Thread Mark Thomas
Martin Gainty wrote: > What you need is SingleSignOn capability > I would suggest looking at JetSpeed.. > http://portals.apache.org/jetspeed-2/guides/guide-tomcat-sso-cross-context-j2-realm.html No, he doesn't. The OP asked about session persistence across reload / restart. This has nothing to do

Re: Save sessions across restarts

2007-06-17 Thread Mark Thomas
lightbulb432 wrote: > I notice the saveOnRestart attribute, which is supposed to be enabled by > default. Why is it that I must relogin every time? Is your app being redeployed? What happens if you restart without making any code changes? Mark

Re: Save sessions across restarts

2007-06-17 Thread Len Popp
have to do anything special to enable this feature (someone correct me if I'm wrong) but it can fail. Check if the SESSIONS.ser file is being created, and if not check the log files for errors. If you are putting data into the session object using setAttribute, those objects must be serializabl

Re: Save sessions across restarts

2007-06-17 Thread Martin Gainty
playing around with sessions or cookies has no impact on ability to preserve one's capability or ability to establish role verification if you dont know anything about jetspeed you need to stay quiet In any event lets take this offline as you dont have a clue what SSO means Bye This

Re: Save sessions across restarts

2007-06-19 Thread Stephen Souness
Martin Gainty wrote: playing around with sessions or cookies has no impact on ability to preserve one's capability or ability to establish role verification if you dont know anything about jetspeed you need to stay quiet In any event lets take this offline as you dont have a clue wha

RE: sticky sessions not sticking

2007-06-20 Thread McCormack, Chris
Should that not be : jvmRoute="balancer" C. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 14 June 2007 20:45 To: Tomcat Users List Subject: Re: sticky sessions not sticking change your JVM route to jvmRoute="worker1", as I believ

Re: sticky sessions not sticking

2007-06-20 Thread Rainer Jung
--Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 14 June 2007 20:45 To: Tomcat Users List Subject: Re: sticky sessions not sticking change your JVM route to jvmRoute="worker1", as I believe the jvmRoute value has to match the name of the worker. Fi

Re: sticky sessions not sticking

2007-06-20 Thread Mladen Turk
Rainer Jung wrote: No, Filip is right: 1) Each Tomcat needs to have a unique jvmRoute One side note: jvmRoute does not need to reflect the worker name in domain clustering model. jvmRoute can be "group1" on multiple nodes. and workers can be: worker.node1.xxx worker.node1.route=group1 ... wo

Re: sticky sessions not sticking

2007-06-20 Thread Rainer Jung
Yes, but if you use it on multiple Tomcats (as a group), it will break stickyness. Of course, users can use the route attribute completely instead of the names, but most users seem to be confused by this. I tried to clarify the docs a couple of days ago, so with 1.2.24 the frequency of this q

RE: Save sessions across restarts

2007-06-22 Thread Propes, Barry L
that's not allowed, is it? -Original Message- From: lightbulb432 [mailto:[EMAIL PROTECTED] Sent: Sunday, June 17, 2007 3:28 PM To: users@tomcat.apache.org Subject: Save sessions across restarts During development, I'd like my sessions to stick around while I reload the

mod_jk sticky sessions don't work

2007-08-02 Thread Claudio Tassini
Hi all! I'm trying to configure mod_jk to handle balance two apache-tomcat instances through an Apache "reverse proxy", i read all the documentation, reference guides and howtos i found but it still doesn't work... Below are some configuration I'm using. The symptoms are that I connect with a brow

Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Vikram Godse
Hi, I am running Apache Tomcat/5.5.12 with JVM 1.5.0-b64.My O/S is RHEL4.0 ES.My hardware configuration is as follows Intel Xeon 3.0Ghz Dual CPU RAM 4gb I am running an JSP and Servlets based application with connectivity to MySQL 5 for database access. I am facing a problem, when my user sessions

RE: Managing sessions - Object destruction

2006-03-30 Thread MW Janssen
set the session timeout in web.xml or kill the session manually -Oorspronkelijk bericht- Van: Victor Hugo Germano [mailto:[EMAIL PROTECTED] Verzonden: donderdag 30 maart 2006 15:35 Aan: users@tomcat.apache.org Onderwerp: Managing sessions - Object destruction Hello, We are having some

  1   2   3   4   >