Powered By Blogger

Freitag, 27. Mai 2011

Fight against Tomcat 6 under Ubuntu

This blog post is for all people who fight against Apache Tomcat 6 under Ubuntu or any other Linux distribution. The goal is to install a servlet application.

Tomcat has an built-in manager. To make it running, you first have to create an entry like this in your /etc/tomcat6/tomcat-users.xml:




No - /usr/share/tomcat6/webapps is not the directory where your servlet files go to, even if that looks logical or intuitive. Instead, you have to use /var/lib/tomcat6/webapps

Have a look at you application's WEB-INF directory, where you could find a web.xml file, it could contain paths that you would like to adjust.

Keine Kommentare:

Kommentar veröffentlichen