tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Someone Please: Why Is Tomcat Looking In The Wrong Directory?
Date Tue, 01 Aug 2006 16:54:40 GMT

> /usr/local/tomcat5/webapps/mobiledoc/conf/ (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 better, a Java or JSP
file) that contains that path, poke around in there to see if the path
has been hard-coded.

If it has been hard-coded, call up your 3rd-party vendor and let them
know, and ask for a patch.

Here's a quick workaround:

$ cd /usr/local/tomcat5
$ rm -rf conf     (check to see if this is okay!!)
$ ln -s /home/myaccount/tomcat5/conf .

That ought to do the trick. You might have to turn on symlink following
in order to get it working.

If none of this makes sense or you can't find anything, I might be
willing to take you up on your offer for payment to take a first-hand
look. ;)


View raw message