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 13:02:57 GMT
I checked and the permissions are correct, but I think you missed the
basic problem. We have an application, "myapp." It exists in 

	/home/myaccount/tomcat5/webapps/myapp

But tomcat is looking for it in

	/user/local/tomcat5/webapps/myapp

Hence the "file not found" errors.

The question is why does tomcat insist on looking for the app in the
wrong place? $CATALINA_BASE is set correctly and other pages are being
served correctly from /home/myaccount/tomcat5/webapps

--
Eric Robinson


-----Original Message-----
From: Corobitsyn Roman [mailto:kra@dtnm.ru] 
Sent: Tuesday, August 01, 2006 5:45 AM
To: Tomcat Users List
Subject: Re: Someone Please: Why Is Tomcat Looking In The Wrong
Directory?

Hello Eric,

Try to check OS permissions for dir webapps/myapp/conf

Tuesday, August 1, 2006, 4:36:09 PM, you wrote:

RE> Hello all,
 
RE> When I start tomcat, I get several messages like these:
 
RE>     java.io.FileNotFoundException:
RE> /usr/local/tomcat5/webapps/myapp/conf/myapp.properties (No such file

RE> or
RE> directory)
 
RE> This file actually exists in
RE> /home/myaccount/tomcat5/webapps/myapp/conf/myapp.properties
 
RE> I have $CATALINA_BASE set to /home/myaccount/tomcat5
 
RE> My instance of tomcat is starting mostly fine. I can connect to it 
RE> on my custom port and see my own default page, but for some reason 
RE> tomcat is still looking for "myapp" in the directory specified by
$CATALINA_HOME.
 
RE> Someone please take a moment and give me some tips on why this might

RE> be happening.
 
RE> Thanks much,
 

RE> --
RE> Eric Robinson


 


RE> Disclaimer - August 1, 2006
RE> This email and any files transmitted with it are confidential and 
RE> intended solely for users@tomcat.apache.org. If you are not the 
RE> named addressee you should not disseminate, distribute, copy or 
RE> alter this email. Any views or opinions presented in this email are 
RE> solely those of the author and might not represent those of 
RE> Physician Select Management (PSM) or Physician's Managed Care (PMC).

RE> Warning: Although the message sender has taken reasonable 
RE> precautions to ensure no viruses are present in this email, neither 
RE> PSM nor PMC can accept responsibility for any loss or damage arising

RE> from the use of this email or attachments.



---------------------------------------------------------------------
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




---------------------------------------------------------------------
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