gtag

2010年9月17日 星期五

在Grid Control中加入中介軟體JBoss Application Server 的監控

我先做個note,有空再修改完整一點。

Q:找不到一或多個必要的程式庫 ($JAVA_HOME/client 中的 jbossall-client.jar, jnp-client.jar 以及 $JAVA_HOME/lib 中的 dom4j.jar), 請指定正確的安裝本位目錄, 然後再試一次.

A:可以在Jboss的安裝目錄搜尋下,即可找到這些檔案,然後放置到錯誤訊息所提示的目錄下。

Q:未建置MEJB.

A:Deploying the MEJB

The MEJB is not deployed by default. Its bundled with the server in the docs/examples/jmx/ejb-management.jar. Just copy this jar into the server deployment directory to make the MEJB available. The default JNDI name of the ManagementHome is "ejb/mgmt/MEJB".

Q:測量結果收集錯誤->java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/Stats

A:
Root Cause:
The Grid Control Central Agent has not been restarted after the first discovery of a target JBoss Application Server in the Grid Control.

Action:
Stop and restart the Grid Control Central Agent as specified at first in the topic "Post-Discovery of JBoss Application server target Checking".
If the metric errors remain after having restarted the agent, verify that the Grid Control Central Agent $ORACLE_HOME/sysman/config/classpath.lst file has the correct entries for dom4j.jar, jbossall-client.jar, jnp-client.jar and jboss-management.jar

沒有留言:

張貼留言