camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8326) Project created from camel-blueprint-archetype does not work
Date Tue, 10 Feb 2015 08:25:34 GMT

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

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

No. Here is the procedure followed :

{code}
mvn archetype:generate
[INFO] Scanning for projects...
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
(10 KB at 16.8 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
(23 KB at 30.7 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml
(794 B at 2.1 KB/sec)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) > generate-sources
@ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) < generate-sources
@ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: remote -> am.ik.archetype:msgpack-rpc-jersey-blank-archetype (Blank Project for Spring
Boot + Jersey)
2: remote -> am.ik.archetype:spring-boot-blank-archetype (Blank Project for Spring Boot)
3: remote -> am.ik.archetype:spring-boot-docker-blank-archetype (Docker Blank Project for
Spring Boot)
4: remote -> am.ik.archetype:spring-boot-jersey-blank-archetype (Blank Project for Spring
Boot + Jersey)
5: remote -> br.com.address.archetypes:struts2-archetype (an archetype web 3.0 + struts2
(bootstrap + jquery) + JPA 2.1 with struts2 login system)
...

460: remote -> org.apache.camel:camel-component (-)
461: remote -> org.apache.camel:camel-router (-)
462: remote -> org.apache.camel.archetypes:camel-archetype-activemq (Creates a new Camel
project that configures and interacts with ActiveMQ.)
463: remote -> org.apache.camel.archetypes:camel-archetype-api-component (Creates a new
Camel component that wraps one or more API proxies.)
464: remote -> org.apache.camel.archetypes:camel-archetype-blueprint (Creates a new Camel
project with OSGi blueprint support. Ready to be deployed in OSGi.)
...

Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 525:
464
Choose org.apache.camel.archetypes:camel-archetype-blueprint version:
1: 2.8.0
...
41: 2.14.0
42: 2.14.1
43: 2.15-SNAPSHOT
Choose a number: 43: 42
Define value for property 'groupId': : org.apache.camel
Define value for property 'artifactId': : test
Define value for property 'version':  1.0-SNAPSHOT: :
Define value for property 'package':  org.apache.camel: :
[INFO] Using property: camel-version = 2.14.1
[INFO] Using property: log4j-version = 1.2.17
[INFO] Using property: maven-bundle-plugin-version = 2.3.7
[INFO] Using property: maven-compiler-plugin-version = 2.5.1
[INFO] Using property: maven-resources-plugin-version = 2.6
[INFO] Using property: slf4j-version = 1.7.7
Confirm properties configuration:
groupId: org.apache.camel
artifactId: test
version: 1.0-SNAPSHOT
package: org.apache.camel
camel-version: 2.14.1
log4j-version: 1.2.17
maven-bundle-plugin-version: 2.3.7
maven-compiler-plugin-version: 2.5.1
maven-resources-plugin-version: 2.6
slf4j-version: 1.7.7
 Y: : Y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: camel-archetype-blueprint:2.14.1
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.apache.camel
[INFO] Parameter: artifactId, Value: test
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: org.apache.camel
[INFO] Parameter: packageInPathFormat, Value: org/apache/camel
[INFO] Parameter: maven-bundle-plugin-version, Value: 2.3.7
[INFO] Parameter: maven-resources-plugin-version, Value: 2.6
[INFO] Parameter: groupId, Value: org.apache.camel
[INFO] Parameter: maven-compiler-plugin-version, Value: 2.5.1
[INFO] Parameter: slf4j-version, Value: 1.7.7
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: log4j-version, Value: 1.2.17
[INFO] Parameter: camel-version, Value: 2.14.1
[INFO] Parameter: package, Value: org.apache.camel
[INFO] Parameter: artifactId, Value: test
[INFO] project created from Archetype in dir: /Users/chmoulli/Temp/test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:13 min
[INFO] Finished at: 2015-02-10T09:21:09+01:00
[INFO] Final Memory: 14M/245M
[INFO] ------------------------------------------------------------------------
dabouhost:~/Temp$ cd test
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] Compiling 2 source files to /Users/chmoulli/Temp/test/target/classes
[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] Compiling 1 source file to /Users/chmoulli/Temp/test/target/test-classes
[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
[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.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.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.blueprint.NamespaceHandler],
bundle: org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
[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.ManagedServiceFactory],
bundle: org.apache.felix.fileinstall [26], symbolicName: org.apache.felix.fileinstall
[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.ComponentResolver],
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.services.ParserService],
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.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
[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.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.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.NamespaceHandler],
bundle: org.apache.aries.blueprint [13], symbolicName: org.apache.aries.blueprint
[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.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.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.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.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.startlevel.StartLevel],
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.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/1423556490066
[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
[ERROR] *************************************
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.644 s
[INFO] Finished at: 2015-02-10T09:22:00+01:00
[INFO] Final Memory: 30M/707M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.camel:camel-maven-plugin:2.14.1:run (default-cli)
on project test: null: MojoExecutionException: InvocationTargetException: Gave up waiting
for service (objectClass=org.apache.camel.CamelContext) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{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
>
> 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)

Mime
View raw message