1 Reply Latest reply on Jul 3, 2007 3:10 AM by Dimitris Andreadis

    JBoss-4.2.0.GA readme.html  jboss-native-2.0.0-windows-i686.

    roxello Newbie

      Hello -

      The readme.html file (in the JBoss-4.2.0.GA distribution,
      the 'Highlights' paragraph, JBoss Web bullet point) refers to
      native libraries for hybrid deployment. jboss-native-2.0.0-windows-i686.zip
      downloaded from labs.jboss.com/jbossweb/downloads,
      JBoss Native 2.0.0 section, contains README-service.txt (full txt below)
      which appears confusing. The terms JBoss AS, JBoss Application Server
      and JBoss Web Server seem to be used interchangeably. Is JBoss
      Application Server/ JBoss AS synonymous with JBoss Web Server?


      The JBoss(R)* app server is Copyright 2000-2007, Red Hat Middleware LLC
      and individual contributors, and is licensed under the GNU LGPL.


      How to run JBoss AS as a Windows Service

      JBoss AS comes with Windows service executable as part of JBossNative
      that can run JBoss Application Server as service.
      The service executable jbosssvc.exe transforms the run.bat and
      shutdown.bat batch scripts to services. This means that any change
      made to those scripts will be used both in service and command
      line mode.


      To install the JBoss Application Server as Windows service use
      the provided service.bat batch file.

      C:\> cd c:\jboss-4.2.0\bin
      C:\> service.bat install

      To start the JBoss Web server as Windows service use Control pannel or
      net start command. When running in service mode the console output is
      redirected to the file run.log. You can inspect the file for any errors
      during service startup.


      C:\> net start JBAS4SVC
      The JBoss Application Server 4.2 service is starting.
      The JBoss Application Server 4.2 service was started successfully.


      To stop the JBoss Web server as Windows service use Control pannel
      or net stop command. When running in service mode the console output
      is redirected to the file shutdown.log. You can inspect the file for
      any errors during service shutdown.


      C:\> net stop JBAS4SVC
      The JBoss Web Server 4.2 service was stopped successfully.


      To restart the JBoss Web server as Windows service use Control pannel.

      To remove the JBoss Web server as Windows service use the provided
      service.bat batch file.


      C:\> cd c:\jboss-4.2.0\bin
      C:\> service.bat uninstall


      Service customization is done by editing the service.bat script.
      Each command has a separate section that you can customize. The most
      common customization task would be changing service names if more then
      one service instances per box are required.