Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19938

JBang camel CLI not working when using "run" option on Windows environments

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0.0
    • 4.0.2, 4.1.0
    • camel-jbang
    • None
    • Unknown

    Description

       

      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:

       

      ERROR StatusConsoleListener FileManager (C:\Users\hudson/.camel/${sys:pid}.log) java.io.IOException: The filename, directory name, or volume label syntax is incorrect 

      It sounds like a logging configuration issue in resolving ${sys:pid} placeholder coded in log4j properties file

       

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Federico Mariani Federico Mariani
            smongiar Salvatore Mongiardo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment