I have HQ running and monitoring the solaris 10 os just fine. I have several weblogic 10.3 servers running that i'd like to monitor as well but auto discovery is not working. I'm a total newbie to HQ and am a little confused as I feel I've exhausted online resources. Below are three different areas of concern.
1)
I'm following a guide on http://support.hyperic.com/display/hypcomm/Configure+HQ+Agent+to+Monitor+WebLogic+Server#ConfigureHQAgenttoMonitorWebLogicServer-SolveAdministrationServerAutoDiscoveryProblems . I run java -jar pdk/lib/sigar.jar pargs State.Name.eq=java,Args.-1.eq=weblogic.Server
and the results look correct with 6 PIDs displaying.
Next, I run java -jar pdk/lib/hq-product.jar -Dplugins.include=weblogic -Dadmin.username=xxx -Dadmin.password=xxx -m discover
and recieve
Exception in thread "Thread-0" java.lang.StackOverflowError
at java.io.UnixFileSystem.list(Native Method)
at java.io.File.list(File.java:937)
at java.io.File.listFiles(File.java:1093)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.find(WeblogicFinder.java:265)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.search(WeblogicFinder.java:288)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.search(WeblogicFinder.java:290)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.search(WeblogicFinder.java:290)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.search(WeblogicFinder.java:290)0 servers detected
.
2)
Additionally, In the agent.log I get the following error on startup
2010-06-16 10:00:30,169 WARN [Thread-1] [WeblogicDetector] Failed to read /apps/opt/weblogic/osb/user_projects/domains
/iw_por_osb/servers/AdminServer/tmp/_WL_user/ServiceBus_Console/71mbvr/beaext/config/config.xml: /apps/opt/weblogic/osb
/user_projects/domains/iw_por_osb/servers/AdminServer/tmp/_WL_user/ServiceBus_Console/71mbvr/beaext/config/config.xml (
No such file or directory)
3)
Lastly, in the agent log when i try and connect manually I get the following:
2010-06-16 16:46:13,798 ERROR [Thread-0] [MeasurementCommandsService] Error getting real time measurement: Error contac
ting resource: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
For reference in the conf/agent.properties
weblogic.installpath=/apps/opt/weblogic/bea/wlserver_10.3
and this is agent version 4.3.0-1443
Regards,
-Travis
1)
I'm following a guide on http://support.hyperic.com/display/hypcomm/Configure+HQ+Agent+to+Monitor+WebLogic+Server#ConfigureHQAgenttoMonitorWebLogicServer-SolveAdministrationServerAutoDiscoveryProblems . I run java -jar pdk/lib/sigar.jar pargs State.Name.eq=java,Args.-1.eq=weblogic.Server
and the results look correct with 6 PIDs displaying.
Next, I run java -jar pdk/lib/hq-product.jar -Dplugins.include=weblogic -Dadmin.username=xxx -Dadmin.password=xxx -m discover
and recieve
Exception in thread "Thread-0" java.lang.StackOverflowError
at java.io.UnixFileSystem.list(Native Method)
at java.io.File.list(File.java:937)
at java.io.File.listFiles(File.java:1093)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.find(WeblogicFinder.java:265)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.search(WeblogicFinder.java:288)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.search(WeblogicFinder.java:290)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.search(WeblogicFinder.java:290)
at org.hyperic.hq.plugin.weblogic.WeblogicFinder.search(WeblogicFinder.java:290)0 servers detected
.
2)
Additionally, In the agent.log I get the following error on startup
2010-06-16 10:00:30,169 WARN [Thread-1] [WeblogicDetector] Failed to read /apps/opt/weblogic/osb/user_projects/domains
/iw_por_osb/servers/AdminServer/tmp/_WL_user/ServiceBus_Console/71mbvr/beaext/config/config.xml: /apps/opt/weblogic/osb
/user_projects/domains/iw_por_osb/servers/AdminServer/tmp/_WL_user/ServiceBus_Console/71mbvr/beaext/config/config.xml (
No such file or directory)
3)
Lastly, in the agent log when i try and connect manually I get the following:
2010-06-16 16:46:13,798 ERROR [Thread-0] [MeasurementCommandsService] Error getting real time measurement: Error contac
ting resource: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
For reference in the conf/agent.properties
weblogic.installpath=/apps/opt/weblogic/bea/wlserver_10.3
and this is agent version 4.3.0-1443
Regards,
-Travis