-
Bug
-
Resolution: Done
-
Minor
-
jboss-fuse-6.2.1, jboss-fuse-6.2-patches
-
None
-
%
-
-
With a clean install of 6.2.1 GA or R2 if you extract the extras/apache-camel go to the examples/camel-example-sql-blueprint directory and follow the instructions in the README to utilize 'mvn camel:run' to run the sample it will hang and eventually timeout with:
[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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:488)
at java.lang.Thread.run(Thread.java:745)
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:299)
at org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(CamelBlueprintHelper.java:260)
at org.apache.camel.test.blueprint.Main.doStart(Main.java:114)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
at org.apache.camel.main.MainSupport.run(MainSupport.java:150)
at org.apache.camel.main.MainSupport.run(MainSupport.java:354)
at org.apache.camel.test.blueprint.Main.main(Main.java:83)
... 6 more
[ERROR] *************************************
NOTE however that following the README instructions to install and run it within the Karaf container make it run successfully.