Hia,
I have recently installed Hyperic HQ v4.5 on solaris 10 platform and trying to use the weblogic plugin of it to monitor the Admin & Managed Servers in my environment.
The agent is able to auto discover the Admin Server and after manually setting the configuration properties under inventory tab of the Admin Server, the agent was able to detect the managed server as well!
My problem is that agent is continuously trying to read the config.xml from a directory (or unknown to me) and keep on writing a warning message in the agent.log file that the config.xml file is not present
Below is the log example:
2012-03-30 11:50:24,389 WARN [Thread-3] [WeblogicDetector] Failed to read /opt/osb/osb_env/domains/testDomain/servers/test_AS/tmp/_WL_user/ServiceBus_Console/yjk04g/beaext/config/config.xml: /opt/osb/osb_env/domains/testDomain/servers/test_AS/tmp/_WL_user/ServiceBus_Console/yjk04g/beaext/config/config.xml (No such file or directory)
2012-03-30 11:50:24,392 WARN [Thread-3] [WeblogicDetector] Failed to read /opt/osb/osb_env/domains/testDomain/servers/test_AS/tmp/_WL_user/ServiceBus_Console/yjk04g/beaext/config/config.xml: /opt/osb/osb_env/domains/testDomain/servers/test_AS/tmp/_WL_user/ServiceBus_Console/yjk04g/beaext/config/config.xml (No such file or directory)
2012-03-30 11:50:24,396 WARN [Thread-3] [WeblogicDetector] Failed to read /opt/osb/osb_env/domains/testDomain/servers/test_AS/tmp/_WL_user/ServiceBus_Console/yjk04g/beaext/config/config.xml: /opt/osb/osb_env/domains/testDomain/servers/test_AS/tmp/_WL_user/ServiceBus_Console/yjk04g/beaext/config/config.xml (No such file or directory)
2012-03-30 11:50:24,399 WARN [Thread-3] [WeblogicDetector] Failed to read /opt/osb/osb_env/domains/testDomain/servers/test_MS1/stage/sbconsole-l10n/2.5@2.5/sbconsole-l10n/config/config.xml: /opt/osb/osb_env/domains/testDomain/servers/test_MS1/stage/sbconsole-l10n/2.5@2.5/sbconsole-l10n/config/config.xml(No such file or directory)
2012-03-30 11:50:42,222 WARN [Thread-3] [WeblogicDetector] Failed to read /opt/osb/osb_env/domains/testDomain/servers/test_MS2/stage/sbconsole-l10n/2.5@2.5/sbconsole-l10n/config/config.xml: /opt/osb/osb_env/domains/testDomain/servers/test_MS2/stage/sbconsole-l10n/2.5@2.5/sbconsole-l10n/config/config.xml(No such file or directory)
I've been trying to understand why the agent is looking in those directories and where do I need to make changes (may be some classpaths?) in order to avoid the above warning message. Is there a way to dectate agent to look for config.xml from a specified place?
The only change that I have done to env. variable is to define the HQ_JAVA_HOME variable and pointing it to the jre library path.
The config.xml file is actually present under /opt/osb/osb_env/domains/testDomain/config/config.xml and I assume the agent could access it since it could auto detect the Admin Server.
Please advise how to proceed since the above warning messages are making the log file quite huge (making the agent to create multiple log files) and causing disk space problem.
Appreciate your help.
Cheers,
Satish