grehon / wlsagent

Automatically exported from code.google.com/p/wlsagent
GNU General Public License v3.0
0 stars 0 forks source link

All check (except state) are KO #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With New release (r185) I get stack trace exception for each component, except 
the main test (with no argument, eg. state)

Error Log :
2013-07-01 13:04:48.817:WARN:oejs.ServletHandler:/wlsagent/WlsAgent
java.lang.ArrayIndexOutOfBoundsException: 1
        at net.wait4it.nagios.wlsagent.tests.JVMTest.run(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSStatsManager.process(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSServlet.doGet(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

2013-07-01 13:04:48.816:WARN:oejs.ServletHandler:/wlsagent/WlsAgent
java.lang.ArrayIndexOutOfBoundsException: 1
        at net.wait4it.nagios.wlsagent.tests.JDBCTest.run(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSStatsManager.process(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSServlet.doGet(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

2013-07-01 13:04:46.469:WARN:oejs.ServletHandler:/wlsagent/WlsAgent
java.lang.ArrayIndexOutOfBoundsException: 1
        at net.wait4it.nagios.wlsagent.tests.ComponentTest.run(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSStatsManager.process(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSServlet.doGet(Unknown Source)

2013-07-01 13:06:53.099:WARN:oejs.ServletHandler:/wlsagent/WlsAgent
java.lang.ArrayIndexOutOfBoundsException: 1
        at net.wait4it.nagios.wlsagent.tests.ThreadPoolTest.run(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSStatsManager.process(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSServlet.doGet(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

2013-07-01 13:06:49.963:WARN:oejs.ServletHandler:/wlsagent/WlsAgent
java.lang.ArrayIndexOutOfBoundsException: 1
        at net.wait4it.nagios.wlsagent.tests.JTATest.run(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSStatsManager.process(Unknown Source)
        at net.wait4it.nagios.wlsagent.core.WLSServlet.doGet(Unknown Source)

...

The output is null and return code is 1.

RedHat : 5.5
Java : 1.6.0-35
I have re-generated the wlfullclient.jar

It was Ok with the previous release.

Original issue reported on code.google.com by xavier.b...@adeoservices.com on 1 Jul 2013 at 9:09

GoogleCodeExporter commented 9 years ago
You have to replace each semicolon by a comma in the command line invocation, 
i.e. jvm=UsedMemory,95,99& ...

Original comment by yann.lambret@gmail.com on 1 Jul 2013 at 9:36