cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Williams, Murray Todd" <murray_willi...@merck.com>
Subject RE: Problem with Cocoon Installation
Date Wed, 05 Jan 2000 15:18:51 GMT
Another quick thing to check is that you have the appropriate JAR files
defined in "wrapper.classpath=" lines in the jserv.properties file.

Murray Todd Williams

> ----------
> From: 	Mark.Papiani@wdr.com[SMTP:Mark.Papiani@wdr.com]
> Sent: 	Wednesday, January 05, 2000 6:01 AM
> To: 	cocoon-users@xml.apache.org
> Subject: 	Problem with Cocoon Installation
> 
> Hi,
> 
> I am trying to get Cocoon working with Apache 1.3.9 and JServ 1.1b3, on 
> NT. However, when I try to access an XML file sitting on my Web server, 
> the Cocoon servlet fails as it appears not to find the XSL processor 
> class file (see error message later). I would be very grateful for any 
> advice on where things are going wrong.
> 
> I am using the following version of Cocoon, since as far as I can tell 
> this is the latest release:
> 
> Cocoon_1.5.jar          19-Nov-1999 17:09   1.4M
> 
> One initial question I have is why doesn't this version support Xalan 
> and Xerces-J?
> 
> The bundled install instructions with Cocoon 1.5 state:
> 
> "These are the XML parsers currently supported:
>              1.OpenXML 
>              2.IBM XML4J 
>              3.Sun ProjectX 
>              4.Oracle XML Parser v.2 
> 
> XSL Processor with DOM support
> 
> These are the XSL processors currently supported:
>              1.XSL:P Processor 
>              2.Lotus XSL Processor 
>              3.Oracle XSL Processor (comes with the Oracle XML parser 
> v.2)"
> 
> Since Xalan and Xerces are not supported, I have tried the XSLP and 
> Lotus XSL processor and always receive an error similar to that below:
> 
> ------------------------------------------------------------------------
> --------------------
> Publishing Engine could not be initialized.
> 
>       java.lang.RuntimeException: Error creating 
> org.apache.cocoon.processor.xslt.LotusXSLProcessor: make sure the 
> needed classes can be found in the classpath
>               at 
> org.apache.cocoon.framework.Manager.create(Manager.java:103)
>               at org.apache.cocoon.framework.Router.init(Router.java, 
> Compiled Code)
>               at 
> org.apache.cocoon.framework.Manager.create(Manager.java:90)
>               at org.apache.cocoon.Engine.(Engine.java:130)
>               at org.apache.cocoon.Cocoon.init(Cocoon.java:118)
>               at 
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:
> 569)
>               at 
> org.apache.jserv.JServServletManager.loadServlet(JServServletManager.jav
> a:488)
>               at 
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:266
> )
>               at 
> org.apache.jserv.JServConnection.run(JServConnection.java:188)
>               at java.lang.Thread.run(Thread.java:479)
> 
> 
> This corresponds to the following code
> 
> Manager.java:103 - 
> 
>    Object object = Class.forName(name).newInstance();
> 
> } catch (java.lang.NoClassDefFoundError e) {
>             throw new RuntimeException("Error creating " + name + ": 
> make sure the needed classes can be found in the classpath");
> 
> However, I am sure that the XSL processors are in the jserv classpath - 
> see extracts from my config files below:
> 
> ------------------------------------------------------------------------
> -----------------------
> zone.properties - 
> 
> repositories=C:\Program Files\Apache JServ 
> 1.1b3\servlets,P:\papiani\XML_Tools\cocoon\bin\Cocoon.jar
> 
> jserv.properties - 
> 
> wrapper.classpath=P:\papiani\XML_parser_evaluation\IBM_parser\xml4j_2_0_
> 15\xml4j.jar
> wrapper.classpath=P:\papiani\XML_Tools\lotusxsl_0_19_1\lotusxsl.jar
> wrapper.classpath=P:\papiani\XML_Tools\cocoon\bin\fop.0110.jar
> 
> #previous efforts:-
> 
> #wrapper.classpath=P:\papiani\XML_Tools\cocoon\bin\openxml.106-fix.jar
> #wrapper.classpath=P:\papiani\XML_Tools\cocoon\bin\xslp.19991017-fix.jar
> 
> cocoon.properties - 
> 
> #processor.type.xslt = org.apache.cocoon.processor.xslt.XSLPProcessor
> # Lotus XSL processor (http://www.alphaworks.ibm.com/)
> processor.type.xslt = org.apache.cocoon.processor.xslt.LotusXSLProcessor
> 
> ##parser = org.apache.cocoon.parser.OpenXMLParser
> 
> # IBM XML4J Parser (http://www.alphaworks.ibm.com/)
> parser = org.apache.cocoon.parser.IBMXMLParser
> 
> 
> 
> 
> Any suggestions, would be gratefully received.
> 
> Mark Papiani
> Email: mark.papiani@wdr.com
> 
> 
> This message contains confidential information and is intended only 
> for the individual named.  If you are not the named addressee you 
> should not disseminate, distribute or copy this e-mail.  Please 
> notify the sender immediately by e-mail if you have received this 
> e-mail by mistake and delete this e-mail from your system.
> 
> E-mail transmission cannot be guaranteed to be secure or error-free 
> as information could be intercepted, corrupted, lost, destroyed, 
> arrive late or incomplete, or contain viruses.  The sender therefore 
> does not accept liability for any errors or omissions in the contents 
> of this message which arise as a result of e-mail transmission.  If 
> verification is required please request a hard-copy version.  This 
> message is provided for informational purposes and should not be 
> construed as a solicitation or offer to buy or sell any securities or 
> related financial instruments.
> 
> 
> ---------------------------------------------------------------------
> 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