Answer myself :) It appeared that this happens because TOMCAT do not see for some reason logkit-1.2.jar with org.apache.log.Hierarchy but exception reports absolutly another reason.
I removed this JAR - problem still stay I added in catalana.sh parameter -Xbootclasspath/p:/path/to/logkit-1.2.jar And it works now WBR Slava > -----Ursprungliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 9. Marz 2004 11:09 > An: [EMAIL PROTECTED] > Betreff: Run cocoon-servlet problem : java.lang.IllegalAccessError > > > Hi all > > I'm trying to run cocoon-2.1.4 under tomcat 4.1.27 > I get such an exseption : > > -------------------------------------------------- > 2004-03-09 10:36:29 StandardContext[]: Servlet threw load() exception > javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw > exception > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapp > er.java:96 > 3) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardCon > text.java: > 3421) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:3609) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:738) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) > at > org.apache.catalina.core.StandardService.start(StandardService.java:497) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) > at org.apache.catalina.startup.Catalina.start(Catalina.java:512) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > at org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm > pl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > ----- Root Cause ----- > java.lang.IllegalAccessError: tried to access method > org.apache.log.Hierarchy.getRootLogger()Lorg/apache/log/Logger; from class > org.apache.a > valon.excalibur.logger.LogKitLoggerManager > at > org.apache.avalon.excalibur.logger.LogKitLoggerManager.<init>(LogK > itLoggerMa > nager.java:131) > at > org.apache.avalon.excalibur.logger.LogKitLoggerManager.<init>(LogK > itLoggerMa > nager.java:113) > at > org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:820) > at > org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:338) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapp > er.java:93 > 5) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardCon > text.java: > 3421) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:3609) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:738) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) > at > org.apache.catalina.core.StandardService.start(StandardService.java:497) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) > at org.apache.catalina.startup.Catalina.start(Catalina.java:512) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > at org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm > pl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > -------------------------------------------------- > > Could someboby explain what is wrong or just give me a hint what > it can be? > > > WBR Slava > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]