cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: Problems initializing cocoon2
Date Tue, 19 Jun 2001 04:58:32 GMT
On Mon, 18 Jun 2001, Carlos wrote:

> Good afternoon:
>
> I am getting the following errors when tryinf to access cocoon2. I am
> accessing it over HTTP, and using JDK 1.3.0 on Linux Redhat 7
>
> 2001-06-18 03:55:53 - path="/cocoon" :ERROR   99290   [cocoon  ]
> (Thread-10): Cannot produce a valid parser
> javax.xml.parsers.ParserConfigurationException: Namespace not supported by
> SAXParser

It seems you have an older parser on your claspath which is not
supporting namespaces.

Giacomo

> 	at com.sun.xml.parser.SAXParserImpl.<init>(SAXParserImpl.java:60)
> 	at
> com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:5
> 7)
> 	at
> org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:57)
> 	at org.apache.cocoon.Cocoon.configure(Cocoon.java:191)
> 	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:150)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:596)
> 	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:149)
> 	at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java)
> 	at org.apache.tomcat.core.Handler.init(Handler.java)
> 	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java)
> 	at org.apache.tomcat.core.Handler.service(Handler.java)
> 	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
> 	at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
> 	at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConne
> ctionHandler.java)
> 	at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
> 	at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
> 	at java.lang.Thread.run(Thread.java:484)
>
> 2001-06-18 03:55:53 - path="/cocoon" :ERROR   99290   [cocoon  ]
> (Thread-10): Could not configure Cocoon environment
> org.xml.sax.SAXException: Could not get valid parserNamespace not supported
> by SAXParser
>
> 2001-06-18 03:55:53 - path="/cocoon" :ERROR   99290   [cocoon  ]
> (Thread-10): Exception reloading
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> trying to load configurations
>
>
> I am using the following as my path
>
> Using classpath:
> /var/tomcat/lib/ant.jar:/var/tomcat/lib/jasper.jar:/var/tomcat/lib/jaxp.jar:/var
> /tomcat/lib/parser.jar:/var/tomcat/lib/servlet.jar:/var/tomcat/lib/test:/var/tom
> cat/lib/webserver.jar:/usr/local/java/jdk1.3/lib/tools.jar:/usr
> /local/java/jdk1.3:/usr/local/java/fop/fop.jar:/usr/local/java/fop/lib/w3c.jar:/
> usr/local/java/xml-xalan/bsf.jar:/usr/local/java/fop/lib/svgtestsuite.jar:/usr/l
> ocal/java/xml-xalan/xerces.jar:/usr/local/java/xml-xalan/build/xalan.jar

Yes, that's dead wrong. Jaxp.jar and parser.jar need to be eliminated.
Please, next time use the cocoon-users list for question like this or if
you discovered a bug send a patch to theis list ;)

Giacomo

>
> Thanks for any and all help
> Carlos
> ----
>  P  |Carlos Araya
>  _  |WebCT Administrator/Trainer
>  G  |California Virtual Campus, Region 1
> ---- C/O De Anza College
> 10650 Bubb Road
> Cupertino, CA 95014
>
> mail:		carlos@cvc.edu
> web:		http://www.cvc1.org
> PGP Fingerprint: 	E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
>
> LIFE: You can't control the length, but you can control the depth and width
> -- From Randall Schwartz
>
> Paradoxically, a refusal tp 'put monetary value in life' means that life is
> often undervalued -- Artifical intelligence, A Modern Approach
>
> Between the ages of twenty and forty we are engaged in the process of
> discovering who we are, which involves learning the difference between
> accidental limitations which it is our duty to outgrow and the necessary
> limitations of our nature beyond which we cannot trespass with
> impunity.--W. H. Auden
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message