You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ryan Joseph <ry...@mobileq.com> on 2001/02/05 09:43:26 UTC

Installation issues with Cocoon 1.8.2

I am attempting to install 1.8.2 with my windows based apache/jserv
1.1.2/jdk1.2.2. I have followed the installation guide very closely and I am
running into some problems. Here is my classpath entry (I have a
corresponding classpath in my system variables as well, so both jserv and my
system have the sme classpath - just to be safe)

wrapper.classpath=C:\jdk1.2.2\lib\tools.jar
wrapper.classpath=C:\cocoon-1.8.2\lib\xerces_1_2.jar;
wrapper.classpath=C:\cocoon-1.8.2\lib\xalan_1_2_D02.jar;
wrapper.classpath=C:\cocoon-1.8.2\bin\cocoon.jar
wrapper.classpath=C:\cocoon-1.8.2\lib\fop_0_15_0.jar
wrapper.classpath=C:\Program Files\Apache JServ 1.1.2\ApacheJServ.jar
wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar

When attempting to access Cocoon.xml (or any xml) I get the following
exception:

java.lang.RuntimeException: Error creating
org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes
can be found in the classpath
(org/apache/turbine/services/resources/TurbineResourceService)
	at org.apache.cocoon.framework.Manager.create(Manager.java:122)
	at org.apache.cocoon.framework.Router.init(Router.java, Compiled
Code)
	at org.apache.cocoon.framework.Manager.create(Manager.java:109)
	at org.apache.cocoon.Engine.<init>(Engine.java:179)
	at org.apache.cocoon.Engine.getInstance(Engine.java:232)
	at org.apache.cocoon.Cocoon.init(Cocoon.java, Compiled Code)
	at
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:579)
	at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:49
8)
	at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:269)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Thread.java:479)

However, the XSPProcessor class is definately in the cocoon.jar file. Am I
screwing up somewhere?? Please help if you can. rj_shades@yahoo.com or
ryan.joseph@mobileq.com

Thanks


Re: Installation issues with Cocoon 1.8.2

Posted by Donald Ball <ba...@webslingerZ.com>.
On Mon, 5 Feb 2001, Steffen Stundzig wrote:

> > wrapper.classpath=C:\jdk1.2.2\lib\tools.jar
> > wrapper.classpath=C:\cocoon-1.8.2\lib\xerces_1_2.jar;
> > wrapper.classpath=C:\cocoon-1.8.2\lib\xalan_1_2_D02.jar;
> > wrapper.classpath=C:\cocoon-1.8.2\bin\cocoon.jar
> > wrapper.classpath=C:\cocoon-1.8.2\lib\fop_0_15_0.jar
> > wrapper.classpath=C:\Program Files\Apache JServ 1.1.2\ApacheJServ.jar
> > wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar
> >
> > When attempting to access Cocoon.xml (or any xml) I get the following
> > exception:
> >
> > java.lang.RuntimeException: Error creating
> > org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes
> > can be found in the classpath
> > (org/apache/turbine/services/resources/TurbineResourceService)
>
> you should add the turbine-pool.jar to your classpath.

that's right, but to handle this gracefully, i just put the turbine stuff
into a try block in cvs so that cocoon won't fail if turbine isn't found.
turbine should be strictly optional for non-sql users now.

- donald


Re: Installation issues with Cocoon 1.8.2

Posted by Steffen Stundzig <st...@smb-tec.com>.
Hi Ryan,

/**
 * @author: Ryan Joseph <ry...@mobileq.com> 
 * @date: Mon, 5 Feb 2001 03:43:26 -0500 
 */
> wrapper.classpath=C:\jdk1.2.2\lib\tools.jar
> wrapper.classpath=C:\cocoon-1.8.2\lib\xerces_1_2.jar;
> wrapper.classpath=C:\cocoon-1.8.2\lib\xalan_1_2_D02.jar;
> wrapper.classpath=C:\cocoon-1.8.2\bin\cocoon.jar
> wrapper.classpath=C:\cocoon-1.8.2\lib\fop_0_15_0.jar
> wrapper.classpath=C:\Program Files\Apache JServ 1.1.2\ApacheJServ.jar
> wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar
> 
> When attempting to access Cocoon.xml (or any xml) I get the following
> exception:
> 
> java.lang.RuntimeException: Error creating
> org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes
> can be found in the classpath
> (org/apache/turbine/services/resources/TurbineResourceService)

you should add the turbine-pool.jar to your classpath.

Regards
	Steffen...

-- 
______________________________________________________________________
Steffen Stundzig                            mailto:steffen@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com