Title: Tomcat configuration lost when running the Embedded Tomcat Service

Hi !

I was previously running my Tomcat using the separate stack configuration.
That is :

<MLET CODE = "org.jboss.tomcat.TomcatService" ARCHIVE="jboss.jar" CODEBASE="../../lib/ext/">
  </MLET>
 
This worked fine, apart from the fact that I had to add my EJBs to the classpath which was awkward and not very dynamic.

I also wanted to take advantage of the performance improvement from the integrated configuration so I tried this configuration instead:

<MLET CODE = "org.jboss.tomcat.EmbeddedTomcatService"
      ARCHIVE="jboss.jar" CODEBASE="../lib/ext/">
      <ARG TYPE="int" VALUE=80>
 </MLET>

The problem then is that my server.xml file is not used.
In the documentation it says that I can define the contexts (Normally found in server.xml) dynamically. This is OK, my problem is that my server.xml contains more relevant information than just contexts. Specifically I specify a different Security Realm for Tomcat.

Does anybody know how I can still do that in the new configuration?

cheers,
gustav bostr�m
framework developer
the eon company
www.eoncompany.com

o +46-8-54528800
m +46-70-9575154
e [EMAIL PROTECTED]


Reply via email to