Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebSphere 7 - class loader trace

Tags:

websphere

I have just upgraded to WebSphere 7 (from 6.1), and I am having new class loading conflicts which I didn't have before.

I have looked a lot over the internet but couldn't find directions on how:

1. How to enable class loading trace.
2. Where does the output go to?

Thank you very much.

like image 956
user967710 Avatar asked Feb 15 '12 01:02

user967710


3 Answers

To enable the classloading information you need to go in application server > server_name > Java and Process Management > Process definition > Java Virtual Machine, there you will find the verbose classloading option. Enable it and restart the application server.

You should then find the classloading informations in the native_stderr.log in the <WAS_install_root>/profiles/<profile>/logs/<server> directory.

like image 83
Olivier.Roger Avatar answered Nov 13 '22 06:11

Olivier.Roger


To add to Olivier.Roger's response (I don't have the permissions to respond inline), the information is in native_stderr.log.

(late, but for anyone else who finds this thread like I did)

like image 25
patstuart Avatar answered Nov 13 '22 07:11

patstuart


I would recommend the class loader MustGather that is used by IBM support when you open a PMR. Expand the "Collecting data manually" section.

like image 1
Brett Kail Avatar answered Nov 13 '22 05:11

Brett Kail