[jboss-jira] [JBoss JIRA] Commented: (JBAS-7426) Use the correct CL to load notifications.xml

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Nov 3 15:24:05 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12492907#action_12492907 ] 

Andrew Lee Rubinger commented on JBAS-7426:
-------------------------------------------

Also do for attributes.xml in RequestHandlerImpl:

2009-11-03 15:13:40,130 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
        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.RequestHandlerImpl.initializeBindings(RequestHandlerImpl.java:378)

> 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