Menu

#4310 [HHQ-3730] Malformed plugin xml causes agent to fail to star

Bug
open
None
5
2012-10-09
2010-08-13
No

http://jira.hyperic.com/browse/HHQ-3730
If a xml plugin has malformed syntax it will cause the agent to fail to start with the following in the logs:



2010-02-11 17:31:24,719 ERROR [Thread-1] [AgentDaemon] Agent startup error:


org.hyperic.hq.agent.server.AgentStartException: Unable to initialize plugin manager: Error on line 78 of document file:///opt/hq/agent/agent-4.2.0-EE/wrapper/sbin/: The element type "plugin" must be terminated by the matching end-tag "</plugin>".


        at org.hyperic.hq.agent.server.AgentDaemon.startPluginManagers(AgentDaemon.java:695)


        at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:828)


        at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)


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




The agent should ignore the plugin and continue to start



To reproduce I used a plugin.xml with just "</plugin>" in it.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.