Description
camel-web in ActiveMQ throws an error due CAMEL-2366 causing camel-web to pre configured for OSGi.
Oct 29, 2010 12:33:07 AM com.sun.jersey.core.spi.component.ProviderFactory __getComponentProvider SEVERE: The provider class, class org.apache.camel.web.util.JAXBContextResolverOSGI, could not be instantiated. Processing will continue but the class will not be utilized java.lang.RuntimeException: NATURAL JSON notation configured, but JAXB RI 2.1.10 not found. For the recent builds to get this working correctly, you need even at least JAXB version 2.1.12. Please add it to your classpath! at com.sun.jersey.api.json.JSONConfiguration.natural(JSONConfiguration.java:378) at org.apache.camel.web.util.JAXBContextResolverOSGI.<init>(JAXBContextResolverOSGI.java:39) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at java.lang.Class.newInstance0(Class.java:372)
Attachments
Issue Links
- depends upon
-
CAMEL-3519 camel-web-console feature for Apache Karaf
- Resolved
-
CAMEL-3304 camel-web-console feature for Apache Karaf
- Closed
- is broken by
-
CAMEL-2366 Add a profile in camel-web project to generate WAR file for OSGI plateform (SMX4, Karaf)
- Closed