View Issue Details

IDProjectCategoryView StatusLast Update
0004701SymmetricDSBugpublic2021-01-11 13:47
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.0 
Target Version3.12.6Fixed in Version3.12.6 
Summary0004701: Windows unable to access log4j2.xml file on command line
DescriptionOn Windows, when running command line utilities like "symadmin", it complains that it cannot access the log4j2.xml configuration file, and the path to the file looks mangled.

ERROR StatusLogger Unable to access file:/C:/SymmetricDS-Pro/bin/file:C:/SymmetricDS-Pro/conf/log4j2.xml
 java.io.FileNotFoundException: C:\SymmetricDS-Pro\bin\file:C:\SymmetricDS-Pro\conf\log4j2.xml (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileInputStream.<init>(FileInputStream.java:93)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
        at org.apache.logging.log4j.core.config.ConfigurationSource.fromUri(ConfigurationSource.java:330)
        at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:499)
        at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:492)
        at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:415)
        at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:323)
        at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:687)
        at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:708)
        at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
        at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
        at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:138)
        at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:45)
        at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:48)
        at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
        at org.jumpmind.symmetric.AbstractCommandLauncher.<clinit>(AbstractCommandLauncher.java:122)
Tagssymadmin

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.12 b01c5dfd

2020-12-14 16:21:34

admin

Details Diff
0004701: Windows unable to access log4j2.xml file on command line Affected Issues
0004701
mod - symmetric-server/src/main/deploy/bin/setenv.bat Diff File

Issue History

Date Modified Username Field Change
2020-12-14 16:04 elong New Issue
2020-12-14 16:04 elong Status new => assigned
2020-12-14 16:04 elong Assigned To => elong
2020-12-14 16:04 elong Tag Attached: symadmin
2020-12-14 16:22 elong Status assigned => resolved
2020-12-14 16:22 elong Resolution open => fixed
2020-12-14 16:22 elong Fixed in Version => 3.12.6
2020-12-14 17:00 admin Changeset attached => SymmetricDS 3.12 b01c5dfd
2021-01-11 13:47 admin Status resolved => closed