commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [DbUtils] QueryLoader
Date Thu, 09 Sep 2004 16:02:54 GMT
Please open a bugzilla ticket and attach a cvs diff -u formatted patch if
you have one.

Thanks!
David

--- jason.anderson@oocl.com wrote:

> I have a problem using QueryLoader when deployed in a .war file to
> weblogic.  The properties file cannot be located on the classpath.
> 
> QueryLoader uses QueryLoader.class.getResourceAsStream(path) which looks
> for a resource relative to the current class (QueryLoader), you can use
> / to indicate classpath root but this does not work with weblogic
> possibly due to the way in which weblogic manages the classpath for .war
> files.
> 
> If I use getClass().getClassLoader().getResourceAsStream(path) instead
> and dont use leading / for the path then this works locally and for
> weblogic.
> 
> Any comments....
> 
> Jason
> 
> 
> 
> 
> 
> 
> IMPORTANT NOTICE
> Email from OOCL is confidential and may be legally privileged.  If it is
> not intended for you, please delete it immediately unread.  The internet
> cannot guarantee that this communication is free of viruses,
> interception or interference and anyone who communicates with us by
> email is taken to accept the risks in so doing.  Without limitation,
> OOCL and its affiliates accept no liability whatsoever and howsoever
> arising in connection with the use of this email.  Under no
> circumstances shall this email constitute a binding agreement to carry
> or for provision of carriage services by OOCL, which is subject to the
> availability of carrier's equipment and vessels and the terms and
> conditions of OOCL's standard bill of lading which is also available at
> http://www.oocl.com.
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message