You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2012/06/05 15:47:23 UTC
[jira] [Created] (KARAF-1522) Test failures in
tooling/exam/regression
Christian Schneider created KARAF-1522:
------------------------------------------
Summary: Test failures in tooling/exam/regression
Key: KARAF-1522
URL: https://issues.apache.org/jira/browse/KARAF-1522
Project: Karaf
Issue Type: Bug
Reporter: Christian Schneider
Currently we get the exception below in the exam regression tests.
This is because pax-web 2.0-SNAPSHOT is only available in the pax snapshot repo but this repo is not added to the karaf instance we test.
Local builds work as pax web is downloaded to the local maven repo during the build. This does not work on jenkins as the tests do not use the correct local repo there.
---
2012-06-05 00:19:39,442 | ERROR | Thread-3 | FeaturesServiceImpl | 8 - org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Error installing boot features
java.lang.Exception: Could not start bundle file:/tmp/ops4j-store-anonymous-2407238293517314062/tinybundles_6086be0ba156971997c702456108b6015a95c258.bin in feature(s) exam-2.4.0: Activator start error in bundle MyBundleTest [80].
at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:420)[8:org.apache.karaf.features.core:3.0.0.SNAPSHOT]
at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:375)[8:org.apache.karaf.features.core:3.0.0.SNAPSHOT]
at org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:1040)[8:org.apache.karaf.features.core:3.0.0.SNAPSHOT]
Caused by: org.osgi.framework.BundleException: Activator start error in bundle MyBundleTest [80].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2027)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.Felix.startBundle(Felix.java:1895)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:417)[8:org.apache.karaf.features.core:3.0.0.SNAPSHOT]
... 2 more
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/http/HttpService
at org.apache.karaf.tooling.exam.regression.supports.ServletActivator.registerServlet(ServletActivator.java:61)
at org.apache.karaf.tooling.exam.regression.supports.ServletActivator.start(ServletActivator.java:46)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:641)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1977)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.osgi.service.http.HttpService not found by MyBundleTest [80]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)[org.apache.felix.framework-4.0.2.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_27]
... 10 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira