[jboss-jira] [JBoss JIRA] Created: (JBAS-7414) Make missing managers.xml result in a clear error message/exception
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Fri Oct 30 13:15:06 EDT 2009
Make missing managers.xml result in a clear error message/exception
-------------------------------------------------------------------
Key: JBAS-7414
URL: https://jira.jboss.org/jira/browse/JBAS-7414
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: SNMP adapter
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: JBossAS-5.2.0.Beta1, JBossAS-6.0.0.Alpha1
If managers.xml cannot be found as a ClassLoader resource, the following is thrown:
org.jboss.xb.binding.JBossXBException: Failed to parse source: null
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:190)
at org.jboss.jmx.adaptor.snmp.agent.TrapEmitter.load(TrapEmitter.java:243)
at org.jboss.jmx.adaptor.snmp.agent.TrapEmitter.start(TrapEmitter.java:105)
First check that the resource can be found, and throw an appropriate Exception if not.
--
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 jboss-jira
mailing list