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

Claus Ibsen commented on CAMEL-21148:
-------------------------------------

You can get the double logging but that is sorta expected when you use this 
--camel-version

~/workspace/deleteme/stuck ❯ camel run --fresh hello.java                       
                                                                                
        ✘ INT 7s
Running integration with the following configuration:
    --camel-version=4.8.0-SNAPSHOT
Running integration with the following configuration:
    --camel-version=4.8.0-SNAPSHOT
2024-08-31 08:31:10.946  INFO 99071 --- [           main] 
org.apache.camel.main.MainSupport        : Apache Camel (JBang) 4.8.0-SNAPSHOT 
is starting
2024-08-31 08:31:11.044  INFO 99071 --- [           main] 
org.apache.camel.main.MainSupport        : Using Java 17.0.11 with PID 99071. 
Started by davsclaus in /Users/davsclaus/workspace/deleteme/stuck

> camel-jbang - camel run seems to get stuck at start up time when using 
> camel-version config set
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-21148
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21148
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.8.0
>            Reporter: Bruno Meseguer
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.8.0
>
>
> Running the following commands:
> {code:java}
> rm -r ~/.m2/repository
> rm -r .camel-jbang/
> rm hello.java 
> jbang app uninstall camel
> jbang cache clear
> jbang app install camel@apache/camel
> camel version set 4.8.0-SNAPSHOT
> camel init hello.java
> camel run hello.java{code}
> also with:
> {code:java}
> camel run --fresh hello.java{code}
> It seems to get Camel JBang in a loop, stuck at startup time. This is the 
> output:
> {code:java}
> Running integration with the following configuration:
>     --camel-version=4.8.0-SNAPSHOT
> [jbang] Resolving dependencies...
> [jbang] Artifacts used for dependency management:
>          org.apache.camel:camel-bom:pom:4.8.0-SNAPSHOT
> [jbang] org.apache.camel:camel-jbang-core:jar:4.8.0-SNAPSHOT
>          org.apache.camel.kamelets:camel-kamelets:jar:4.7.0
> Done
> [jbang] Dependencies resolved
> Running integration with the following configuration:
>     --camel-version=4.8.0-SNAPSHOT
> Running integration with the following configuration:
>     --camel-version=4.8.0-SNAPSHOT
> Running integration with the following configuration:
>     --camel-version=4.8.0-SNAPSHOT
> ...{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to