このコンテンツは選択した言語では利用できません。
10.4. Running as a Service on Microsoft Windows Server
- Open a command prompt with elevated privileges. Navigate to- C:\Windows\System32and right-click on- cmd.exe. Select .
- Change to the Enterprise Application Platform directory where the service installation script is located. - cd- JBOSS_DIST\native\sbin
- Optional: Edit - services.batto pass parameters to the Application Server at start-up.Under- :cmdStart, alter the following line:- call "%SVCPATH%\run.bat" < .r.lock >> run.log 2>&1To run the 'default' profile binding to the 'localhost' address, change to the following:- call "%SVCPATH%\run.bat" -c default -b localhost < .r.lock >> run.log 2>&1For a full list of parameters to- run.batsee the Getting Started Guide.
- Run the service installation script. - service.bat install
- Check that the service is installed. Under the Windows services list you will find this listed by the short name JBEAP5SVC and the long name JBoss EAP 5.- Note To uninstall the service, issue the following command from a command prompt with elevated privileges:- sc delete "JBEAP5SVC".