User: roberto
Date: 00/12/05 17:00:08
Modified: manual third_party.html
Log:
updated howto and manual for EmbeddedTomcat
Revision Changes Path
1.2 +26 -3 newsite/manual/third_party.html
Index: third_party.html
===================================================================
RCS file: /products/cvs/ejboss/newsite/manual/third_party.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- third_party.html 2000/11/12 20:32:15 1.1
+++ third_party.html 2000/12/06 01:00:08 1.2
@@ -143,14 +143,15 @@
<dt>Enable Tomcat in jBoss</dt>
<dd>To start Tomcat when you start jBoss, you need to edit
the <b>jboss.conf</b> file located in the <b>conf</b>
- directory under your jBoss install directory. You need to
- add the following entry to the end of the file:
+ directory under your jBoss install directory. You need to uncomment
+ following entry:
<pre>
<MLET CODE = "org.jboss.tomcat.TomcatService" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
</MLET>
</pre>
</dd>
</dl>
+
<p>After that, when you start jBoss it will start Tomcat too,
and when you shut down jBoss it will shut down Tomcat. If you
have any problems, make sure that all the environment variables
@@ -161,6 +162,28 @@
locate all the jBoss and EJB code as above (for the
non-integrated install). Then perform the follow additional
steps to enable the fully integrated configuration:</p>
- <p><i>Forthcoming</i></p>
+
+ <dt>Enable EmbeddedTomcat in jBoss</dt>
+ <dd>To start EmbeddedTomcat when you start jBoss, again you need to edit
+ <dd>the <b>jboss.conf</b> file located in the <b>conf</b>
+ <dd>directory under your jBoss install directory. You need to
+ <dd>uncomment the following entry:
+
+<pre>
+ <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>
+
+ <p>The arguments are for configuring the port number where EmbeddedTomcat
+ will run and the config file (typically server.xml) from where all contexts
will be loaded.
+ Note: only the contexts (path and docBase attributes only) will be parsed
from the file, all
+ other configurations are not yet supported.
+ </p>
+
+
+
+ <p></p>
</body>
</html>