[infinispan-issues] [JBoss JIRA] Commented: (ISPN-813) "Infinispan Cache Manager" option doesn't show up in the drop down menu for "Manually add" function

Michal Linhard (JIRA) jira-events at lists.jboss.org
Mon Feb 7 08:14:39 EST 2011


    [ https://issues.jboss.org/browse/ISPN-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580459#comment-12580459 ] 

Michal Linhard commented on ISPN-813:
-------------------------------------

hi, I tried this with 
Infinispan 4.2.1.CR1
RHQ version: 3.0.0 build number: 59e9341

with same config

this time I had an issue with connecting second rhq-agent

my config:
/etc/hosts
192.168.11.101 testhome1
192.168.11.102 testhome2
192.168.11.103 testhome3
192.168.11.104 testhome4
192.168.11.105 testhome5
192.168.11.106 testhome6
(virtual interfaces)

commands to run jboss with gridfs demo:
export JAVA_OPTS_COMMON="-Djboss.jgroups.udp.mcast_addr=227.44.89.5 -Xms128m -Xmx256m -XX:MaxPermSize=64m -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"
export JAVA_OPTS="$JAVA_OPTS_COMMON -Dcom.sun.management.jmxremote.port=6991 -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
server1/bin/run.sh -c default -b testhome1 &> server1.log &
export JAVA_OPTS="$JAVA_OPTS_COMMON -Dcom.sun.management.jmxremote.port=6992"
server2/bin/run.sh -c default -b testhome2 &> server2.log &

rhq-server.properties (changed lines):
jboss.bind.address=testhome5

agent1 config
agent-configuration.xml (changed lines):
               <entry key="rhq.communications.connector.bind-address"     value="testhome1" />
               <entry key="rhq.agent.server.bind-address"     value="testhome5" />
               <entry key="rhq.communications.multicast-detector.bind-address"         value="testhome1" />

agent2 config
agent-configuration.xml (changed lines):
               <entry key="rhq.communications.connector.bind-address"     value="testhome2" />
               <entry key="rhq.agent.server.bind-address"     value="testhome5" />
               <entry key="rhq.communications.multicast-detector.bind-address"         value="testhome2" />

this time I had an issue with running the second agent
when trying to run second agent it says:
The server has rejected the agent registration request. Cause: [org.rhq.core.clientapi.server.core.AgentRegistrationException:The agent asking for registration is already registered with the name [testhome1], it cannot change its name to [testhome2]]

but anyway rhq-server detected agent1 but didn't detect
infinispan instances

I knew that the servers were run correctly and they clustered correctly:

log of server1
13:37:31,811 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
13:37:36,164 INFO  [TomcatDeployment] deploy, ctxPath=/
13:37:36,482 INFO  [TomcatDeployment] deploy, ctxPath=/infinispan-gridfs-webdav
13:37:37,184 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
13:37:37,320 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-testhome1%2F192.168.11.101-8080
13:37:37,344 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-testhome1%2F192.168.11.101-8009
13:37:37,350 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 54s:532ms
13:41:59,726 INFO  [JGroupsTransport] Starting JGroups Channel
13:41:59,726 INFO  [JGroupsTransport] Unable to use any JGroups configuration mechanisms provided in properties {}.  Using default JGroups configuration!
13:42:00,053 WARN  [UDP] send buffer of socket java.net.DatagramSocket at a3e667 was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
13:42:00,053 WARN  [UDP] receive buffer of socket java.net.DatagramSocket at a3e667 was set to 20MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
13:42:00,053 WARN  [UDP] send buffer of socket java.net.MulticastSocket at aecc14 was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
13:42:00,054 WARN  [UDP] receive buffer of socket java.net.MulticastSocket at aecc14 was set to 25MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
13:42:03,079 INFO  [JGroupsTransport] Received new cluster view: [localhost-33208|0] [localhost-33208]
13:42:03,080 INFO  [JGroupsTransport] Cache local address is localhost-33208, physical addresses are [192.168.11.101:55865]
13:42:03,081 INFO  [GlobalComponentRegistry] Infinispan version: Infinispan 'Ursus' 4.2.1.CR1
13:42:03,103 INFO  [ComponentRegistry] Infinispan version: Infinispan 'Ursus' 4.2.1.CR1
13:42:03,137 INFO  [ComponentRegistry] Infinispan version: Infinispan 'Ursus' 4.2.1.CR1
13:42:22,208 INFO  [JGroupsTransport] Received new cluster view: [localhost-33208|1] [localhost-33208, localhost-33159]
13:42:22,214 INFO  [DistributionManagerImpl] Detected a view change.  Member list changed from [localhost-33208] to [localhost-33208, localhost-33159]
13:42:22,215 INFO  [DistributionManagerImpl] This is a JOIN event!  Wait for notification from new joiner localhost-33159

I could access gridfs demos on both servers:
http://testhome1:8080/infinispan-gridfs-webdav
http://testhome2:8080/infinispan-gridfs-webdav



> "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
>
>
> 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

       



More information about the infinispan-issues mailing list