14 Replies Latest reply on Feb 20, 2009 5:33 AM by sadat khan

    agent communication problem

    sadat khan Newbie

      i have 2 machines...
      m/c 1 (ip 10.96.1.130)--- jopr server running ( configured with postgresql )

      m/c 2 (ip 10.96.1.128) --- jopr server running ( oracle backend ) and jopr agent running

      the agent on m/c 2 was configured with the server on m/c 1...
      now i am able to see resources running on m/c 2 in m/c 1 dashboard... i am also able to shutdown the jboss AS running on m/c 2 from m/c 1 console... i have 2 problems/queries :---

      1.) I am not able to start the jboss AS running on m/c 2 from console on m/c 1...

      2.) the jopr server on m/c 2 is also up and running... however m/c 1 console displays it as unavailable ( could it be because it has been configured against a different database ? )...

      the following is seen in the agent log on m/c 2 ( even when the server on it is up )

      
      org.mc4j.ems.connection.EmsConnectException: Could not connect [jnp://10.96.1.128:2099] javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
       java.net.ConnectException: Connection refused: connect]
       at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:103)
       at org.rhq.plugins.jbossas.JBossASServerComponent.loadConnection(JBossASServerComponent.java:1126)
       at org.rhq.plugins.jbossas.JBossASServerComponent.getAvailability(JBossASServerComponent.java:282)
       at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:450)
       at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
       at java.util.concurrent.FutureTask.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
      Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
       java.net.ConnectException: Connection refused: connect]
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
       at javax.naming.InitialContext.lookup(Unknown Source)
       at org.mc4j.ems.impl.jmx.connection.support.providers.JBossConnectionProvider.doConnect(JBossConnectionProvider.java:70)
       at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:99)
       ... 11 more
      Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
       java.net.ConnectException: Connection refused: connect
       at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
       at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
       at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
       at sun.rmi.server.UnicastRef.invoke(Unknown Source)
       at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
       ... 15 more
      Caused by: java.net.ConnectException: Connection refused: connect
       at java.net.PlainSocketImpl.socketConnect(Native Method)
       at java.net.PlainSocketImpl.doConnect(Unknown Source)
       at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
       at java.net.PlainSocketImpl.connect(Unknown Source)
       at java.net.SocksSocketImpl.connect(Unknown Source)
       at java.net.Socket.connect(Unknown Source)
       at java.net.Socket.connect(Unknown Source)
       at java.net.Socket.<init>(Unknown Source)
       at java.net.Socket.<init>(Unknown Source)
       at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
       at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
       ... 21 more
      
      


        • 1. Re: agent communication problem
          mazz Master

           

          org.mc4j.ems.connection.EmsConnectException: Could not connect [jnp://10.96.1.128:2099] javax.naming
          .CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 12
          7.0.0.1; nested exception is:
           java.net.ConnectException: Connection refused: connect]
          


          This means the agent's jboss-as plugin cannot talk to your JBossAS instance. Why the jnp address is 10.96.1.128 but the connect exception shows 127.0.0.1 is unknown to me. Check the "Connection Properties" (specifically the jnp URL) in your JBossAS resource and see if it matches what your JBossAS instance is configurd for. You can use JBossAS's twiddle tool to test.

          As for your two server setups - because they use their own DBs, they are essentially two Jopr clouds - each with 1 server. In other words, they are completely separate and isolated from each other. An agent talking to one of your servers is completely invisible and unknown to the other server. If you want the two servers to work together, they both have to talk to the same backend database.

          • 2. Re: agent communication problem
            sadat khan Newbie

            ya i understand that part about the same backend for the same cloud... i am not interested in running the servers in the same cloud... what i want to ask is why is the agent ( on m/c 2 ) trying to contact the m/c 2 server when i have configured it with the server on m/c 1... i mean where is it getting the ip of m/c 2 ( 10.96.1.128 ) from ?

            • 3. Re: agent communication problem
              mazz Master

               

              trying to contact the m/c 2 server when i have configured it with the server on m/c 1... i mean where is it getting the ip of m/c 2 ( 10.96.1.128 ) from?


              The Jopr server->Jopr agent comm is different. The error message you posted was the agent's plugin trying to talk to *your* JBossAS instance (NOT the Jopr server). That wasn't the agent talking to the Jopr server.

              at org.rhq.plugins.jbossas.JBossASServerComponent.loadConnection(JBossASServerComponent.java:1126)


              shows that this is the jboss-as plugin. Go into the UI for that JBossAS instance and look at the Inventory tab. In there, you'll see the Connection Properties for that resource - confirm the jnp URL. That's the URL the agent will use to talk to your JBossAS instance that is being managed. The agent gets the default value through auto-discovery (in the JBossAS case, it looks at the process table and tries to find the "-b" option to the JBossAS run.sh script to determine the bind address).

              You might want to enable debug in the agent and follow the discovery log messages to see what the agent found when it auto-discovered your JBossAS instance.


              • 4. Re: agent communication problem
                sadat khan Newbie

                oh... so that is the case... will see in the console and revert... a question slightly off the topic... is 2099 the rmi port ? and 1099 ?

                • 5. Re: agent communication problem
                  mazz Master

                  That port is the remote JNP port the JBossAS server is listening too.

                  1099 is the default JNP port that ships in the JBossAS distribution
                  2099 is the JNP port that the Jopr JBossAS server uses (we changed it to be a different port than the "standard" JBossAS port so we do not conflict).

                  So what happens is - if you see 2099 being accessed, it means your agent's jboss-as plugin auto-discovered the Jopr Server itself and is trying to monitor it.

                  • 6. Re: agent communication problem
                    sadat khan Newbie

                    in the jopr console the jnp url for the jboss as service is jnp://10.96.1.128:1099 and that for the rhq server jboss AS is 10.96.1.128:2099... as you rightly said the problem seems to be that the agent is picking 127.0.0.1 instead of 10.96.1.128 as seen in the log excerpt... this is inspite of the fact that the jboss AS was bound to the latter ip while starting... meanwhile i set debug to true and got the following agent log...

                    
                    2009-02-18 10:47:50,180 INFO [main] (org.rhq.enterprise.communications.ServiceContainer)- {ServiceContainer.global-concurrency-limit-disabled}Global concurrency limit has been disabled - there is no limit to the number of incoming commands allowed
                    2009-02-18 10:47:50,618 INFO [main] (enterprise.communications.command.server.CommandServiceDirectory)- {CommandServiceDirectory.dynamic-discovery-allowed}Command Service Directory has been allowed to perform dynamic discovery
                    2009-02-18 10:47:50,633 INFO [main] (enterprise.communications.command.server.CommandServiceDirectory)- {CommandServiceDirectory.new-supported-command}Command [identify] is now supported by [rhq.remoting:type=command,subsystem=RHQ,id=2]
                    2009-02-18 10:47:50,633 INFO [main] (enterprise.communications.command.server.CommandServiceDirectory)- {CommandServiceDirectory.new-supported-command}Command [remotepojo] is now supported by [rhq.remoting:type=command,subsystem=RHQ,id=3]
                    2009-02-18 10:47:50,649 INFO [main] (enterprise.communications.command.server.CommandServiceDirectory)- {CommandServiceDirectory.new-supported-command}Command [echo] is now supported by [rhq.remoting:type=command,subsystem=RHQ,id=1]
                    2009-02-18 10:47:50,821 INFO [main] (org.rhq.enterprise.communications.ServiceContainer)- {ServiceContainer.started}Service container started - ready to accept incoming commands
                    2009-02-18 10:47:52,274 INFO [RHQ Agent Registration Thread] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.agent-registration-results}Agent has successfully registered with the server. The results are: [AgentRegistrationResults: [agent-token=1234177474759-1932398632-4716753491782769532]]
                    2009-02-18 10:47:55,430 INFO [RHQ Server Polling Thread] (org.rhq.enterprise.agent.PluginUpdate)- {PluginUpdate.updating-complete}Completed updating the plugins to their latest versions.
                    2009-02-18 10:47:55,430 INFO [RHQ Server Polling Thread] (enterprise.communications.command.client.ServerPollingThread)- {ServerPollingThread.server-online}The server has come back online; client has been told to start sending commands again
                    2009-02-18 10:47:57,524 INFO [main] (org.rhq.core.pc.PluginContainer)- Initializing Plugin Container v1.1.0.GA...
                    2009-02-18 10:48:04,836 INFO [main] (rhq.core.pc.inventory.InventoryManager)- Initializing Inventory Manager...
                    2009-02-18 10:48:05,446 INFO [main] (rhq.core.pc.inventory.InventoryManager)- Detected new Platform [Resource[id=0, type=Windows, key=10.96.1.128, name=10.96.1.128, version=Win32 5.1]] - adding to local inventory...
                    2009-02-18 10:48:05,461 INFO [main] (rhq.core.pc.inventory.InventoryManager)- Inventory Manager initialized.
                    2009-02-18 10:48:05,461 INFO [main] (rhq.core.pc.inventory.ResourceFactoryManager)- Initializing
                    2009-02-18 10:48:05,461 INFO [main] (rhq.core.pc.content.ContentManager)- Initializing Content Manager...
                    2009-02-18 10:48:05,461 INFO [main] (rhq.core.pc.content.ContentManager)- Initializing scheduled content discovery...
                    2009-02-18 10:48:05,461 INFO [main] (rhq.core.pc.content.ContentManager)- Content Manager initialized...
                    2009-02-18 10:48:05,461 INFO [RHQ Primary Server Switchover Thread] (org.rhq.enterprise.agent.AgentMain)- {PrimaryServerSwitchoverThread.started}The primary server switchover thread has started.
                    2009-02-18 10:48:15,477 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.AutoDiscoveryExecutor)- Executing server discovery scan...
                    2009-02-18 10:48:15,477 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Detected new Server [Resource[id=0, type=SnmpTrapd, key=Trapd (10.96.1.128), name=Trapd (10.96.1.128)]] - adding to local inventory...
                    2009-02-18 10:48:16,086 INFO [InventoryManager.discovery-1] (org.rhq.plugins.tomcat.TomcatDiscoveryComponent)- Discovering Tomcat servers
                    2009-02-18 10:48:16,086 INFO [InventoryManager.discovery-1] (org.rhq.plugins.agent.AgentDiscoveryComponent)- Discovering RHQ Agent...
                    2009-02-18 10:48:16,102 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Detected new Server [Resource[id=0, type=RHQ Agent, key=10.96.1.128 RHQ Agent, name=10.96.1.128 RHQ Agent, version=1.1.0.GA]] - adding to local inventory...
                    2009-02-18 10:48:16,180 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.AutoDiscoveryExecutor)- Process scan auto-detected new server resource: scan=[ProcessScan: query=[process|basename|match=^java.*,arg|org.jboss.Main|match=.*], name=[JBoss4]], discovered-process=[process: pid=[3044], name=[C:\Program Files\Java\jre1.6.0_04\bin\java.exe], ppid=[3860]]
                    2009-02-18 10:48:16,180 INFO [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.JBossASDiscoveryComponent)- Discovering JBossAS 3.2.x and 4.x servers...
                    2009-02-18 10:48:16,227 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Detected new Server [Resource[id=0, type=JBossAS Server, key=C:\JBoss\jboss-4.2.3.GA\server\all, name=01HW191064 JBossAS 4.2.3.GA all (10.96.1.128:1099), version=4.2.3.GA]] - adding to local inventory...
                    2009-02-18 10:48:16,539 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending server inventory report to Server...
                    2009-02-18 10:48:16,680 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...
                    2009-02-18 10:48:17,227 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.AutoDiscoveryExecutor)- Found 1 servers.
                    2009-02-18 10:48:17,227 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:48:22,242 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at platform...
                    2009-02-18 10:48:23,773 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned 1 servers and found 8 total descendant Resources.
                    2009-02-18 10:48:23,773 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending runtime inventory report to Server...
                    2009-02-18 10:48:23,852 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...
                    2009-02-18 10:48:24,086 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jboss-4.2.3.GA
                    2009-02-18 10:48:24,211 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jboss-4.2.3.GA
                    2009-02-18 10:48:24,211 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jboss-4.2.3.GA
                    2009-02-18 10:48:24,211 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jboss-4.2.3.GA
                    2009-02-18 10:48:24,211 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jboss-4.2.3.GA
                    2009-02-18 10:48:24,227 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jboss-4.2.3.GA
                    2009-02-18 10:48:24,227 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 188 ms
                    2009-02-18 10:48:24,227 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:1099] with install path [C:\JBoss\jboss-4.2.3.GA]...
                    2009-02-18 10:48:27,101 INFO [ResourceContainer.invoker.daemon-1] (ems.impl.jmx.connection.DConnection)- Querying MBeanServer for all MBeans
                    2009-02-18 10:48:27,195 INFO [ResourceContainer.invoker.daemon-1] (ems.impl.jmx.connection.DConnection)- Found 612 MBeans, starting load
                    2009-02-18 10:48:27,414 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jmx.JMXServerComponent)- Starting connection to JMX Server 10.96.1.128 RHQ Agent
                    2009-02-18 10:48:27,430 INFO [ResourceContainer.invoker.daemon-1] (ems.impl.jmx.connection.DConnection)- Querying MBeanServer for all MBeans
                    2009-02-18 10:48:27,430 INFO [ResourceContainer.invoker.daemon-1] (ems.impl.jmx.connection.DConnection)- Found 27 MBeans, starting load
                    2009-02-18 10:48:28,664 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:28,805 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:28,805 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:28,805 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:28,805 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:28,805 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:28,805 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 250 ms
                    2009-02-18 10:48:28,805 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:48:34,039 WARN [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Could not establish connection to the JBoss AS instance [1] times for resource [C:\JBoss\jopr-server-2.1.0.GA\jbossas\server\default]
                    org.mc4j.ems.connection.EmsConnectException: Could not connect [jnp://10.96.1.128:2099] javax.naming.CommunicationException: Could not obtain connection to any of these urls: 10.96.1.128:2099 [Root exception is javax.naming.CommunicationException: Failed to connect to server 10.96.1.128:2099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
                     at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:103)
                     at org.rhq.plugins.jbossas.JBossASServerComponent.loadConnection(JBossASServerComponent.java:1126)
                     at org.rhq.plugins.jbossas.JBossASServerComponent.start(JBossASServerComponent.java:250)
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                     at java.lang.reflect.Method.invoke(Unknown Source)
                     at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:450)
                     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
                     at java.util.concurrent.FutureTask.run(Unknown Source)
                     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
                     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                     at java.lang.Thread.run(Unknown Source)
                    Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: 10.96.1.128:2099 [Root exception is javax.naming.CommunicationException: Failed to connect to server 10.96.1.128:2099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
                     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1416)
                     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:596)
                     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
                     at javax.naming.InitialContext.lookup(Unknown Source)
                     at org.mc4j.ems.impl.jmx.connection.support.providers.JBossConnectionProvider.doConnect(JBossConnectionProvider.java:70)
                     at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:99)
                     ... 12 more
                    Caused by: javax.naming.CommunicationException: Failed to connect to server 10.96.1.128:2099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]]
                     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
                     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1387)
                     ... 17 more
                    Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]
                     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
                     ... 18 more
                    Caused by: java.net.ConnectException: Connection refused: connect
                     at java.net.PlainSocketImpl.socketConnect(Native Method)
                     at java.net.PlainSocketImpl.doConnect(Unknown Source)
                     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
                     at java.net.PlainSocketImpl.connect(Unknown Source)
                     at java.net.SocksSocketImpl.connect(Unknown Source)
                     at java.net.Socket.connect(Unknown Source)
                     at java.net.Socket.connect(Unknown Source)
                     at java.net.Socket.<init>(Unknown Source)
                     at java.net.Socket.<init>(Unknown Source)
                     at org.jnp.interfaces.TimedSocketFactory$ConnectThread.run(TimedSocketFactory.java:163)
                    2009-02-18 10:48:37,336 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at platform...
                    2009-02-18 10:48:38,351 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:38,351 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:38,351 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:38,351 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:38,351 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:38,367 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:38,367 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:48:38,367 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:48:38,992 INFO [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Collection of measurements for [org.rhq.plugins.platform.WindowsPlatformComponent@688d6f] took [3516ms]
                    2009-02-18 10:48:39,273 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:48:40,304 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:40,304 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:40,304 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:40,304 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:40,304 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:40,320 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:40,320 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:48:40,320 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:48:44,101 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Detected new Server [Resource[id=0, type=Embedded Tomcat Server, key=jboss-web.deployer, name=01HW191064 Embedded JBossWeb Server 2.0.1.GA (10.96.1.128), version=2.0.1.GA]] - adding to local inventory...
                    2009-02-18 10:48:44,164 INFO [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.JBossASDiscoveryComponent)- Discovering JBossAS 3.2.x and 4.x servers...
                    2009-02-18 10:48:44,320 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Detected new Server [Resource[id=0, type=RHQ Agent JVM, key=InternalVM, name=RHQ Agent JVM, version=1.5.0_15]] - adding to local inventory...
                    2009-02-18 10:48:45,320 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:45,320 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:45,320 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:45,320 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:45,320 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:45,336 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:45,336 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:48:45,336 INFO [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:48:46,273 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned 2 servers and found 22 total descendant Resources.
                    2009-02-18 10:48:46,273 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending runtime inventory report to Server...
                    2009-02-18 10:48:46,445 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...
                    2009-02-18 10:48:46,929 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jmx.JMXServerComponent)- Starting connection to JMX Server InternalVM
                    2009-02-18 10:48:46,929 INFO [ResourceContainer.invoker.daemon-1] (ems.impl.jmx.connection.DConnection)- Querying MBeanServer for all MBeans
                    2009-02-18 10:48:46,929 INFO [ResourceContainer.invoker.daemon-1] (ems.impl.jmx.connection.DConnection)- Found 27 MBeans, starting load
                    2009-02-18 10:48:47,070 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at platform...
                    2009-02-18 10:48:48,132 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:48,132 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:48,132 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:48,132 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:48,132 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:48,148 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:48,148 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:48:48,148 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:48:49,117 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:48:50,164 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:50,164 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:50,164 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:50,164 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:50,164 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:50,179 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:50,179 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 15 ms
                    2009-02-18 10:48:50,179 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:48:54,711 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:54,711 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:54,711 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:54,711 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:54,711 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:54,726 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:54,726 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 15 ms
                    2009-02-18 10:48:54,726 INFO [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:48:55,679 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned 3 servers and found 10 total descendant Resources.
                    2009-02-18 10:48:55,679 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending runtime inventory report to Server...
                    2009-02-18 10:48:55,773 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...
                    2009-02-18 10:48:56,007 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at platform...
                    2009-02-18 10:48:57,039 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:57,039 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:57,039 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:57,039 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:57,039 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:57,054 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:57,054 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 15 ms
                    2009-02-18 10:48:57,054 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:48:57,976 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:48:59,023 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:59,023 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:59,023 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:59,023 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:59,023 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:59,039 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:48:59,039 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:48:59,039 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:49:03,664 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:03,664 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:03,664 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:03,664 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:03,664 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:03,679 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:03,679 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 15 ms
                    2009-02-18 10:49:03,679 INFO [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:49:04,867 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned 1 servers and found 7 total descendant Resources.
                    2009-02-18 10:49:04,867 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending runtime inventory report to Server...
                    2009-02-18 10:49:04,929 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...
                    2009-02-18 10:49:05,070 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at platform...
                    2009-02-18 10:49:05,476 INFO [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection for [62] metrics took 4594ms - sending report to Server...
                    2009-02-18 10:49:06,085 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:06,085 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:06,085 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:06,085 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:06,085 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:06,101 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:06,101 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:49:06,101 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:49:07,179 WARN [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Could not establish connection to the JBoss AS instance [11] times for resource [C:\JBoss\jopr-server-2.1.0.GA\jbossas\server\default]
                    org.mc4j.ems.connection.EmsConnectException: Could not connect [jnp://10.96.1.128:2099] javax.naming.CommunicationException: Could not obtain connection to any of these urls: 10.96.1.128:2099 [Root exception is javax.naming.CommunicationException: Failed to connect to server 10.96.1.128:2099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
                     at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:103)
                     at org.rhq.plugins.jbossas.JBossASServerComponent.loadConnection(JBossASServerComponent.java:1126)
                     at org.rhq.plugins.jbossas.JBossASServerComponent.getAvailability(JBossASServerComponent.java:282)
                     at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                     at java.lang.reflect.Method.invoke(Unknown Source)
                     at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:450)
                     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
                     at java.util.concurrent.FutureTask.run(Unknown Source)
                     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
                     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                     at java.lang.Thread.run(Unknown Source)
                    Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: 10.96.1.128:2099 [Root exception is javax.naming.CommunicationException: Failed to connect to server 10.96.1.128:2099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
                     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1416)
                     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:596)
                     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
                     at javax.naming.InitialContext.lookup(Unknown Source)
                     at org.mc4j.ems.impl.jmx.connection.support.providers.JBossConnectionProvider.doConnect(JBossConnectionProvider.java:70)
                     at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:99)
                     ... 11 more
                    Caused by: javax.naming.CommunicationException: Failed to connect to server 10.96.1.128:2099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]]
                     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
                     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1387)
                     ... 16 more
                    Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]
                     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
                     ... 17 more
                    Caused by: java.net.ConnectException: Connection refused: connect
                     at java.net.PlainSocketImpl.socketConnect(Native Method)
                     at java.net.PlainSocketImpl.doConnect(Unknown Source)
                     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
                     at java.net.PlainSocketImpl.connect(Unknown Source)
                     at java.net.SocksSocketImpl.connect(Unknown Source)
                     at java.net.Socket.connect(Unknown Source)
                     at java.net.Socket.connect(Unknown Source)
                     at java.net.Socket.<init>(Unknown Source)
                     at java.net.Socket.<init>(Unknown Source)
                     at org.jnp.interfaces.TimedSocketFactory$ConnectThread.run(TimedSocketFactory.java:163)
                    2009-02-18 10:49:07,179 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:49:08,226 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:08,226 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:08,226 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:08,226 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:08,226 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:08,242 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:08,242 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:49:08,242 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:49:11,507 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:11,507 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:11,507 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:11,507 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:11,507 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:11,523 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:11,523 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:49:11,523 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:49:12,523 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:49:12,726 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:12,726 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:12,726 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:12,726 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:12,726 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:12,742 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:12,742 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:49:12,742 INFO [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:49:13,835 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned 0 servers and found 0 total descendant Resources.
                    2009-02-18 10:49:13,835 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending runtime inventory report to Server...
                    2009-02-18 10:49:13,851 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...
                    2009-02-18 10:49:13,851 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at platform...
                    2009-02-18 10:49:14,882 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:14,882 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:14,882 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:14,882 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:14,882 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:14,898 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:14,898 INFO [ResourceContainer.invoker.daemon-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:49:14,898 INFO [ResourceContainer.invoker.daemon-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:49:19,507 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:19,507 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:19,507 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:19,507 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:19,507 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:19,523 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:49:19,523 INFO [InventoryManager.discovery-1] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:49:19,523 INFO [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:49:20,601 INFO [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Collection of measurements for [org.rhq.plugins.platform.WindowsPlatformComponent@688d6f] took [3500ms]
                    2009-02-18 10:49:20,616 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned 0 servers and found 0 total descendant Resources.
                    2009-02-18 10:49:20,632 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending runtime inventory report to Server...
                    2009-02-18 10:49:20,663 INFO [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...
                    2009-02-18 10:49:35,491 INFO [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection for [65] metrics took 3781ms - sending report to Server...
                    2009-02-18 10:49:35,522 INFO [Content.discovery-1] (rhq.core.pc.content.ContentManager)- Discovered 72 new packages for Resource with id [503097].
                    2009-02-18 10:50:11,194 INFO [Content.discovery-1] (rhq.core.pc.content.ContentManager)- Discovered 69 new packages for Resource with id [503098].
                    2009-02-18 10:50:13,585 INFO [ResourceContainer.invoker.daemon-3] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:50:13,585 INFO [ResourceContainer.invoker.daemon-3] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:50:13,585 INFO [ResourceContainer.invoker.daemon-3] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:50:13,585 INFO [ResourceContainer.invoker.daemon-3] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:50:13,585 INFO [ResourceContainer.invoker.daemon-3] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:50:13,600 INFO [ResourceContainer.invoker.daemon-3] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:50:13,600 INFO [ResourceContainer.invoker.daemon-3] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 15 ms
                    2009-02-18 10:50:13,600 INFO [ResourceContainer.invoker.daemon-3] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:50:14,538 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:50:20,350 INFO [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Collection of measurements for [org.rhq.plugins.platform.WindowsPlatformComponent@688d6f] took [3516ms]
                    2009-02-18 10:50:35,506 INFO [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection for [8] metrics took 3516ms - sending report to Server...
                    2009-02-18 10:51:15,584 INFO [ResourceContainer.invoker.daemon-4] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:51:15,584 INFO [ResourceContainer.invoker.daemon-4] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:51:15,584 INFO [ResourceContainer.invoker.daemon-4] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:51:15,584 INFO [ResourceContainer.invoker.daemon-4] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:51:15,584 INFO [ResourceContainer.invoker.daemon-4] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:51:15,599 INFO [ResourceContainer.invoker.daemon-4] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:51:15,599 INFO [ResourceContainer.invoker.daemon-4] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 15 ms
                    2009-02-18 10:51:15,599 INFO [ResourceContainer.invoker.daemon-4] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:51:17,787 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:51:20,334 INFO [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Collection of measurements for [org.rhq.plugins.platform.WindowsPlatformComponent@688d6f] took [3500ms]
                    2009-02-18 10:51:35,505 INFO [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection for [5] metrics took 3500ms - sending report to Server...
                    2009-02-18 10:52:18,849 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:52:18,849 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:52:18,849 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:52:18,849 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:52:18,849 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:52:18,865 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:52:18,865 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:52:18,865 INFO [ResourceContainer.invoker.daemon-5] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:52:20,333 INFO [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Collection of measurements for [org.rhq.plugins.platform.WindowsPlatformComponent@688d6f] took [3500ms]
                    2009-02-18 10:52:20,849 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:52:35,505 INFO [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection for [8] metrics took 3500ms - sending report to Server...
                    2009-02-18 10:52:35,505 INFO [Content.discovery-1] (rhq.core.pc.content.ContentManager)- Discovered 1 new packages for Resource with id [503566].
                    2009-02-18 10:53:20,333 INFO [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Collection of measurements for [org.rhq.plugins.platform.WindowsPlatformComponent@688d6f] took [3500ms]
                    2009-02-18 10:53:21,896 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:53:21,896 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:53:21,896 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:53:21,896 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:53:21,896 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:53:21,911 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:53:21,911 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 15 ms
                    2009-02-18 10:53:21,911 INFO [ResourceContainer.invoker.daemon-5] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:53:23,927 INFO [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...
                    2009-02-18 10:53:35,505 INFO [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Measurement collection for [15] metrics took 3500ms - sending report to Server...
                    2009-02-18 10:54:20,333 INFO [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Collection of measurements for [org.rhq.plugins.platform.WindowsPlatformComponent@688d6f] took [3500ms]
                    2009-02-18 10:54:24,974 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jboss-common.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:54:24,974 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xercesImpl.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:54:24,974 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:54:24,974 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/dom4j.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:54:24,974 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [client/jmx-rmi-connector-client.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:54:24,990 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Connection library dependancy [lib/endorsed/xml-apis.jar] not found in directory: C:\JBoss\jopr-server-2.1.0.GA\jbossas
                    2009-02-18 10:54:24,990 INFO [ResourceContainer.invoker.daemon-5] (org.mc4j.ems.connection.ConnectionFactory)- Discovered libraries in 16 ms
                    2009-02-18 10:54:24,990 INFO [ResourceContainer.invoker.daemon-5] (org.rhq.plugins.jbossas.JBossASServerComponent)- Loading JBoss connection [jnp://10.96.1.128:2099] with install path [C:\JBoss\jopr-server-2.1.0.GA\jbossas]...
                    2009-02-18 10:54:26,990 WARN [ResourceContainer.invoker.daemon-5] (org.rhq.plugins.jbossas.JBossASServerComponent)- Could not establish connection to the JBoss AS instance [21] times for resource [C:\JBoss\jopr-server-2.1.0.GA\jbossas\server\default]
                    org.mc4j.ems.connection.EmsConnectException: Could not connect [jnp://10.96.1.128:2099] javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
                     java.net.ConnectException: Connection refused: connect]
                     at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:103)
                     at org.rhq.plugins.jbossas.JBossASServerComponent.loadConnection(JBossASServerComponent.java:1126)
                     at org.rhq.plugins.jbossas.JBossASServerComponent.getAvailability(JBossASServerComponent.java:282)
                     at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                     at java.lang.reflect.Method.invoke(Unknown Source)
                     at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:450)
                     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
                     at java.util.concurrent.FutureTask.run(Unknown Source)
                     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
                     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                     at java.lang.Thread.run(Unknown Source)
                    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
                     java.net.ConnectException: Connection refused: connect]
                     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
                     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
                     at javax.naming.InitialContext.lookup(Unknown Source)
                     at org.mc4j.ems.impl.jmx.connection.support.providers.JBossConnectionProvider.doConnect(JBossConnectionProvider.java:70)
                     at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:99)
                     ... 11 more
                    Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
                     java.net.ConnectException: Connection refused: connect
                     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
                     at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
                     at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
                     at sun.rmi.server.UnicastRef.invoke(Unknown Source)
                     at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
                     ... 15 more
                    Caused by: java.net.ConnectException: Connection refused: connect
                     at java.net.PlainSocketImpl.socketConnect(Native Method)
                     at java.net.PlainSocketImpl.doConnect(Unknown Source)
                     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
                     at java.net.PlainSocketImpl.connect(Unknown Source)
                     at java.net.SocksSocketImpl.connect(Unknown Source)


                    • 7. Re: agent communication problem
                      mazz Master

                      FYI: doesn't look like there is any DEBUG level messages. To turn on DEBUG messaging in the agent, you do one of two things:

                      a) set "RHQ_AGENT_DEBUG=true" environment variable in either your shell or rhq-agent-env.(bat/sh) then start the agent

                      or

                      b) use the agent prompt command "debug -f log4j-debug.xml" - run "help debug" for full help description

                      That said, I see this:

                      org.mc4j.ems.connection.EmsConnectException: Could not connect [jnp://10.96.1.128:2099] javax.naming.CommunicationException: Could not obtain connection to any of these urls: 10.96.1.128:2099 [Root exception is javax.naming.CommunicationException: Failed to connect to server 10.96.1.128:2099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.96.1.128:2099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
                      


                      This is simply a normal socket connection error. For some reason, this agent (which I assume is also running on 10.96.1.128) cannot connect to the socket on port 2099 on that same IP of 10.96.1.128.

                      One of two things is probably happening:

                      1) either that Jopr server running on 10.96.1.128 port 2099 isn't running anymore

                      or

                      2) for some reason your network/firewall setup is not allowing your agent to talk to port 2099 on that 10.96.1.128 IP. Is your Windows Firewall enabled and is it allowing for this?

                      To test, just use twiddle. Open a command window on the 10.96.1.128 machine, and run this:

                      cd C:\JBoss\jopr-server-2.1.0.GA\jbossas\bin
                      twiddle.bat -s jnp://10.96.1.128:2099 query "*.*"


                      This should be able to connect to that remote JNP port of the Jopr server and dump to the console all the MBeans registered in the Jopr server. I suspect what will happen when you run this is you will also get a connection error. Let me know what happens when you try the above.

                      • 8. Re: agent communication problem
                        sadat khan Newbie

                        the windows firewall on the m/c is disabled... and yes as you suspected the output of that command is a connection exception...

                        
                        10:52:20,099 ERROR [Twiddle] Exec failed
                        org.jboss.util.NestedRuntimeException: - nested throwable: (javax.naming.CommunicationException [Root exception is java.
                        rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
                         java.net.ConnectException: Connection refused: connect])
                         at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:144)
                         at org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCommand.java:59)
                         at org.jboss.console.twiddle.command.MBeanServerCommand.queryMBeans(MBeanServerCommand.java:66)
                         at org.jboss.console.twiddle.command.QueryCommand.execute(QueryCommand.java:138)
                         at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:306)
                        Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host:
                         127.0.0.1; nested exception is:
                         java.net.ConnectException: Connection refused: connect]
                         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:780)
                         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
                         at javax.naming.InitialContext.lookup(InitialContext.java:351)
                         at org.jboss.console.twiddle.Twiddle.createMBeanServerConnection(Twiddle.java:251)
                         at org.jboss.console.twiddle.Twiddle.connect(Twiddle.java:269)
                         at org.jboss.console.twiddle.Twiddle.access$300(Twiddle.java:63)
                         at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:140)
                         ... 4 more
                        Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
                         java.net.ConnectException: Connection refused: connect
                         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
                         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
                         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
                         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
                         at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
                         ... 10 more
                        Caused by: java.net.ConnectException: Connection refused: connect
                         at java.net.PlainSocketImpl.socketConnect(Native Method)
                         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
                         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
                         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
                         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
                         at java.net.Socket.connect(Socket.java:520)
                         at java.net.Socket.connect(Socket.java:470)
                         at java.net.Socket.<init>(Socket.java:367)
                         at java.net.Socket.<init>(Socket.java:180)
                         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
                         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
                         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
                         ... 15 more
                        


                        but the surprising part is why is 127.0.0.1 being looked up instead of the m/c ip...

                        • 9. Re: agent communication problem
                          mazz Master

                           

                          but the surprising part is why is 127.0.0.1 being looked up instead of the m/c ip...


                          That is exactly what my question was earlier :)

                          There must be something in your network or DNS setup that is causing the problem. Somehow it looks like your box is performing a reverse IP lookup for 10.96.1.128 that results in 127.0.0.1.

                          I don't have a good answer. But as you can see, even the JBoss app server twiddle utility sees the connection problem, so this isn't a Jopr-specific issue you are hitting. It looks like its a more general networking problem. I've never seen an IP get redirected to 127.0.0.1 like that before. I also have never seen a connection refused error when attempting to connect to the loopback device "127.0.0.1" when I know the port on that loopback device is being listened to, unless something odd is configured on your box (do you have any VPN software running? Do you have any weird network adapters or any problems with your network adapters? Firewall issues. DNS issues. Are you running inside a VM (VMWare for example). etc. etc.)

                          • 10. Re: agent communication problem
                            sadat khan Newbie

                            you are right... had it not been a network trouble, twiddle would have reported correctly... and yes the loopback address not being able to connect from the m/c itself... that is very very strange...
                            i dont have any vpn s/w running , neither is any firewall running nor am i running inside a vm... let me investigate some more and revert... meanwhile thanks again John for your inputs...

                            • 11. Re: agent communication problem
                              Peter Johnson Master

                              Check the system32/drivers/etc/hosts file, could be that your hostname is mapped to 127.0.0.1. Thus you have 10.96.1.128 => hostname => 127.0.0.1. This has bitten me a few times in various situations.

                              • 12. Re: agent communication problem
                                sadat khan Newbie

                                i think the default mapping for localhost is 127.0.0.1... you mean to suggest that i should change that to point to 10.96.1.1.28 ?

                                • 13. Re: agent communication problem
                                  mazz Master

                                  He is saying that your DNS hostname might be mapped to 127.0.0.1 on your box.

                                  For example, if your IP is 10.96.1.128 and performing a reverse DNS lookup on that IP address results in "myhostname", its possible that "myhostname" in your local etc/hosts file maps to 127.0.0.1.

                                  • 14. Re: agent communication problem
                                    sadat khan Newbie

                                    bingo !!!... changing the mapping of hostname to 10.96.1.128 did the trick... thanks Peter for pointing that out and John for your inputs...