cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Cervera Areny" <informa...@sedifa.com>
Subject Debian, httpd and cocoon2 problems
Date Mon, 08 Jul 2002 15:21:18 GMT
Hi,
I'm trying to use the cocoon2 framework, which I've been using without
any problems at home with tomcat as both Java Server and Http Server, at
work. The difference here is that I'm using Apache Httpd as the Http
Server. I've been able to use the examples provided with tomcat but as
soon as I try to access cocoon2 pages I get the following error page.
Could someone help me?
As said in the subject I use Debian with testing packages...

Thanks in advance.



Error: 500

Location: /cocoon2

Internal Servlet Error:

javax.xml.parsers.FactoryConfigurationError:
java.lang.ClassNotFoundException:
org.apache.xerces.jaxp.SAXParserFactoryImplat
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:150)
at org.apache.cocoon.components.parser.JaxpParser.(JaxpParser.java:37) at
java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
org.apache.avalon.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:80)atorg.apache.avalon.component.DefaultComponentPool.getOverflowResource(DefaultComponentPool.java:154)atorg.apache.avalon.component.DefaultComponentPool.get(DefaultComponentPool.java:203)atorg.apache.avalon.component.DefaultComponentHandler.get(DefaultComponentHandler.java:187)atorg.apache.avalon.component.DefaultComponentManager.lookup(DefaultComponentManager.java:184)atorg.apache.cocoon.Cocoon.configure(Cocoon.java:146)
at
org.apache.cocoon.Cocoon.init(Cocoon.java:137)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:517)atorg.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:148)
at
org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java:394)
at org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:249)
at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:419)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)atorg.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:213)atorg.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:477)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:519)atjava.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.ClassNotFoundException:
org.apache.xerces.jaxp.SAXParserFactoryImpl at
org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(DependClassLoader.java:186)atorg.apache.tomcat.util.depend.DependClassLoader12$1.run(DependClassLoader12.java:88)atjava.security.AccessController.doPrivileged(Native
Method) at
org.apache.tomcat.util.depend.DependClassLoader12.loadClass(DependClassLoader12.java:86)atjava.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:147)
at org.apache.cocoon.components.parser.JaxpParser.(JaxpParser.java:37) at
java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
org.apache.avalon.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:80)atorg.apache.avalon.component.DefaultComponentPool.getOverflowResource(DefaultComponentPool.java:154)atorg.apache.avalon.component.DefaultComponentPool.get(DefaultComponentPool.java:203)atorg.apache.avalon.component.DefaultComponentHandler.get(DefaultComponentHandler.java:187)atorg.apache.avalon.component.DefaultComponentManager.lookup(DefaultComponentManager.java:184)atorg.apache.cocoon.Cocoon.configure(Cocoon.java:146)
at
org.apache.cocoon.Cocoon.init(Cocoon.java:137)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:517)atorg.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:148)
at
org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java:394)
at org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:249)
at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:419)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)atorg.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:213)atorg.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:477)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:519)atjava.lang.Thread.run(Thread.java:484)
--
Albert Cervera Areny
Dept. Informàtica Sedifa, S.L.


-- 
Albert Cervera Areny
Dept. Informàtica Sedifa, S.L.



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message