[jopr-issues] [JBoss JIRA] Created: (JOPR-88) TC5 not discovered due to NPE

Heiko W. Rupp (JIRA) jira-events at lists.jboss.org
Wed Mar 11 06:05:24 EDT 2009


TC5 not discovered due to NPE
-----------------------------

                 Key: JOPR-88
                 URL: https://jira.jboss.org/jira/browse/JOPR-88
             Project: Jopr
          Issue Type: Bug
          Components: Plugin - Tomcat
    Affects Versions: 2.2
            Reporter: Heiko W. Rupp
             Fix For: 2.2


TC5 of EWS is not discovered:

2009-03-11 10:59:36,622 INFO  [RHQ Agent Prompt Input Thread] (org.rhq.enterprise.agent.AgentMain)- {AgentM
ain.prompt-command-invoked}Prompt command invoked: [discovery, --full]
2009-03-11 10:59:36,622 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.AutoDiscoveryExecutor)-
 Executing server discovery scan...
2009-03-11 10:59:36,739 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.AutoDiscoveryExecutor)-
 Process scan auto-detected new server resource: scan=[ProcessScan: query=[process|basename|match=^java.*,a
rg|org.apache.catalina.startup.Bootstrap|match=.*], name=[Tomcat]], discovered-process=[process: pid=[2937]
, name=[/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/java], ppid=[1]]
2009-03-11 10:59:36,739 WARN  [InventoryManager.discovery-1] (jboss.on.plugins.tomcat.TomcatDiscoveryCompon
ent)- Version script file not found in expected location: null/bin/version.sh
2009-03-11 10:59:36,740 ERROR [InventoryManager.discovery-1] (jboss.on.plugins.tomcat.TomcatDiscoveryCompon
ent)- Error creating discovered resource for process: ProcessScanResult: scan=[ProcessScan: query=[process|
basename|match=^java.*,arg|org.apache.catalina.startup.Bootstrap|match=.*], name=[Tomcat]], info=[process: 
pid=[2937], name=[/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/java], ppid=[1]]
java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Matcher.java:1151)
        at java.util.regex.Matcher.reset(Matcher.java:308)
        at java.util.regex.Matcher.<init>(Matcher.java:228)
        at java.util.regex.Pattern.matcher(Pattern.java:905)
        at org.jboss.on.plugins.tomcat.TomcatDiscoveryComponent.isEWS(TomcatDiscoveryComponent.java:199)
        at org.jboss.on.plugins.tomcat.TomcatDiscoveryComponent.parseTomcatProcess(TomcatDiscoveryComponent
.java:158)
        at org.jboss.on.plugins.tomcat.TomcatDiscoveryComponent.discoverResources(TomcatDiscoveryComponent.
java:111)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jopr-issues mailing list