You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by wb...@Ensign-BickfordInd.com on 2002/08/13 17:53:13 UTC

Logging in 1.1b2

I just dropped in 1.1B2 and all of the sudden things stopped working.  I 
have two apps I tried it with... Both of which were running a nightly 
build from around august 1st.  One of them still works, but the other 
one does not.

I checked the archives and there was a thread discussing having an older 
log4j jar in the lib directory.  I do have one in the webapp that no 
longer works ( for Poolman).  I tried updating to the newest log4j and I 
still have this problem:

Any ideas?

PS. If i drop log4j into the other apps lib directory - it too blows a 
gasket!


2002-08-13 11:43:25 StandardContext[/twizard]: Servlet /twizard threw 
load() exception
javax.servlet.ServletException: Error instantiating servlet class 
org.apache.struts.action.ActionServlet
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:893)
	at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
	at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3266)
	at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395
)
	at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
	at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
	at 
org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
	at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
	at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
	at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:23
2)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:155)
	at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
	at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
	at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
	at 
org.apache.catalina.core.StandardService.start(StandardService.java:388)
	at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.lang.ExceptionInInitializerError: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: Class 
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp
l.java:530)
	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
l.java:285)
	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
l.java:255)
	at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:375)
	at 
org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:375)
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Class.java:237)
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:884)
	at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
	at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3266)
	at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395
)
	at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
	at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
	at 
org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
	at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
	at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
	at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:23
2)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:155)
	at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
	at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
	at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
	at 
org.apache.catalina.core.StandardService.start(StandardService.java:388)
	at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Logging in 1.1b2

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Tue, 13 Aug 2002 wbchmura@Ensign-BickfordInd.com wrote:

> Date: Tue, 13 Aug 2002 11:53:13 -0400
> From: wbchmura@Ensign-BickfordInd.com
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: struts-user@jakarta.apache.org
> Subject: Logging in 1.1b2
>
>
> I just dropped in 1.1B2 and all of the sudden things stopped working.  I
> have two apps I tried it with... Both of which were running a nightly
> build from around august 1st.  One of them still works, but the other
> one does not.
>

I've updated the README text on the Struts website to indicate that Log4J
users should download the commons-logging 1.0.1 release and replace the
copy of commons-logging.jar found in the Struts beta with the 1.0.1
release version.  Convenient links are provided to get your copy of
commons-logging:

  http://jakarta.apache.org/builds/jakarta-struts/release/v1.1-b2/

Sorry for the confusion.

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>