https://linen.dev logo
m

Mason Wheeler

05/18/2021, 10:04 PM
Anyone have any idea why I'm seeing this error?
141223.148 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - ERROR StatusLogger Error parsing jarfile/airbyte/lib/io.airbyte-airbyte-commons-0.22.3-alpha.jar!/log4j2.xml
141223.155 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - javax.xml.parsers.ParserConfigurationException
141223.155 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at oracle.xml.jaxp.JXDocumentBuilderFactory.setFeature(JXDocumentBuilderFactory.java:374)
141223.156 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.config.xml.XmlConfiguration.setFeature(XmlConfiguration.java:213)
141223.156 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.config.xml.XmlConfiguration.disableDtdProcessing(XmlConfiguration.java:205)
141223.156 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.config.xml.XmlConfiguration.newDocumentBuilder(XmlConfiguration.java:194)
141223.156 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.config.xml.XmlConfiguration.<init>(XmlConfiguration.java:92)
141223.157 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:46)
141223.157 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:453)
141223.157 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:385)
141223.157 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:260)
141223.158 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:615)
141223.158 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:636)
141223.158 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231)
141223.158 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)
141223.159 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
141223.159 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
141223.159 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:121)
141223.159 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)
141223.169 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46)
141223.169 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
141223.169 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:355)
141223.170 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:380)
141223.170 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - at io.airbyte.integrations.destination.jdbc.AbstractJdbcDestination.<clinit>(AbstractJdbcDestination.java:46)
141223.208 [pool-4-thread-1] ERROR io.airbyte.workers.DefaultCheckConnectionWorker - ERROR StatusLogger No logging configuration
u

user

05/18/2021, 10:04 PM
what's the context in which this is being thrown?
u

user

05/18/2021, 10:05 PM
The context is
AbstractJdbcDestination
executing the following line
Copy code
private static final Logger LOGGER = LoggerFactory.getLogger(AbstractJdbcDestination.class);
while trying to run a test.
u

user

05/18/2021, 10:09 PM
i assume you haven't changed anything in
airbyte-commons
.(that's where the log4j2.xml configuration is)
u

user

05/18/2021, 10:10 PM
Mason, did you start working on Oracle destination?
u

user

05/18/2021, 10:20 PM
@charles not a thing
u

user

05/18/2021, 10:20 PM
@[DEPRECATED] Marcos Marx Yes, that's where this is happening
u

user

05/18/2021, 10:23 PM
u

user

05/18/2021, 10:30 PM
oh. you needed to override the logger, marcos? i guess that make sense.
u

user

05/18/2021, 10:30 PM
mason, did that help