0 Replies Latest reply on Feb 7, 2011 1:22 AM by Lauri

    Virtual hosts: how to deploy a WAR to multiple hosts by default?

    Lauri Newbie



      Say I've got two virtual hosts set up in jboss: vhost1, vhost2.

      Something just like in the example. This works perfectly.


      Also i've got dozen of .war files to deploy to all virtual hosts, and just one .war which needs to deployed on one virtual host.

      How do I avoid altering jboss-web.xml for each of deployed war file?


      Is it possible to configure defaults for jboss-web.xml? I'd put following then


      Or maybe somehow enumerate default hosts in <Engine..> section of server.xml, i tried to use star symbol and comma as separator, both didn't work.