cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4063] New: - cocoon2 does not run with tomcat 4.0
Date Wed, 10 Oct 2001 07:14:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4063

cocoon2 does not run with tomcat 4.0

           Summary: cocoon2 does not run with tomcat 4.0
           Product: Cocoon 2
           Version: 2.0rc1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: Johannes.Reich@sap.com


Hi!
I compiled cocoon2rc1a with the classpath
.;c:\java\junit3.7\junit.jar;c:\java\lib\xerces_1_4_3.jar;c:\java\lib\xalan-2.2.0-dev.jar;c:\java\lib\servlet_2_2.jar
No errors were reported, the cocoon.war file was  10.138.503 Byte large

I copied it to c:\tomcat40\webapps and started tomcat.
the tomcat logfile entries were

2001-10-08 18:22:21 StandardHost[localhost]: Installing web application at
context path /cocoon from URL file:C:\tomcat40\webapps\cocoon
2001-10-08 18:22:21 WebappLoader[/cocoon]: Deploying class repositories to work
directory C:\tomcat40\work\localhost\cocoon
2001-10-08 18:22:21 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
Tidy.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of Tidy.jar
2001-10-08 18:22:21 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
ant_1_4-optional.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of
ant_1_4-optional.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
ant_1_4.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of ant_1_4.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
avalon-excalibur-4.0.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of
avalon-excalibur-4.0.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
avalon-framework-4.0.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of
avalon-framework-4.0.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
batik-libs.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of batik-libs.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
bsf.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of bsf.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
cocoon-2.0rc1.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of
cocoon-2.0rc1.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
dom2.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of dom2.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
fop-0_20_1-dev.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of
fop-0_20_1-dev.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
hsqldb-1.61.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of hsqldb-1.61.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
jakarta-regexp-1.2.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of
jakarta-regexp-1.2.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
jimi-1.0.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of jimi-1.0.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
jstyle.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of jstyle.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
junit.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of junit.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
logkit-1.0b5.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of logkit-1.0b5.jar
2001-10-08 18:22:22 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
maybeupload.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of maybeupload.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
resolver.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of resolver.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
rhino.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of rhino.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
servlet_2_2.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of servlet_2_2.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
stylebook-1.0-b3_xalan-2.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of
stylebook-1.0-b3_xalan-2.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
velocity-1.1.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of velocity-1.1.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
xalan-2.2.0-dev.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of
xalan-2.2.0-dev.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
xerces_1_4_3.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of xerces_1_4_3.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Copy of
xt.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\Copy of xt.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/Tidy.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\Tidy.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/avalon-excalibur-4.0.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\avalon-excalibur-4.0.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/avalon-framework-4.0.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\avalon-framework-4.0.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/batik-libs.jar to C:\tomcat40\webapps\cocoon\WEB-INF\lib\batik-libs.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/bsf.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\bsf.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/cocoon-2.0rc1.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\cocoon-2.0rc1.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/dom2.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\dom2.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/fop-0_20_1-dev.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\fop-0_20_1-dev.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/hsqldb-1.61.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\hsqldb-1.61.jar
2001-10-08 18:22:23 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/jakarta-regexp-1.2.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/javac.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\javac.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/jimi-1.0.jar
to C:\tomcat40\webapps\cocoon\WEB-INF\lib\jimi-1.0.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/jstyle.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\jstyle.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/junit.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\junit.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/logkit-1.0b5.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\logkit-1.0b5.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/maybeupload.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\maybeupload.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/resolver.jar
to C:\tomcat40\webapps\cocoon\WEB-INF\lib\resolver.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/rhino.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\rhino.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/velocity-1.1.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\velocity-1.1.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/xalan-2.2.0-dev.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\xalan-2.2.0-dev.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR
/WEB-INF/lib/xerces_1_4_3.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\xerces_1_4_3.jar
2001-10-08 18:22:24 WebappLoader[/cocoon]: Deploy JAR /WEB-INF/lib/xt.jar to
C:\tomcat40\webapps\cocoon\WEB-INF\lib\xt.jar
2001-10-08 18:22:24 StandardManager[/cocoon]: Seeding random number generator
class java.security.SecureRandom
2001-10-08 18:22:24 StandardManager[/cocoon]: Seeding of random number generator
has been completed
2001-10-08 18:22:41 StandardWrapper[/cocoon:Cocoon2]: Marking servlet Cocoon2 as
unavailable
2001-10-08 18:22:41 StandardContext[/cocoon]: Servlet /cocoon threw load() exception
javax.servlet.ServletException: Class org.apache.cocoon.servlet.CocoonServlet is
not a Servlet
	at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
	at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown Source)
	at org.apache.catalina.core.StandardContext.start(Unknown Source)
	at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
	at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
	at org.apache.catalina.core.StandardHost.install(Unknown Source)
	at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
	at org.apache.catalina.startup.HostConfig.start(Unknown Source)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown Source)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source)
	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
	at org.apache.catalina.core.StandardEngine.start(Unknown Source)
	at org.apache.catalina.core.StandardService.start(Unknown Source)
	at org.apache.catalina.core.StandardServer.start(Unknown Source)
	at org.apache.catalina.startup.Catalina.start(Unknown Source)
	at org.apache.catalina.startup.Catalina.execute(Unknown Source)
	at org.apache.catalina.startup.Catalina.process(Unknown Source)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
----- Root Cause -----
java.lang.ClassCastException: org.apache.cocoon.servlet.CocoonServlet
	at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
	at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown Source)
	at org.apache.catalina.core.StandardContext.start(Unknown Source)
	at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
	at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
	at org.apache.catalina.core.StandardHost.install(Unknown Source)
	at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
	at org.apache.catalina.startup.HostConfig.start(Unknown Source)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown Source)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source)
	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
	at org.apache.catalina.core.StandardEngine.start(Unknown Source)
	at org.apache.catalina.core.StandardService.start(Unknown Source)
	at org.apache.catalina.core.StandardServer.start(Unknown Source)
	at org.apache.catalina.startup.Catalina.start(Unknown Source)
	at org.apache.catalina.startup.Catalina.execute(Unknown Source)
	at org.apache.catalina.startup.Catalina.process(Unknown Source)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

2001-10-08 18:22:41 StandardWrapper[/cocoon:default]: Loading container servlet
default
2001-10-08 18:22:41 default: init
2001-10-08 18:22:41 StandardWrapper[/cocoon:invoker]: Loading container servlet
invoker
2001-10-08 18:22:41 invoker: init
2001-10-08 18:22:41 StandardWrapper[/cocoon:jsp]: Using Jasper classloader for
servlet jsp
2001-10-08 18:22:41 StandardWrapper[/cocoon:jsp]: Marking servlet jsp as unavailable
2001-10-08 18:22:41 StandardContext[/cocoon]: Servlet /cocoon threw load() exception
javax.servlet.ServletException: Error instantiating servlet class
org.apache.jasper.servlet.JspServlet
	at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
	at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown Source)
	at org.apache.catalina.core.StandardContext.start(Unknown Source)
	at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
	at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
	at org.apache.catalina.core.StandardHost.install(Unknown Source)
	at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
	at org.apache.catalina.startup.HostConfig.start(Unknown Source)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown Source)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source)
	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
	at org.apache.catalina.core.StandardEngine.start(Unknown Source)
	at org.apache.catalina.core.StandardService.start(Unknown Source)
	at org.apache.catalina.core.StandardServer.start(Unknown Source)
	at org.apache.catalina.startup.Catalina.start(Unknown Source)
	at org.apache.catalina.startup.Catalina.execute(Unknown Source)
	at org.apache.catalina.startup.Catalina.process(Unknown Source)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
----- Root Cause -----
java.lang.VerifyError: (class: org/apache/jasper/servlet/JspServlet, method:
init signature: (Ljavax/servlet/ServletConfig;)V) Incompatible argument to function
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Class.java:237)
	at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
	at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown Source)
	at org.apache.catalina.core.StandardContext.start(Unknown Source)
	at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
	at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
	at org.apache.catalina.core.StandardHost.install(Unknown Source)
	at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
	at org.apache.catalina.startup.HostConfig.start(Unknown Source)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown Source)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source)
	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
	at org.apache.catalina.core.ContainerBase.start(Unknown Source)
	at org.apache.catalina.core.StandardEngine.start(Unknown Source)
	at org.apache.catalina.core.StandardService.start(Unknown Source)
	at org.apache.catalina.core.StandardServer.start(Unknown Source)
	at org.apache.catalina.startup.Catalina.start(Unknown Source)
	at org.apache.catalina.startup.Catalina.execute(Unknown Source)
	at org.apache.catalina.startup.Catalina.process(Unknown Source)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

2001-10-08 18:22:41 StandardHost[localhost]: Installing web application at
context path /manager from URL file:C:\tomcat40\webapps\manager
2001-10-08 18:22:41 WebappLoader[/manager]: Deploying class repositories to work
directory C:\tomcat40\work\localhost\manager
2001-10-08 18:22:41 StandardManager[/manager]: Seeding random number generator
class java.security.SecureRandom
2001-10-08 18:22:41 StandardManager[/manager]: Seeding of random number
generator has been completed
2001-10-08 18:22:42 ContextConfig[/manager]: Configured an authenticator for
method BASIC
2001-10-08 18:22:42 StandardWrapper[/manager:default]: Loading container servlet
default
2001-10-08 18:22:42 default: init

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message