โ04-27-2023 09:31 AM
ERROR StatusLogger Unable to locate configured LoggerContextFactory org.mule.runtime.module.launcher.log4j2.MuleLog4jContextFactory
ERROR StatusLogger Unable to load class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
java.lang.ClassCastException: class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
at java.lang.Class.asSubclass(Class.java:3404)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.config.ConfigurationFactory.addFactory(ConfigurationFactory.java:227)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.config.ConfigurationFactory.getInstance(ConfigurationFactory.java:169)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:695)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:137)
at com.databricks.client.jdbc42.internal.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:55)
at com.databricks.client.jdbc42.internal.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47)
at com.databricks.client.jdbc42.internal.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33)
at com.databricks.client.jdbc42.internal.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
at com.databricks.client.jdbc42.internal.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
at com.databricks.client.jdbc42.internal.apache.arrow.memory.util.AssertionUtil.<clinit>(AssertionUtil.java:26)
at com.databricks.client.jdbc42.internal.apache.arrow.memory.BaseAllocator.<clinit>(BaseAllocator.java:48)
at com.databricks.client.spark.arrow.ArrowBuffer.<init>(Unknown Source)
at com.databricks.client.spark.jdbc.SparkJDBC42Driver.createArrowBuffer(Unknown Source)
at com.databricks.client.hivecommon.api.HS2Client.makeRowsetBuffer(Unknown Source)
at com.databricks.client.hivecommon.dataengine.BackgroundFetcher.<init>(Unknown Source)
at com.databricks.client.hivecommon.dataengine.HiveJDBCResultSet.moveToNextRow(Unknown Source)
at com.databricks.client.jdbc.common.BaseForwardResultSet.next(Unknown Source)
at org.mule.db.commons.shaded.internal.result.resultset.ResultSetIterator.hasNext(ResultSetIterator.java:49)
at org.mule.db.commons.shaded.internal.operation.DmlOperations$1.getPage(DmlOperations.java:153)
at org.mule.db.commons.shaded.internal.operation.DmlOperations$1.getPage(DmlOperations.java:141)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderWrapper.getPage(PagingProviderWrapper.java:79)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.withConnection(PagingProviderProducer.java:157)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.withConnection(PagingProviderProducer.java:150)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.lambda$performWithConnection$1(PagingProviderProducer.java:123)
at net.jodah.failsafe.Functions.lambda$promiseOfStage$8(Functions.java:193)
at net.jodah.failsafe.internal.executor.RetryPolicyExecutor$1.call(RetryPolicyExecutor.java:101)
at net.jodah.failsafe.internal.executor.RetryPolicyExecutor.lambda$supplyAsync$1(RetryPolicyExecutor.java:133)
at net.jodah.failsafe.Functions.lambda$null$1(Functions.java:69)
at org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator.synchronousSchedule(ConditionalExecutorServiceDecorator.java:181)
at org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator.schedule(ConditionalExecutorServiceDecorator.java:167)
at net.jodah.failsafe.Functions.lambda$makeAsync$2(Functions.java:79)
at net.jodah.failsafe.AsyncExecution.executeAsync(AsyncExecution.java:174)
at net.jodah.failsafe.FailsafeExecutor.callAsync(FailsafeExecutor.java:346)
at net.jodah.failsafe.FailsafeExecutor.getStageAsync(FailsafeExecutor.java:178)
at org.mule.runtime.core.internal.retry.policies.SimpleRetryPolicy.applyPolicy(SimpleRetryPolicy.java:90)
at org.mule.runtime.core.api.retry.policy.RetryPolicyTemplate.applyPolicy(RetryPolicyTemplate.java:143)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.performWithConnection(PagingProviderProducer.java:122)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.produce(PagingProviderProducer.java:100)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.produce(PagingProviderProducer.java:54)
at org.mule.runtime.core.api.streaming.iterator.ListConsumer.loadNextPage(ListConsumer.java:81)
at org.mule.runtime.module.extension.internal.runtime.operation.OperationMessageProcessorBuilder.lambda$transformPagingDelegate$0(OperationMessageProcessorBuilder.java:93)
at org.mule.runtime.core.api.util.func.CheckedBiFunction.apply(CheckedBiFunction.java:19)
at org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator$TransformingExecutionCallbackDecorator.complete(DefaultExecutionMediator.java:337)
at org.mule.runtime.module.extension.internal.runtime.execution.CompletableMethodOperationExecutor.doExecute(CompletableMethodOperationExecutor.java:26)
at org.mule.runtime.module.extension.internal.runtime.execution.AbstractCompletableMethodOperationExecutor.execute(AbstractCompletableMethodOperationExecutor.java:61)
at org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.executeCommand(DefaultExecutionMediator.java:237)
at org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.lambda$executeWithInterceptors$6(DefaultExecutionMediator.java:219)
at org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.lambda$executeWithRetry$2(DefaultExecutionMediator.java:197)
at net.jodah.failsafe.Functions.lambda$promiseOfStage$8(Functions.java:193)
at net.jodah.failsafe.internal.executor.RetryPolicyExecutor$1.call(RetryPolicyExecutor.java:101)
at net.jodah.failsafe.internal.executor.RetryPolicyExecutor.lambda$supplyAsync$1(RetryPolicyExecutor.java:133)
at net.jodah.failsafe.Functions.lambda$null$1(Functions.java:69)
at org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator.synchronousSchedule(ConditionalExecutorServiceDecorator.java:181)
at org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator.schedule(ConditionalExecutorServiceDecorator.java:167)
at net.jodah.failsafe.Functions.lambda$makeAsync$2(Functions.java:79)
at net.jodah.failsafe.AsyncExecution.executeAsync(AsyncExecution.java:174)
at net.jodah.failsafe.FailsafeExecutor.callAsync(FailsafeExecutor.java:346)
at net.jodah.failsafe.FailsafeExecutor.getStageAsync(FailsafeExecutor.java:178)
at org.mule.runtime.core.internal.retry.policies.SimpleRetryPolicy.applyPolicy(SimpleRetryPolicy.java:90)
at org.mule.runtime.core.api.retry.policy.RetryPolicyTemplate.applyPolicy(RetryPolicyTemplate.java:143)
at org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.executeWithRetry(DefaultExecutionMediator.java:195)
at org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.executeWithInterceptors(DefaultExecutionMediator.java:219)
at org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.lambda$execute$1(DefaultExecutionMediator.java:130)
at org.mule.runtime.core.internal.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:15)
at org.mule.runtime.core.internal.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:76)
at org.mule.runtime.core.internal.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:46)
at org.mule.runtime.core.internal.execution.ValidateTransactionalStateInterceptor.execute(ValidateTransactionalStateInterceptor.java:43)
at org.mule.runtime.core.internal.execution.IsolateCurrentTransactionInterceptor.execute(IsolateCurrentTransactionInterceptor.java:37)
at org.mule.runtime.core.api.execution.TransactionalExecutionTemplate.execute(TransactionalExecutionTemplate.java:139)
at org.mule.runtime.module.extension.internal.runtime.operation.DefaultExecutionMediator.withExecutionTemplate(DefaultExecutionMediator.java:313)
at
โ04-28-2023 10:45 AM
@Uppala Deexithโ :
This error message suggests that there is an issue with the logging configuration in your application. It looks like your application is attempting to use Log4j2 for logging, but it cannot locate the LoggerContextFactory. This could be caused by a missing or misconfigured log4j2.xml file, or by an issue with the Log4j2 library itself.
Here are some steps that you could try to resolve this issue:
โ04-28-2023 10:46 PM
Hi @Uppala Deexithโ
Thank you for posting your question in our community! We are happy to assist you.
To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?
This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!
โ11-28-2023 09:14 AM
Hi @Uppala Deexithโ
Any update on how you fixed this issue would greatly appreciated.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group