Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6590

AS5 is not reliably picking up changes in exploded EAR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.0.0.M2
    • JBossAS-5.0.1.GA
    • Deployers
    • None

    Description

      I have an explode ear file (directory) - see attached file: ear.jpg

      When I deploy the exploded ear file to JBoss AS 4.2.3 and later want to update a xhtml file in the exploded ear by my ANT script everything works fine (i.e. I can refresh my browser and see the changes without redeployment of the ear or war):

      <!-- Target: deploy.xhtml.to.jboss -->
      <target name="deploy.xhtml.to.jboss" description="Deploy xhtml files to JBoss" if="deployed">
      <copy todir="${jboss.deploy.dir}/${jboss.context.path}/${war.file.name}/xhtml">
      <fileset dir="${view.dir}/xhtml" includes="*/"/>
      </copy>
      </target>

      Because the exploded ear file is not copied to JBoss tmp dir.

      But JBoss AS 5 always makes a copy of my exploded ear file and copies it to the tmp dir where it's the current 'working copy/version' used by JBoss AS - see attached file: tmp-ear.jpg
      My ANT task will not work anymore because the 'working copy/version' used by JBoss AS now is in the tmp dir and not in the deploy dir.

      I really don't want to 'touch' web.xml (or other meta files) to trigger a full redeployment when I need to make changes to my web files (xhtml, css, javascript, images etc.).

      Could we please have the 'old' behaviour from JBoss AS 4.2.X implemented into JBoss AS 5 - or is there a workaround to above problem?

      Attachments

        1. ear.jpg
          ear.jpg
          136 kB
        2. jboss5-test.ear.zip
          6.97 MB
        3. tmp-ear.jpg
          tmp-ear.jpg
          161 kB

        Activity

          People

            ajustin@redhat.com Ales Justin
            msystems_jira Kenneth Christensen (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: