[
https://issues.apache.org/activemq/browse/CAMEL-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62986#action_62986
]
Claus Ibsen commented on CAMEL-2366:
------------------------------------
For example
{code}
ka...@root> osgi:install
war:mvn:org.apache.camel/camel-web/2.5.0/war?Webapp-Context=camel-web
Bundle ID: 180
{code}
But unfortunately OSGi plays another tricks on us
{code}
2010-11-03 10:19:17,288 [ Console Thread] ERROR ContextLoader
- Context initialization failed
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(XmlBeanDefinitionReader.java:412)[spring-beans-3.0.4.RELEASE.jar:3.0.4.RELEASE]
...
{code}
> Add a profile in camel-web project to generate WAR file for OSGI plateform
> (SMX4, Karaf)
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-2366
> URL: https://issues.apache.org/activemq/browse/CAMEL-2366
> 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.