Folks,
I ve fixed the manifest NullPointerException. It is allowed now to have
no MANIFEST.MF files in any of the modules (for what ever reason?!?!).
There appears a message that no manifest was found - it comes on debug
level.
Furtermore now that we have pluggable servlet containers, I ve added the
possibility to run more then one J2eeDeployer and for every J2eeDeployer
a separate AutoDeployer:
--------------8<------------------------------------------------
<MLET CODE = "org.jboss.deployment.J2eeDeployer"
ARCHIVE="jboss.jar,../xml.jar" CODEBASE="../../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="../tmp/deploy">
<ARG TYPE="java.lang.String" VALUE="EJB:service=ContainerFactory">
<ARG TYPE="java.lang.String" VALUE=":service=Jetty">
</MLET>
<MLET CODE = "org.jboss.ejb.AutoDeployer" ARCHIVE="jboss.jar">
<ARG TYPE="java.lang.String" VALUE="../deploy/">
</MLET>
--------------8<------------------------------------------------
...this is as you know it and its still valid
One J2eeDeployer which uses jBoss ContainerFactory and Jetty
One AutoDeployer that observes the $JBOSS_HOME/deploy directory
The following is new:
A second J2eeDeployer with the name extension "Tomcat" is also started
(Note: the name extension also works for only one J2eeDeployer)
This guy uses the ContainerFactory too and instead of Jetty he uses
Tomcat.
There is also a second AutoDeployer with the name extension "Tomcat"
(Note: the name extension of the AutoDeployer must be the same as the
one of the J2eeDeployer. The name extension of the first set of
J2eeDeployer/AutoDeployer is just an empty String.)
--------------8<------------------------------------------------
<MLET CODE = "org.jboss.deployment.J2eeDeployer"
ARCHIVE="jboss.jar,../xml.jar" CODEBASE="../../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="Tomcat">
<ARG TYPE="java.lang.String" VALUE="../tmp/deploy2">
<ARG TYPE="java.lang.String" VALUE="EJB:service=ContainerFactory">
<ARG TYPE="java.lang.String" VALUE=":service=EmbeddedTomcat">
</MLET>
<MLET CODE = "org.jboss.ejb.AutoDeployer" ARCHIVE="jboss.jar">
<ARG TYPE="java.lang.String" VALUE="Tomcat">
<ARG TYPE="java.lang.String" VALUE="../deploy2/">
</MLET>
--------------8<------------------------------------------------
This way I run Jetty and Tomcat in parallel.
Dont forget to change the port for one of them since both start on 8080
by default!
The AutoDeployers are optional, you dont need two since you can always
deploy from within the web interface (port: 8082).
Try it, break it!
\Daniel
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]