[
https://issues.jboss.org/browse/ISPN-813?page=com.atlassian.jira.plugin.s...
]
Galder Zamarreño edited comment on ISPN-813 at 2/11/11 11:01 AM:
-----------------------------------------------------------------
I think the problem is that the JBoss version (5.1.0.GA) you're using is not supported
by RHQ agent. This is what I see when I enable DEBUG in the rhq plugin:
{code}
(ResourceDiscoveryComponent.invoker.daemon-1:) JBoss AS version 5.1.0.GA is not supported
by this plugin (minimum JBoss AS version is 5.2.0.Beta1) - skipping...
{code}
If it doesn't detect the JBoss AS5 server, it cannot detect services running within
it, i.e gridfs-webdav.
You should try the same with a JBoss AS/EAP version supported, or alternatively, use the
Infinispan GUI demo after enabling JMX statistics. Thanks.
was (Author: galder.zamarreno(a)jboss.com):
I think the problem is that the JBoss version (5.1.0.GA) you're using is not
supported by RHQ agent. This is what I see when I enable DEBUG in the rhq plugin:
2011-02-11 16:55:19,220 15103 DEBUG
[org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent]
(ResourceDiscoveryComponent.invoker.daemon-1:) Discovered JBoss AS process: process:
pid=[97040],
name=[/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java],
ppid=[97024]
2011-02-11 16:55:19,222 15105 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:) Parsing JBossAS command line
[/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java,
-Dprogram.name=run.sh, -Xms128m, -Xmx512m, -XX:MaxPermSize=256m,
-Dorg.jboss.resolver.warning=true, -Dsun.rmi.dgc.client.gcInterval=3600000,
-Dsun.rmi.dgc.server.gcInterval=3600000, -Dcom.sun.management.jmxremote.ssl=false,
-Dcom.sun.management.jmxremote.authenticate=false,
-Djava.endorsed.dirs=/opt/jbossapp/lib/endorsed, -classpath, /opt/jbossapp/bin/run.jar,
org.jboss.Main, -Dcom.sun.management.jmxremote.port=6992, -c, gridfs1, -b, lo2]...
2011-02-11 16:55:19,228 15111 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:) jboss.home.dir="/opt/jbossapp"
2011-02-11 16:55:19,228 15111 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:)
jboss.server.home.dir="/opt/jbossapp/server/gridfs1"
2011-02-11 16:55:19,228 15111 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:) jboss.server.name="gridfs1"
2011-02-11 16:55:19,228 15111 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:) jboss.bind.address="lo2"
2011-02-11 16:55:19,228 15111 DEBUG
[org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent]
(ResourceDiscoveryComponent.invoker.daemon-1:) JBoss AS version 5.1.0.GA is not supported
by this plugin (minimum JBoss AS version is 5.2.0.Beta1) - skipping...
2011-02-11 16:55:19,228 15111 DEBUG
[org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent]
(ResourceDiscoveryComponent.invoker.daemon-1:) Discovered JBoss AS process: process:
pid=[97058],
name=[/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java],
ppid=[97043]
2011-02-11 16:55:19,228 15111 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:) Parsing JBossAS command line
[/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java,
-Dprogram.name=run.sh, -Xms128m, -Xmx512m, -XX:MaxPermSize=256m,
-Dorg.jboss.resolver.warning=true, -Dsun.rmi.dgc.client.gcInterval=3600000,
-Dsun.rmi.dgc.server.gcInterval=3600000, -Dcom.sun.management.jmxremote.ssl=false,
-Dcom.sun.management.jmxremote.authenticate=false,
-Djava.endorsed.dirs=/opt/jbossapp/lib/endorsed, -classpath, /opt/jbossapp/bin/run.jar,
org.jboss.Main, -Dcom.sun.management.jmxremote.port=6994, -c, gridfs2, -b, lo4]...
2011-02-11 16:55:19,229 15112 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:) jboss.home.dir="/opt/jbossapp"
2011-02-11 16:55:19,229 15112 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:)
jboss.server.home.dir="/opt/jbossapp/server/gridfs2"
2011-02-11 16:55:19,229 15112 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:) jboss.server.name="gridfs2"
2011-02-11 16:55:19,229 15112 DEBUG [org.rhq.plugins.jbossas5.helper.JBossInstanceInfo]
(ResourceDiscoveryComponent.invoker.daemon-1:) jboss.bind.address="lo4"
2011-02-11 16:55:19,229 15112 DEBUG
[org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent]
(ResourceDiscoveryComponent.invoker.daemon-1:) JBoss AS version 5.1.0.GA is not supported
by this plugin (minimum JBoss AS version is 5.2.0.Beta1) - skipping...
If it doesn't detect the JBoss AS5 server, it cannot detect services running within
it, i.e gridfs-webdav.
You should try the same with a JBoss AS/EAP version supported, or alternatively, use the
Infinispan GUI demo after enabling JMX statistics. Thanks.
"Infinispan Cache Manager" option doesn't show up in
the drop down menu for "Manually add" function
---------------------------------------------------------------------------------------------------
Key: ISPN-813
URL:
https://issues.jboss.org/browse/ISPN-813
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 4.2.0.CR2
Reporter: Michal Linhard
Assignee: Galder Zamarreño
Fix For: 5.0.0.BETA1
Attachments: agent.log, infinispan-stats.xml, infinispan.xml
infinispan 4.2.0.CR2
RHQ version: 3.0.0 build number: 59e9341
postgresql 8.4.5
I've setup RHQ with infinispan-jopr-plugin as described here:
http://community.jboss.org/wiki/MonitoringInfinispanwithRHQ
I'm running this on my local machine having these virtual interfaces
192.168.10.101 test1
192.168.10.102 test2
192.168.10.103 test3
192.168.10.104 test4
192.168.10.105 test5
192.168.10.106 test6
test1 - test4 running jboss 5.1.0.GA with infinispan-gridfs-webdav demo (ran with
-Dcom.sun.management.jmxremote.port=6991 to 9664 respectively)
test1 - test2 running rhq-agent bound to respective interface
test5 running rhq-server
sucessfully installed RHQ server
sucessfully installed agents test1 test2
sucessfully imported platforms test1 and test2
sucessfully installed infinispan-jopr-plugin, updated agents
tried to manually add Infinispan Cache Manager according to the instructions:
"To add Infinispan instances manually, go to Resources > Platforms > localhost
and then click on Inventory. At the bottom of the page, there's a section that says
"Manually Add" and next to it there's a drop down list. Open this list,
select "Infinispan Cache Manager" and click Ok."
but the option "Infinispan Cache Manager" doesn't appear in the drop down
box.
i don't know wheter this is a RHQ bug or plugin bug or wheter there's something
wrong with my installation steps.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira