it.
--
Eric Robinson
-Original Message-
From: Raghupathy,Gurumoorthy
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 6:08 AM
To: 'Tomcat Users List'
Subject: RE: Someone Please: Why Is Tomcat Looking In The Wrong
Directory?
Can you post ( copy the content and paste
On 8/1/06, Robinson, Eric [EMAIL PROTECTED] wrote:
mobiledoc.xml exists in /usr/local/tomcat5/conf/Catalina/localhost
mobiledoc.xml exists in /home/myaccount/tomcat5/conf/Catalina/localhost
The above just feels wrong -- why both places? I'd delete the first one.
The contents of the file
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
AM
To: Tomcat Users List
Subject: Re: Someone Please: Why Is Tomcat Looking In The Wrong
Directory?
On 8/1/06, Robinson, Eric [EMAIL PROTECTED] wrote:
mobiledoc.xml exists in /usr/local/tomcat5/conf/Catalina/localhost
mobiledoc.xml exists in
/home/myaccount/tomcat5/conf/Catalina/localhost
List
Subject: Re: Someone Please: Why Is Tomcat Looking In The Wrong
Directory?
I'm responding to the first message in the thread, but have read all of
it. A thought:
How are you opening this file? Hopefully it's via
ServletContext.getResourceAsStream( /myapp/conf/myapp.properties ) ;
--David
On 8/1/06, Robinson, Eric [EMAIL PROTECTED] wrote:
I deleted the first one. It was a legacy of when the application used to
be in that path. Same result.
And restarted Tomcat?
What is your instance of Tomcat's relevant appBase pointing to?
--
Hassan Schroeder [EMAIL
Is Tomcat Looking In The Wrong
Directory?
I'm responding to the first message in the thread, but have read all of
it. A thought:
How are you opening this file? Hopefully it's via
ServletContext.getResourceAsStream( /myapp/conf/myapp.properties ) ;
--David
Robinson, Eric wrote:
Hello all
[mailto:[EMAIL PROTECTED]
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
Eric,
java.io.FileNotFoundException:
/usr/local/tomcat5/webapps/mobiledoc/conf/mobiledoccfg.properties (No
such file or directory)
Grrr...
Okay, time for the brute force method:
$ grep conf/mobiledoccfg `find /home/myacct/tomcat5/ -type f`
Assuming that you find a .class file (or even
:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 8:55 AM
To: Tomcat Users List
Subject: Re: Someone Please: Why Is Tomcat Looking In The Wrong
Directory?
Fair enough. Are the JSPs, servlets, etc., ... all being called from
the /home/myaccount/tomcat5/webapps directory?
Here's where I'm going
can accept
responsibility for any loss or damage arising from the use of this email or
attachments.-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 9:55 AM
To: Tomcat Users List
Subject: Re: Someone Please: Why Is Tomcat Looking
@tomcat.apache.org
Subject: RE: Someone Please: Why Is Tomcat Looking In The Wrong Directory?
Date: Tue, 1 Aug 2006 10:02:27 -0700
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by
bay0-mc10-f8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 1
Aug 2006 10:03:04 -0700
Received
Eric,
It makes sense, but before I try the symlink approach, be advised of the
full scenario. Multiple doctor's offices will be connected to the same
server. Each office will have its own instance of tomcat running a copy
(sometimes a different version) of the 3rd party app. The config files
List
Subject: Re: Someone Please: Why Is Tomcat Looking In The Wrong
Directory?
I'm responding to the first message in the thread, but have read all of
it. A thought:
How are you opening this file? Hopefully it's via
ServletContext.getResourceAsStream( /myapp/conf/myapp.properties
To: Tomcat Users List
Subject: Re: Someone Please: Why Is Tomcat Looking In The Wrong
Directory?
Fair enough. Are the JSPs, servlets, etc., ... all being called from
the /home/myaccount/tomcat5/webapps directory?
Here's where I'm going with this:
If resources like this properties file are being
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 11:34 AM
To: Tomcat Users List
Subject: Re: Someone Please: Why Is Tomcat Looking
In The Wrong
Directory?
Hmmm. and the plot thickens. Have you asked the
vendor about this
issue
16 matches
Mail list logo