Hi,

We cannot use anymore the following osgi bundle
[org.apache.servicemix.transaction] without change it for Apache Felix Karaf
because it refers
to place holder servicemix.base

here is the content of the existing xml file :

- <#1213f55637655801_> <osgix:cm-properties id="*txProps*" persistent-id="*
org.apache.servicemix.transaction*">
   <prop key="*defaultTransactionTimeoutSeconds*">600</prop>
   <prop key="*transactionLogDir*">${servicemix.base}/data/txlog/</prop>
  </osgix:cm-properties>

and the error reported

15:17:31,968 | ERROR | xtenderThread-29 | WaiterApplicationContextExecutor |
WaiterApplicationContextExecutor  432 | Unable to create application context
for [org.apache.servicemix.transaction], unsatisfied dependencies: none
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean
definition with name 'transactionLog' defined in URL
[bundle://58.0:0/META-INF/spring/servicemix-tx.xml]: Could not resolve
placeholder 'servicemix.base'
    at
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:268)
    at
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)
    at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:479)
    at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:450)
    at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:395)
    at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:281)
    at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
    at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247)
    at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:222)
    at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175)
    at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
    at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716)
    at java.lang.Thread.run(Thread.java:619)
1

What is planned to do : ${servicemix.base}/data/txlog -->
${karaf.base}/data/txlog, .... ?

I suspect that others Servicemix bundles will be impacted.

What will be the strategy followed by Servicemix4 (to be integrated with
Apache Karaf or using its own version of ServiceMix kernel, ...) ?

Regards

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com

Reply via email to