Not able to shutdown the EAP 5 by using script.

Solution Verified - Updated -


  • script is not working as expected.
  • Getting the below exception while shutting down the JBoss EAP 5.2
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
        at com.sun.proxy.$Proxy2.shutdown(Unknown Source)
        at org.jboss.Shutdown.main(
Caused by: jboss.system:type=JVMShutdown is not registered.
        at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content