You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Juan Alvarado (Struts List)" <ju...@manduca.com> on 2002/03/28 15:26:34 UTC
Problem starting struts beta 1.1
After following the directions for installation of the 1.1 beta of struts, I
got the following message when I started tomcat:
The lib folder of my app contains all the jar files that I believe are
needed. Additionally, my classpath is set to include jaxp.jar, crimson.jar
and jdbc2_0-stdext.jar as it is instructed in the installation
documentation.
Can anybody please tell what might be wrong.
Thanks
2002-03-28 09:03:18 - Ctx(/struts-upload) : Validating web.xml
2002-03-28 09:03:18 - Ctx(/struts-upload) : Exception in preInit
java.lang.Cla
NotFoundException: org.apache.commons.logging.impl.LogFactoryImpl -
org.apache
ommons.logging.LogConfigurationException: java.lang.ClassNotFoundException:
or
apache.commons.logging.impl.LogFactoryImpl
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:49
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:35
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
at
org.apache.struts.action.ActionServlet.<init>(ActionServlet.java:33
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown
Source)
at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.init(Unknown Source)
at
org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(Unkno
Source)
at org.apache.tomcat.core.Context.init(Unknown Source)
at org.apache.tomcat.core.ContextManager.init(Unknown Source)
at
org.apache.tomcat.startup.EmbededTomcat.initContextManager(Unknown
urce)
at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
at
org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unkn
n Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
Sou
e)
at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
at org.apache.tomcat.startup.Main.execute(Unknown Source)
at org.apache.tomcat.startup.Main.main(Unknown Source)
EmbededTomcat: Init time 9223
2002-03-28 09:03:18 - Http10Interceptor: Starting on 8080
2002-03-28 09:03:18 - Ajp12Interceptor: Starting on 8007
2002-03-28 09:03:18 - Ajp13Interceptor: Starting on 8009
EmbededTomcat: Startup time 91
**********************************************
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
jalvarado@manduca.com
AOL Instant Messenger: juan2000@aol.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Problem starting struts beta 1.1
Posted by "Juan Alvarado (Struts List)" <ju...@manduca.com>.
Thanks for the quick reply. I will give it a try also.
**********************************************
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
jalvarado@manduca.com
AOL Instant Messenger: juan2000@aol.com
-----Original Message-----
From: Marcelo Vanzin [mailto:vanza@rededc.com.br]
Sent: Thursday, March 28, 2002 9:38 AM
To: Struts Users Mailing List
Subject: Re: Problem starting struts beta 1.1
Juan Alvarado (Struts List) wrote:
> 2002-03-28 09:03:18 - Ctx(/struts-upload) : Validating web.xml
> 2002-03-28 09:03:18 - Ctx(/struts-upload) : Exception in preInit
> java.lang.Cla
> NotFoundException: org.apache.commons.logging.impl.LogFactoryImpl -
I had exactly the same problem when we switched from Weblogic 6.1 sp1 to
sp2. Under both sp1 and tomcat 4.0 all worked fine.
I worked around the problem by putting the "commons-logging.jar" in the
server classpath (not in WEB-INF/lib). This is not the ideal solution if
you have more than 1 application running in the server, though.
Anyone knows what is the cause of this problem?
--
[]'s
Marcelo Vanzin
Touch Tecnologia
vanza@rededc.com.br
"Life is too short to drink cheap beer"
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Problem starting struts beta 1.1
Posted by "Juan Alvarado (Struts List)" <ju...@manduca.com>.
A work around for this in Tomcat 3.3a is to put the "commons-logging.jar" in
the /lib/common folder.
The documentation does not state this. It would be nice to know if this is a
bug, or if this is the way the designers implemented it.
Thanks
**********************************************
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
jalvarado@manduca.com
AOL Instant Messenger: juan2000@aol.com
-----Original Message-----
From: Marcelo Vanzin [mailto:vanza@rededc.com.br]
Sent: Thursday, March 28, 2002 9:38 AM
To: Struts Users Mailing List
Subject: Re: Problem starting struts beta 1.1
Juan Alvarado (Struts List) wrote:
> 2002-03-28 09:03:18 - Ctx(/struts-upload) : Validating web.xml
> 2002-03-28 09:03:18 - Ctx(/struts-upload) : Exception in preInit
> java.lang.Cla
> NotFoundException: org.apache.commons.logging.impl.LogFactoryImpl -
I had exactly the same problem when we switched from Weblogic 6.1 sp1 to
sp2. Under both sp1 and tomcat 4.0 all worked fine.
I worked around the problem by putting the "commons-logging.jar" in the
server classpath (not in WEB-INF/lib). This is not the ideal solution if
you have more than 1 application running in the server, though.
Anyone knows what is the cause of this problem?
--
[]'s
Marcelo Vanzin
Touch Tecnologia
vanza@rededc.com.br
"Life is too short to drink cheap beer"
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Problem starting struts beta 1.1
Posted by Marcelo Vanzin <va...@rededc.com.br>.
Juan Alvarado (Struts List) wrote:
> 2002-03-28 09:03:18 - Ctx(/struts-upload) : Validating web.xml
> 2002-03-28 09:03:18 - Ctx(/struts-upload) : Exception in preInit
> java.lang.Cla
> NotFoundException: org.apache.commons.logging.impl.LogFactoryImpl -
I had exactly the same problem when we switched from Weblogic 6.1 sp1 to
sp2. Under both sp1 and tomcat 4.0 all worked fine.
I worked around the problem by putting the "commons-logging.jar" in the
server classpath (not in WEB-INF/lib). This is not the ideal solution if
you have more than 1 application running in the server, though.
Anyone knows what is the cause of this problem?
--
[]'s
Marcelo Vanzin
Touch Tecnologia
vanza@rededc.com.br
"Life is too short to drink cheap beer"
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>