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: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2
Date Wed, 08 May 2002 12:38:14 GMT
Great.

Vadim

--
Resistance is futile. 

> -----Original Message-----
> From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> Sent: Monday, April 08, 2002 4:36 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
Cocoon 2.0.2
> 
> Thanks Vadim
> 
> I got that to work fine. I will have a go this coming weekend at
making a
> fix for it that works with 4.0/4.0.1 as well and will post it back.
> 
> Thanks again
> Jon
> 
> 
> 
> ----- Original Message -----
> From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
> To: <cocoon-users@xml.apache.org>
> Sent: Friday, May 03, 2002 4:46 PM
> Subject: RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
Cocoon
> 2.0.2
> 
> 
> > Ok, that's the old websphere bug and I guess that they again changed
the
> > behavior of encodeRedirectURL.
> >
> >
> > Take a look at the HttpEnvironment class in the Cocoon:
> >
> >         // FIXME (VG): WebSphere 4.0/4.0.1 bug
> >         if (!newURL.startsWith("/") && newURL.indexOf(':') == -1 &&
> > redirect.indexOf(':') != -1) {
> >             getLogger().debug("Redirect: WebSpehere Bug Detected!");
> >             String base = NetUtils.getPath(request.getRequestURI());
> >             if (base.startsWith("/")) {
> >                 base = base.substring(1);
> >             }
> >             redirect = response.encodeRedirectURL(base + '/' +
newURL);
> >         }
> >
> > And play with this piece of code.
> >
> >
> > Vadim
> >
> > --
> > Resistance is futile.
> >
> > > -----Original Message-----
> > > From: Jon Pallas [mailto:jon_pallas@hotmail.com]
> > > Sent: Wednesday, April 03, 2002 10:31 AM
> > > To: cocoon-users@xml.apache.org
> > > Subject: Re: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2
> > Cocoon 2.0.2
> > >
> > > Thanks Vadim
> > > The logs were helpfull.  The access.log shows that there is an
change
> > > in the
> > > context after it says
> > > "No pipeline matched request: /cocoon/documents/index.html"
> > > and then it g
> > >
> > > The initilal link on the home page is
> > > http://localhost:9080/cocoon/documents/index
> > >
> > > this gets redirected to
> > >
> > > http://localhost:9080/cocoon/cocoon/documents/index.html
> > >
> > > Notice the /cocoon/cocoon/ bit
> > >
> > > if i change this to
http://localhost:9080/cocoon/documents/index.html
> > > it
> > > works fine
> > >
> > > I get a similar thing going to
> > > http://localhost:9080/cocoon/cocoon/samples/poi/welcome
> > >
> > > So it geting confused with the context?
> > >
> > > I am looking in sitemap.xmap for the "documents" and comparing it
to
> > > the
> > > "search" search works but note realy sure of what to look for.
> > >
> > > Thanks
> > > Jon
> > >
> > >
> > >
> > > org.apache.cocoon.ResourceNotFoundException: No pipeline matched
> > > request:
> > > /cocoon/documents/index.html
> > >  at
> > >
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3847)
> > >  at
> > >
org.apache.cocoon.www.sitemap_xmap.process(www\sitemap_xmap.java:3085)
> > >  at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
> > >  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
> > >  at
> > >

...


---------------------------------------------------------------------
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