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

Ralph Goers commented on LOG4J2-2994:
-------------------------------------

Can you provide the full stack trace? I need to know what code created that url.

> Setting configuration file path no longer works with Windows OS
> ---------------------------------------------------------------
>
>                 Key: LOG4J2-2994
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2994
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.13.2, 2.14.0, 2.13.3
>         Environment: Windows 10
> Tomcat 9.0.40
> AdoptOpenJDK 15.0.1
>            Reporter: Chen Levy
>            Priority: Major
>
> Hello Everyone
> Our project uses the following configuration when setting up Log4J2 with 
> Tomcat:
> {code:java}
> -Dlog4j.configurationFile=$CATALINA_HOME/conf/log4j2.xml
> {code}
> This worked fine for many years now, but starting with version 2.13.2 we get 
> the following exception on Windows machines:
> {code:java}
> ERROR StatusLogger Unable to access 
> file://C/Work/Servers/apache-tomcat-9.0.40/conf/log4j2.xml
>  java.net.UnknownHostException: C
>       at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)
>       at java.base/java.net.Socket.connect(Socket.java:648)
>       at java.base/sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:961)
>       at java.base/sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:923)
> {code}
> This prevents us from upgrading pass 2.13.1
> Thanks



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to