ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

MustGather: Classloader problems for WebSphere Application Server

2022-07-27 15:34:33  阅读:193  来源: 互联网

标签:information log WebSphere Classloader problems Server Application Problem


MustGather: Classloader problems for WebSphere Application Server

Troubleshooting

https://www.ibm.com/support/pages/mustgather-classloader-problems-websphere-application-server


Problem

The following MustGather will assist you in setting up the traces and collecting the data required to analyze a classloader issue.

Resolving The Problem

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

This MustGather is needed to analyze exceptions such as: ClassNotFoundException, NoClassDefFoundError, ClassCastException, NoSuchMethodError, LinkageError, UnsatisfiedLinkError, VerifyError, UnsupportedClassVersionError, IncompatibleClassChangeError, ClassFormatError.

Collecting data manually


NOTE: Please see the following link for instructions for Liberty Profile:
MustGather: Classloader problems for WebSphere Application Server Liberty Profile


Perform the following steps to collect WebSphere Application Server specific information.

  1. Enable and collect Application Server traces with the following trace string:

    com.ibm.ws.classloader.*=all

    For more details, see How to set up a trace.

  2. Enable Java™ Virtual Machine (JVM) classloader traces through the Admin console:

    1. Select Servers, choose Application servers and select the server you want to configure.

    2. In the Server Infrastructure section, open Java and Process Management and select Process Definition.

    3. Under Additional Properties, select Java Virtual Machine.

    4. Check the Verbose class loading checkbox.

    5. Add the following string to the Generic JVM arguments field:

      -Dws.ext.debug=true  -Dws.osgi.debug

    6. Click OK.

  3. Save the changes. Stop the server.

  4. Clear the JVM and OSGi class cache. For more details, see How to clear the WebSphere Class Caches..

  5. Backup and delete all WebSphere log files for this WebSphere process (SystemOut*.log, SystemErr*.log, native_stderr.log, native_stdout.log, startServer.log, stopServer.log and trace.log).

    The log files are located in the following directory:

    <profile_root>/logs/server_name/* 

    Clear all WebSphere Application Server FFDC logs. FFDC files are located in the following directory:

    <profile_root>/profile_name/logs/ffdc/*

    Note: If you have configured to write FFDC log files into a different location, then clear them accordingly.

  6. Restart the server. Reproduce the issue. Make sure the classloader exception is generated in the WebSphere logs (SystemOut.log) and the trace file (trace.log).

  7. Run the collector tool against the problem profile.

  8. Send the collector output to IBM: Exchanging information with IBM support.



Related information
Submitting information to IBM support
Steps to getting support for WebSphere Application Server
MustGather: Read first for WebSphere Application Server
Troubleshooting guide for WebSphere Application Server

Exchanging data with IBM Support

To diagnose or identify a problem, it is sometimes necessary to provide Technical Support with data and information from your system. In addition, Technical Support might also need to provide you with tools or utilities to be used in problem determination. You can submit files using one of following methods to help speed problem diagnosis:

 

Read first and related MustGathers

 

标签:information,log,WebSphere,Classloader,problems,Server,Application,Problem
来源: https://www.cnblogs.com/z-cm/p/16525015.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有