-
Feature Request
-
Resolution: Done
-
Major
-
JBossAS-5.0.0.CR1
-
None
The deployment descriptor for org.jboss.web.tomcat.service.deployers.TomcatService uses the legacy mbean descriptor.
This prevents the user from adding a dependency on a microcontainer bean (e.g. for mod_cluster integration).
The current descriptor, expressed as a jboss-beans.xml file would look like this:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="urn:jboss:bean-deployer:2.0">
<bean name="WebServer" class="org.jboss.web.tomcat.service.deployers.TomcatService">
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.web:service=WebServer", exposedInterface=org.jboss.web.tomcat.service.deployers.TomcatServiceMBean.class,registerDirectly=true)</annotation>
<!-- Only needed if the org.jboss.web.tomcat.service.jca.CachedConnectionValve
is enabled in the tomcat server.xml file.
-->
<depends>jboss.jca:service=CachedConnectionManager</depends>
<!-- Transaction manager for unfinished transaction checking in the CachedConnectionValve -->
<depends>jboss:service=TransactionManager</depends>
<!-- Inject the TomcatDeployer -->
<property name="tomcatDeployer"><inject bean="WarDeployer"/></property>
<!--
Do not configure other JMX attributes via this file.
Use the WarDeployer bean in deployers/jboss-web.deployer/war-deployers-beans.xml
-->
</bean>
</deployment>
- relates to
-
JBAS-5672 Further jbossweb deployer/runtime refactoring
- Closed