Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: /usr/share/tomcat/webapps is a link
https://bugzilla.redhat.com/show_bug.cgi?id=741250
Summary: /usr/share/tomcat/webapps is a link
Product: Fedora
Version: 15
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: tomcat
AssignedTo: ivan.afonichev(a)gmail.com
ReportedBy: oliver(a)linux-kernel.at
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org,
ivan.afonichev(a)gmail.com
Classification: Fedora
Story Points: ---
Type: ---
I get the following in my catalina.out:
SEVERE: Unable to create directory for deployment: /usr/share/tomcat/webapps
Sep 26, 2011 1:44:53 PM org.apache.catalina.startup.HostConfig start
SEVERE: Application base [/usr/share/tomcat/webapps] for host [localhost] does
not exist or is not a directory. deployOnStartUp and autoDeploy have been set
to false to prevent deployment errors. Other errors may still occur.
The permissions are fine (root.tomcat, 775). Even with 777 - the same error. I
guess there is some check and it gets confused by the symbolic link to
/var/lib/tomcat/webapps.
I deploy using /etc/tomcat/Catalina/localhost/ROOT.xml; Eg.
<Context path="/" docBase="/path/to/some.war"
debug="0">
</Context>
The version I use: tomcat-7.0.21-1.fc15.noarch
This used to work with 7.0.20!!
As a workaround, I removed the symbolic link and created the directory in
/usr/share/tomcat/webapps. Now everything runs fine again.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.