cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Jetty and Cocoon2, help?
Date Tue, 12 Mar 2002 18:47:59 GMT
> From: Skansen [mailto:skansen@telia.com]
> 
> Thank you very much for all the help and assistens.
> 
> I got one last question regarding the extra-classpath
> 
> Why is it required to do the steps in presented in

In two words: classloading issues.
More detailed answer: AFAIU, some servlet engine (newer ones) prevent
webapp from loading some xml classes in the webapp's classloader but
forces to use classes loaded by the servlet engine; this causes
ClassCastException.


> >
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101509865506696&w=2
> 
> which i interperted as follows.
> * copy xalan, xerces, xml-apis, batik to a directory
> * add jars in the above directory to the classpath for jetty
> 
> * remove xt from the cocoon servlet
> 
> * uncomment extra-classpath in web.xml and add the path to above jars

Java compiler has to know were the classes are on the hard drive.


> * do clean build
> * remove the above mentioned jars from the servlet

They are not needed anymore because of extra-classpath.
 
Vadim

> Once again thanks YOU very much.
> 
> ;-)akob
> 
> ----- Original Message -----
> From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
> To: <cocoon-users@xml.apache.org>
> Sent: Tuesday, March 12, 2002 2:51 PM
> Subject: RE: Jetty and Cocoon2, help?
> 
> 
> > Now it works. You may have issue with redirects, but otherwise it is
> > working.
> >
> > PS If you find a problem why redirect does not work as it should,
feel
> > free to send patches.
> >
> > Vadim
> >
> > > From: Skansen [mailto:skansen@telia.com]
> > >
> > > see below
> > >
> > > ----- Original Message -----
> > > From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
> > > To: <cocoon-users@xml.apache.org>
> > > Sent: Monday, March 11, 2002 11:59 PM
> > > Subject: RE: Jetty and Cocoon2, help?
> > >
> > >
> > > > > From: Skansen [mailto:skansen@telia.com]
> > > > >
> > > > > I've found the empty pipeline and corrected it and  instead
the
> > > > > following was recivied when accessing localhost:8080/cocoon/
> > > >
> > > > Are you sure you had trailing slash?
> > > >
> > > yes
> > > >
> > > > > HTTP ERROR: 404 Could not find resource for /welcome
> > > > > RequestURI=/welcome
> > > > >
> > > > > the url was also rewritten as localhost:8080/welcome
> > > > >
> > > > > Updated from the CVS and also got the above respons
> > > > >
> > > > >
> > > > > Any clue for the next step?
> > > >
> > > > 1. I would like to see other log files also. The one you sent
does
> > not
> > > > indicate any error.
> > > > 2. Try http://localhost:8080/cocoon/welcome
> > >
> > > number 2 above gives the cocoon start page.
> > >
> >
> >
> >
---------------------------------------------------------------------
> > 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: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> 
> 
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message