> From: Dan D. [mailto:[EMAIL PROTECTED] 
> Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14
> 
> <Host name='www.domain.com'
>  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


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
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: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to