tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14
Date Fri, 08 Feb 2008 01:09:04 GMT
> From: Dan D. [] 
> Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14
> <Host name=''
>  appBase='/home/user/html'
>  <Context path='' docBase='' debug='0' reloadable='false'/>
> </Host>

Right there is the first problem: docBase and appBase must never be the
same - lots of things go wrong internally when they both refer to the
same directory.  You need to remove the <Context> entry for the default
webapp from server.xml and place the default webapp files under
/home/user/html/ROOT.  If you want to specify attributes for the default
webapp, put the <Context> element in
/home/user/html/ROOT/META-INF/context.xml, without the path or docBase
attributes.  This works on all levels from 5.0 on up.

When that's straightened out, delete everything under the work directory
before restarting Tomcat.

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message