Jump to content
We've recently updated our Privacy Statement, available here ×
  • WebSphere environment troubleshooting commands


    Jivan Phadtare
    • Product: JasperReports® Server

    This article helps to troubleshoot the issues/difficulties facing while applying hotfix in WebSphere environment .

    From backend (using terminal) we can check the status of WebSphere server with the help of below command. We will able to know that if application server is in running or stopped state.

    ./serverStatus.sh server1
     

    WebSphere server can be started/stopped by running below shell script.

    --To Start the server :

    ./startServer.sh server1
     
    --To stop the server :

    ./stopServer.sh server1
     
    here 'server1' is the default name of server.
     
    These scripts are available at location : /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/

     

    We oftenly need to check the WebSphere application logs for troubleshooting during applicaton/installation issues.

    WebSphere application logs are available at location : /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1

    Log file name : "SystemOut.log" and "SystemErr.log"

     

    Post applying hotfix we need to clear JSP cache for WebSphere application server. This can be done by running "clearClassCache.sh" file.

    This file is present at location like : /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/
     


    Also, clean restart of WebSphere application server can be done by removing "temp" and "wstemp" folders of WebSphere application server.

    these folders can be found at locations like below :

    /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/wstemp 
    /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/temp

     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...