Date Created: Mon 13-Apr-2009

Related Document Categories:


    Stop WebSphere from auto starting in Linux Centos5

    If during the WebSphere installation you opted to have WebSphere auto start, then you can use this command to turn off auto start.

    chkconfig node01_was.init off

    You see if you look around you will notice that in /etc/rc5.d there is a soft link (symbolic link) to /etc/init.d/node01_was.init as seen below

    lrwxrwxrwx 1 root root 25 Apr 13 09:00 K02node01_was.init -> ../init.d/node01_was.init

    If you view this file, you will notice a line like

    SERVICENAME="node01_was.init"

    this is how you can tell the service name.

    To manully stop WebSphere you can use

    service node01_was.init stop

    Example:

    [root@s15337574 init.d]# service node01_was.init stop
    Stopping WebSphere Application Server - server1 ...
    ADMU0116I: Tool information is being logged in file
    /var/apps/was7/profiles/appsrv01/logs/server1/stopServer.log
    ADMU0128I: Starting tool with the appsrv01 profile
    ADMU3100I: Reading configuration for server: server1
    Realm/Cell Name: <default>
    Username: wasadmin
    Password:
    ADMU3201I: Server stop request issued. Waiting for stop status.
    ADMU4000I: Server server1 stop completed.

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Oracle WebLogic Categories

JBoss Categories

Other Categories