[ 
https://issues.apache.org/jira/browse/CAMEL-20526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-20526.
---------------------------------
    Resolution: Fixed

> Jbang camel CLI "run" and "log" commands are not working on Windows 
> environments
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-20526
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20526
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.4.0
>         Environment: Windows 2k19-x86-64-me
> openjdk 17
> jbang --version 0.114.0
> camel -V 4.0.0
>            Reporter: Salvatore Mongiardo
>            Priority: Minor
>             Fix For: 4.5.0
>
>         Attachments: image-2024-03-06-16-14-25-190.png, 
> image-2024-03-06-16-17-21-941.png, jbang-run-error.log
>
>
> Unfortunately, this is something that already happened before, and seems 
> still unresolved.
> We basically, run :
> {code:java}
> camel init test.yaml
> {code}
> And then:
> {code:java}
> camel run test
> {code}
> We get this [^jbang-run-error.log]
>  
> It's something we already faced on CAMEL-19938
> and CAMEL-19067
> On the first issue, we were able to solve the "{*}separator{*}" (//) problem, 
> but not the "{*}${sys:pid}{*}" one.
> Looking at the second issue, If we try to fix in the same way, building camel 
> project replacing "{*}${sys.pid}{*}" with {*}%pid{*}, in 
> [those|https://github.com/apache/camel/pull/11624/files] log4j config files, 
> we are able to run the camel app:
> !image-2024-03-06-16-14-25-190.png!
> But this appears as no solved if we run with `{*}--background{*}` option.
> Moreover, `{*}camel log{*}` command is not working in any case:
> !image-2024-03-06-16-17-21-941.png!



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

Reply via email to