1 Reply Latest reply on Jan 2, 2008 10:30 AM by Victor Batista

    re-deploy on  JBoss-5.0.0.Beta2

    Victor Batista Newbie

      Hello,
      I have an exploded ear running on JBoss-5.0.0.Beta2. I can't get re-deploys to work. If I touch the application.xml, or the web.xml of an web app included on the ear, even if I replace the entire ear, nothing happens (JBoss doesn't detect any thing).

      I took a look to the HDScanner MBean, and I couldn't find any property to activate/inactivate re-deployments.

      Is this a bug of jboss-5.0.0.Beta2?

      When will it be released the next JBoss-5?

      Thanks in advance.
      Best regards,
      Victor

      PS: Hot-depolys are working correctly: If I remove the ear and than copy it again to the deploy dir, it gets deployed.

        • 1. Re: re-deploy on  JBoss-5.0.0.Beta2
          Victor Batista Newbie

          Hi,
          I have done some tests with JBoss-5.0.0Beta2 and Beta3, with the same results on both versions:
          - If I have an exploded ear, if I touch the ear directory, it gets re-deployed. Although if I touch the application.xml nothing happens;
          - If I have an exploded war inside my ear, I can't re-deploy it. I tried touching web.xml and the war directory;
          - If I have an exploded web application (no ear in this case), I can re-deploy it by touching its directory. If I touch web.xml nothing happens.


          How can I re-deploy an exploded war inside an exploded ear? I don't wan't the entire ear to get re-deployed. I just wan't the war re-deployed.

          Any help would really be appreciated.
          Thanks in advance.
          Best regards,
          Victor

          PS: Is there any configuration on JBoss-5.x like the old one:

           <attribute name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
          


          This was a nice feature to have control over the deployment order of our applications.