Failed to shutdown JBoss EAP 5 as a Windows service after modifying JAVA_OPTS
Issue
-
JBoss EAP 5 is running as a Windows service. After setting the following system properties in
run.conf.bat:JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=3001 -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImplwe are getting an exception when shutting down JBoss EAP:
javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.jboss.system.server.jmx.MBeanServerBuilderImpl: java.lang.ClassNotFoundException: org.jboss.system.server.jmx.MBeanServerBuilderImpl -
We are getting following exception when shutting down.
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: XXXXX; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.1.2
- Windows
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.