|  About  |  Archives  |  Log in  | 

Archive for March, 2004

Deploy on Tomcat Startup

Until now, I have been deploying and re-deploying the 'gersboweb' application manually. Today, I decided to figure out how I could make Tomcat deploy the application, when the Tomcat service was started. The answer was a small Context descriptor.

<!–Context fragment for deploying gersboweb–>
<Context path="/gersboweb" docBase="$PATH_TO_APP-DIR/WAR"
debug="0″ privileged="true">
</Context>

I named the file 'gersboweb.xml' and placed it in '$CATALINA_HOME/webapps'. When I restarted the Tomcat service, the application was deployed - neat!

If you enjoyed this post, make sure you subscribe to my RSS feed!

Hello, world!

In the tradition of programming/hacking, the term Hello, world! refers to the output of the small program, a programmer first writes to test if a new language or environment is properly configured (nerdy HelloWorld humor here). I have been running this web application as my personal website since january 2004, so perhaps my 'Hello, world!' may seem a little late. When I do post the 'hello', it is because this blog section is launched today (and this is the very first blog).

If you enjoyed this post, make sure you subscribe to my RSS feed!