[jboss-jira] [JBoss JIRA] Created: (JBAS-5966) Migrate TomcatService mbean deployment descriptor to mc bean descriptor
Paul Ferraro (JIRA)
jira-events at lists.jboss.org
Tue Sep 16 16:38:20 EDT 2008
Migrate TomcatService mbean deployment descriptor to mc bean descriptor
-----------------------------------------------------------------------
Key: JBAS-5966
URL: https://jira.jboss.org/jira/browse/JBAS-5966
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Affects Versions: JBossAS-5.0.0.CR1
Reporter: Paul Ferraro
Assignee: Remy Maucherat
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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list