java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout

Oracle Community | 501244 | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    db:: 5.96::error 26 at 00000000009E83 1k

    hivmr.com | 1 year ago
    java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout
  2. 0

    Unable to start OC4J server - Oracle SOA suite 10.1.3.5

    Oracle Community | 6 years ago | 501244
    java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout

      at org.apache.log4j.xml.DOMConfigurator.parseLayout()
    2. Apache Log4j
      DOMConfigurator.parseCategory
      1. org.apache.log4j.xml.DOMConfigurator.parseLayout(DOMConfigurator.java:446)
      2. org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:186)
      3. org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
      4. org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
      5. org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
      6. org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:335)
      6 frames
    3. com.collaxa
      ServerLoggerManager$DOMConfigurator.parseCategory
      1. com.collaxa.ServerLoggerManager$DOMConfigurator.parseCategory(ServerLoggerManager.java:464)
      1 frame
    4. Apache Log4j
      DOMConfigurator.doConfigure
      1. org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:781)
      2. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
      3. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
      4. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
      4 frames
    5. com.collaxa
      ServerLoggerManager.init
      1. com.collaxa.ServerLoggerManager.init(ServerLoggerManager.java:69)
      1 frame
    6. oracle.bpel.services
      TaskQueryService.authenticate
      1. oracle.bpel.services.common.ServicesLogger.initLoging(ServicesLogger.java:602)
      2. oracle.bpel.services.common.ServicesLogger.getLogger(ServicesLogger.java:183)
      3. oracle.bpel.services.common.ServicesLogger.canLog(ServicesLogger.java:373)
      4. oracle.bpel.services.workflow.util.LogUtil.isLoggingEnabled(LogUtil.java:56)
      5. oracle.bpel.services.workflow.util.LogUtil.isDebugLoggingEnabled(LogUtil.java:67)
      6. oracle.bpel.services.workflow.util.LogUtil.verifyAndLogDebugMessage(LogUtil.java:138)
      7. oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:157)
      7 frames
    7. com.abc.workflow
      ABCTaskServiceSOAPPortBinding_Tie.processingHook
      1. com.abc.workflow.task.service.ABCTaskService.getWorkFlowContext(ABCTaskService.java:2011)
      2. com.abc.workflow.task.service.ABCTaskService.customTaskAction(ABCTaskService.java:1647)
      3. com.abc.workflow.task.facade.runtime.ABCTaskServiceSOAPPortBinding_Tie.invoke_customTaskAction(ABCTaskServiceSOAPPortBinding_Tie.java:910)
      4. com.abc.workflow.task.facade.runtime.ABCTaskServiceSOAPPortBinding_Tie.processingHook(ABCTaskServiceSOAPPortBinding_Tie.java:1474)
      4 frames
    8. oracle.j2ee.ws
      WebServiceServlet.doPost
      1. oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
      2. oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:430)
      3. oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:379)
      4. oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:294)
      5. oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      6. oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:151)
      7. oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      7 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    10. com.evermind.server
      AJPRequestHandler.run
      1. com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      3. com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      4. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      5. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      6. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      6 frames
    11. oracle.oc4j.network
      ServerSocketReadHandler$SafeRunnable.run
      1. oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      1 frame
    12. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame