struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: [ANNOUNCE] Struts-JavaServer Faces [installation error]
Date Fri, 07 Mar 2003 16:44:16 GMT


On Thu, 6 Mar 2003, Matt Raible wrote:

> Date: Thu, 6 Mar 2003 22:44:15 -0700
> From: Matt Raible <matt@raibledesigns.com>
> Reply-To: Struts Developers List <struts-dev@jakarta.apache.org>
> To: Struts Developers List <struts-dev@jakarta.apache.org>
> Subject: Re: [ANNOUNCE] Struts-JavaServer Faces [installation error]
>
> I installed struts-faces as recommended and found that I had to remove
> commons-logging.jar from WEB-INF/lib when running on the following platform:
>
> Tomcat 4.1.18
> JDK 1.4.1_01
> Windows 2000 SP3
>

Interesting ... did you find that to be true with the standard Struts
examples as well?

The stack trace below is from the first use of logging in the
ServletContextListener in the struts-faces library, which would probably
be the first use of logging in the webapp.  I'd expect the same sort of
problem from a standard Struts app that used a ServletContextListener
which did logging.

Craig

> Here's the stack trace from the startup:
>
> 2003-03-06 22:35:27 StandardContext[/struts-faces]: Error configuring
> application listener of class org.apache.struts.faces.taglib.LifecycleListener
> java.lang.ExceptionInInitializerError
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> 	at java.lang.Class.newInstance0(Class.java:306)
> 	at java.lang.Class.newInstance(Class.java:259)
> 	at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3237)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3598)
> 	at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
> 	at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:257)
> 	at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
> 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
> 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
> 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
> 	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:2189)
> 	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(NativeMethodAccessorImpl.java:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Jdk14Logger does not implement Log
> 	at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:568)
> 	at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
> 	at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:265)
> 	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
> 	at
> org.apache.struts.faces.taglib.LifecycleListener.<clinit>(LifecycleListener.java:117)
> 	... 32 more
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Jdk14Logger does not implement Log
> 	at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:434)
> 	at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:561)
> 	... 36 more
> Caused by: org.apache.commons.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Jdk14Logger does not implement Log
> 	at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:430)
> 	... 37 more
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message