Sun GlassFish Enterprise Server v3 リリースノート

specj アプリケーションが配備されている場合に asadmin get --monitor=true "server.*" によって I/O エラーが発生する (課題 11163)

説明

asadmin get -m "server.*" コマンドはサーバーに関連しているすべての監視データを返します。多数のアプリケーションが配備されていると、データ量が非常に大きくなるため、応答に時間がかかることがあります。クライアントがタイムアウトして、次のクライアント側エラーが発生することがあります。


./asadmin get --monitor=true "server.*"
I/O Error: Read timed out
Command get failed.

詳細については、課題レポートを参照してください。

回避策

クライアントに返されるデータの量を最小限にします。

  1. 最上位の要素を返す asadmin list -m "server.*" コマンドを実行します。

  2. 詳細を知る必要がある最上位の要素を選択して、これをフィルタとして使用します。次に例を示します。


    > ./asadmin list -m "server.*"
    ...
    server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-cache
    server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods
    server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.
    create-int-int-[Lorg\.spec\.jappserver\.supplier\.helper\.ComponentOrder
    
    server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.
    findByPrimaryKey-java\.lang\.Integer
    server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.generateXml
    server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.getEJBLocalHome
    ...
    
    >./asadmin get -m
    "server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.*"
    ...
    server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.remove.
    methodstatistic-name
    = MethodStatistic
    server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.remove.
    methodstatistic-starttime
    = 1259604209775
    ...