User: starksm Date: 01/04/17 19:43:21 Modified: tomcat README Log: Update the Ant build file to support building the JBoss/Tomcat prepackaged bundle given jboss.dist and tomcat.dist locations. Revision Changes Path 1.3 +19 -16 contrib/tomcat/README Index: README =================================================================== RCS file: /cvsroot/jboss/contrib/tomcat/README,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- README 2001/02/10 06:04:27 1.2 +++ README 2001/04/18 02:43:21 1.3 @@ -1,11 +1,10 @@ contrib/tomcat module: -This module allows fast in VM integration of tomcat in jboss. +This module allows fast in VM integration of tomcat3.2.1 in jboss. - Requirements: - - jboss pre-2.1 - - tomcat 3.2 beta 4 + - jboss 2.2+ distribution + - tomcat 3.2.1 Compiling: @@ -15,23 +14,27 @@ - set the TOMCAT_HOME environment variable to the home of tomcat. If you use a CVS version, build tomcat first, and set the variable to $JAKARTA_HOME/dist/tomcat - + +Either: - go to the src/build directory, and do a build install. This will create a tomcat-service.jar file and copy it to $JBOSS_HOME/lib/ext - +Or: + - go to the src/build directory, and do a build bundle. This will create + a jboss-tomcat bundle directory that includes tomcat and jboss subdirs + which contain patched versions of the jboss and tomcat distributions. + The jboss subdir will contain a conf/tomcat directory with config + files configured to run the EmbededTomcat service. The tomcat subdir + will contain a patched conf/server.xml file that includes the interceptors + required for JBoss. Running jboss with tomcat: - - set the TOMCAT_HOME environment variable. - - edit jboss.conf to allow the EmbeddedTomcat service and to tell the j2eedeployer - to use tomcat as a wardeployer - - run jboss - - + - Execute the run.bat or run.sh passing in 'tomcat' as the sole argument. + Test client: -This client is a simple servlet that calls a simple session bean. To build the client, do a 'build client' in the src/build directory. +This client is a simple servlet that calls a simple session bean. To build +the client, do a 'build client' in the src/build directory. -To deploy the client, run jboss with the EmbededTomcat enabled, -copy tomcat-test.ear to your $JBOSS_HOME/deploy directory +To deploy the client, copy tomcat-test.ear to your $JBOSS_HOME/deploy directory +To run the client, surf to http://server:8080/jboss -To call the client, surf to http://server:8080/jboss _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development