> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] 
> Subject: Re: classpath and public_html directories
> 
> Surely, each webapp directory should e totally independent!?

Yes, they are.  Each webapp uses a separate classloader.

> Could the jar files in
> /home/user/public_html/CIMMS_user/WEB-INF/lib
> be conflicting with
> /usr/local/tomcat/webapps/CIMMS/WEB-INF/lib

No, they wouldn't conflic.

I haven't tried this yet, but I think the CIMMS_user directory shouldn't
be there.  My understanding of the doc is that the HomesUserDatabase
Listener creates one webapp (docBase) per user - not an appBase per
user.  Try moving everything under CIMMS_user to public_html - eliminate
the CIMMS_user level.

> I have no conf/Catalina dir at all.

Tomcat doesn't create it unless needed.

> Could you point me to a step-by-step install of tomcat 6
> and how to setup users public_html areas and I can check
> if I have done this correctly.

I think you're already aware of this:
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#User%20Web%20Ap
plications

[Note to Mark T: the above still contains a reference to
DefaultContext.]

> It just seems odd that it works from the tomcat 
> home but not the users public_html area!

One problem might be the <DefaultContext> element you've added to your
<Host> - that has not been valid for some time.  The proper location for
such parameters is in:
    $CATALINA_HOME/conf/context.xml
or
    $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.default
as documented in:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Introduction

However, I doubt that it's causing the results you're seeing.

 - 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