Hi,
I have had an uphill climb trying to get Cocoon 1.8.2 installed on my Win2K,
Apache-Tomcat machine. I have read all the install hints, tips and tricks or
at least I believe I have. However, I keep running into the same error:
java.lang.RuntimeException: Error creating
org.apache.cocoon.parser.XercesParser: make sure the needed classes can be
found in the classpath (org/apache/xerces/framework/XMLParser)
I understand that the Xerces parser utilizes some of the same API's as the
parser and requires that you rename the parser.jar to zparser.jar. I have
renamed accordingly. The full error message is:
java.lang.RuntimeException: Error creating
org.apache.cocoon.parser.XercesParser: make sure the needed classes can be
found in the classpath (org/apache/xerces/framework/XMLParser)
at org.apache.cocoon.framework.Manager.create(Manager.java:122)
at org.apache.cocoon.Engine.<init>(Engine.java:147)
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:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
My %TOMCAT_HOME%\lib directory has the following jars:
ant.jar
ant_1_1.jar
bsf.jar
bsfengines.jar
cocoon.jar
fesi.jar
fop_0_15_0.jar
jasper.jar
jaxp.jar
sax-bugfix.jar
servlet.jar
servlet_2_2.jar
stylebook-1.0-b2.jar
test
turbine-pool.jar
w3c.jar
webserver.jar
xalan_1_2_D02.jar
xerces_1_2.jar
xt.jar
zparser.jar
zxml.jar
>From the stack trace, I believe that Cocoon has been set up properly within
Tomcat. However, I am stumped as to the reason for the XercesParser error.
TIA for any help available,
Ben Cramer
iPath Solutions
Houston, TX
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>