Ubuntu Notes and How-Tos

Thursday, May 04, 2006

Installing Tomcat5 in Dapper as a development environment

1) Install from Synaptic:



2) $ sudo gedit /usr/share/tomcat5/conf/tomcat-users.xml and add the following three lines:



3) Enable the invoker servlet and invoker mapping by removing the comments in $CATALINA_HOME/conf/web.xml:



4) Restart tomcat:



5) The Tomcat homepage:



To browse admin page, just click on the "Tomcat Administration" link at the left side and enter the user name and password you specified in step 2.

Enabling your very own web application directory


In $CATALINA_HOME/conf/server.xml, look for the <Host name="localhost"... tag and insert the Context tag between it:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home