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

You can configure WebSphere® Application Server Community Edition as a Linux 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 Linux 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/rc.d/init.d directory.
  5. Enter the following commands at the command prompt.
    cd /etc/rc.d/init.d
    chmod 755 optimappserver
    /sbin/chkconfig --add optimappserver
To start the daemon, log in as superuser and enter the following command at the command prompt.
/sbin/service optimappserver start
To view the init levels at which the daemon is started or stopped, log in as superuser and enter the following command at the command prompt.
/sbin/chkconfig --list optimappserver
To stop the daemon, log in as superuser and enter the following command at the command prompt.
/sbin/service 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.
/sbin/service optimappserver stop
/sbin/chkconfig --del optimappserver
rm /etc/rc.d/init.d/optimappserver


Feedback

URL of this topic: