cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rüfli, Heinz" <heinz.rue...@swx.com>
Subject java.lang.ClassCircularityError: org/apache/xerces/dom/AttrImpl
Date Fri, 13 Oct 2000 14:50:25 GMT
Hello,

I have installed Cocoon 1.8 on WebLogic 5.1 and have the following
problem(s):

http://localhost:7001/cocoon/samples/index.xml displays the file in plain
text.

http://localhost:7001/cocoon/index.xml is processed by the servlet but then
I get the following error:

 
Publishing Engine could not be initialized.

     java.lang.RuntimeException: Factory error:  unknown exception creating
" org.apache.cocoon.parser.XercesParser" : java.lang.ClassCircularityError:
org/apache/xerces/dom/AttrImpl
             at org.apache.cocoon.framework.Manager.create(Manager.java:116)
             at org.apache.cocoon.Engine.(Engine.java:139)
             at org.apache.cocoon.Engine.getInstance(Engine.java:218)
             at org.apache.cocoon.Cocoon.init(Cocoon.java:141)
             at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:390)
             at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va, Compiled Code)
             at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:338)
             at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java,
Compiled Code)
             at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
, Compiled Code)
             at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java, Compiled Code)
             at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java, Compiled Code)
             at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java, Compiled Code)
             at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java,
Compiled Code)
             at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled
Code)
             at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code) 

My web.xml looks as follows:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 
     This is the web-app configurations that allow Cocoon to work under
     Apache Tomcat. Please, follow the installation section of the
     documentation for more information about installing Cocoon on Tomcat 
-->
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
	<servlet>
		<servlet-name>org.apache.cocoon.Cocoon</servlet-name>
		<servlet-class>org.apache.cocoon.Cocoon</servlet-class>
		<init-param>
			<param-name>properties</param-name>
			<param-value>WEB-INF/cocoon.properties</param-value>
		</init-param>
	</servlet>
	
	<servlet-mapping>
		<servlet-name>org.apache.cocoon.Cocoon</servlet-name>
		<url-pattern>/*.xml</url-pattern>
	</servlet-mapping>

</web-app>

Has anybody an idea what is wrong ?
- heinz



Mime
View raw message