[jboss-jira] [JBoss JIRA] Created: (JBAS-7426) Use the correct CL to load notifications.xml
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Tue Nov 3 15:05:05 EST 2009
Use the correct CL to load notifications.xml
---------------------------------------------
Key: JBAS-7426
URL: https://jira.jboss.org/jira/browse/JBAS-7426
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
Embedded in a full runmode has the notifications.xml config packaged separately from (hence loaded by a different CL than) TrapFactorySupport.class. Resultant error is:
2009-11-03 11:34:23,438 ERROR [org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport] (Thread-1) Accessing resource '/notifications.xml'
2009-11-03 11:34:23,439 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (Thread-1) Error installing to Start: name=jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor state=Create mode=Manual requiredState=Installed
org.jboss.xb.binding.JBossXBException: Failed to parse source: null
Also, make a better error message when not found (don't allow to propagate down into JBossXB, throw right in place)
--
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