You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michael Homeijer <M....@devote.nl> on 2002/09/19 08:14:41 UTC

RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2

Hi,

I am experiencing the same problem under websphere 4.0.4 with the latest
version of Cocoon. The code that mentions the webshere bug is still in CVS.

When I remove the workaround code for the websphere bug, it's working, so it
seems the bug is solved in Websphere 4.0.4. Now removing the code will
create problems in Websphere 4.0 / 4.0.1 (and maybe not solve them in
4.0.2), is this a problem?

TIA,
Michael

-----Original Message-----
From: Vadim Gritsenko
To: cocoon-users@xml.apache.org
Sent: 8-5-2002 2:38 
Subject: RE: Install error win2000 IBM jdk 1.3.0  Websphere 4.0.2  Cocoon
2.0.2

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" <va...@verizon.net>
> To: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>

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

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