camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-2366) Add a profile in camel-web project to generate WAR file for OSGI plateform (SMX4, Karaf)
Date Wed, 03 Nov 2010 09:43:00 GMT


Claus Ibsen commented on CAMEL-2366:

For example
karaf@root> osgi:install war:mvn:org.apache.camel/camel-web/2.5.0/war?Webapp-Context=camel-web
Bundle ID: 180

But unfortunately OSGi plays another tricks on us
2010-11-03 10:19:17,288 [ Console Thread] ERROR ContextLoader                  - Context initialization
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing
XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception
is java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the
class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the
referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of <bootloader>)
for the field's resolved type, javax/xml/namespace/QName, have different Class objects for
that type
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions([spring-beans-3.0.4.RELEASE.jar:3.0.4.RELEASE]

> Add a profile in camel-web project to generate WAR file for OSGI plateform (SMX4, Karaf)
> ----------------------------------------------------------------------------------------
>                 Key: CAMEL-2366
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-web
>    Affects Versions: 2.2.0
>            Reporter: Charles Moulliard
>             Fix For: 2.2.0

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message