Hi!
> 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<------------------------------------------------

Great stuff Daniel, but I think it is customary that optional parameters are
added last and not first. Just a minor thing..

/Rickard





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to