Tomcat_Sample project available (hot-deploy to z/OS Tomcat)

Issues and Questions related to running Apache Tomcat on z/OS
Post Reply
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Tomcat_Sample project available (hot-deploy to z/OS Tomcat)

Post by dovetail »

We've posted a new download which contains a sample Eclipse project for developing and one-click deploying web applications to z/OS Tomcat.

See the Tomcat_Sample download at: http://dovetail.com

The project is all set to go for Eclipse, but any IDE that supports Ant can be made to work. It uses the "Tomcat Deployer" Ant tasks to hot deploy to a running Tomcat server via the "manager" webapp.

To customize, you need to update "deployer.properties" to specify the Tomcat manager URL and a userid and password that has access to the manager web application. (login to /manager and verify that your userid has access first!).

After customization, the build.xml Ant script will build and hot-deploy your war in a few seconds.

The structure of the project is a basic servlet/jsp application. To customize this project for your own application, you will need to update:

webapp/WEB-INF/web.xml
webapp/META-INFO/context.xml
build.xml properties (which can be overridden via deployer.properties)

add your own jsps to /webapp, your servlet code to /src and your on your way!

Eventually we will put together a guide for this, but in the meantime please post your questions and suggestions to this forum.
Post Reply