My web app directory is physically residing in
c:\idtect\projects\oemserver\web, which is what i defined in the
server.xml for the context docBase.  I think the catalina.base is set
properly, because it is finding my server.xml and tomcat-users.xml
files, as well as it's logging to the appropriate directory.  It's just
a problem with the webapp context.

And again, if I put catalina.base back to the tomcat install directory
and use the -config command line parameter to specify my server.xml, it
works fine.  The reason this isn't acceptable is because then it loads
tomcat-users.xml from the tomcat install directory.  I suppose if I
switch to JDBC security I won't have this problem. ;)
 
I think this may be a bug in Tomcat but it seems to be a common thing to
do so I'm suprised I'm the only one having this problem.

Michael


> -----Original Message-----
> From: Jhair Tocancipa Triana [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, August 21, 2002 11:52 AM
> To: Tomcat Users List
> Subject: Re: RE : Can someone explain catalina.home & catalina.base?
> 
> 
>     -> Server.xml contains:
> 
>     ->         <Context reloadable="true" debug="10"
>     -> docBase="c:\idtect\projects\oemserver\web" path="/oemserver" />
> 
>     -> I then go to DOS and type:
> 
>     -> C:\>%CATALINA_HOME%\bin\startup Using CATALINA_BASE:
>     -> c:\idtect\projects\oemserver\conf\tomcat Using CATALINA_HOME:
>     -> c:\devapps\tomcat Using CATALINA_TMPDIR:
>     -> c:\idtect\projects\oemserver\conf\tomcat\temp Using JAVA_HOME:
>     -> C:\devapps\j2sdk1.4.1 C:\>
> 
> The documentation says ($CATALINA_HOME/Running.txt):
> 
> "
> When you do this, Tomcat 4 will calculate all relative 
> references for files in the following directories based on 
> the value for CATALINA_BASE instead of
> CATALINA_HOME:
> * conf - Server configuration files (including server.xml)
> * logs - Log and output files
> * webapps - Automatically loaded web applications
> * work - Temporary working directories for web applications
> "
> 
> Does your webapp reside on: 
> "c:\idtect\projects\oemserver\conf\tomcat"?
> 
> In your Context, docbase is defined as:
> 
> "c:\idtect\projects\oemserver\web"
> 
> Seems like CATALINA_BASE was not properly defined.
> 
> Regards,
> 
> --
> --Jhair
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to