[jboss-user] [Beginners Corner] - linking configuration files to applications
gmesturini
do-not-reply at jboss.com
Tue Apr 10 04:11:48 EDT 2007
Scenario:
Appserver: JBOSS 4.0.5 GA (but i can change for a latest if things I need aren't available in this version).
application-a.ear
config-dir-a
- settings.properties
application-b.ear
config-dir-b
- settings.properties
application-a and application-b must be installed on the same application server. they have their own configuration directories containing configuration files: directories have different name, while files have the same name. I need to separate the loader of each application to point them on the right configuration files. I've tried to use SAR, but it seems to load the same configuration file for each application (maybe the last loaded file).
Files cannot be archived in a JAR in order to let customers to change them without recompile or repacking. To be more clear in explanation, what I would like to do is something like the shared-library mechanism of IBM WebSphere, where you can link a shared-library to an application, being sure that files contained will be visible only to the attached application.
Any suggestion?
Thank you very much
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035880#4035880
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035880
More information about the jboss-user
mailing list