Colin, my first guess would be that you are using the same XML parser that
came with Tomcat. This isn't compatible with Cocoon. If you read the FAQ
that is part of the INSTALL file that comes with Cocoon, you should
notice a part towards the bottom mentioning "Xerces"; this is what you
want. In your Cocoon/lib folder, you should have a "xerces_1_4_0" jar
file; the INSTALL file should tell you what to do with it. Best of luck
to you- please let me know how it goes. If that doesn't fix everything,
don't despair... I'm still trying to get things set up (although I've only
been trying for about a day or so).
Liam Morley
On 30 Jun 2001, Colin Paul Adams wrote:
> Hello,
>
> I have just installed apache 1.3, tomcat 3.2.2 and cocoon 2 on a linux
> redhat 7.1 system with a SUN 1.3 JDK.
>
> I've followed carefully (I believe ) the installation instruction, but
> when I point my browser at http://localhost:8080/cocoon, I get the
> following response:
>
> <html><head><title>Internal servlet error</title><STYLE><!--H1{font-family :
>sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family :
>sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color :
>white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE>
></head><body><h1>Cocoon 2 - Internal servlet error</h1><HR size="1"
>noshade><p><b>type</b> internal-servlet-error</p><p><b>message</b> <u>Internal
>servlet error</u></p><p><b>description</b> <u>Cocoon was not
>initialized.</u></p><p><b>sender</b>
>org.apache.cocoon.servlet.CocoonServlet</p><p><b>source</b> Cocoon
>servlet</p><p><b>request-uri</b><pre>/cocoon</pre></p><p><b>embedded
>exception</b><pre>Property:
>http://xml.org/sax/properties/lexical-handler</pre></p><p><b>embedded exception
>stacktrace</b><pre>Property: http://xml.org/sax/properties/lexical-handler
> at org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:248)
> at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:67)
> at org.apache.cocoon.Cocoon.configure(Cocoon.java:213)
> at org.apache.cocoon.Cocoon.initialize(Cocoon.java:157)
> at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:600)
> at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:151)
> 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:484)
>
></pre></p><p><b>exception</b><pre>org.apache.avalon.framework.configuration.ConfigurationException:
> Error trying to load
>configurations</pre></p><p><b>stacktrace</b><pre>org.apache.avalon.framework.configuration.ConfigurationException:
> Error trying to load configurations
> at org.apache.cocoon.Cocoon.configure(Cocoon.java:217)
> at org.apache.cocoon.Cocoon.initialize(Cocoon.java:157)
> at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:600)
> at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:151)
> 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:484)
> </pre></p><HR size="1" noshade></body></html>
>
> any clues/help would be most gratefully received.
> --
> Colin Paul Adams
> Preston Lancashire
>
> ---------------------------------------------------------------------
> 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]>
>
>
---------------------------------------------------------------------
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]>