• 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

tomcat not responding.

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Recently we faced an issue where our tomcat has to be restarted due to non response by clearing the pid. I attached excerpts of catalina.out and desktop.log. Please let me know your insights:

Catalina.out full log



Desktop.log full log
 
gudala kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Maneesh,
Thanks for the reply, Yes i posted the same question in stackoverflow but through one of my friends came to know about this site to get quick response.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you taken a thread dump when the server doesn't respond? If not, please get some thread dumps (around 2-3), separated by a few seconds each. You can use jstack or other methods to generate thread dumps.

 
gudala kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jai,

This issue happened earlier but am trying to figure out the root cause. I attached the logs link beside destktop and catalina
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might try deleting everything under TOMCAT_HOME/work, /logs, and /temp before starting Tomcat. Leftover lint can cause problems.

Also, check to see if you are tight for disk space. It's possible that the serialized session cannot be saved. Another thing that can cause the session not to be saved, of course, is if Tomcat doesn't have access rights to create or update that file. In addition to the obvious problem (improper access rights), I occasionally zap myself by accidentally launching Tomcat under a superuser context, then re-launching it later under its proper user context - which won't have rights to update files created by the root user.

And finally, check your TOMCAT_HOME/conf/server.xml for any mods (or damage) to the configured session manager.

That should address the problem with SESSIONS.ser. However, it looks like your root cause may be an application bug. Possibly not properly managing connections in com.qad.xmlengine.telnet or failing to properly handle errors coming from that resource. Also, it looks like that's a spawned thread. What spawns it?
reply
    Bookmark Topic Watch Topic
  • New Topic