Thank you this seems to have fixed the problem.
-Fazle
--- Vincent Massol <[EMAIL PROTECTED]> wrote:

> Hi Fazle,
> 
> > -----Original Message-----
> > From: Fazle Khan [mailto:[EMAIL PROTECTED]
> > Sent: mardi 16 novembre 2004 22:02
> > To: Cactus Users List
> > Subject: Intialization exception from client site
> when running tests
> > 
> 
> [snip]
>  
> > java.lang.RuntimeException: Failed to locate
> > onex.properties file at
> >
>
com.onexchange.util.Config.loadFromFile(Config.java:151)
> > at
> com.onexchange.util.Config.<init>(Config.java:176)
> > at
> com.onexchange.util.Config.makeMe(Config.java:366)
> > at com.onexchange.util.Config.get(Config.java:243)
> at
> >
>
com.onexchange.util.Config.getString(Config.java:258)
> > 
> > I tried putting the onex.properties file in the
> > classpath (see classpath below), but that did not
> > work. How else can I provide a properties file to
> the
> > client side of cactus.
> 
> [snip]
> 
> > ___Classpath___
> > <path id="classpath.servertests">
> > <pathelement
> >
>
location="C:\weblogic\weblogic81\config\onexdomain-v3x\onex.properties"/>
> 
> [snip]
> 
> Several points:
> 
> 1/ The pathelement above is wrong. As you know, in
> java, putting a file in
> the classpath means putting the directory where the
> file is located in the
> classpath (i.e. onexdomain-v3x in your case)
> 
> 2/ If loadFromFile code is executed on the server
> side, you'll also need to
> put the properties file in your WEB-INF/classes
> directory.
> 
> Thanks
> -Vincent
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to