You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Federico Mariani (Jira)" <ji...@apache.org> on 2023/10/02 13:07:00 UTC
[jira] [Assigned] (CAMEL-19938) JBang camel CLI not working when using "run" option on Windows environments
[ https://issues.apache.org/jira/browse/CAMEL-19938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Federico Mariani reassigned CAMEL-19938:
----------------------------------------
Assignee: Federico Mariani
> 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.x
>
> 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)