tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
Date Fri, 19 Sep 2003 17:40:04 GMT

Howdy,
It's very a possible for a user to have much lower ulimit/thread
limit/kernel sym version settings than root does...

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Denise Mangano [mailto:Denisem@complusdata.com]
>Sent: Friday, September 19, 2003 1:33 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, and I
should
>try it as other users.  I tried it with my login, and I can start
Tomcat
>just fine...  I tried it with the user that was running it previously,
>and that is when Tomcat will not start and I get the same errors...
>
>Is it possible for a user to become corrupt??
>
>Denise Mangano
>Complus Data Innovations, Inc.
>914-747-1200
>
>
>-----Original Message-----
>From: Denise Mangano
>Sent: 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 fine.  So instead of trying to map my
>webapp to run off this second instance, I backed up the existing tomcat
>installation and moved the working one to the original location.  I am
>not sure if doing so was a newbie mistake, but it is still working
fine,
>and I can run all the examples.
>
>So is it safe to assume that the problem was with Tomcat?  If so, how
>can I begin to find out exactly what happened...
>
>I have a few concerns before I start adding back my config and
>webapps....
>1.  I would like to test my java app to make sure that the program is
>not causing (or will not cause) the out of memory error. 2.  What is
the
>best procedures for restoring my configuration?  I'm concerned that
>possibly something in my 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 ....
>
>I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
>but I wasn't exactly sure what I could or couldn't touch in server.xml.
>So what I did was backuped up my server.xml - then renamed the
>server-noexamples.xml.config (shipped with the distro) to server.xml
and
>attempted to start Tomcat.... Wouldn't you know it, Tomcat started, AND
>I can get to www.mysite.com:8080
>
>I tried to stop it, and restart it again - and now I am getting the
same
>errors...  Does that shed any light? Or should I go with the second
>install of Tomcat?
>
>Thanks again so much for everyone's posts.
>
>Denise
>
>
>-----Original Message-----
>From: Timothy Halloran [mailto:thallora@GS06.ISRI.CMU.EDU]
>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 Mangano wrote:
>> The filesystem check returns that everything is clean.
>>
>> I ran the test versions of the java programs that are part of my
>> webapp from the command line, and the program executes without a
>> hitch.  It makes a URL connection to a remote server and sends data,
>> and then receives a response...  So I would assume there is no
problem
>
>> with the java installation??
>>
>> How do I load a second instance of Tomcat without it interfering with
>> the current installation?
>
>Use the "TGZ" version not "RPM" and put it in another
directory...you'll
>have to change some variables (as I recall) and save your others.  Just
>run the second tomcat as your local user.  I haven't done this in a
>while but it works fine as long as you don't run them together (if you
>do you'll need to change ports and such).
>
>> Thanks!
>>
>> Denise Mangano
>> Complus Data Innovations, Inc.
>> 914-747-1200
>>
>>
>> -----Original Message-----
>> From: Timothy Halloran [mailto:thallora@GS06.ISRI.CMU.EDU]
>> 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?  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
>> work (don't try to run them together)?  If so...save your XML and
>> WEBAPP directories and reinstall Tomcat.
>>
>> Good Luck.
>--
>Timothy Halloran <thallora@GS06.ISRI.CMU.EDU>
>Carnegie Mellon University
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message