OK, I see what you are getting at.

Farming isn't going to do what you want. Even if it supported exploded 
deployments, it wouldn't do what you want. It would just monitor the web.xml 
file and copy the war content around the cluster if that file changed. It's not 
a general purpose file replication service.

In general, I don't think trying to edit the content of the tmp/ dir is correct 
usage. People do it to .jsp files to avoid having to redeploy a war to pick up 
a minor jsp change, but the expectation is those updated jsps will be included 
in any new version of the war copied to deploy.  It's better to store data that 
isn't packaged in teh deployment itself but is expected to survive a redeploy 
in the server/.../data dir -- that's the purpose of that dir.

If you want files that users upload to be reflected around the cluster, you'll 
need to come up with your own solution for that. There is no standard service 
JBoss AS provides. Possibilities are storing them in NFS mount, using some file 
replication software outside of JBoss AS, or perhaps using JBoss Cache.  JBC 
can of course replicate content and can also be configured to store a copy of 
the file on the local filesystem.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160695#4160695

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160695
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to