You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Carlos <ca...@cvc.edu> on 2001/06/19 01:43:04 UTC

Problems initializing cocoon2

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
	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

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


Re: Problems initializing cocoon2

Posted by Donald Ball <ba...@webslingerZ.com>.
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

(thread moved to cocoon-users where it's relevant)

looks like there's a jaxp parser that doesn't support namespaces in your
classpath ahead of one that does (xerces).

- donald


---------------------------------------------------------------------
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>


Re: Problems initializing cocoon2

Posted by giacomo <gi...@apache.org>.
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