Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6769

Hot redeployment of faclets doesn't work with hot deployment scanner disabled

    XMLWordPrintable

Details

    • Hide

      1.Deploy any seam application, with '<core:init debug="true">' in the components.xml to the default profile, as an exploded war, to a vanilla EAP 5.1 instance
      2.Change the home.xthml file, and observer that the file is changed via the browser.
      3.Delete hdscanner-jboss-beans.xml from the deploy directory
      4.Restart the server
      5.Repeat step 2, observing that the changes are not picked up.

      Show
      1.Deploy any seam application, with '<core:init debug="true">' in the components.xml to the default profile, as an exploded war, to a vanilla EAP 5.1 instance 2.Change the home.xthml file, and observer that the file is changed via the browser. 3.Delete hdscanner-jboss-beans.xml from the deploy directory 4.Restart the server 5.Repeat step 2, observing that the changes are not picked up.
    • Workaround Exists
    • Hide

      Enable hot deployment for the server.

      Show
      Enable hot deployment for the server.
    • Hot deployment of Facelets does not work if the hot deployment scanner is not enabled for the server profile.
    • Documented as Known Issue
    • NEW

    Description

      With a exploded Seam WAR archive deployed to the server, a change to any xhtml file should be deployed automatically, without redeploying the application, via a server restart. This works with hot deploy enabled on the server, with hdscanner-jboss-beans.xml in the deploy directory, but doesn't work without it. This is documented here:

      http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Seam_Reference_Guide/gettingstarted-hotdeployment.html

      The strange thing is this works for xhtml files in the admin-console. This leads me to believe it is a configuration issue, but I can't find the configuration difference.

      Attachments

        Activity

          People

            mnovotny@redhat.com Marek Novotny
            rhn-support-jshepher Jason Shepherd
            Russell Dickenson Russell Dickenson (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: