I also would like to do that: reuse that jboss code to distribute my config
files to all nodes in the cluster.
What i currently do is this: i just put them in the farm folder, and ignore the
deployment-errors about them :)
then i make a softlink deploy/data.war to the farm folder; this way, my remote
java client application can also download these config files (but of course
also my ear file huh)
I read the file in my server code like this:
properties.load(new FileInputStream(new
File(System.getProperty("jboss.server.home.dir") +
"/deploy/data.war/config.properties")));
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173982#4173982
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173982
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user