Hot deployment in tomcat

1. Add tomcat server to eclipse.
2. If you want to start tomcat from eclipse, modify server.xml inside Servers folder in the project explorer.
3. If you want to run tomcat from command line, modify tomcatDir/conf/server.xml file.
4. add this line as a child line inside Server/Service/Engine/Host tag.

<Context path="/ic" 
        reloadable="true"  
        docBase="exploded_war_file_dir"  
        workDir="any_dir_you_like"> 
This entry was posted in tomcat. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s