5 Replies Latest reply on Mar 13, 2012 1:37 PM by Viggo Navarsete

    conf directory equivalent in JBoss 7?

    Viggo Navarsete Expert

      I'm porting an application from JBoss 6.1.0.Final to JBoss 7.1.0.Final. We had some configuration files in $JBOSS_HOME/server/<server instance>/conf directory which we read using

      InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream( "filename" );

       

      In JBoss 7.1.0.Final there isn't a conf directory, but there is something similar, $JBOSS_HOME/standalone/configuration where I thought I could put the files and read them the same way...BUT, that directory doesn't seem to be on the classpath anymore.

       

      Does anyone know where I could put such files using JBoss 7?