Bug#326126: location of xml files...
Ton van Oostveen
ton.van.oostveen at pts.nl
Thu Sep 1 23:48:19 UTC 2005
Hmm look's like Mijael (bug report #325507 & #325507) has a better
solution.
Only difference for me was i had to copy
the /usr/share/tomcat5/server/webapps/*.xml files to:
/usr/share/tomcat5/conf/Standalone/localhost
Here is the path i followed, extract the war files:
cd /usr/share/tomcat5/server/webapps/servlets-examples/
gunzip examples-servlet.war.gz
unzip examples-servlet.war
cd /usr/share/tomcat5/server/webapps/jsp-examples
gunzip examples-jsp.war.gz
unzip examples-jsp.war
Create the example xml files:
cd usr/share/tomcat5/conf/Standalone/localhost
cp examples.xml jsp-examples.xml
cp examples.xml servlets-examples.xml
Edit the jsp-examples.xml, servlets-examples.xml files to put in the
correct context path:
<Context path="/jsp-examples"
docBase="/usr/share/tomcat5/server/webapps/jsp-examples"
and
<Context path="/servlets-examples"
docBase="/usr/share/tomcat5/server/webapps/servlets-examples"
and reboot the tomcat5 server...
Well that was fun ;)
Ton
More information about the pkg-java-maintainers
mailing list