5

Websphere アプリケーション サーバーで Java アプリケーションを実行しています。システム クラッシュのコア ダンプ ファイルを分析すると、次のような情報が得られます。

ERROR: Symbol file could not be found.  Defaulted to export symbols for J9THR23.dll 

Java のシンボル ファイルを取得するにはどうすればよいですか?

前もって感謝します。

詳細はこちら:

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for J9THR23.dll - 
*************************************************************************
***                                                                   ***
***                                                                   ***
***    Your debugger is not using the correct symbols                 ***
***                                                                   ***
***    In order for this command to work properly, your symbol path   ***
***    must point to .pdb files that have full type information.      ***
***                                                                   ***
***    Certain .pdb files (such as the public OS symbols) do not      ***
***    contain the required information.  Contact the group that      ***
***    provided you with these symbols if you need this command to    ***
***    work.                                                          ***
***                                                                   ***
***    Type referenced: ntdll!_PEB                                    ***
***                                                                   ***
*************************************************************************
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9jit23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for java.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9gc23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for jvm.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for jclscar_23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9ute23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for J9PRT23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9vm23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for DBGHELP.DLL - 

アリス・ゴン

4

2 に答える 2

2

デバッガーが PDB ファイルを探しているようですが、私が知る限り、Java アプリケーションのデバッグ情報は PDB ファイルとして提供されません。PDB ファイルは、Windows ネイティブ アプリケーションの作成時に VisualStudio によって生成されるため、デバッガーがアプリケーション サーバーのデバッグ シンボルを探しているようです。WebSphere に独自のデバッグ バージョンが付属しているかどうかは不明です。一方、Java アプリのデバッグ シンボルが必要な場合は、-gオプションを指定して再コンパイルするだけです。

于 2009-01-08T16:56:59.840 に答える