Answered my own question... the problem is that things in the lib directory are not automatically picked up for installation the way things in lib/ext are for the bean's ClassLoader.  I just had to explicitly set the CLASSPATH at startup and tell it to add the jar in the lib directory.
 
   Thanks,
    Eric
----- Original Message -----
Sent: Friday, June 01, 2001 1:44 PM
Subject: [JBoss-user] loading System resources

Hi,
 
I need to run the following method:
 
    ClassLoader.getSystemResource ( "system.prefs" )
 
and have it give me a file I've created.  From the JBoss documentation, I gather that I should create a jar file, place system.prefs in it, and place the jar file in the JBOSS_ROOT/lib directory.  However, this doesn't seem to actually work. 
 
How can I make a file available as a System resource? 
 
 
    Thanks very much,
       Eric

Reply via email to