This discussion is archived
1 Reply Latest reply: May 12, 2010 10:20 AM by 772674 RSS

java.lang.IllegalAccessError for LogFactory

659191 Newbie
Currently Being Moderated
Hi,

I have a servlet using Apache's HttpClient, and when deployed to 10.1.3, I'm getting the following

java.lang.IllegalAccessError: tried to access class org.apache.commons.logging.LogFactory$1 from class org.apache.commons.logging.LogFactory

Ideas?

Thanks.
-R
  • 1. Re: java.lang.IllegalAccessError for LogFactory
    772674 Newbie
    Currently Being Moderated
    Hi,

    i had similar issue when i deploy an applicatin with bpel and quartz enalabledr. can any one help to fix the issue.

    Thanks ..

    below is the error msg:
    10/05/12 19:58:42 after getting FCJobCacheFactory.getInstance.jobs
    10/05/12 19:58:42 In BranchController--> init()
    10/05/12 19:58:42 org.apache.commons.logging.LogConfigurationException: java.lang.IllegalAccessError: tried to access class org.apache.commons.logging.impl.SimpleLog$1 from class org.apache.commons.logging.impl.SimpleLog (Caused by java.lang.IllegalAccessError: tried to access class org.apache.commons.logging.impl.SimpleLog$1 from class org.apache.commons.logging.impl.SimpleLog)
    10/05/12 19:58:42      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
    10/05/12 19:58:42      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
    10/05/12 19:58:42      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
    10/05/12 19:58:42      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
    10/05/12 19:58:42      at org.quartz.simpl.SimpleThreadPool.getLog(SimpleThreadPool.java:132)
    10/05/12 19:58:42      at org.quartz.simpl.SimpleThreadPool.initialize(SimpleThreadPool.java:253)
    10/05/12 19:58:42      at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:897)
    10/05/12 19:58:42      at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1084)
    10/05/12 19:58:42      at org.quartz.impl.StdSchedulerFactory.getDefaultScheduler(StdSchedulerFactory.java:1100)
    10/05/12 19:58:42      at com.iflex.scheduler.quartz.FCQrtzJobSchedule.scheduleNotifyJob(FCQrtzJobSchedule.java:135)
    10/05/12 19:58:42      at com.iflex.fcc.web.FCScheduleServlet.init(FCScheduleServlet.java:53)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2371)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    10/05/12 19:58:42      at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    10/05/12 19:58:42      at com.evermind.server.Application.getHttpApplication(Application.java:570)
    10/05/12 19:58:42      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    10/05/12 19:58:42      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    10/05/12 19:58:42      at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    10/05/12 19:58:42      at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    10/05/12 19:58:42      at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    10/05/12 19:58:42      at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    10/05/12 19:58:42      at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    10/05/12 19:58:42      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    10/05/12 19:58:42      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    10/05/12 19:58:42      at java.lang.Thread.run(Thread.java:595)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points