User: roberto
Date: 00/12/05 17:00:07
Modified: documentation tomcat.htm
Log:
updated howto and manual for EmbeddedTomcat
Revision Changes Path
1.2 +16 -10 newsite/documentation/tomcat.htm
Index: tomcat.htm
===================================================================
RCS file: /products/cvs/ejboss/newsite/documentation/tomcat.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tomcat.htm 2000/11/12 20:34:09 1.1
+++ tomcat.htm 2000/12/06 01:00:06 1.2
@@ -235,23 +235,29 @@
of the file that deal with Tomcat:
<pre>
<!--
- -- Uncomment this to add Tomcat support.
- -- This service allows you to add and remove Tomcat contexts dynamically
- -- through JMX. Note that tomcat's server.xml file will not be processed:
- -- you can only use JMX to add contexts.
- -- Be sure to set your 'TOMCAT_HOME' environment variable before starting
- -- JBoss.
- -- The ARG tag is the port to run tomcat on.
- -- MLET CODE = "org.jboss.tomcat.EmbeddedTomcatService" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
+ -- Uncomment this to add "Integrated Stack (fast) Tomcat support".
+ -- This service allows you to integrate the stack of Tomcat and jboss.
+ -- Invocations are not going through network but pass native pointers resulting
in dramatic speed increases.
+ -- This service allows the J2EE deployer to add and remove Tomcat contexts
dynamically
+ -- through JMX for you and in effect deploy EARs. Note that tomcat's server.xml
file will be partially
+ -- processed for context support: you can also use JMX to add contexts.
+ -- Use the J2EE deployer to deploy full EARs on this stack
+ -- Be sure to set your 'TOMCAT_HOME' environment variable before starting JBoss.
+ --
+ -- The ARG tags are the config file and the port to run tomcat on. Note: only the
url contexts will be
+ -- parsed, (path and docBase attruibutes only) all other configurations are not
yet supported.
+ --
+ -- MLET CODE = "org.jboss.tomcat.EmbeddedTomcatService" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
+ -- ARG TYPE="java.lang.String" VALUE="full path to tomcat config file">
-- ARG TYPE="int" VALUE=8080>
-- /MLET>
- -->
</pre>
You need to uncomment these lines so they read as follows (note
you must add the < signs at the beginning of the three
relevant
- lines!):
+ lines and the file path must always begin with a '/'):
<pre>
<MLET CODE = "org.jboss.tomcat.EmbeddedTomcatService" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
+ <ARG TYPE="java.lang.String" VALUE="/yyy/server.xml">
<ARG TYPE="int" VALUE=8080>
</MLET>
</pre></li>