I have the properties file which are specific for each domain. Could you help me, how to add these files to the application's classpath for each domain?
i tried in following different ways. But, efforts were in vain.
1) I tried by modifying the JBOSS_CLASSPATH in run.bat and it didnt work out. I believe this is only meant to the jboss server's classpath.
2) I tried using -C runtime parameter, it didnt work out as well.
3) I tried even having the properties file in /conf folder. it didnt work out as well.
What do you mean by "specific for each domain"?
Properties files can be placed in a JAR file in your app, in WEB-INF/classes, or even the server/xxx/conf directory. Your point #3 mentioned you tried the conf directory but you did not elaborate on what did not work for you. A specific example of what you did and what you expected would help.