• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Strange Error messgae in tomcat server

 
Ranch Hand
Posts: 689
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
saikrishna cinux
Ranch Hand
Posts: 689
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 689
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic