tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denise Mangano" <Deni...@complusdata.com>
Subject RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
Date Fri, 19 Sep 2003 16:18:11 GMT
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


Mime
View raw message