cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From delmar watkins <del...@merilus.com>
Subject help with a java error
Date Fri, 08 Jun 2001 00:16:21 GMT
New to list and totally new to Cocoon and JSPs, etc... please be gentle
:-)  The problem is at the end.  I have read the FAQ, been through the
list archives, and I have of yet to get an answer...  I tried installing
cocoon from the instructions that are installed from untarring the
binaries of cocoon....


OK, I am running a Progeny Linux 2.2.19 kernel,  Sun JDK 1.2.2,
jakarta-tomcat 3.2.2, cocoon 1.8.2 a classpath of:
CLASSHPATH=/home/delmar/code/lib/extras/:.
CLASSPATH=:/usr/local/jakarta-tomcat-3.2.2/lib
that is created in my .bashrc (do I have to set it somehwere else??).

in my /usr/local/jakarta-tomcat-3.2.2/lib directory, I have:
ant.jar      bsf.jar         cocoon.jar  fop_0_15_0.jar  jaxp.jar
sax-bugfix.jar  servlet_2_2.jar       test              w3c.jar
xalan_1_2_D02.jar  xml.jar
ant_1_1.jar  bsfengines.jar  fesi.jar    jasper.jar      parser.jar
servlet.jar     stylebook-1.0-b2.jar  turbine-pool.jar  webserver.jar
xerces_1_2.jar     xt.jar

my cocoon.properties is attached.

on start of jakarta-tomcat, I get the following messages:
# ./startup.sh
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using classpath:
./../lib/ant.jar:./../lib/ant_1_1.jar:./../lib/bsf.jar:./../lib/bsfengines.jar:./../lib/cocoon.jar:./../lib/fesi.jar:./../lib/fop_0_15_0.jar:./../lib/jasper.jar:./../lib/jaxp.jar:./../lib/parser.jar:./../lib/sax-bugfix.jar:./../lib/servlet.jar:./../lib/servlet_2_2.jar:./../lib/stylebook-1.0-b2.jar:./../lib/test:./../lib/turbine-pool.jar:./../lib/w3c.jar:./../lib/webserver.jar:./../lib/xalan_1_2_D02.jar:./../lib/xerces_1_2.jar:./../lib/xml.jar:./../lib/xt.jar:/usr/local/jdk1.2.2/bin/../lib/tools.jar::/usr/local/jakarta-tomcat-3.2.2/lib

# 2001-06-07 05:11:43 - ContextManager: Adding context Ctx( /examples )
2001-06-07 05:11:43 - ContextManager: Adding context Ctx( /cocoon )
Starting tomcat. Check logs/tomcat.log for error messages
2001-06-07 05:11:43 - ContextManager: Adding context Ctx( /admin )
2001-06-07 05:11:43 - ContextManager: Adding context Ctx(  )
2001-06-07 05:11:43 - ContextManager: Adding context Ctx( /test )
2001-06-07 05:11:45 - PoolTcpConnector: Starting HttpConnectionHandler
on 8080
2001-06-07 05:11:45 - PoolTcpConnector: Starting Ajp12ConnectionHandler
on 8007

I get the following message when I try to view a page on
http://localhost:8080/cocoon/samples/index.xml

---------------------------------------
                                       Publishing Engine could not be
initialized.

     java.lang.RuntimeException: Exception when creating "
org.apache.cocoon.processor.xsp.XSPProcessor" :
     java.lang.NoSuchMethodError: See
http://xml.apache.org/cocoon/faqs.html#faq-normalize
             at
org.apache.cocoon.framework.Manager.create(Manager.java:124)
             at org.apache.cocoon.framework.Router.init(Router.java:80)
             at
org.apache.cocoon.framework.Manager.create(Manager.java:109)
             at org.apache.cocoon.Engine.<init>(Engine.java:179)
             at org.apache.cocoon.Engine.getInstance(Engine.java:232)
             at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
             at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
             at org.apache.tomcat.core.Handler.init(Handler.java:215)
             at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
             at org.apache.tomcat.core.Handler.service(Handler.java:254)

             at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
             at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)

             at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
             at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

             at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

             at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

             at java.lang.Thread.run(Thread.java:479)
-----------------------------------------


What do I need to do to get it running?  I can broswe thorugh the
directory structure, but as soon as I try to get to something dynamic
that touches cocoon, it dies with the error above.

Mime
View raw message