servicemix container start throws exception "java.lang.NoClassDefFoundError:
org.osgi.vendor.framework property not set"
------------------------------------------------------------------------------------------------------------------------
Key: SMX4-38
URL: https://issues.apache.org/activemq/browse/SMX4-38
Project: ServiceMix 4
Issue Type: Bug
Affects Versions: 4.0-m2
Reporter: Ulhas Bhole
I have built the SMX4 kit with some changes to workaround some dependency
issues related to wrong jar names in startup.properties and now I am getting
following exception.
ERROR: Error starting
file:/local1/work/install/apache-servicemix-4.0-m2-SNAPSHOT/system/spring-osgi-extender-1.1.0-m2.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.NoClassDefFoundError: org.osgi.vendor.framework property not set
at org.osgi.framework.FrameworkUtil$1.run(FrameworkUtil.java:62)
at java.security.AccessController.doPrivileged(Native Method)
at org.osgi.framework.FrameworkUtil.<clinit>(FrameworkUtil.java:56)
at
org.springframework.osgi.util.OsgiFilterUtils.createFilter(OsgiFilterUtils.java:233)
at
org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean.getUnifiedFilter(AbstractOsgiServiceImportFactoryBean.java:159)
at
org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean.afterPropertiesSet(AbstractOsgiServiceImportFactoryBean.java:124)
at
org.springframework.osgi.service.importer.support.OsgiServiceCollectionProxyFactoryBean.afterPropertiesSet(OsgiServiceCollectionProxyFactoryBean.java:126)
at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener.createListenersList(ContextLoaderListener.java:794)
at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener.initListenerService(ContextLoaderListener.java:748)
at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:385)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:591)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1610)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.