hi,

we are trying to deploy a bundle in smx 4.2 that uses the camel-ibatis
feature and are runing into a runtime exception as follows:

Caused by: java.lang.NoClassDefFoundError:
com/ibatis/common/xml/NodeletException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
        at java.lang.Class.getConstructor0(Class.java:2699)
        at java.lang.Class.getDeclaredConstructor(Class.java:1985)
        at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:54)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
        ... 28 more
Caused by: java.lang.ClassNotFoundException:
com.ibatis.common.xml.NodeletException
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
        at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
        at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 34 more


Note that the bundle resolves, this happens at startup and causes the bundle
to remain in a failed state.  Further info below (our bundle is id 149):



ka...@root> packages:imports 149
OSGi System Bundle (0): com.sun.org.apache.xerces.internal.jaxp;
version="0.0.0"
OSGi System Bundle (0): javax.sql; version="0.0.0"
camel-core (44): org.apache.camel; version="2.2.0.fuse-01-00"
camel-core (44): org.apache.camel.model; version="2.2.0.fuse-01-00"
camel-core (44): org.apache.camel.spi; version="2.2.0.fuse-01-00"
spring-osgi-core (71): org.springframework.osgi.service.importer;
version="1.2.0"
spring-osgi-core (71): org.springframework.osgi.service.importer.support;
version="1.2.0"
camel-spring-osgi (100): org.apache.camel.osgi; version="2.2.0.fuse-01-00"
camel-spring-osgi (100): org.apache.camel.spring; version="2.2.0.fuse-01-00"
ServiceMix :: Common (103): org.apache.servicemix.common.osgi;
version="2010.1.0.fuse-01-00"
camel-jms (126): org.apache.camel.component.jms; version="2.2.0.fuse-01-00"
activemq-camel (135): META-INF.services.org.apache.camel; version="0.0.0"
Spring ORM (144): org.springframework.orm.ibatis; version="2.5.6.SEC01"
Spring JDBC (145): org.springframework.jdbc.support.lob;
version="2.5.6.SEC01"
PaaS Routing Support (146): com.answerconsulting.paas.routing;
version="0.0.0"
Apache ServiceMix Bundles: ibatis-sqlmap-2.3.4.726 (161):
com.ibatis.common.xml; version="2.3.4.726"
camel-ibatis (162): org.apache.camel.component.ibatis;
version="2.2.0.fuse-01-00"


I've tried specifying dev:dynamic-import on 149 and all related bundles to
no avail too.  Can anyone offer any ideas as to how to proceed?

Cheers,


-- 
Darren Davison
Public Key: 0xE855B3EA

Attachment: signature.asc
Description: Digital signature

Reply via email to