[jboss-cvs] JBossAS SVN: r103509 - in trunk/server/src/etc: deploy and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Apr 4 13:24:20 EDT 2010
Author: smarlow at redhat.com
Date: 2010-04-04 13:24:20 -0400 (Sun, 04 Apr 2010)
New Revision: 103509
Modified:
trunk/server/src/etc/conf/all/bindingservice.beans/META-INF/bindings-jboss-beans.xml
trunk/server/src/etc/deploy/jmx-jboss-beans.xml
Log:
JBAS-7873 add bindings-jboss-beans.xml support for new JSR160 jmx connector (rmi registry port)
Modified: trunk/server/src/etc/conf/all/bindingservice.beans/META-INF/bindings-jboss-beans.xml
===================================================================
--- trunk/server/src/etc/conf/all/bindingservice.beans/META-INF/bindings-jboss-beans.xml 2010-04-04 13:50:34 UTC (rev 103508)
+++ trunk/server/src/etc/conf/all/bindingservice.beans/META-INF/bindings-jboss-beans.xml 2010-04-04 17:24:20 UTC (rev 103509)
@@ -237,7 +237,7 @@
<property name="description">Socket for the SNMP adaptor MBean</property>
</bean>
- <!-- ********************* deploy/jmx-remoting.sar **************** -->
+ <!-- ********************* deploy/jmx-jboss-beans.xml **************** -->
<bean class="org.jboss.services.binding.ServiceBindingMetadata">
<property name="serviceName">jboss.remoting:service=JMXConnectorServer,protocol=rmi</property>
@@ -499,4 +499,4 @@
</bean>
-</deployment>
\ No newline at end of file
+</deployment>
Modified: trunk/server/src/etc/deploy/jmx-jboss-beans.xml
===================================================================
--- trunk/server/src/etc/deploy/jmx-jboss-beans.xml 2010-04-04 13:50:34 UTC (rev 103508)
+++ trunk/server/src/etc/deploy/jmx-jboss-beans.xml 2010-04-04 17:24:20 UTC (rev 103509)
@@ -21,7 +21,12 @@
<property name="hostname">${jboss.bind.address}</property>
<!-- specify the port that the JMX connector is looked up through (used in JMXServiceURL) -->
- <property name="rmiRegistryPort" class="int">1090</property>
+ <!-- commenting this out, will use 1090 as default and will conflict -->
+ <property name="rmiRegistryPort" class="int">
+ <!-- Get the port from the ServiceBindingManager -->
+ <value-factory bean="ServiceBindingManager" method="getIntBinding"
+ parameter="jboss.remoting:service=JMXConnectorServer,protocol=rmi"/>
+ </property>
<!-- security domain name
<property name="securityDomain">java:/jaas/jmx-console</property>
More information about the jboss-cvs-commits
mailing list