Configuring the embedded WebSphere Application Server as a service (Windows and Linux only)

If you installed the embedded IBM® WebSphere® Application Server, it is not automatically configured as a service for your operating system; you must start and stop the server manually. You can create a service to start the server automatically for you.

About this task

Note: These commands will not work on AIX® or Linux for zSeries®

Procedure

To create a service for the embedded WebSphere Application Server:

  1. See the WebSphere Application Server documentation on using the WASService command.
  2. Use these example WASService commands to help you set up the service:
    • For Windows:
      WASService.exe -add RationalAssetManager -serverName server1 -profilePath "C:\Program Files\IBM\RAMServer\ram\ewas\profiles\profile1" -wasHome  "C:\Program Files\IBM\RAMServer\ram\ewas" -stopArgs "-username admin -password admin" -startType automatic
    • For Linux:
      wasservice.sh -add RationalAssetManager -serverName server1 -profilePath /opt/IBM/RAMServer/ram/ewas/profiles/profile1 -wasHome /opt/IBM/RAMServer/ram/ewas -stopArgs '-username admin -password admin'

What to do next

If you change the administrative security for the embedded WebSphere Application Server, you must update the service commands with the updated user name and password.


Feedback