Currently, we are using JBOSS 5.1.0, in our application. Now, we have decided to migrate it to JBOSS7. The problem is as below.
We have a config folder in where we have around 7-8 properties file, which are referred by our application. In JBOSS 5, we pasted this config file inside JBOSS_HOME and edited the run.bat/run.sh file, to include this folder in JBOSS classpath and in Java file, we used to access it.
Now, in JBOSS7, we are not able to do this. Can anyone help me in achieving the same. Do we need to do some configuration in stanalone.xml/domain.xml? Please help on the same.
In earlier versions of JBoss AS, such as 5.1, the server/xxx/conf directory was always in the classpath, so placing a properties file in there enabled you to do a getResource lookup. I haven't tried this yet, bu in 7.1, try placing the properties file in standalone/configuration.
Hi. I'm new to jBoss 7.1.1 and i'm very interested in doing what you have managed loading properties files as modules, because i've the same problem.
I come from jBoss 4.2.2 world and i used to load properties and resources using the classpath but i don't know how to change it in this jBoss version. is it possible? If not, i would like to load my properties files as modules.