cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Muench" <smue...@us.oracle.com>
Subject Re: RunTimeException in XSPProcessor
Date Sun, 06 Feb 2000 07:06:58 GMT
Our JDBC driver's don't use URL handlers to the
best of my knowledge.

_________________________________________________________
Steve Muench, Consulting Product Manager & XML Evangelist
Business Components for Java Development Team
http://technet.oracle.com/tech/java
http://technet.oracle.com/tech/xml
----- Original Message ----- 
From: "Stefano Mazzocchi" <stefano@apache.org>
To: <cocoon-dev@xml.apache.org>
Sent: Saturday, February 05, 2000 6:15 AM
Subject: Re: RunTimeException in XSPProcessor


| 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 cocoon.properties 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.
| <stefano@apache.org>                             Friedrich Nietzsche
| --------------------------------------------------------------------
|  Come to the first official Apache Software Foundation Conference!  
| ------------------------- http://ApacheCon.Com ---------------------
| 
| 
| 


Mime
View raw message