IBM Support

MustGather: wsadmin problems in WebSphere Application Server - Configuration modification issues

Troubleshooting


Problem

Collecting data for problems with the IBM WebSphere Application Server wsadmin component. Gathering this MustGather information before calling IBM support will help you understand the problem and save time analyzing the data.

Resolving The Problem

Tab navigation

Types of Issues:

Tab navigation

Follow the steps below to collect data for wsadmin scripting problems that involve configuration modifications only.

Note: If your wsadmin script does not work with MBeans, it is recommended to use "-conntype NONE" option which does not connect to the dmgr process.




Note: The [install_root] below represents the install location of WebSphere Application Server.

1. Enable tracing in wsadmin:


    Modify the wsadmin.properties file located in the following directory:
    install_root/profiles/profile_name/properties/

    Replace following line:
      #com.ibm.ws.scripting.traceString=com.ibm.*=all=enabled

    With this
      com.ibm.ws.scripting.traceString=com.ibm.ws.scripting.AdminAppClient.*=all=enabled:com.ibm.ws.scripting.AbstractShell.*=all=enabled:com.ibm.ws.management.*=all=enabled:com.ibm.websphere.management.*=all=enabled

2. Recreate the problem
    Note: If wsadmin process hangs on UNIX platforms, when wsadmin hangs, execute three kill -3 pid commands, two minutes apart, on the wsadmin Process ID (PID).

    If you need help on how to collect javacores, please see the following article:
    IBM Problem determination for javacore files from WebSphere Application Server
    http://www-01.ibm.com/support/docview.wss?uid=swg21181068

3. Run the collector tool against the profiles.
4. Send the following:
    • Any javacore files created for AIX, Linux and Windows. Note any issues on the machine and network during the hang.
    • Collector output jars
    • The script file that you executed
    • The command that you used to invoke the script

What to do next

Once you have collected the preceding information, you can open a PMR with IBM by calling 1-800-IBM-SERV, or by submitting electronically. If you already have a PMR for this issue, you can submit the diagnostic information to IBM support.




[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administrative Scripting Tools (for example: wsadmin or ANT)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.5.5;8.5;8.0;7.0","Edition":"Base;Developer;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21140940