You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/08/19 12:20:20 UTC

[GitHub] [camel-k] aslom opened a new issue #1666: Workaround for knative-source loader does not exists any more?

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:
users@infra.apache.org



[GitHub] [camel-k] lburgazzoli commented on issue #1666: Workaround for knative-source loader does not exists any more?

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #1666:
URL: https://github.com/apache/camel-k/issues/1666#issuecomment-767686522


   @nicolaferraro  is this still an issue ?
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [camel-k] aslom commented on issue #1666: Workaround for knative-source loader does not exists any more?

Posted by GitBox <gi...@apache.org>.
aslom commented on issue #1666:
URL: https://github.com/apache/camel-k/issues/1666#issuecomment-677851245


   Using operators available in OpenShift 4.4
   
   ```
   red-hat-camel-k-operator.v1.0.0
   serverless-operator.v1.7.2
   ```
   
   Should I use instead 
   
   ```
   Camel K Operator 1.1.0 provided by The Apache Software Foundation
   ```
   
   ?
   
   For CLI I am using the lastest version from brew:
   
   ```
   $  kamel version
   Camel K Client 1.1.0
   ```
   
   ```
   $ brew upgrade kamel
   Updating Homebrew...
   ==> Auto-updated Homebrew!
   ...
   Warning: kamel 1.1.0 already installed
   ```
   
   Should I use other version? 
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [camel-k] nicolaferraro commented on issue #1666: Workaround for knative-source loader does not exists any more?

Posted by GitBox <gi...@apache.org>.
nicolaferraro commented on issue #1666:
URL: https://github.com/apache/camel-k/issues/1666#issuecomment-677487037


   That's strange, are you using the 1.1.0 operator?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [camel-k] github-actions[bot] closed issue #1666: Workaround for knative-source loader does not exists any more?

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1666:
URL: https://github.com/apache/camel-k/issues/1666


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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



[GitHub] [camel-k] github-actions[bot] commented on issue #1666: Workaround for knative-source loader does not exists any more?

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1666:
URL: https://github.com/apache/camel-k/issues/1666#issuecomment-994157936


   This issue has been automatically marked as stale due to 90 days of inactivity. 
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply write any comment.
   Thanks for your contributions!


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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