-
1. Re: JBossAS JVM not showing in administration console
ips Sep 16, 2008 3:03 PM (in response to cbynum)Hi,
In order to expose JVM metrics, you must be running the JBossAS instance on Java 1.5 or higher. I'm guessing you're running on Java 1.4.
-Ian -
2. Re: JBossAS JVM not showing in administration console
cmorgan Sep 16, 2008 3:11 PM (in response to cbynum)cbynum,
The supported eval ended yesterday. Could this be related to your license expiring? If not, then you may need to run this one by support as well by entering an official ticket. This problem would need to be re-created for resolution from the description. -
3. Re: JBossAS JVM not showing in administration console
cbynum Sep 16, 2008 3:33 PM (in response to cbynum)I'm running on 1.6.
I will look into opening a ticket. -
4. Re: JBossAS JVM not showing in administration console
ccrouch Sep 16, 2008 4:16 PM (in response to cbynum)Is it the Sun JVM? Do you see the platform mbeans if you use the jmx-console? Are you using JON 2.0.0, I know that had problems with JDK6.
-
5. Re: JBossAS JVM not showing in administration console
cbynum Sep 16, 2008 4:45 PM (in response to cbynum)It is the Sun JVM. I am running JON 2.0.1. I'm in the jmx-console now and I don't see anything that refers to the platform. Is there a particular MBean that I should be looking for?
Could there be a place in the JON console where it is pointing to the wrong JDK or JRE? -
6. Re: JBossAS JVM not showing in administration console
ccrouch Sep 16, 2008 5:30 PM (in response to cbynum)"cbynum" wrote:
I'm in the jmx-console now and I don't see anything that refers to the platform. Is there a particular MBean that I should be looking for?
That sounds like your problem. There should be mbeans in the java.lang domain e.g. java.lang:name=Code Cache,type=MemoryPool
Cheers -
7. Re: JBossAS JVM not showing in administration console
ips Sep 16, 2008 8:12 PM (in response to cbynum)What version of the app server are you running? In JBoss EAP, there may be a run.conf file in the config directory (e.g. boss-eap-4.3.0.GA_CP02\jboss-as\server\production\run.conf) that overrides the one in the main bin directory (e.g. jboss-eap-4.3.0.GA_CP02\jboss-as\bin\run.conf). When you start your AS instance, it should print the value of JAVA, JAVA_OPTS, etc., e.g.:
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\opt\jboss-eap-4.3.0.GA_CP02\jboss-as
JAVA: C:\opt\jdk-1.6.0_07\bin\java
JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,address=7777,server=y,suspend=n -Dprogram.name=run.bat -Djboss.platform.mbeanserver -Djbmancon.debug=true -server -Xms200M -Xmx400M -XX:PermSize=200M -XX:MaxPermSize=400M -Dsun.rmi.dgc.cli
ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: C:\opt\jdk-1.6.0_07\lib\tools.jar;C:\opt\jboss-eap-4.3.0.GA_CP02\jboss-as\bin\run.jar
===============================================================================
Please post this output, so I can make sure the values of the environment variables look ok.
Thanks,
Ian -
8. Re: JBossAS JVM not showing in administration console
cbynum Sep 17, 2008 9:11 AM (in response to cbynum)===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\JBossAS-4.2.2GA
JAVA: C:\Java\jdk1.6.0_10\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: C:\Java\jdk1.6.0_10\lib\tools.jar;C:\JBossAS-4.2.2GA\bin\run.jar
=============================================================================== -
9. Re: JBossAS JVM not showing in administration console
cbynum Sep 17, 2008 9:30 AM (in response to cbynum)After looking at that output, I see now that I was not running the server with my updated run.bat and run.conf
When I added the updated I get, the output below and my JVM is now showing. Thanks for the assistance.
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\JBossAS-4.2.2GA
JAVA: C:\Java\jdk1.6.0_10\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.platform.mbeanserver
CLASSPATH: C:\Java\jdk1.6.0_10\lib\tools.jar;C:\JBossAS-4.2.2GA\bin\run.jar
===============================================================================