cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: RunTimeException in XSPProcessor
Date Sat, 05 Feb 2000 14:15:31 GMT
Jeff Martin wrote:
> Sounds like the sort of thing that would cause this problem. It's possible
> that the oracle DB drivers on are using a URL handler. It's working on my NT
> box where it's the only thing running and not when I have multiple servlets
> on the linux box.
> As far as the exact problem I'm getting (There maybe other places where this
> could become a problem). It looks like it maybe possible to remove the need
> to use URL for the libraries loaded from the checking the
> protocol before passing it on to the URL object for handling whould allow
> the internal resources to be loaded without using the factory.
> Something like this
> InputStream is=null;
> if(location.startsWith("resource:"){
>     is = this.getClass().getResourceAsStream(location);
> }else{
>     is = new URL(location).openStream();
> }

Yes, I was going to do exactly that. Thanks :)

Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>                             Friedrich Nietzsche
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------

View raw message