2012-02-15 38 views
9

我剛剛升級到WebSphere 7(來自6.1),並且出現了以前沒有的新類加載衝突。WebSphere 7級加載程序跟蹤

我已經看過了很多在互聯網上,但無法找到如何路線:

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

非常感謝你。

回答

8

要啓用類加載信息,您需要進入應用程序服務器> server_name> Java和進程管理>進程定義> Java虛擬機,您將找到詳細的類加載選項。啓用它並重新啓動應用程序服務器。

您應該然後找到在native_stderr.log類加載信息的<WAS_install_root>/profiles/<profile>/logs/<server>目錄。

+0

這不工作 - 我在日誌中看到啓動同一信息標誌是否爲開 – user967710 2012-02-21 23:43:51

+0

你是否也看着其他文件?從我看到並記住我是用於記錄的native_stdout.log文件。請參見,幻燈片4 。 – 2012-02-22 07:51:32

1

我建議您在打開PMR時由IBM支持人員使用的class loader MustGather。展開「手動收集數據」部分。

3

要添加到Olivier.Roger的回覆(我沒有權限作出內聯回覆),信息是在native_stderr.log

(晚,但對於其他人誰發現這個線程像我一樣)