[
https://issues.apache.org/jira/browse/FOR-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531543
]
Thorsten Scherler commented on FOR-1049:
----------------------------------------
Till now I think the best hint gave Antonio.
If you do
cd tomcat5.5/bin
mv commons-logging-api.jar commons-logging-api.jar.bck
cp $SOME_WHERE/commons-logging-1.0.4.jar commons-logging-api.jar
Then you get a slight different error:
SEVERE: Error deploying web application directory boja2
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@1fe4169 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@1fe4169 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
at
org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:381)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4119)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable
Log constructor [Ljava.lang.Class;@1fe4169 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 26 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.getConstructor(Class.java:1629)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
... 27 more
Oct 1, 2007 4:38:07 PM org.apache.catalina.startup.HostConfig deployDirectory
> Forrest war is crashing Tomcat upon restart
> -------------------------------------------
>
> Key: FOR-1049
> URL: https://issues.apache.org/jira/browse/FOR-1049
> Project: Forrest
> Issue Type: Bug
> Components: Launch servlet WAR
> Reporter: Thorsten Scherler
> Priority: Critical
>
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg00779.html
> "I'm having some problems with the present svn head (two days old): the war
> it creates installes fine in Tomcat when deployed through Tomcat's HTML
> Manager, and as long as Tomcat is running without interruption, there's no
> problem. But when restarted, Tomcat crashes severely. This happens only when
> the Forrest war is installed, without the Forrest war, there is no problem.
> Config:
> - (almost) latest Forrest svn
> - Tomcat 5.5.9
> - Java 1.5_02
> - Win2k server"
> I am seeing the same issue on an ubuntu linux.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.