You can place those property files in %JBOSS_HOME%/server/< serverName>/conf 
folder which by default is in the classpath. You can then access those files in 
the code, something along these lines:

InputStream is = 
this.getClass().getClassLoader().getResourceAsStream("myprops.properties);
  | Properties props = new Properties();
  | props.load(is);
  | 

But obviously, you cannot have multiple versions of the same file on the same 
server instance (that's what i thought your original requirement was - one 
version per ear on the same server instance).




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227437#4227437

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227437
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to