when you create your deployment archive, where does that file exist? 

is it at the root level, is it in a sub-directory? if it's in a sub-directory, you 
need to specify that as part of the resource's location.

ie: if the file lived in "lib", you would have to say


  | ClassLoader classLoader = this.getClass().getClassLoader();
  | InputStream istream = 
classLoader.getResourceAsStream("lib/resources.application.properties");
  | 

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827647#3827647";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827647>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to