aslom opened a new issue #1666:
URL: https://github.com/apache/camel-k/issues/1666


   What are current instructions in installing and running Camel-K in OpenSHift 
4.4 
/deploying_camel_k_integrations_on_openshift/getting-started-with-camel-k#installing-camel-k-operatorhub
 and I am getting `Caused by: java.lang.RuntimeException: Error creating 
instance of loader: knative-source`
   ` at 
org.apache.camel.k.support.RuntimeSupport.lambda$lookupLoaderFromResource$10(RuntimeSupport.java:202)`
   
   To run tests I have followed using 
https://redhat-developer-demos.github.io/knative-tutorial/knative-tutorial-camelk/camel-k-eventing.html#camel-k-es-sink
 
   and for general setup I have used 
https://access.redhat.com/documentation/en-us/red_hat_integration/2020-q2/html
   
   ```
   k apply -f get-started/timed-greeter-source.yaml
   camelsource.sources.knative.dev/timed-greeter created
   ```
   
   ```
   k logs timed-greeter-qthcr-6c6c9bb8b5-qvczv
   2020-08-19 01:22:37.450 INFO  [main] LRUCacheFactory - Detected and using 
LURCacheFactory: camel-caffeine-lrucache
   2020-08-19 01:22:37.703 INFO  [main] ApplicationRuntime - Add listener: 
org.apache.camel.k.listener.RuntimeConfigurer@4149c063
   2020-08-19 01:22:37.704 INFO  [main] ApplicationRuntime - Add listener: 
org.apache.camel.k.listener.ContextConfigurer@376a0d86
   2020-08-19 01:22:37.707 INFO  [main] ApplicationRuntime - Add listener: 
org.apache.camel.k.listener.RoutesConfigurer@222a59e6
   2020-08-19 01:22:37.709 INFO  [main] ApplicationRuntime - Add listener: 
org.apache.camel.k.listener.RoutesDumper@4ef74c30
   2020-08-19 01:22:37.710 INFO  [main] ApplicationRuntime - Add listener: 
org.apache.camel.k.listener.PropertiesFunctionsConfigurer@47c81abf
   2020-08-19 01:22:37.721 INFO  [main] ApplicationRuntime - Listener 
org.apache.camel.k.listener.RuntimeConfigurer@4149c063 executed in phase 
Starting
   2020-08-19 01:22:37.786 INFO  [main] ApplicationRuntime - Listener 
org.apache.camel.k.listener.PropertiesFunctionsConfigurer@47c81abf executed in 
phase Starting
   2020-08-19 01:22:37.788 INFO  [main] BaseMainSupport - Using properties from:
   2020-08-19 01:22:37.809 INFO  [main] RuntimeSupport - Looking up loader for 
id: knative-source
   Exception in thread "main" org.apache.camel.RuntimeCamelException: 
java.lang.RuntimeException: Error creating instance of loader: knative-source
       at 
org.apache.camel.RuntimeCamelException.wrapRuntimeCamelException(RuntimeCamelException.java:52)
       at 
org.apache.camel.k.listener.RoutesConfigurer.load(RoutesConfigurer.java:64)
       at 
org.apache.camel.k.listener.RoutesConfigurer.accept(RoutesConfigurer.java:52)
       at 
org.apache.camel.k.listener.AbstractPhaseListener.accept(AbstractPhaseListener.java:32)
       at 
org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.lambda$invokeListeners$0(ApplicationRuntime.java:179)
       at 
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
       at 
java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
       at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
       at 
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
       at 
java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
       at 
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
       at 
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
       at 
java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
       at 
org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.invokeListeners(ApplicationRuntime.java:178)
       at 
org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.beforeConfigure(ApplicationRuntime.java:152)
       at 
org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:584)
       at 
org.apache.camel.main.BaseMainSupport.initCamelContext(BaseMainSupport.java:423)
       at 
org.apache.camel.k.main.ApplicationRuntime$MainAdapter.doInit(ApplicationRuntime.java:195)
       at 
org.apache.camel.support.service.ServiceSupport.init(ServiceSupport.java:83)
       at 
org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:112)
       at org.apache.camel.main.MainSupport.run(MainSupport.
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to