Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 10316 invoked by uid 500); 9 Jun 2001 19:05:19 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 10301 invoked from network); 9 Jun 2001 19:05:17 -0000 Date: Sat, 9 Jun 2001 17:03:07 +0200 (CEST) From: forge@neonics.com X-Sender: forge@fire To: cocoon-users@xml.apache.org Subject: Re: help with a java error In-Reply-To: <3B201955.1078E7AD@merilus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Remove parser.jar and jaxp.jar from the tomcat lib dir, and rename the xalan-x.jar/xerces-x.jar to 1xalan-x.jar/1xerces-x.jar. Then restart tomcat. On Thu, 7 Jun 2001, delmar watkins wrote: > 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.(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. > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: