July 19, 2008, 08:04:50 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Revenue sharing launched. This is offered as a "thank you" for being a member of webmasterstalks.com community! If you have an Adsense/Yahoo publisher account then you can start right away !
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Revenue sharing launched. This is offered as a "thank you" for being a member of webmasterstalks.com community! If you have an Adsense/Yahoo publisher account then you can start right away !
Pages: [1]
  Print  
Author Topic:

Java and tomcat

 (Read 3334 times)
0 Members and 1 Guest are viewing this topic.
bostam
Jr. Member
**

Points: 1
Offline Offline

Posts: 55


« on: June 13, 2006, 16:32:04 »

Hi,

I have a "little" application what is running on tomcat 4.0.31 and from some time is starting to crash very often. I don't know how to detect what is happeing. please help

Logged


TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #1 on: June 13, 2006, 18:19:07 »

Tell me your JAVA_OPTS parameters ...
How many users is accessing this "little application" ?

Regards
Logged

bostam
Jr. Member
**

Points: 1
Offline Offline

Posts: 55


« Reply #2 on: June 13, 2006, 23:14:53 »

I dont have any JAVA_OPTS .... where I can find him ?
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #3 on: June 13, 2006, 23:18:48 »

Look after catalina.sh and look inside of this file.

Regards
Logged

bostam
Jr. Member
**

Points: 1
Offline Offline

Posts: 55


« Reply #4 on: June 14, 2006, 00:12:30 »

Is empty.

JAVA_OPTS=

Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #5 on: June 14, 2006, 11:29:20 »

you are running in client mode this could be one reason why crashing. try this:

JAVA_OPT="-server -Xms 0.25*RAM -Xmx 0.75*RAM"

where RAM is you physical ram from your server

Regards
Logged

bostam
Jr. Member
**

Points: 1
Offline Offline

Posts: 55


« Reply #6 on: June 14, 2006, 18:39:18 »

Thanks I will try ...
Logged
yuppie
Jr. Member
**

Points: 0
Offline Offline

Posts: 5


« Reply #7 on: September 07, 2006, 15:15:13 »

Show us your crash stack trace. Also I would recommend to use the latest Tomcat.
Logged
mickscool
Jr. Member
**

Points: 0
Offline Offline

Posts: 5


« Reply #8 on: July 24, 2007, 20:19:28 »

Check the logs under tomcat/logs
Try to increase the heap space
Try to enable the debugger

If possible,try to upgrade to Tomcat 6...

HTH
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks

TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!