2 Replies Latest reply on Apr 30, 2007 10:30 AM by boozii

    How to shutdown jboss app server

    boozii

      Hi,
      I have multiple instance jboss running in a same machine. I tried to shutdown using the following command..
      ./shutdown.sh -s :
      but it throws up as follows:

      JAVA_OPTS : -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
      JBOSS_CLASSPATH : /tools/jboss-4.0.5.GA/bin/shutdown.jar:/tools/jboss-4.0.5.GA/client/jbossall-client.jar

      *****************************Execute the JVM
      Warning: -Xms128m not understood. Ignoring.
      Warning: -Xmx512m not understood. Ignoring.
      Exception in thread "main" javax.naming.NoInitialContextException: Can't find property: java.naming.factory.initial
      at javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable) (/usr/lib/libgcj.so.5.0.0)
      at javax.naming.InitialContext.getDefaultInitCtx() (/usr/lib/libgcj.so.5.0.0)
      at javax.naming.InitialContext.getURLOrDefaultInitCtx(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
      at javax.naming.InitialContext.lookup(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
      at org.jboss.Shutdown.main(java.lang.String[]) (Unknown Source)



      Any idead would be greatly appreciated..
      Thanks
      MS