I've had this senario working before within WebSphere and possibly WebLogic
also; albeit in a WAR file.  What are the exact locations of foo.jar and
foo.properties?  Are you familiar with the class loaders demystified article
on the IBM site?  I can't remember the URL at the moment.

Mike

> -----Original Message-----
> From: tclug-devel-admin at mn-linux.org
> [mailto:tclug-devel-admin at mn-linux.org]On Behalf Of Perry Hoekstra
> Sent: Thursday, October 16, 2003 3:44 PM
> To: tclug-devel at mn-linux.org
> Subject: [TCLUG-DEVEL] Java properties file question
>
>
> Hello all:
>
> I have a class call Foo that needs to read a properties
> file.  Foo is in a jar file called foo.jar.  foo.jar is in
> an *.ear file called uberfoo.ear.  The foo.properties file
> is also in the uberfoo.ear.
>
> I am having difficulties getting Foo to "see" the
> foo.properties file due to class loader issues.  Does
> anyone know of a way for Foo to see the properties file
> event though it is not in the foo.jar file?
>
> Perry Hoekstra
>
> _______________________________________________
> tclug-devel mailing list
> tclug-devel at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-devel


_______________________________________________
tclug-devel mailing list
tclug-devel at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-devel