Claus Ibsen created CAMEL-5975:
----------------------------------

             Summary: camel-jms - Does not work in OSGi if XML output
                 Key: CAMEL-5975
                 URL: https://issues.apache.org/jira/browse/CAMEL-5975
             Project: Camel
          Issue Type: Bug
          Components: camel-jmx, osgi
    Affects Versions: 2.10.0, 2.9.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.9.6, 2.10.4, 2.11.0


For example installing camel-example-jmx in Apache Karaf you get this exception

{code}
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
{code}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to