4 Replies Latest reply on Jan 17, 2014 4:29 AM by Shekhar Saxena

    JBoss service is shutdown when windows is updated

    Shekhar Saxena Newbie

      I have installed jboss as a service on my windows machine.It was running fine but When i updated my windows.Jboss service is shutdown and There is following log message in shutdown.log file

      Shutting down JBoss Application Server 6.1.0 [2014-01-10 21:28:30]

      JAVA_HOME is not set. Unexpected results may occur.

      Set JAVA_HOME to the directory of your local JDK to avoid this message.

      org.jboss.modules.ModuleNotFoundException: org.jboss.as.cli:main

          at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:224)

          at org.jboss.modules.Main.main(Main.java:341)

      Shutdown JBoss Application Server 6.1.0 service [2014-01-10 21:28:31]

       

      I have tried one option in standalone.conf.bat file in Jboss bin folder JAVA_OPTS="-Xrs" Is it right or There is any other option so that JBoss service is not shutdown when Windows is updated.

       

      I am using my own jre which is bundled with jboss and in standalone.bat file i have already set my JAVA_HOME so jboss was running fine and it was using my own JAVA_HOME which i have set in standalone.bat file but when i update my windows Jboss service is shutdown.

       

      Message was edited by: Shekhar Saxena