| Author |
Strange Error messgae in tomcat server
|
saikrishna cinux
Ranch Hand
Joined: Apr 16, 2005
Posts: 689
|
|
while i was running a webapplication in tomcat server from 7 hrs with out restarting the server.it had given me an error msg saying that maximum number of sessions exceeded what might be the problem and moreover the tomcat was running in other system not in my system. and in the server system no other applications were running at that time thanx in advance cinux
|
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
|
There's a maximum number of sessions, and the session timeout is set incorrectly (so that sessions take too long to timeout or even never timeout), or there are too many users (more than the max. allowed number of sessions) trying to use the system at the same time.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
saikrishna cinux
Ranch Hand
Joined: Apr 16, 2005
Posts: 689
|
|
Originally posted by Jesper de Jong: There's a maximum number of sessions, and the session timeout is set incorrectly (so that sessions take too long to timeout or even never timeout), or there are too many users (more than the max. allowed number of sessions) trying to use the system at the same time.
hi jesper de jong , you r right can increase the sessions in server should i need to change the values in tomcat admin for increasing the sessions or can i timeout the the session in very less time please tell me the solution coz here i am the only one user but accessing the web application many times from morning to evening with out stopping the tomcat server. thanx regards, cinux
|
 |
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
|
|
Could you please paste the stack trace in order to confirm that its talking about tomcat sessions not the DB sessions. Because its very unlikely to have no of tomcat sessions exceeded while you are the only one using the app. [ November 26, 2005: Message edited by: Adeel Ansari ]
|
 |
saikrishna cinux
Ranch Hand
Joined: Apr 16, 2005
Posts: 689
|
|
Originally posted by Adeel Ansari: Could you please paste the stack trace in order to confirm that its talking about tomcat sessions not the DB sessions. Because its very unlikely to have no of tomcat sessions exceeded while you are the only one using the app. [ November 26, 2005: Message edited by: Adeel Ansari ]
sorry i cant provide u the stack trace of this servlet because it showing a blank page the error msg is in server side that is in tomcat console window regards cinux
|
 |
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
|
|
Originally posted by saikrishna cinux: sorry i cant provide u the stack trace of this servlet because it showing a blank page the error msg is in server side that is in tomcat console window
How did you know, it is because sessions exceeded? If tomcat console then you can copy the stack from the console or a log file provided under TOMCAT_HOME/logs. Thanks. [ November 27, 2005: Message edited by: Adeel Ansari ]
|
 |
Chidanand Chauhan
Ranch Hand
Joined: Nov 10, 2005
Posts: 77
|
|
You can get the Log file from <Tomcat folder>\logs\catalina<File name with date> This is the above path where you can get the information. Thanks Chidanand Chauhan
|
 |
 |
|
|
subject: Strange Error messgae in tomcat server
|
|
|