1 Reply Latest reply on Oct 7, 2005 12:16 PM by Peter Johnson

    JBoss stops spontaneously on Windows.

    Denis Newbie

      The problem is in the subj. Server stops without any exceptions in log.
      And one more - the same project works good on Linux.
      To start my application i have .bat file in which i set some enviroment variables, such as(my application needs max heap size=1024m):
      JAVA_OPTS -Xms384m -Xmx1024m
      and in the end call:
      call "D:\jboss\bin\run.bat" %CONF_PARAMS%

      in run.bat i found:
      set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m

      so the max size of VM heap is set to 512m - not to 1024m!!!!
      Talking about Linux - run.sh do not add parameters -Xms and -Xmx to launch string.
      Do you have another ideas about spontaneous stoping of server?

        • 1. Re: JBoss stops spontaneously on Windows.
          Peter Johnson Master

          I have noticed similar problems with scripts that launch various Java apps, hence I always modify the scripts directly, which also saves me from having to remember to set particular environment variables before launching the script.

          Regarding your server stop, please post your console log output. That should hopefully give us some clues.