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

Aurélien Pupier commented on CAMEL-19938:
-----------------------------------------

I do not understand the link between the fix and the reported issue. You 
mentioned that the problem is the resolution of ${sys:pid} but we still have 
that in the proposed Pull Request. Can you clarify a bit more?

> JBang camel CLI not working when using "run" option on Windows environments
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-19938
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19938
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.0.0
>         Environment: +_Steps to reproduce:_+
> jbang app uninstall camel && jbang app install camel@apache/camel
> camel config set 
> deps=org.apache.camel.springboot:camel-timer-starter,camel:management,camel:cli-connector
> camel config set runtime=spring-boot
> camel config set gav=com.foo:acme:1.0-SNAPSHOT
> camel init test.yaml
> camel run test.yaml
>            Reporter: Salvatore Mongiardo
>            Assignee: Federico Mariani
>            Priority: Minor
>             Fix For: 4.0.2, 4.1.0
>
>         Attachments: camel-jbang-logger-exception.log
>
>
>  
> During the execution of `{_}camel run ...{_} ` in Windows environments (e.g. 
> tested on Win 2019) we get the exception reported in the attached file, 
> basically:
>  
> {code:java}
> ERROR StatusConsoleListener FileManager 
> (C:\Users\hudson/.camel/${sys:pid}.log) java.io.IOException: The filename, 
> directory name, or volume label syntax is incorrect {code}
> It sounds like a logging configuration issue in resolving *${sys:pid}* 
> placeholder coded in log4j properties 
> [file|https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/main/resources/log4j2.properties#L28]
>  
>  
>  



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

Reply via email to