Hi Christian, great, good that it works for you now :-)
best regards, Achim 2015-03-07 10:38 GMT+01:00 Christian Eugster <[email protected]>: > Hi Achim, I missed the camelcontext entry in blueprint.xml. Now it seems > to work, Thank you > > Regards Christian > > Christian Eugster > Docuteam GmbH > Langacker 16 > Postfach > CH-5405 Baden-Dättwil > +41 (0)56 470 03 37 > [email protected] > > > > > > Am 06.03.2015 um 21:11 schrieb Achim Nierbeck <[email protected]>: > > Hi, > > a couple questions, > did you run the sample code of recipe 5 of chapter 10. Does it work for > you? > Second, did you check if your test does work with Pax Exam 3.4 as in the > sample? > > Which Java version are you using? > > regards, Achim > > > 2015-03-06 19:54 GMT+01:00 Christian Eugster <[email protected]>: > >> Hi, >> >> I am trying to run a pax-exam (4.4.0) test on a camelcontext (2.14.1) in >> karaf (3.0.3) as found in apache karaf cookbook (p. 233f.). I always get an >> error saying >> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.314 >> sec <<< FAILURE! - in ch.eugster.ingest.sip.identification.RouteTest >> test(ch.eugster.ingest.sip.identification.RouteTest) Time elapsed: >> 10.163 sec <<< ERROR! >> org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting >> for service org.apache.camel.CamelContext >> at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService( >> ServiceLookup.java:199) >> at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService( >> ServiceLookup.java:136) >> at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectField( >> ServiceInjector.java:89) >> at >> org.ops4j.pax.exam.inject.internal.ServiceInjector.injectDeclaredFields( >> ServiceInjector.java:69) >> at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectFields( >> ServiceInjector.java:61) >> at >> org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.createTest( >> ContainerTestRunner.java:61) >> at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall( >> BlockJUnit4ClassRunner.java:266) >> at org.junit.internal.runners.model.ReflectiveCallable.run( >> ReflectiveCallable.java:12) >> at org.junit.runners.BlockJUnit4ClassRunner.methodBlock( >> BlockJUnit4ClassRunner.java:263) >> at org.junit.runners.BlockJUnit4ClassRunner.runChild( >> BlockJUnit4ClassRunner.java:78) >> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild( >> ContainerTestRunner.java:68) >> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild( >> ContainerTestRunner.java:37) >> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >> at org.junit.runner.JUnitCore.run(JUnitCore.java:137) >> at org.junit.runner.JUnitCore.run(JUnitCore.java:115) >> at >> org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit( >> JUnitProbeInvoker.java:124) >> at >> org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke( >> JUnitProbeInvoker.java:97) >> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call( >> JUnitProbeInvoker.java:73) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke( >> NativeMethodAccessorImpl.java:62) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >> DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:483) >> at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall( >> RemoteBundleContextImpl.java:80) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke( >> NativeMethodAccessorImpl.java:62) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >> DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:483) >> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323) >> at sun.rmi.transport.Transport$1.run(Transport.java:178) >> at sun.rmi.transport.Transport$1.run(Transport.java:175) >> at java.security.AccessController.doPrivileged(Native Method) >> at sun.rmi.transport.Transport.serviceCall(Transport.java:174) >> at sun.rmi.transport.tcp.TCPTransport.handleMessages( >> TCPTransport.java:557) >> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0( >> TCPTransport.java:812) >> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run( >> TCPTransport.java:671) >> at java.util.concurrent.ThreadPoolExecutor.runWorker( >> ThreadPoolExecutor.java:1142) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run( >> ThreadPoolExecutor.java:617) >> at java.lang.Thread.run(Thread.java:745) >> >> The log does not show any other errors: >> >> [INFO] Scanning for projects... >> [INFO] >> [INFO] Using the builder >> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder >> with a thread count of 1 >> [INFO] >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building A Camel Blueprint Route 0.0.1-SNAPSHOT >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ >> sip-identification-processor --- >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] Copying 2 resources >> [INFO] >> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ >> sip-identification-processor --- >> [INFO] Nothing to compile - all classes are up to date >> [INFO] >> [INFO] --- maven-resources-plugin:2.7:testResources >> (default-testResources) @ sip-identification-processor --- >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] Copying 3 resources >> [INFO] >> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ >> sip-identification-processor --- >> [INFO] Changes detected - recompiling the module! >> [INFO] Compiling 1 source file to >> /Users/christian/Projekte/ceugster/Entwicklung/Camel/Workspace-4.4/ingest-engine/sip-identification-processor/target/test-classes >> [INFO] >> /Users/christian/Projekte/ceugster/Entwicklung/Camel/Workspace-4.4/ingest-engine/sip-identification-processor/src/test/java/ch/eugster/ingest/sip/identification/RouteTest.java: >> /Users/christian/Projekte/ceugster/Entwicklung/Camel/Workspace-4.4/ingest-engine/sip-identification-processor/src/test/java/ch/eugster/ingest/sip/identification/RouteTest.java >> uses or overrides a deprecated API. >> [INFO] >> /Users/christian/Projekte/ceugster/Entwicklung/Camel/Workspace-4.4/ingest-engine/sip-identification-processor/src/test/java/ch/eugster/ingest/sip/identification/RouteTest.java: >> Recompile with -Xlint:deprecation for details. >> [INFO] >> [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ >> sip-identification-processor --- >> [INFO] Surefire report directory: >> /Users/christian/Projekte/ceugster/Entwicklung/Camel/Workspace-4.4/ingest-engine/sip-identification-processor/target/surefire-reports >> [INFO] Using configured provider >> org.apache.maven.surefire.junitcore.JUnitCoreProvider >> [INFO] parallel='none', perCoreThreadCount=true, threadCount=0, >> useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, >> threadCountMethods=0, parallelOptimized=true >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> SLF4J: Class path contains multiple SLF4J bindings. >> SLF4J: Found binding in >> [jar:file:/Users/christian/.m2/repository/org/apache/karaf/org.apache.karaf.client/3.0.3/org.apache.karaf.client-3.0.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] >> SLF4J: Found binding in >> [jar:file:/Users/christian/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.8.1/pax-logging-api-1.8.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] >> SLF4J: Found binding in >> [jar:file:/Users/christian/.m2/repository/ch/qos/logback/logback-classic/1.0.6/logback-classic-1.0.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] >> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an >> explanation. >> SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] >> 2015-03-06 19:41:05,146 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.features.cfg >> 2015-03-06 19:41:05,157 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.management.cfg >> 2015-03-06 19:41:05,160 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.shell.cfg >> 2015-03-06 19:41:05,164 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.features.repos.cfg >> 2015-03-06 19:41:05,168 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.jaas.cfg >> 2015-03-06 19:41:05,172 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from jmx.acl.org.apache.karaf.config.cfg >> 2015-03-06 19:41:05,176 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.log.cfg >> 2015-03-06 19:41:05,179 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.ops4j.pax.url.mvn.cfg >> 2015-03-06 19:41:05,183 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.command.acl.bundle.cfg >> 2015-03-06 19:41:05,187 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.command.acl.shell.cfg >> 2015-03-06 19:41:05,194 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.command.acl.scope_bundle.cfg >> 2015-03-06 19:41:05,199 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from jmx.acl.org.apache.karaf.bundle.cfg >> 2015-03-06 19:41:05,202 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from jmx.acl.org.apache.karaf.security.jmx.cfg >> 2015-03-06 19:41:05,208 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.command.acl.feature.cfg >> 2015-03-06 19:41:05,211 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.command.acl.config.cfg >> 2015-03-06 19:41:05,218 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from jmx.acl.java.lang.Memory.cfg >> 2015-03-06 19:41:05,223 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.command.acl.system.cfg >> 2015-03-06 19:41:05,227 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from jmx.acl.cfg >> 2015-03-06 19:41:05,232 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.command.acl.kar.cfg >> 2015-03-06 19:41:05,237 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from jmx.acl.osgi.compendium.cm.cfg >> 2015-03-06 19:41:05,244 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.command.acl.jaas.cfg >> 2015-03-06 19:41:05,249 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.webconsole.cfg >> 2015-03-06 19:41:05,253 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.kar.cfg >> 2015-03-06 19:41:05,256 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.felix.fileinstall-deploy.cfg >> 2015-03-06 19:41:05,265 | INFO | FelixStartLevel | fileinstall >> | 7 - org.apache.felix.fileinstall - 3.4.2 | Creating >> configuration from org.apache.karaf.features.obr.cfg >> 2015-03-06 19:41:08,369 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature package 3.0.3 >> 2015-03-06 19:41:08,382 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature camel-blueprint 2.14.1 >> 2015-03-06 19:41:08,384 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature camel-core 2.14.1 >> 2015-03-06 19:41:08,384 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature xml-specs-api 2.2.0 >> 2015-03-06 19:41:16,432 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature exam 4.4.0 >> 2015-03-06 19:41:20,095 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature camel-test 2.14.1 >> 2015-03-06 19:41:20,095 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature camel-core 2.14.1 >> 2015-03-06 19:41:20,095 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature xml-specs-api 2.2.0 >> 2015-03-06 19:41:20,118 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature camel-spring 2.14.1 >> 2015-03-06 19:41:20,119 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature spring 3.2.11.RELEASE_1 >> 2015-03-06 19:41:25,252 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature spring-dm 1.2.1 >> 2015-03-06 19:41:27,292 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature spring-tx 3.2.11.RELEASE_1 >> 2015-03-06 19:41:29,197 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature standard 3.0.3 >> 2015-03-06 19:41:29,247 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature region 3.0.3 >> 2015-03-06 19:41:29,268 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature ssh 3.0.3 >> 2015-03-06 19:41:29,290 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature kar 3.0.3 >> 2015-03-06 19:41:29,306 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature test-dependencies 0.0.0 >> 2015-03-06 19:41:59,314 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature management 3.0.3 >> 2015-03-06 19:41:59,345 | INFO | FelixStartLevel | FeaturesServiceImpl >> | 20 - org.apache.karaf.features.core - 3.0.3 | Installing >> feature config 3.0.3 >> 2015-03-06 19:41:59,585 | INFO | FelixStartLevel | >> BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - >> 1.4.2 | Bundle org.apache.karaf.features.command is waiting for namespace >> handlers [http://karaf.apache.org/xmlns/shell/v1.1.0] >> 2015-03-06 19:41:59,625 | INFO | FelixStartLevel | >> SecuredCommandConfigTransformer | 25 - org.apache.karaf.shell.console - >> 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.feature >> into service ACL configs >> [org.apache.karaf.service.acl.command.feature.uninstall, >> org.apache.karaf.service.acl.command.feature.install] >> 2015-03-06 19:41:59,630 | INFO | FelixStartLevel | >> SecuredCommandConfigTransformer | 25 - org.apache.karaf.shell.console - >> 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.jaas >> into service ACL configs [org.apache.karaf.service.acl.command.jaas.update] >> 2015-03-06 19:41:59,633 | INFO | FelixStartLevel | >> SecuredCommandConfigTransformer | 25 - org.apache.karaf.shell.console - >> 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.config >> into service ACL configs >> [org.apache.karaf.service.acl.command.config.property-append, >> org.apache.karaf.service.acl.command.config.property-delete, >> org.apache.karaf.service.acl.command.config.property-set, >> org.apache.karaf.service.acl.command.config.edit, >> org.apache.karaf.service.acl.command.config.update, >> org.apache.karaf.service.acl.command.config.cancel, >> org.apache.karaf.service.acl.command.config.delete] >> 2015-03-06 19:41:59,645 | INFO | FelixStartLevel | >> SecuredCommandConfigTransformer | 25 - org.apache.karaf.shell.console - >> 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.shell >> into service ACL configs [org.apache.karaf.service.acl.command.shell.java, >> org.apache.karaf.service.acl.command.shell.new, >> org.apache.karaf.service.acl.command.shell.edit, >> org.apache.karaf.service.acl.command.shell.exec] >> 2015-03-06 19:41:59,651 | INFO | FelixStartLevel | >> SecuredCommandConfigTransformer | 25 - org.apache.karaf.shell.console - >> 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.system >> into service ACL configs >> [org.apache.karaf.service.acl.command.system.property, >> org.apache.karaf.service.acl.command.system.shutdown, >> org.apache.karaf.service.acl.command.system.start-level] >> 2015-03-06 19:41:59,655 | INFO | FelixStartLevel | >> SecuredCommandConfigTransformer | 25 - org.apache.karaf.shell.console - >> 3.0.3 | Generating command ACL config >> org.apache.karaf.command.acl.scope_bundle into service ACL configs >> [org.apache.karaf.service.acl.command.scope_bundle.shell, >> org.apache.karaf.service.acl.command.scope_bundle.packages, >> org.apache.karaf.service.acl.command.scope_bundle.admin, >> org.apache.karaf.service.acl.command.scope_bundle.ssh, >> org.apache.karaf.service.acl.command.scope_bundle.osgi, >> org.apache.karaf.service.acl.command.scope_bundle.config, >> org.apache.karaf.service.acl.command.scope_bundle.jaas, >> org.apache.karaf.service.acl.command.scope_bundle.features, >> org.apache.karaf.service.acl.command.scope_bundle.log] >> 2015-03-06 19:41:59,667 | INFO | FelixStartLevel | >> SecuredCommandConfigTransformer | 25 - org.apache.karaf.shell.console - >> 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.kar into >> service ACL configs [org.apache.karaf.service.acl.command.kar.uninstall, >> org.apache.karaf.service.acl.command.kar.install] >> 2015-03-06 19:41:59,669 | INFO | FelixStartLevel | >> SecuredCommandConfigTransformer | 25 - org.apache.karaf.shell.console - >> 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.bundle >> into service ACL configs >> [org.apache.karaf.service.acl.command.bundle.watch, >> org.apache.karaf.service.acl.command.bundle.update, >> org.apache.karaf.service.acl.command.bundle.install, >> org.apache.karaf.service.acl.command.bundle.uninstall, >> org.apache.karaf.service.acl.command.bundle.refresh, >> org.apache.karaf.service.acl.command.bundle.restart, >> org.apache.karaf.service.acl.command.bundle.stop, >> org.apache.karaf.service.acl.command.bundle.start] >> 2015-03-06 19:41:59,871 | INFO | rint Extender: 1 | >> BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - >> 1.4.2 | Bundle org.apache.karaf.features.command is waiting for >> dependencies [(objectClass=org.apache.karaf.features.FeaturesService)] >> 2015-03-06 19:41:59,884 | INFO | FelixStartLevel | >> BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - >> 1.4.2 | Bundle org.apache.karaf.jaas.modules is waiting for namespace >> handlers [http://karaf.apache.org/xmlns/jaas/v1.0.0] >> __ __ ____ >> / //_/____ __________ _/ __/ >> / ,< / __ `/ ___/ __ `/ /_ >> / /| |/ /_/ / / / /_/ / __/ >> /_/ |_|\__,_/_/ \__,_/_/ >> >> Apache Karaf (3.0.3) >> >> Hit '<tab>' for a list of available commands >> and '[cmd] --help' for help on a specific command. >> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. >> >> karaf@root()> 2015-03-06 19:42:00,182 | INFO | FelixStartLevel | >> ContextLoaderListener | 78 - org.springframework.osgi.extender - >> 1.2.1 | Starting [org.springframework.osgi.extender] bundle v.[1.2.1] >> 2015-03-06 19:42:00,330 | INFO | FelixStartLevel | >> ExtenderConfiguration | 78 - org.springframework.osgi.extender - >> 1.2.1 | No custom extender configuration detected; using defaults... >> 2015-03-06 19:42:00,347 | INFO | FelixStartLevel | TimerTaskExecutor >> | 73 - org.apache.servicemix.bundles.spring-context - >> 3.2.11.RELEASE_1 | Initializing Timer >> 2015-03-06 19:42:00,551 | INFO | FelixStartLevel | >> BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - >> 1.4.2 | Bundle org.apache.karaf.instance.command is waiting for >> dependencies [(objectClass=org.apache.karaf.features.FeaturesService)] >> 2015-03-06 19:42:01,056 | INFO | FelixStartLevel | >> RegionsPersistenceImpl | 96 - org.apache.karaf.region.persist - >> 3.0.3 | Loading region digraph persistence >> 2015-03-06 19:42:01,430 | INFO | FelixStartLevel | >> RegionsPersistenceImpl | 96 - org.apache.karaf.region.persist - >> 3.0.3 | initializing region digraph from etc/regions-config.xml >> 2015-03-06 19:42:01,662 | INFO | FelixStartLevel | SecurityUtils >> | 28 - org.apache.sshd.core - 0.12.0 | BouncyCastle not >> registered, using the default JCE provider >> 2015-03-06 19:42:02,128 | INFO | FelixStartLevel | >> BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - >> 1.4.2 | Bundle org.apache.karaf.kar.core is waiting for dependencies >> [(objectClass=org.apache.karaf.features.FeaturesService)] >> 2015-03-06 19:42:02,156 | INFO | FelixStartLevel | >> BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - >> 1.4.2 | Bundle org.apache.karaf.kar.command is waiting for dependencies >> [(objectClass=org.apache.karaf.kar.KarService), >> (&(name=installedRepoNameCompleter)(objectClass=org.apache.karaf.shell.console.Completer))] >> 2015-03-06 19:42:29,050 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Starting JMX OSGi >> agent >> 2015-03-06 19:42:29,085 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Registering MBean >> with ObjectName >> [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db] >> for service with service.id [14] >> 2015-03-06 19:42:29,107 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Registering >> org.osgi.jmx.framework.FrameworkMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:29,107 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Registering >> org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:29,108 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Registering >> org.osgi.jmx.framework.BundleStateMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:29,115 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Registering >> org.osgi.jmx.framework.PackageStateMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:29,115 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Registering >> org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:29,115 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Registering >> org.osgi.jmx.framework.ServiceStateMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:29,463 | INFO | FelixStartLevel | Activator >> | 45 - org.apache.camel.camel-core - 2.14.1 | Camel activator >> starting >> 2015-03-06 19:42:29,526 | INFO | FelixStartLevel | Activator >> | 45 - org.apache.camel.camel-core - 2.14.1 | Camel activator >> started >> 2015-03-06 19:42:30,038 | INFO | FelixStartLevel | >> BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - >> 1.4.2 | Bundle sip-identification-processor is waiting for dependencies >> [(objectClass=ch.eugster.ingest.sip.connector.api.SipConnector)] >> 2015-03-06 19:42:30,178 | INFO | rint Extender: 1 | >> BlueprintContainerImpl | 15 - org.apache.aries.blueprint.core - >> 1.4.2 | Bundle org.apache.karaf.kar.command is waiting for dependencies >> [(objectClass=org.apache.karaf.kar.KarService)] >> Running ch.eugster.ingest.sip.identification.RouteTest >> 2015-03-06 19:42:30,888 | INFO | tion(3)-10.0.0.6 | ContainerTestRunner >> | 65 - org.ops4j.pax.exam.invoker.junit - 4.4.0 | running test >> in reactor >> 2015-03-06 19:42:40,948 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle sip-identification-processor >> 2015-03-06 19:42:40,954 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.kar.command >> 2015-03-06 19:42:40,979 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.shell.ssh >> 2015-03-06 19:42:41,017 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.region.command >> 2015-03-06 19:42:41,033 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.service.command >> 2015-03-06 19:42:41,045 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.log.command >> 2015-03-06 19:42:41,088 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.diagnostic.command >> 2015-03-06 19:42:41,094 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.jaas.command >> 2015-03-06 19:42:41,173 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.instance.command >> 2015-03-06 19:42:41,246 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.camel.karaf.camel-karaf-commands >> 2015-03-06 19:42:41,296 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.package.command >> 2015-03-06 19:42:41,310 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.shell.commands >> 2015-03-06 19:42:41,402 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.system.command >> 2015-03-06 19:42:41,417 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.shell.help >> 2015-03-06 19:42:41,421 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.bundle.command >> 2015-03-06 19:42:41,488 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.jaas.modules >> 2015-03-06 19:42:41,494 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.features.command >> 2015-03-06 19:42:41,523 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.deployer.wrap >> 2015-03-06 19:42:41,528 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.system.core >> 2015-03-06 19:42:41,532 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.bundle.core >> 2015-03-06 19:42:41,536 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.deployer.features >> 2015-03-06 19:42:41,539 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.deployer.kar >> 2015-03-06 19:42:41,541 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.kar.core >> 2015-03-06 19:42:41,545 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.features.core >> 2015-03-06 19:42:41,550 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.camel.camel-blueprint >> 2015-03-06 19:42:41,552 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.config.command >> 2015-03-06 19:42:41,569 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.config.core >> 2015-03-06 19:42:41,571 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.management.server >> 2015-03-06 19:42:41,575 | INFO | FelixShutdown | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Unregistering >> org.osgi.jmx.framework.FrameworkMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:41,575 | INFO | FelixShutdown | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Unregistering >> org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:41,576 | INFO | FelixShutdown | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Unregistering >> org.osgi.jmx.framework.BundleStateMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:41,577 | INFO | FelixShutdown | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Unregistering >> org.osgi.jmx.framework.PackageStateMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:41,577 | INFO | FelixShutdown | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Unregistering >> org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:41,577 | INFO | FelixShutdown | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Unregistering >> org.osgi.jmx.framework.ServiceStateMBean to MBeanServer >> com.sun.jmx.mbeanserver.JmxMBeanServer@d93df8f with name >> osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db >> 2015-03-06 19:42:41,579 | WARN | FelixShutdown | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Task rejected for >> JMX Notification dispatch of event >> [org.osgi.framework.ServiceEvent[source=[javax.management.MBeanServer]]] - >> Dispatcher may have been shutdown >> 2015-03-06 19:42:41,585 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.service.core >> 2015-03-06 19:42:41,586 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.log.core >> 2015-03-06 19:42:41,588 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.diagnostic.core >> 2015-03-06 19:42:41,590 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.instance.core >> 2015-03-06 19:42:41,592 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.package.core >> 2015-03-06 19:42:41,594 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.jaas.config >> 2015-03-06 19:42:41,595 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.shell.console >> >> 2015-03-06 19:42:41,618 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.deployer.blueprint >> 2015-03-06 19:42:41,619 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.karaf.deployer.spring >> 2015-03-06 19:42:41,620 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.aries.blueprint.core >> 2015-03-06 19:42:41,622 | INFO | FelixShutdown | BlueprintExtender >> | 15 - org.apache.aries.blueprint.core - 1.4.2 | Destroying >> BlueprintContainer for bundle org.apache.aries.blueprint.cm >> 2015-03-06 19:42:41,625 | INFO | FelixShutdown | >> ContextLoaderListener | 78 - org.springframework.osgi.extender - >> 1.2.1 | Stopping [org.springframework.osgi.extender] bundle v.[1.2.1] >> 2015-03-06 19:42:41,639 | INFO | FelixShutdown | TimerTaskExecutor >> | 73 - org.apache.servicemix.bundles.spring-context - >> 3.2.11.RELEASE_1 | Cancelling Timer >> 2015-03-06 19:42:41,646 | INFO | FelixStartLevel | Activator >> | 45 - org.apache.camel.camel-core - 2.14.1 | Camel activator >> stopping >> 2015-03-06 19:42:41,646 | INFO | FelixStartLevel | Activator >> | 45 - org.apache.camel.camel-core - 2.14.1 | Camel activator >> stopped >> 2015-03-06 19:42:41,647 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Stopping JMX OSGi >> agent >> 2015-03-06 19:42:41,648 | INFO | FelixStartLevel | core >> | 106 - org.apache.aries.jmx.core - 1.1.2 | Unregistering MBean >> with ObjectName >> [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=d4b4b569-4807-4992-bb6f-304faadb60db] >> for service with service.id [14] >> >> and I could not find any site that could shed light on it. It seems, that >> the configuration is ok and all dependencies are resolved. Has anybody an >> idea to solve this problem? >> >> Thank you! >> >> Christian >> >> >> Christian Eugster >> Docuteam GmbH >> Langacker 16 >> Postfach >> CH-5405 Baden-Dättwil >> +41 (0)56 470 03 37 >> [email protected] >> >> >> >> >> >> > > > -- > > Apache Member > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > Software Architect / Project Manager / Scrum Master > > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
