Created
April 11, 2011 18:40
-
-
Save slevine/914029 to your computer and use it in GitHub Desktop.
Tomcat Related Files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CATALINA_HOME=/Developer/Java/Servers/apache-tomcat-7.0.2 | |
export APP_NAME=pizzashop | |
export WAR_NAME=pizzashop-0.1.0.BUILD-SNAPSHOT.war | |
$CATALINA_HOME/bin/catalina.sh stop | |
rm -rf $APP_NAME | |
unzip $WAR_NAME -d $APP_NAME | |
$CATALINA_HOME/bin/catalina.sh start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Sample Tomcat Context Config File | |
FilePath:$CATALINA_HOME/conf/Catalina/localhost | |
Name of file represents context path | |
path var must match xml filename structure | |
myApp.xml -> /myApp | |
home#myApp.xml -> /home/myApp.xml | |
--> | |
<?xml version='1.0' encoding='utf-8'?> | |
<Context docBase="/some-war-1.1-SNAPSHOT.war" path="/some-war" reloadable="true"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To start Tomcat with remote debugging enabled:
./catalina.sh jpda run