Hi All,
I want to ask about the JBoss version that support embedded tomcat which can
access to server.xml file.
In the latest documentation about JBoss with Third Party is shown that we
can add an argument to describe the server.xml files.
<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>
I tried on JBoss 2.o binary, is fail to run. when I add the 2nd line (path
to config file). I wonder if it has change in the Latest version on
development stage, when I download the snapshot of the JBoss-Pre-2.1, it
show a different way.
on jboss.conf
<!-- Uncomment to add Tomcat classes to classpath
-- MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
-- ARG TYPE="java.lang.String" VALUE="path to tomcat "/lib" goes here">
-- ARG TYPE="java.lang.String" VALUE="Tomcat">
-- /MLET>
-->
ON jboss.jcml
<!-- Uncomment to add embedded tomcat service
<mbean code="org.jboss.tomcat.EmbeddedTomcatService"
name="DefaultDomain:service=EmbeddedTomcat" />
-->
When I uncomment it and change the tomcat path, it also fail to run. with
classload error.
Please give me the suggestion, how should I do to: Have JBoss and Tomcat run
together, which I still can add the Context on Tomcat.
Thank you
Johnson
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]