What is a minimum configuration to enable remote access to the MBeanServer?
The minimal configuration of jboss brings the server to the point of being
able to hot-deploy other services. To enable remote jmx access, that
will allow, for example, twiddle to operate, make the following modifications:
JBoss v4.0.2
Copy the minimal configuration into a new one, e.g. minimal2.
The ./lib directory already contains:
jboss-management.jar jboss-minimal.jar jnpserver.jar log4j.jar
Add from the default configuration the following libs:
jboss.jar jboss-j2ee.jar jboss-transaction.jar jmx-adaptor-plugin.jar
In the deploy directory copy:
jmx-invoker-service.xml
In the conf directory copy:
xmdesc/TransactionManagerService-xmbean.xml
Edit conf/jboss-service.xml to add the RMI/JRMP invoker, and its
transaction manager dependency, or use
jboss-service.xml directly.
Restart the server using the new configuration, and use twiddle to check
if it can connect. 'twiddle serverinfo -c' should return 23 running mbeans.
JBoss 4.0.4.GA
Also add from the default configuration the following libs:
jboss-serialization.jar jbosssx.jar
Referenced by:
Comments