Hi,
I finally found a way: if I change EmbeddedTomcatService.startService
to do exactly the same, but in a separate thread, everything is ok (that
is, other services see jndi.properties, standardjboss.xml...). I can't
say I understand what's going on, but whatever works works :)
About the integration, I agree we have to get rid of TOMCAT_HOME and the
script thing, but I'd rather use a ClassPathExtension in jboss.conf than
copy tomcat jars to lib/ext. What do you think?
Sebastien
"Rickard �berg" wrote:
> I've looked into run.bat (for example) and it does seem like Tomcat is
> added to the app classloader.
>
> May I suggest that it is removed from there and that the following is
> added to jboss.conf:
> <MLET CODE = "org.jboss.tomcat.EmbeddedTomcatService"
> ARCHIVE="jboss.jar,jasper.jar,webserver.jar,jaxp.jar,parser.jar,servlet.jar"
> CODEBASE="../../lib/ext/">
> <ARG TYPE="java.lang.String" VALUE="Information,Debug,Warning,Error">
> <ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
> </MLET>
>
> and also add installation notes that those JAR's should be placed in
> /lib/ext during installation. This would make the integration of Tomcat
> much cleaner, as there would be no difference between it and other
> integrations. Currently both SpyderMQ and Tomcat have "special"
> integration, which should not be needed.
>
> Feelings on this?
>
> /Rickard