You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roberto Viana <rv...@agency.com> on 2001/01/23 13:43:09 UTC

RE: WINDOWS 2000 server edition + IIS 5 + Jrun3.0 SP1 dev editi o n + Cocoon1.8.0

Robin,

XSP are working!
Thanks for the tip, but I discovered that in Jrun3.0 the folder
"/jsm-default/properties" doesn't exists anymore, instead of use
"JRUN_HOME/lib/global.properties" and add the following line:

java.classpath={jrun.classpath};{user.classpath};{servlet.classpath};{jrun.r
ootdir}/servers/default/cocoon-web-pub/WEB-INF/lib

! The only negative point is that when you run Cocoon on JRun, your *.jsp
files will stop working.

In the mean time, I'll keep trying to get a solution...


Thanks,

Roberto.

-----Original Message-----
From: Robin Green [mailto:greenrd@hotmail.com]
Sent: Monday, January 22, 2001 6:29 PM
To: cocoon-users@xml.apache.org
Subject: Re: WINDOWS 2000 server edition + IIS 5 + Jrun3.0 SP1 developer
editi on + Cocoo


Robin Green wrote:
>Maybe this instruction from the JRun 2.3 installation instructions will
help 
>(I know you're using JRun 3 but still):

>For the JRun portion, you must add all Cocoon jars to the java.classpath
     in [jrun-home]/jsm-default/properties.

>If this works let me know and I will modify the instructions.


Roberto Viana <rv...@agency.com> wrote:
>I have WINDOWS 2000 server edition + IIS 5 + Jrun3.0 SP1 developer edition 
>+
>Cocoon 1.8.0 up and running!
>Except the three first XSP pages in the cocoon samples folder.
>
>When I try to access these pages then I get this error:
>
>***************************************************************************
*
>***********
>
>java.lang.Exception: XSP Java Compiler: Compilation failed for _page.java
>12: Package org.apache.cocoon.parser not found in import.
>
>     import org.apache.cocoon.parser.*;

Maybe this instruction from the JRun 2.3 installation instructions will help

(I know you're using JRun 3 but still):

For the JRun portion, you must add all Cocoon jars to the java.classpath
     in [jrun-home]/jsm-default/properties.

If this works let me know and I will modify the instructions.





>
>            ^
>
>13: Package org.apache.cocoon.producer not found in import.
>
>     import org.apache.cocoon.producer.*;
>
>            ^
>
>14: Package org.apache.cocoon.framework not found in import.
>
>     import org.apache.cocoon.framework.*;
>
>            ^
>
>16: Package org.apache.cocoon.processor.xsp not found in import.
>
>     import org.apache.cocoon.processor.xsp.*;
>
>            ^
>
>17: Package org.apache.cocoon.processor.xsp.library not found in import.
>
>     import org.apache.cocoon.processor.xsp.library.*;
>
>            ^
>
>22: Superclass
>_C_._Allaire._JRun._servers._default._cocoon_web_pub._samples._xsp.XSPPage
>of class
>_C_._Allaire._JRun._servers._default._cocoon_web_pub._samples._xsp._page 
>not
>found.
>
>     public class _page extends XSPPage {
>
>                                ^
>
>6 errors
>
>
>
>	at
>org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJ
a
>vaProcessor.java:141)
>	at
>org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:489)
>	at org.apache.cocoon.Engine.handle(Engine.java:359)
>	at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>	at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
>	at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
>	at
>allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.ja
v
>a:88)
>	at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
>	at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
>	at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
>	at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
>	at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
>
>
>***************************************************************************
*
>******************************
>
>
>
>What I have to do to complete this system-interaction?
>
>Thank you for all your help!
>
>
>Roberto.
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>