cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wolfgang Werner" <wwer...@picture-safe.de>
Subject Tomcat / Cocoon Konfiguration
Date Wed, 22 Dec 1999 19:15:39 GMT
Help needed!

I am trying to configurate
* NT 4.0 SP 5		(sorry, this is my development platform)
* Apache 1.39		(works fine)
* tomcat 3.0+ (newest cvs checkout)
* cocoon 1.6  (newest cvs checkout)

I do not exactly know, where to locate the errors (tomcat / cocoon).

When I try the IBM Parser:

# IBM XML4J Parser (http://www.alphaworks.ibm.com/)
parser = org.apache.cocoon.parser.IBMXMLParser

I get the exception:

Publishing Engine could not be initialized.
java.lang.RuntimeException: Error creating
org.apache.cocoon.parser.IBMXMLParser: class is not found
	at org.apache.cocoon.framework.Manager.create(Manager.java:94)
	at org.apache.cocoon.Engine.(Engine.java:122)
	at org.apache.cocoon.Cocoon.init(Cocoon.java:119)
	at org.apache.tomcat.core.ServletWrapper$2.method(ServletWrapper.java:278)
	at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:275)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:337)
	at org.apache.tomcat.core.InvokerServlet.service(InvokerServlet.java:239)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
	at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
	at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp
12ConnectionHandler.java:144)
	at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
	at java.lang.Thread.run(Thread.java:479)

When I try the SUN parser:

# SUN ProjectX Parser (http://developer.java.sun.com/)
parser = org.apache.cocoon.parser.SunXMLParser

I get the exception:

Publishing Engine could not be initialized.
java.lang.NullPointerException
	at org.apache.cocoon.parser.AbstractParser.init(AbstractParser.java:68)
	at org.apache.cocoon.framework.Manager.create(Manager.java:89)
	at org.apache.cocoon.Engine.(Engine.java:122)
	at org.apache.cocoon.Cocoon.init(Cocoon.java:119)
	at org.apache.tomcat.core.ServletWrapper$2.method(ServletWrapper.java:278)
	at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:275)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:337)
	at org.apache.tomcat.core.InvokerServlet.service(InvokerServlet.java:239)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
	at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
	at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp
12ConnectionHandler.java:144)
	at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
	at java.lang.Thread.run(Thread.java:479)

Before I used the cocoon 1.5 jar and got an exception 'FileNotFound
.../examples/examples/servlet/or.apache.cocoon.Cocoon'
Please note the doubled 'examples'

So, could please someone send me his/her configuration files - please all:
* tomcat.bat (to see the used jars)
* tomcat.conf (to see the apache / jserv needs)
* the relevant server.xml and web.xml

And the cocoon stuff
* cocoon.properties

THANKS A LOT!

Wolfgang Werner


Mime
View raw message