You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Alan Blood <bl...@hotmail.com> on 2000/10/10 07:34:03 UTC

HELP! Cocoon error: Publishing Engine could not be initialized...

Config:
Win98
IE 5.5
j2re 1.3.0
jsdk 2.0
Apache 1.3.12
JServ 1.1.2
Cocoon 1.8

-------

THE ERROR I get when I start up Apache and go to
http://localhost/Cocoon.xml.(dynamically generated page in Cocoon 1.8):
    "Publishing Engine could not be initialized.
    java.lang.RuntimeException: Error
creatingorg.apache.cocoon.parser.XercesParser: make sure the needed classes 
can
be found in the classpath (org/xml/sax/ErrorHandler)
	at org.apache.cocoon.framework.Manager.create(Manager.java:114)
	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 
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:579)
	at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:498)
	at 
org.apache.jserv.JServConnection.processRequest(JServConnection.java:269)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Unknown Source)"

-------

It can't seem to find cocoon.jar with XercesParser.class - even though it's
there.  What am I doing wrong???

My config file info below.  Let me know if I'm missing anything that would 
help
you help me ;)

-Alan

-------

JSERV.PROPERTIES (not the whole thing :):
    wrapper.classpath=c:\wwwroot\jserv\ApacheJServ.jar
    wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar
    wrapper.classpath=C:\wwwroot\cocoon-1.8\lib\fop_0_13_0.jar
    wrapper.classpath=C:\wwwroot\cocoon-1.8\lib\xerces_1_2.jar
    wrapper.classpath=C:\wwwroot\cocoon-1.8\lib\xalan_1_2_D02.jar
    wrapper.classpath=C:\wwwroot\cocoon-1.8\lib\bsfengines.jar
    wrapper.classpath=C:\wwwroot\cocoon-1.8\lib\bsf.jar
(not sure I need these, but they were there so I include them anyway)
    wrapper.classpath=C:\wwwroot\cocoon-1.8\lib\ant_1_1.jar
    wrapper.classpath=C:\wwwroot\cocoon-1.8\lib\stylebook-1.0-b2.jar
    wrapper.classpath=C:\wwwroot\cocoon-1.8\lib\turbine-pool.jar
(then...)
    zones=root
    root.properties=c:\wwwroot\jserv\servlets\zone.properties

---------

ZONE.PROPERTIES (not the whole thing :):
    
repositories=c:\wwwroot\jserv\servlets,c:\wwwroot\cocoon-1.8\bin\cocoon.jar

    servlet.cocoon.code=org.apache.cocoon.Cocoon
    servlet.org.apache.cocoon.Cocoon.initArgs=properties=
c:\wwwroot\cocoon-1.8\conf\cocoon.properties

---------

JSERV.CONF (not the whole thing :):
    ApJServAction .xml /servlets/org.apache.cocoon.Cocoon

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.