Details

    • Type: Task Task
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.M1
    • Component/s: SNMP adapter
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      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)

        Issue Links

          Activity

          Hide
          Andrew Rubinger
          added a comment -

          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)

          Show
          Andrew Rubinger
          added a comment - 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)
          Hide
          Brian Stansberry
          added a comment -

          Removing extra Fix Version implied by earlier one.

          Show
          Brian Stansberry
          added a comment - Removing extra Fix Version implied by earlier one.

            People

            • Assignee:
              Andrew Rubinger
              Reporter:
              Andrew Rubinger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: