IBM Support

MustGather: Problems during deployment of EAR/JAR/WAR files in WebSphere Application Server Liberty

Troubleshooting


Problem

Collecting data for problems with the IBM WebSphere Application Server for problems that occur during the installation of an application (EAR/JAR/WAR) environment. 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


1. Enable tracing on the target Liberty server:

Open the server.xml file in the root directory of the target server:

<LIBERTY_HOME>/usr/servers/<server>

Where LIBERTY_HOME is either the location of the extracted binary or <AppServer>/wlp if Liberty Profile is installed with WebSphere Application Server Version 8.5 

Add the <logging> tag to the server.xml file with the following elements:
 
<logging  traceSpecification="*=info:com.ibm.ws.app.manager.*=all:com.ibm.ws.artifact.zip.*=all" 
traceFileName="trace.log" 
maxFileSize="100" 
maxFiles="10" 
traceFormat="BASIC" />

2. Stop the server and clear the logs under the following directory:

<LIBERTY_HOME>/usr/servers/<serverName>/logs

3. Recreate the problem.
 
4. Execute the following command to package the server dump.
 
> server dump server_name --archive=package_file_name.dump.zip --include=all

5. send the following data.

  • server dump file from step 4
  • Output of running the following command: 
  • <LIBERTY_HOME>/bin/productInfo version
  • Output of running the following command:
  • <LIBERTY_HOME>/bin/productInfo featureInfo


   

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Deploy (for example: AAT or ANT or EAR\/WAR\/JAR)","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":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 June 2018

UID

swg22010723