1 Reply Latest reply on Mar 13, 2009 1:02 PM by Peter Johnson

    How to use shutdown script with servername

    Mani M Newbie


      What is the correct format to use for serverName switch in /bin/shutdown script?

      shutdown.bat --serverName=default
      gave the following exception

      Exception in thread "main" javax.management.MalformedObjectNameException: Key properties cannot be empty
       at javax.management.ObjectName.construct(ObjectName.java:393)
       at javax.management.ObjectName.<init>(ObjectName.java:1304)
       at org.jboss.Shutdown.main(Shutdown.java:166)