0 Replies Latest reply: Dec 20, 2011 3:10 PM by Leroy Baynum RSS

    JON discovery of AS7

    Leroy Baynum Newbie

      Trying to demo the JON system for my company and have ran into a snag. When I try to discover AS7 server I get an error

       

      jboss-as-7.JBossAS7-Standalone: Starting discovery...

       

      jboss-as-7.JBossAS7-Standalone: Process scan detected a server - scan=[ProcessSc
      an: query=[process|basename|match=^java.*,arg|org.jboss.as.standalone|match=.*],
      name=[StandaloneAS]], process=[process: pid=[2256], name=[C:\Program Files\Java
      \jdk1.6.0_17\bin\java.exe], ppid=[1536]]

       

      java.lang.Exception:Discovery component invocation failed. -> java.lang.StringIn
      dexOutOfBoundsException:String index out of range: -1
      jboss-as-7.JBossAS7-Standalone: Done.

       

       

      2011-12-20 15:02:18,712 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [JBossAS7-Standalone] Resources - failed after 16 ms.

      java.lang.Exception: Discovery component invocation failed.

      at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

      at java.util.concurrent.FutureTask.run(FutureTask.java:138)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

      at java.lang.Thread.run(Thread.java:619)

      Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1

      at java.lang.String.substring(String.java:1937)

      at org.rhq.modules.plugins.jbossas7.BaseProcessDiscovery.discoverResources(BaseProcessDiscovery.java:162)

      at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

      ... 5 more

       

       

       

      JBoss Operations Network

      Version: 3.0.0.GA

      Build Number: e23441b:1ca6ad9 

      GWT Version: 2.0.4
      SmartGWT Version: 2.4

       

      Agent

      Build-Date: Fri Dec 09 18:41:37 EST 2011

      Build-Jdk: 1.6.0_22

      Build-Jdk-Vendor: Sun Microsystems Inc.

      Build-Number: 9f35d78

      Build-OS-Name: Linux

      Build-OS-Version: 2.6.18-274.7.1.el5

      Module-Name: RHQ Enterprise Agent

      Module-Version: 4.2.0.JON300.GA

      Product-Name: RHQ

      Product-Version: 4.2.0.JON300.GA

       

      AS7

      JBoss AS 7.0.2 Final   Clean out of the box empty install. Just changed the port to 80 and the bind address to 0.0.0.0

       

      Java

      JDK 1.6.0_17

       

      Server

      Windows 2003 Standard SP2

       

       

      Any hints ore ideas would be great!! 

       

      Also is there a plugin for EAP most of my servers are EAP and I cant find the plugin for EAP.

       

       

       

      Thanks,

      Leroy

       

      Message was edited by: Leroy Baynum