lsergio opened a new issue, #5179:
URL: https://github.com/apache/camel-k/issues/5179
### What happened?
I have created the following Integration:
```
apiVersion: camel.apache.org/v1
kind: Integration
metadata:
name: basic
spec:
sources:
- name: flow1.groovy
content: |-
from('quartz://flow1/trigger?cron=0+*+*+?+*+*')
.to("https://httpbin.org/delay/2?bridgeEndpoint=true")
.to("log:info")
```
It creates a CronJob to run every minute.
When the Integration runs, I get the following error on its log:
```
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException:
Error configuring property: camel.component.test[00001]port[80]tcp.addr because
cannot find component with name test[00001]port[80]tcp. Make sure you have the
component on the classpath
at
org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:65)
at
org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
... 15 more
Caused by: java.lang.IllegalArgumentException: Error configuring property:
camel.component.test[00001]port[80]tcp.addr because cannot find component with
name test[00001]port[80]tcp. Make sure you have the component on the classpath
at
org.apache.camel.main.BaseMainSupport.lambda$doAutoConfigurationFromProperties$29(BaseMainSupport.java:1683)
at
org.apache.camel.main.MainHelper.computeProperties(MainHelper.java:407)
at
org.apache.camel.main.BaseMainSupport.doAutoConfigurationFromProperties(BaseMainSupport.java:1675)
at
org.apache.camel.main.BaseMainSupport.autoConfigurationFromProperties(BaseMainSupport.java:1638)
at
org.apache.camel.main.BaseMainSupport.autoconfigure(BaseMainSupport.java:447)
at org.apache.camel.main.MainSupport.autoconfigure(MainSupport.java:73)
at
org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:627)
at
org.apache.camel.quarkus.main.CamelMain.initCamelContext(CamelMain.java:116)
at org.apache.camel.quarkus.main.CamelMain.doInit(CamelMain.java:86)
at
org.apache.camel.support.service.BaseService.init(BaseService.java:78)
at
org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:137)
at
org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
... 16 more
```
00001 seems to be a knative revision number, so I decided to disable the
knative trait:
```
traits:
knative:
enabled: false
```
and the error disappeared.
As this integration did not create a Service/Knative Service, should the
knative trait be activated?
This started to happen today in our cluster, so maybe it's also related to
some environment configuration. If someone can provide some guidance, I would
appreciate as well.
### Steps to reproduce
_No response_
### Relevant log output
_No response_
### Camel K version
2.2.0
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]