You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christophe Casar <CC...@Scient.com> on 2001/03/06 14:20:39 UTC
COCOON2 HELP with installation
Hi,
I have problems getting Cocoon2 to work on Unix. I've downloaded the cvs
version of Cocoon2 and followed the installion intructions to install it
with tomcat3.2.1. I've created the Cocoon War package and copied it into
$TOMCAT_HOME/webapps directory. Now when i restart tomcat and type the url:
http://localhost:8080/cocoon/docs/samples/samples.xml i get an error saying
that cocoon can not be initialized. Now looking into the Servlet.log file of
tomact i ready the follwiong error:
<!--
----------------------------------------------------------------------------
---------------- -->
2001-03-06 12:41:17 - path="/cocoon" :Cocoon2: init
2001-03-06 12:41:18 - path="/cocoon" :ERROR 875 [cocoon ] (
Thread-11): Cannot produce a valid parser
javax.xml.parsers.ParserConfigurationException: Namespace not supp
orted by SAXParser
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Exception.java:42)
at javax.xml.parsers.ParserConfigurationException.<init>(P
arserConfigurationException.java:48)
at com.sun.xml.parser.SAXParserImpl.<init>(SAXParserImpl.j
ava:60)
at com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SA
XParserFactoryImpl.java:57)
at org.apache.cocoon.components.parser.JaxpParser.parse(Ja
xpParser.java:53)
at org.apache.cocoon.Cocoon.configure(Cocoon.java:144)
at org.apache.cocoon.Cocoon.init(Cocoon.java:131)
at org.apache.cocoon.servlet.CocoonServlet.createCocoon(Co
coonServlet.java:478)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServ
let.java:124)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWra
pper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(Compiled Cod
e)
at org.apache.tomcat.core.Handler.service(Handler.java:254
)
at org.apache.tomcat.core.ServletWrapper.service(ServletWr
apper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(C
ontextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextMa
nager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.pr
ocessConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compile
d Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(C
ompiled Code)
at java.lang.Thread.run(Compiled Code)
<!--
----------------------------------------------------------------------------
--- -->
Would you know what to do to fix this.
Many Thanks for your help
Cheers
Christophe (Software Developer)
Re: COCOON2 HELP with installation
Posted by Stefan Lettmayer <sl...@twix.sharkman5.2y.net>.
remove the parser.jar file from $TOMCAT_HOME/lib/
i'm not sure but maybe you also have to remove jaxp.jar
On Tue, Mar 06, 2001 at 01:20:39PM -0000, Christophe Casar wrote:
> Hi,
>
> I have problems getting Cocoon2 to work on Unix. I've downloaded the cvs
> version of Cocoon2 and followed the installion intructions to install it
> with tomcat3.2.1. I've created the Cocoon War package and copied it into
> $TOMCAT_HOME/webapps directory. Now when i restart tomcat and type the url:
> http://localhost:8080/cocoon/docs/samples/samples.xml i get an error saying
> that cocoon can not be initialized. Now looking into the Servlet.log file of
> tomact i ready the follwiong error:
> <!--
> ----------------------------------------------------------------------------
> ---------------- -->
> 2001-03-06 12:41:17 - path="/cocoon" :Cocoon2: init
> 2001-03-06 12:41:18 - path="/cocoon" :ERROR 875 [cocoon ] (
> Thread-11): Cannot produce a valid parser
> javax.xml.parsers.ParserConfigurationException: Namespace not supp
> orted by SAXParser
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.fillInStackTrace(Compiled Code)
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Exception.java:42)
> at javax.xml.parsers.ParserConfigurationException.<init>(P
> arserConfigurationException.java:48)
> at com.sun.xml.parser.SAXParserImpl.<init>(SAXParserImpl.j
> ava:60)
> at com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SA
> XParserFactoryImpl.java:57)
> at org.apache.cocoon.components.parser.JaxpParser.parse(Ja
> xpParser.java:53)
> at org.apache.cocoon.Cocoon.configure(Cocoon.java:144)
> at org.apache.cocoon.Cocoon.init(Cocoon.java:131)
> at org.apache.cocoon.servlet.CocoonServlet.createCocoon(Co
> coonServlet.java:478)
> at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServ
> let.java:124)
> at org.apache.tomcat.core.ServletWrapper.doInit(ServletWra
> pper.java:317)
> at org.apache.tomcat.core.Handler.init(Handler.java:215)
> at org.apache.tomcat.core.ServletWrapper.init(Compiled Cod
> e)
> at org.apache.tomcat.core.Handler.service(Handler.java:254
> )
> at org.apache.tomcat.core.ServletWrapper.service(ServletWr
> apper.java:372)
> at org.apache.tomcat.core.ContextManager.internalService(C
> ontextManager.java:797)
> at org.apache.tomcat.core.ContextManager.service(ContextMa
> nager.java:743)
> at org.apache.tomcat.service.http.HttpConnectionHandler.pr
> ocessConnection(HttpConnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(Compile
> d Code)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(C
> ompiled Code)
> at java.lang.Thread.run(Compiled Code)
>
> <!--
> ----------------------------------------------------------------------------
> --- -->
>
> Would you know what to do to fix this.
>
> Many Thanks for your help
>
> Cheers
>
> Christophe (Software Developer)
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
--
Stefan Lettmayer
Web: http://sharkman5.2y.net/
ICQ: 67167870