avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mircea Toma" <mirceat...@home.com>
Subject Re: App instantiation problem - advice needed.
Date Tue, 23 Oct 2001 15:49:51 GMT

----- Original Message -----
From: "Paul Hammant" <Paul_Hammant@yahoo.com>
To: "Avalon Development" <avalon-dev@jakarta.apache.org>
Sent: Tuesday, October 23, 2001 2:38 AM
Subject: Re: App instantiation problem - advice needed.


> Folks,
>
> I am fairly sure that we need to add the following to BlockContext.
>
>      URLStreamHandlerFactory getDefaultURLStreamHandlerFactory();
>
> Reason?  Phoenix apps that host sub apps in separate classloaders fail
> to traverse the parent classloader tree correctly.

I'll check it out! It might be enough to set URL.setURLSr...... within that
classloader.


Mircea


> I would just add it, but Phoenix is an area of minor activity for me,
> and major for others.
>
> Regards,
>
> - Paul H
>
>
>
> >> I think it should be :
> >>
> >>  public class JesktopURLClassLoader extends URLClassLoader {
> >>      protected JesktopURLClassLoader(final URL[] urls) {
> >>          super(urls, JesktopURLClassLoader.class.getClassLoader(),
> >> Phoenix.getURLStreamHandlerFactory());
> >>      }
> >>  }
> >
> >
> > I can confirm that that fixes the bug I have.
> > I had to add...
> >
> >    URLStreamHandlerFactory getDefaultURLStreamHandlerFactory();
> >
> > .. to BlockContext to get it working. I have not comitted any changes,
> > because I think this needs discussion.
> >
> > Regards,
> >
> > - Paul H
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: avalon-dev-help@jakarta.apache.org
> >
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: avalon-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message