Tag Archives: Tomcat

How to create an MD5 password in java or Tomcat

To create an MD5 password at the prompt, assuming you have tomcat installed in /usr/local/tomcat, type $ export TOMCAT=”/usr/local/tomcat” $ java -cp “$TOMCAT/server/lib/catalina.jar:/usr/share/java/jmxri.jar:$TOMCAT/bin/commons-logging-api.jar” \ org.apache.catalina.realm.RealmBase -a md5 [secret] by replacing “[secret]” with the password. Some systems have a working digest.sh … Continue reading

Posted in Java | Tagged , , | Leave a comment

How to load/reload/unload apps while Tomcat is running

To manage web applications with Tomcat, you can use the Tomcat manager application that comes with Tomcat. These simple steps show how it is done: Make sure that there is a user with manager role set up in the …/tomcat4/conf/tomcat-users.xml file. The … Continue reading

Posted in Java | Tagged | Leave a comment