cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geert Josten" <geert.jos...@daidalos.nl>
Subject RE: RE: RE: Cannot get JSPReader/JSPGenerator to work
Date Thu, 05 Oct 2006 15:36:26 GMT
Yuck!

I am getting the following error in Tomcat. Anyone seen this before?

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
[javac] javac: invalid flag: Files\Apache
[javac] Usage: javac <options> <source files>

Kind regards,
Geert 

> -----Oorspronkelijk bericht-----
> Van: Geert Josten [mailto:geert.josten@daidalos.nl] 
> Verzonden: donderdag 5 oktober 2006 17:30
> Aan: users@cocoon.apache.org
> Onderwerp: RE: RE: RE: Cannot get JSPReader/JSPGenerator to work
> 
> I just did.. :-)
> 
> I did the following:
> - build cocoon 2.1.9 with standalone-demo flag (just to show 
> how I am running cocoon)
> - copy the following libraries from tomcat5/common/lib to
> build/webapp/web-inf/lib:
>   . ant.jar
>   . jaspar-compiler.jar
>   . jasper-runtime.jar
>   . servlet-api.jar
> - run: cocoon.bat servlet
> - go to http://localhost:8888/samples/blocks/jsp/welcome.htm
> 
> To return to your original questions:
> However, this is using Jetty instead of Tomcat to run Cocoon. 
> When running cocoon inside tomcat, these libraries should 
> already be available and do not need to be copied.
> 
> Anyhow, it isn't unreasonable to use Jasper as JSP engine. It 
> works well within cocoon/jetty.
> 
> I still can imagine that Tomcat as servlet framework is 
> interfering with Cocoon in your case. I try to find some time 
> to look into it.
> 
> Have you looked at stdout and stderr logging of tomcat? See 
> tomcat5/logs/..
> 
> Kind regards,
> Geert
> 
> > 
>    
>  
> Drs. G.P.H. Josten
> Consultant
>  
>  
> 
> Daidalos BV
> Source of Innovation
> Hoekeindsehof 1-4
> 2665  JZ  Bleiswijk
> Tel.: +31 (0) 10 850 1200
> Fax: +31 (0) 10 850 1199
> www.daidalos.nl
> KvK 27164984
> 
> 
> De informatie - verzonden in of met dit emailbericht - is 
> afkomstig van Daidalos BV en is uitsluitend bestemd voor de 
> geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, 
> verzoeken wij u het te verwijderen. Aan dit bericht kunnen 
> geen rechten worden ontleend.
>  
> 
> > Van: Paritosh Patel [mailto:xygnusx1@gmail.com]
> > Verzonden: donderdag 5 oktober 2006 15:03
> > Aan: users@cocoon.apache.org
> > Onderwerp: Re: RE: RE: Cannot get JSPReader/JSPGenerator to work
> > 
> > I am using the JSPReader/JSPGenerator that comes with Cocoon 2.1.9.
> > 
> > I guess, the first question is: has anyone got the Welcome JSP to 
> > work? Its in the Samples (JSP Block).
> > 
> > - pdp
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> > 
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message