[ 
https://issues.apache.org/jira/browse/CAMEL-8326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14314184#comment-14314184
 ] 

Charles Moulliard commented on CAMEL-8326:
------------------------------------------

I can't yet explain what is the issue but if we first, install the project 
before to launch camel:run, then it will work

1) Does not work
mvn clean compile camel:run

2) Work
mvn clean package camel:run

I suspect that the reason is that the MANIFEST.MF created by the felix maven 
bundle was not generated during compile phase !

{code}
dabouhost:~/Temp/test$ mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building A Camel Blueprint Route 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ test ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ test 
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.13-SONATYPE:test (default-test) @ test ---
[INFO] Surefire report directory: 
/Users/chmoulli/Temp/test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.camel.RouteTest
[                          main] CamelBlueprintHelper           INFO  Using 
Blueprint XML file: 
/Users/chmoulli/Temp/test/target/classes/OSGI-INF/blueprint/blueprint.xml
[                      Thread-0] RawBuilder                     INFO  Copy 
thread finished.
[                          main] Activator                      INFO  Camel 
activator starting
[                          main] Activator                      INFO  Camel 
activator started
[                          main] BlueprintExtender              INFO  No 
quiesce support is available, so blueprint components will not participate in 
quiesce operations
[                          main] RouteTest                      INFO  
********************************************************************************
[                          main] RouteTest                      INFO  Testing: 
testRoute(org.apache.camel.RouteTest)
[                          main] RouteTest                      INFO  
********************************************************************************
[         Blueprint Extender: 3] BlueprintContainerImpl         INFO  Bundle 
RouteTest is waiting for namespace handlers 
[http://camel.apache.org/schema/blueprint]
[                          main] RouteTest                      INFO  Skipping 
starting CamelContext as system property skipStartingCamelContext is set to be 
true.
[                          main] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) is starting
[                          main] DefaultManagementStrategy      INFO  JMX is 
disabled
[                          main] BlueprintCamelContext          INFO  
AllowUseOriginalMessage is enabled. If access to the original message is not 
needed, then its recommended to turn this option off as it may improve 
performance.
[                          main] BlueprintCamelContext          INFO  
StreamCaching is not in use. If using streams then its recommended to enable 
stream caching. See more details at http://camel.apache.org/stream-caching.html
[                          main] BlueprintCamelContext          INFO  Route: 
timerToLog started and consuming from: Endpoint[timer://foo?period=5000]
[                          main] BlueprintCamelContext          INFO  Total 1 
routes, of which 1 is started.
[                          main] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) started in 0.075 seconds
[                          main] MockEndpoint                   INFO  
Asserting: Endpoint[mock://result] is satisfied
[ntext) thread #0 - timer://foo] timerToLog                     INFO  The 
message contains Hi from Camel at 2015-02-10 14:37:32
[                          main] RouteTest                      INFO  
********************************************************************************
[                          main] RouteTest                      INFO  Testing 
done: testRoute(org.apache.camel.RouteTest)
[                          main] RouteTest                      INFO  Took: 
1.090 seconds (1090 millis)
[                          main] RouteTest                      INFO  
********************************************************************************
[                          main] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) is shutting down
[                          main] DefaultShutdownStrategy        INFO  Starting 
to graceful shutdown 1 routes (timeout 10 seconds)
[text) thread #1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
timerToLog shutdown complete, was consuming from: 
Endpoint[timer://foo?period=5000]
[                          main] DefaultShutdownStrategy        INFO  Graceful 
shutdown of 1 routes completed in 0 seconds
[                          main] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) uptime 1.098 seconds
[                          main] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) is shutdown in 0.007 seconds
[                          main] BlueprintExtender              INFO  
Destroying BlueprintContainer for bundle RouteTest
[                          main] BlueprintExtender              INFO  
Destroying BlueprintContainer for bundle org.apache.aries.blueprint
[                          main] BlueprintExtender              INFO  
Destroying BlueprintContainer for bundle org.apache.camel.camel-blueprint
[                          main] Activator                      INFO  Camel 
activator stopping
[                          main] Activator                      INFO  Camel 
activator stopped
[                          main] CamelBlueprintHelper           INFO  Deleting 
work directory target/bundles/1423575450131
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.689 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ test ---
[WARNING] Bundle org.apache.camel:test:bundle:1.0-SNAPSHOT : Split package 
org/apache/camel
Use directive -split-package:=(merge-first|merge-last|error|first) on 
Export/Private Package instruction to get rid of this warning
Package found in   [Jar:., Jar:camel-core, Jar:camel-blueprint, 
Jar:camel-core-xml, Jar:camel-core-osgi]
Reference from     
/Users/chmoulli/.m2/repository/org/apache/camel/camel-core/2.14.1/camel-core-2.14.1.jar
Classpath          [Jar:., Jar:camel-core, Jar:jaxb-impl, Jar:jaxb-core, 
Jar:jaxb-api, Jar:istack-commons-runtime, Jar:FastInfoset, Jar:jsr173_api, 
Jar:camel-blueprint, Jar:camel-core-xml, Jar:camel-core-osgi, Jar:slf4j-api, 
Jar:slf4j-log4j12, Jar:jcl-over-slf4j, Jar:log4j]
[WARNING] Bundle org.apache.camel:test:bundle:1.0-SNAPSHOT : Split package 
org/apache/camel/core/xml
Use directive -split-package:=(merge-first|merge-last|error|first) on 
Export/Private Package instruction to get rid of this warning
Package found in   [Jar:camel-blueprint, Jar:camel-core-xml]
Reference from     
/Users/chmoulli/.m2/repository/org/apache/camel/camel-core-xml/2.14.1/camel-core-xml-2.14.1.jar
Classpath          [Jar:., Jar:camel-core, Jar:jaxb-impl, Jar:jaxb-core, 
Jar:jaxb-api, Jar:istack-commons-runtime, Jar:FastInfoset, Jar:jsr173_api, 
Jar:camel-blueprint, Jar:camel-core-xml, Jar:camel-core-osgi, Jar:slf4j-api, 
Jar:slf4j-log4j12, Jar:jcl-over-slf4j, Jar:log4j]
[WARNING] Bundle org.apache.camel:test:bundle:1.0-SNAPSHOT : Split package 
org/apache/camel/core/xml/util/jsse
Use directive -split-package:=(merge-first|merge-last|error|first) on 
Export/Private Package instruction to get rid of this warning
Package found in   [Jar:camel-blueprint, Jar:camel-core-xml]
Reference from     
/Users/chmoulli/.m2/repository/org/apache/camel/camel-core-xml/2.14.1/camel-core-xml-2.14.1.jar
Classpath          [Jar:., Jar:camel-core, Jar:jaxb-impl, Jar:jaxb-core, 
Jar:jaxb-api, Jar:istack-commons-runtime, Jar:FastInfoset, Jar:jsr173_api, 
Jar:camel-blueprint, Jar:camel-core-xml, Jar:camel-core-osgi, Jar:slf4j-api, 
Jar:slf4j-log4j12, Jar:jcl-over-slf4j, Jar:log4j]
[WARNING] Bundle org.apache.camel:test:bundle:1.0-SNAPSHOT : Split package 
org/apache/camel/core/osgi
Use directive -split-package:=(merge-first|merge-last|error|first) on 
Export/Private Package instruction to get rid of this warning
Package found in   [Jar:camel-blueprint, Jar:camel-core-osgi]
Reference from     
/Users/chmoulli/.m2/repository/org/apache/camel/camel-core-osgi/2.14.1/camel-core-osgi-2.14.1.jar
Classpath          [Jar:., Jar:camel-core, Jar:jaxb-impl, Jar:jaxb-core, 
Jar:jaxb-api, Jar:istack-commons-runtime, Jar:FastInfoset, Jar:jsr173_api, 
Jar:camel-blueprint, Jar:camel-core-xml, Jar:camel-core-osgi, Jar:slf4j-api, 
Jar:slf4j-log4j12, Jar:jcl-over-slf4j, Jar:log4j]
[WARNING] Bundle org.apache.camel:test:bundle:1.0-SNAPSHOT : Split package 
org/apache/camel/core/osgi/utils
Use directive -split-package:=(merge-first|merge-last|error|first) on 
Export/Private Package instruction to get rid of this warning
Package found in   [Jar:camel-blueprint, Jar:camel-core-osgi]
Reference from     
/Users/chmoulli/.m2/repository/org/apache/camel/camel-core-osgi/2.14.1/camel-core-osgi-2.14.1.jar
Classpath          [Jar:., Jar:camel-core, Jar:jaxb-impl, Jar:jaxb-core, 
Jar:jaxb-api, Jar:istack-commons-runtime, Jar:FastInfoset, Jar:jsr173_api, 
Jar:camel-blueprint, Jar:camel-core-xml, Jar:camel-core-osgi, Jar:slf4j-api, 
Jar:slf4j-log4j12, Jar:jcl-over-slf4j, Jar:log4j]
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ test ---
[INFO] Installing /Users/chmoulli/Temp/test/target/test-1.0-SNAPSHOT.jar to 
/Users/chmoulli/.m2/repository/org/apache/camel/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar
[INFO] Installing /Users/chmoulli/Temp/test/pom.xml to 
/Users/chmoulli/.m2/repository/org/apache/camel/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-bundle-plugin:2.3.7:install (default-install) @ test ---
[INFO] Installing org/apache/camel/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.704 s
[INFO] Finished at: 2015-02-10T14:37:35+01:00
[INFO] Final Memory: 16M/459M
[INFO] ------------------------------------------------------------------------
dabouhost:~/Temp/test$ mvn camel:run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building A Camel Blueprint Route 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> camel-maven-plugin:2.14.1:run (default-cli) > test-compile @ test >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ test ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ test 
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< camel-maven-plugin:2.14.1:run (default-cli) < test-compile @ test <<<
[INFO]
[INFO] --- camel-maven-plugin:2.14.1:run (default-cli) @ test ---
[INFO] Using org.apache.camel.test.blueprint.Main to initiate a CamelContext
[INFO] Starting Camel ...
[mel.test.blueprint.Main.main()] MainSupport                    INFO  Apache 
Camel 2.14.1 starting
[mel.test.blueprint.Main.main()] Activator                      INFO  Camel 
activator starting
[mel.test.blueprint.Main.main()] Activator                      INFO  Camel 
activator started
[mel.test.blueprint.Main.main()] BlueprintExtender              INFO  No 
quiesce support is available, so blueprint components will not participate in 
quiesce operations
[         Blueprint Extender: 1] BlueprintContainerImpl         INFO  Bundle 
test is waiting for namespace handlers 
[http://camel.apache.org/schema/blueprint]
[         Blueprint Extender: 1] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) is starting
[         Blueprint Extender: 1] ManagedManagementStrategy      INFO  JMX is 
enabled
[         Blueprint Extender: 1] BlueprintCamelContext          INFO  
AllowUseOriginalMessage is enabled. If access to the original message is not 
needed, then its recommended to turn this option off as it may improve 
performance.
[         Blueprint Extender: 1] BlueprintCamelContext          INFO  
StreamCaching is not in use. If using streams then its recommended to enable 
stream caching. See more details at http://camel.apache.org/stream-caching.html
[         Blueprint Extender: 1] BlueprintCamelContext          INFO  Route: 
timerToLog started and consuming from: Endpoint[timer://foo?period=5000]
[         Blueprint Extender: 1] BlueprintCamelContext          INFO  Total 1 
routes, of which 1 is started.
[         Blueprint Extender: 1] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) started in 0.428 seconds
[ntext) thread #0 - timer://foo] timerToLog                     INFO  The 
message contains Hi from Camel at 2015-02-10 14:37:45
[ntext) thread #0 - timer://foo] timerToLog                     INFO  The 
message contains Hi from Camel at 2015-02-10 14:37:50
^C[                      Thread-1] MainSupport$HangupInterceptor  INFO  
Received hang up - stopping the main instance.
[                      Thread-1] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) is shutting down
[                      Thread-1] DefaultShutdownStrategy        INFO  Starting 
to graceful shutdown 1 routes (timeout 300 seconds)
[text) thread #1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route: 
timerToLog shutdown complete, was consuming from: 
Endpoint[timer://foo?period=5000]
[                      Thread-1] DefaultShutdownStrategy        INFO  Graceful 
shutdown of 1 routes completed in 0 seconds
[                      Thread-1] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) uptime 7.581 seconds
[                      Thread-1] BlueprintCamelContext          INFO  Apache 
Camel 2.14.1 (CamelContext: blueprintContext) is shutdown in 0.009 seconds
[                      Thread-1] BlueprintExtender              INFO  
Destroying BlueprintContainer for bundle test
[                      Thread-1] BlueprintExtender              INFO  
Destroying BlueprintContainer for bundle org.apache.aries.blueprint
[                      Thread-1] BlueprintExtender              INFO  
Destroying BlueprintContainer for bundle org.apache.camel.camel-blueprint
[                      Thread-1] Activator                      INFO  Camel 
activator stopping
[                      Thread-1] Activator                      INFO  Camel 
activator stopped
[                      Thread-1] CamelBlueprintHelper           INFO  Deleting 
work directory target/bundles/1423575461801
{code}

> Project created from camel-blueprint-archetype does not work
> ------------------------------------------------------------
>
>                 Key: CAMEL-8326
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8326
>             Project: Camel
>          Issue Type: Bug
>          Components: osgi, tooling
>    Affects Versions: 2.13.3, 2.14.1
>            Reporter: Charles Moulliard
>         Attachments: test.zip
>
>
> When we launch the camel:run maven goal created from a project created using 
> the archetype :
> org.apache.camel.archetypes:camel-archetype-blueprint (Creates a new Camel 
> project with OSGi blueprint support. Ready to be deployed in OSGi.)
> then it fails
> {code}
> [mel.test.blueprint.Main.main()] MainSupport                    INFO  Apache 
> Camel 2.14.1 starting
> [mel.test.blueprint.Main.main()] Activator                      INFO  Camel 
> activator starting
> [mel.test.blueprint.Main.main()] Activator                      INFO  Camel 
> activator started
> [mel.test.blueprint.Main.main()] BlueprintExtender              INFO  No 
> quiesce support is available, so blueprint components will not participate in 
> quiesce operations
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  Test 
> bundle headers: Bundle-ManifestVersion=2, Bundle-Name=System Bundle, 
> Bundle-SymbolicName=de.kalpatec.pojosr.framework, Bundle-Vendor=kalpatec, 
> Bundle-Version=0.2.1
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.blueprint.NamespaceHandler], bundle: 
> org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.service.packageadmin.PackageAdmin], bundle: 
> de.kalpatec.pojosr.framework [0], symbolicName: de.kalpatec.pojosr.framework
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.camel.spi.LanguageResolver], bundle: 
> org.apache.camel.camel-core [2], symbolicName: org.apache.camel.camel-core
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.blueprint.NamespaceHandler], bundle: 
> org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.service.blueprint.container.BlueprintContainer], 
> bundle: org.apache.camel.camel-blueprint [4], symbolicName: 
> org.apache.camel.camel-blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.service.cm.ManagedServiceFactory], bundle: 
> org.apache.felix.fileinstall [26], symbolicName: org.apache.felix.fileinstall
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.felix.cm.PersistenceManager], bundle: 
> org.apache.felix.configadmin [25], symbolicName: org.apache.felix.configadmin
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.blueprint.NamespaceHandler], bundle: 
> org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.camel.spi.DataFormatResolver], bundle: 
> org.apache.camel.camel-core [2], symbolicName: org.apache.camel.camel-core
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.service.blueprint.container.BlueprintContainer], 
> bundle: org.apache.aries.blueprint [13], symbolicName: 
> org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.blueprint.NamespaceHandler], bundle: 
> org.apache.camel.camel-blueprint [4], symbolicName: 
> org.apache.camel.camel-blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.blueprint.NamespaceHandler], bundle: 
> org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.camel.spi.TypeConverterLoader], bundle: 
> org.apache.camel.camel-core [2], symbolicName: org.apache.camel.camel-core
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.service.url.URLStreamHandlerService], bundle: 
> org.apache.felix.fileinstall [26], symbolicName: org.apache.felix.fileinstall
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.service.cm.ConfigurationAdmin], bundle: 
> org.apache.felix.configadmin [25], symbolicName: org.apache.felix.configadmin
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.camel.spi.ComponentResolver], bundle: 
> org.apache.camel.camel-core [2], symbolicName: org.apache.camel.camel-core
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.camel.spi.TypeConverterLoader], bundle: 
> de.kalpatec.pojosr.framework [0], symbolicName: de.kalpatec.pojosr.framework
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.proxy.ProxyManager], bundle: 
> org.apache.aries.proxy.impl [15], symbolicName: org.apache.aries.proxy.impl
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.service.startlevel.StartLevel], bundle: 
> de.kalpatec.pojosr.framework [0], symbolicName: de.kalpatec.pojosr.framework
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.service.cm.ConfigurationListener, 
> org.apache.felix.fileinstall.ArtifactListener, 
> org.apache.felix.fileinstall.ArtifactInstaller], bundle: 
> org.apache.felix.fileinstall [26], symbolicName: org.apache.felix.fileinstall
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.osgi.framework.hooks.bundle.EventHook], bundle: 
> org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.blueprint.services.ParserService], 
> bundle: org.apache.aries.blueprint [13], symbolicName: 
> org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.blueprint.NamespaceHandler], bundle: 
> org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           WARN  
> ServiceReference: [org.apache.aries.blueprint.NamespaceHandler], bundle: 
> org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] BlueprintExtender              INFO  
> Destroying BlueprintContainer for bundle org.apache.aries.blueprint
> [mel.test.blueprint.Main.main()] BlueprintExtender              INFO  
> Destroying BlueprintContainer for bundle org.apache.camel.camel-blueprint
> [mel.test.blueprint.Main.main()] Activator                      INFO  Camel 
> activator stopping
> [mel.test.blueprint.Main.main()] Activator                      INFO  Camel 
> activator stopped
> [mel.test.blueprint.Main.main()] CamelBlueprintHelper           INFO  
> Deleting work directory target/bundles/1423485067188
> [ERROR] *************************************
> [ERROR] Error occurred while running main from: 
> org.apache.camel.test.blueprint.Main
> [ERROR]
> java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:488)
>       at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.RuntimeException: Gave up waiting for service 
> (objectClass=org.apache.camel.CamelContext)
>       at 
> org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(CamelBlueprintHelper.java:240)
>       at 
> org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(CamelBlueprintHelper.java:202)
>       at org.apache.camel.test.blueprint.Main.doStart(Main.java:104)
>       at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
>       at org.apache.camel.main.MainSupport.run(MainSupport.java:149)
>       at org.apache.camel.main.MainSupport.run(MainSupport.java:353)
>       at org.apache.camel.test.blueprint.Main.main(Main.java:81)
>       ... 6 more
> {code}
> Issue reported with camel : 2.14.1 & also 2.13.3



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to