Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: tomcat doesn't deploy context file properly
https://bugzilla.redhat.com/show_bug.cgi?id=819112
Summary: tomcat doesn't deploy context file properly
Product: Fedora
Version: 17
Platform: Unspecified
OS/Version: Linux
Status: NEW
Severity: unspecified
Priority: unspecified
Component: tomcat
AssignedTo: ivan.afonichev(a)gmail.com
ReportedBy: samuel-rhbugs(a)sieb.net
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org,
ivan.afonichev(a)gmail.com, kdaniel(a)redhat.com
Classification: Fedora
Story Points: ---
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
In the WEB-INF folder of my webapp, which I'll call ABC, there is a context.xml
containing a jdbc resource. When tomcat deploys the war file, the context.xml
is ignored. Some research on the web suggested that the context should be in a
file called ABC.xml in /etc/tomcat/Catalina/localhost and that tomcat should
automatically copy it there. I copied my context.xml file to that location as
ABC.xml and the jdbc resource works. However, when I deployed a new version of
my ABC.war file, the context file in /etc/tomcat/Catalina/localhost was removed
and jdbc stopped working again. I tried naming the file in WEB-INF as ABC.xml
instead of context.xml and that didn't make any difference. There shouldn't be
a permissions problem, since tomcat is able to delete files out of the
directory. Am I doing something wrong or is tomcat?
--
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.