Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-683

camel-example-jmx - Does not work in Fuse ESB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.10.0.redhat-60024
    • 2.10.0-fuse-71-047
    • None
    • None

    Description

      Get this lovely exception in Fuse ESB 047

      Caused by: javax.xml.bind.JAXBException: "org.apache.camel.component.jmx.jaxb" doesnt contain ObjectFactory.class or jaxb.index
      	at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:186)[:1.6.0_37]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_37]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_37]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_37]
      	at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_37]
      	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:143)
      	at javax.xml.bind.ContextFinder.find(ContextFinder.java:310)
      	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
      	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
      	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
      	at org.apache.camel.component.jmx.NotificationXmlFormatter.getMarshaller(NotificationXmlFormatter.java:158)
      	at org.apache.camel.component.jmx.NotificationXmlFormatter.format(NotificationXmlFormatter.java:130)
      	... 48 more
      

      When installing

      osgi:install mvn:org.apache.camel/camel-example-jmx/2.10.0.fuse-71-047
      

      And starting it.

      The ObjectFactory.class is in that package. Its OSGi classloader that play tricks on us

      Attachments

        Activity

          People

            cibsen@redhat.com Claus Ibsen
            cibsen@redhat.com Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: