RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I am about to download and run JMP (Java Memory Profiler) to test my application for memory leaks to prevent this from happening again. However, I'm searching and searching on how to fix it for now. What I have come across is adding the following flags to the java execution command: -ms64M

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Peter Lin
in catalina.sh JAVA_OPTS=-Xms64m -Xmx512m hope that helps. peter Denise Mangano [EMAIL PROTECTED] wrote: I am about to download and run JMP (Java Memory Profiler) to test my application for memory leaks to prevent this from happening again. However, I'm searching and searching on how to

Re: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Jon Wingfield
Most JVMs limit the number of concurrent threads that can be created. That will be the OutOfMemoryError. As to why it is happening: Have you tweaked the server.xml settings for min/maxProcessors? Have you upped things like ulimit before the power outage and are now reset? Denise Mangano wrote:

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
, Inc. 914-747-1200 -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 9:53 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError in catalina.sh JAVA_OPTS=-Xms64m -Xmx512m hope that helps. peter

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
It looks to me like something screwed up your system. The main cause is not within tomcat. The important part of the traceback is this: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
? Thanks again! Denise -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 9:57 AM To: Tomcat Users List Subject: Re: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError Most JVMs limit the number of concurrent threads that can be created

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
. Denise -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 9:58 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError It looks to me like something screwed up your system. The main cause

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
[mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 3:59 PM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError I did not change ulimit at all... Actually I did not change anything in server.xml besides making the configurations for mod_jk

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Shapira, Yoav
, September 19, 2003 10:05 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError I think it's not the right time to think about optimizing. If tomcat isn't even starting, I don't think that the problem is a 'normal' memory leak especially if the server has

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Mike Curwen
of that). -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 9:05 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError I think it's not the right time to think about optimizing. If tomcat isn't even

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
? (Maybe there is some other process missbehaving) -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 4:02 PM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError Ralph - thank you for your

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
, 2003 10:13 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError May setting these values will help: ulimit -s 2048 export LD_ASSUME_KERNEL=2.2.5 Either put them in the environment of the user that starts tomcat or put it in the startscript of tomcat

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError Thank you everyone for your responses. So, you are saying that the problem is not with Tomcat. Are you suggesting that the problem is with the server itself (Linux) or possibly with the JDK? I tried

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError Yes, that is my assumption. The processlist looks uncritical. What about the memory usage ? (I'm not familiar with red hat, 'top' or 'cat /proc/meminfo' should work) -Original Message- From: Denise

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
RH7.3 was EXT2 filesystem I think? (you probably did this) but I'd do a complete FSCHK on all disks. (1) Test some other Java applications...are they working? If not reinstall the RPM for the JRE you are using...try again. (2) load up another copy of Tomcat in your user account? Does this

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError From what I can tell memory usage looks ok as well... According to the output there is still memory free... total:used:free: shared: buffers: cached: Mem: 261988352 114282496 1477058560

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Some other recommendations: - Try to diable as much as possible in server.xml and web.xml. - Try to run tomcat standalone. Just to see if it starts. If it starts, try to find out which feature caused the error. - To

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
] Sent: Friday, September 19, 2003 10:43 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError RH7.3 was EXT2 filesystem I think? (you probably did this) but I'd do a complete FSCHK on all disks. (1) Test some other Java applications...are they working

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
. 914-747-1200 -Original Message- From: Timothy Halloran [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 10:43 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError RH7.3 was EXT2 filesystem I think? (you probably did

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
- From: Timothy Halloran [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 10:43 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError RH7.3 was EXT2 filesystem I think? (you probably did this) but I'd do a complete FSCHK on all disks

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
again so much for everyone's posts. Denise -Original Message- From: Timothy Halloran [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 11:25 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError On Fri, 2003-09-19 at 11:18, Denise

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
config allowed this to happen... Thanks again to everyone for their help. Denise -Original Message- From: Denise Mangano Sent: Friday, September 19, 2003 11:37 AM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError Ok, here is something interesting

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
: Friday, September 19, 2003 12:18 PM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError I did as you all suggested, and installed a second instance of tomcat. Without changing anything in the configuration, and using the default example webapps everything worked

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Shapira, Yoav
Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError I think it might be safe to assume the problem was with the user I was running tomcat as, if that makes any sense at all??? After I did what I said below, I realized that I was testing this out as root, and I should try

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
PM To: Tomcat Users List Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError I think it might be safe to assume the problem was with the user I was running tomcat as, if that makes any sense at all??? After I did what I said below, I realized that I was testing this out as root

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread King,Daniel
. -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Fri 9/19/2003 11:33 AM To: Tomcat Users List Cc: Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError I think it might be safe