Ich habe mehrere Tomcats und einen JBoss.JMXProxy von JBoss zu Tomcat
In JBoss möchte ich über 100 Tomcat JMX-Bohnen mit "JRMPProxyFactory" Proxy. Ich habe alle Schnittstellen in jboss, aber ich weiß nicht, wo ich die IP-Adressen des Tomcat hinzufügen muss.
Das ist mein tomcat99-service.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
name="jboss.jmx:type=adaptor,name=Remote,protocol=jrmp,service=proxyFactory">
<depends optional-attribute-name="InvokerName">jboss:service=invoker,type=jrmp</depends>
<depends optional-attribute-name="TargetName">tomcat99:service=JMX</depends>
<attribute name="JndiName">Tomcat99Target</attribute>
<attribute name="InvokeTargetMethod">true</attribute>
<attribute name="ExportedInterfaces">myinterface</attribute>
</mbean>
</server>