Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: MB-371
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Dejan Bosanac
Reporter: Torsten Mielke
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FUSE Message Broker

java.lang.NoClassDefFoundError: org/osgi/framework/Bundle

Created: 02/Jul/08 04:46 AM   Updated: 12/Feb/09 11:37 AM
Component/s: broker
Affects Version/s: 5.1.0.0-fuse
Fix Version/s: 5.1.0.3-fuse


 Description  « Hide
FUSE MB 5.1.0-fuse-SNAPSHOT does not startup but raises:

Caused by: java.lang.NoClassDefFoundError: org/osgi/framework/Bundle
at org.apache.camel.spring.RouteBuilderFinder.<init>(RouteBuilderFinder.java:41)
at org.apache.camel.spring.CamelContextFactoryBean.findRouteBuiders(CamelContextFactoryBean.java:404)
at org.apache.camel.spring.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:189)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableB
eanFactory.java:1367)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBean
Factory.java:1333)
... 43 more

FUSE MR 1.4.0.0 has a dependency on felix but the corresponding jar is not provided to the runtime.
Workaround is to copy org.apache.felix.framework-1.0.0.jar (e.g. from local maven repo) to AMQ_HOME/lib but we should rather fix this error.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Torsten Mielke added a comment - 02/Jul/08 05:16 AM
Related to CAMEL-577.

Dejan Bosanac added a comment - 12/Feb/09 11:37 AM
This has been fixed in the meantime