3 Replies Latest reply on Feb 14, 2012 6:08 AM by Frank Langelage

    Loading resource file from ear-file

    Frank Langelage Master

      Coming from JBoss AS 6.0 and 4.24.

      I put a resorce file named mbi_deploy.xml into the root of my ear file.

      It was read on runtime using this: InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream( "mbi_deploy.xml" );

       

      Using JBoss AS7 now the file is not found. Where to put it for AS7?

      For a web-application it seems to have put to WEB-INF/classes to be found.