Configuring WebSphere Application Server Community Edition as a daemon on a Solaris computer

You can configure WebSphere® Application Server Community Edition as a Solaris daemon process. The daemon process can then be set to start automatically on system startup. Instances of the connection manager, the manager, and the service interface that are on WebSphere Application Server Community Edition also start automatically on system startup.

You must have access to a superuser or root account to complete this task.
To configure WebSphere Application Server Community Edition as a daemon on a Solaris computer:
  1. Open the command prompt.
  2. Enter the following commands at the command prompt, where server_location is the directory in which WebSphere Application Server Community Edition is installed:
    cd server_location/bin
    ./setup-wasce-as-daemon.sh
    The script generates a script called optimappserver, which is saved to the server_location/bin directory.
  3. Log in as superuser, if you are not already logged in as superuser.
  4. Copy the script optimappserver to the /etc/init.d directory.
  5. Enter the following commands at the command prompt.
    cd /etc/init.d 
    chmod 755 optimappserver
    ln -s optimappserver /etc/rc3.d/S99optimappserver
    ln -s optimappserver /etc/rc3.d/K01optimappserver
To start the daemon, log in as superuser and enter the following command at the command prompt.
/etc/init.d/optimappserver start
To stop the daemon, log in as superuser and enter the following command at the command prompt.
/etc/init.d/optimappserver stop
To remove the daemon, log in as superuser and enter the following commands at the command prompt. Remove the daemon before you uninstall WebSphere Application Server Community Edition.
/etc/init.d/optimappserver stop
rm /etc/rc3.d/S99optimappserver
rm /etc/rc3.d/K01optimappserver
rm /etc/init.d/optimappserver


Feedback

URL of this topic: