tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robinson, Eric" <eric.robin...@pmcipa.com>
Subject RE: Someone Please: Why Is Tomcat Looking In The Wrong Directory?
Date Tue, 01 Aug 2006 16:43:01 GMT
Steve,

Thanks for the idea. Unfortunately, it did not work.

Here is what /home/myacct/tomcat5/conf/Catalina/localhost/mobiledoc.xml
now looks like:

<Context path="/mobiledoc"
docBase="/home/myacct/tomcat5/webapps/mobiledoc"
                         debug="1" reloadable="false">
                </Context>


But when I start tomcat, I get...

java.io.FileNotFoundException:
/usr/local/tomcat5/webapps/mobiledoc/conf/mobiledoccfg.properties (No
such file or directory)

Grrr...

--
Eric Robinson




Disclaimer - August 1, 2006 
This email and any files transmitted with it are confidential and intended solely for users@tomcat.apache.org.
If you are not the named addressee you should not disseminate, distribute, copy or alter this
email. Any views or opinions presented in this email are solely those of the author and might
not represent those of Physician Select Management (PSM) or Physician's Managed Care (PMC).
Warning: Although the message sender has taken reasonable precautions to ensure no viruses
are present in this email, neither PSM nor PMC can accept responsibility for any loss or damage
arising from the use of this email or attachments.-----Original Message-----
From: Steve Lianoglou [mailto:lists@arachnedesign.net] 
Sent: Tuesday, August 01, 2006 8:08 AM
To: Tomcat Users List
Cc: Robinson, Eric
Subject: Re: Someone Please: Why Is Tomcat Looking In The Wrong
Directory?

On Aug 1, 2006, at 10:15 AM, Robinson, Eric wrote:
> The contents of the file are as follows:
>
> <Context path="/mobiledoc" docBase="mobiledoc"
> 	debug="1" reloadable="false">
> </Context>

Just a stab in the dark, but why don't you try to put the absolute path
to the mobiledoc webapp in the docBase attribute? It looks like
something is getting screwy with your environment (CATLINA_{HOME| BASE}
vars(?)).

Like:

<Context path="/mobiledoc"
                docBase="/home/myaccount/tomcat5/webapps/mobiledoc"
                debug="1"
                reloadable="false" />


Check:
+ http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
and
+ http://tomcat.apache.org/tomcat-5.5-doc/config/host.html

for some more ideas to hunt for.

Hth,
-steve



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message