> From: Skansen [mailto:[EMAIL PROTECTED]]
> 
> 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]]
> > >
> > > see below
> > >
> > > ----- Original Message -----
> > > From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, March 11, 2002 11:59 PM
> > > Subject: RE: Jetty and Cocoon2, help?
> > >
> > >
> > > > > From: Skansen [mailto:[EMAIL PROTECTED]]
> > > > >
> > > > > 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: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
> 
> 
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to