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

.jsp fails to recompile after redeployment, or recompiles continuously

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • JBossAS-4.0.4.CR2
    • JBossPOJOServer-1.0 Alpha, JBossPOJOServer-1.0 Final, Closed issues from sourceforge, JBossAS-3.2.5 Final, JBossAS-4.0.0 Final, JBossAS-4.0.1RC1, JBossAS-3.2.6 Final, JBossAS-3.2.7 Final, JBossAS-4.0.1 Final, JBossAS-4.0.1 SP1, JBossAS-4.0.2RC1, JBossAS-4.0.2 Final, JBossAS-4.0.3RC1, JBossAS-4.0.3RC2, JBossAS-4.0.3 Final, JBossAS-4.0.3 SP1, JBossAS-3.2.8RC1, JBossAS-4.0.4RC1, JBossAS-3.2.8 Final, JBossAS-3.2.8.SP1, JBossAS-4.0.4.CR2, JBossAS-4.0.4.GA, JBossAS-4.0.5.CR1, JBossAS-4.0.5.GA, JBossAS-5.0.0.Beta1, JBossAS-5.0.0.Beta4, JBossAS-5.0.0.CR2, No Release
    • Web (Tomcat) service
    • None
    • Low
    • Workaround Exists
    • Hide

      do not hot deploy, remove work directory for every redeployment.

      Show
      do not hot deploy, remove work directory for every redeployment.

      When redeploying a .ear or .war containing .jsps, there are many situations causing a .jsp that needs to be recompiled to not be recompiled, or to be recompiled continuously.

      Any situation causing the timestamp of the modified .jsp to be older than the timestamp of its compiled class will cause it not to be recompiled; for example:

      • reverting to a previous version of the .jsp using a version control
      • timezone difference between development and production server
      • .jsp never visited in production server until after change is made, which can happen for a rarely visited page, or a newly deployed server.

      Continuous recompilation happens in any situation causing the timestamp of the modified .jsp to be newer than the current time, and will happen until current time catches up; for example:

      • timezone difference between development and production server
      • future time assigned to .jsp

              Unassigned Unassigned
              jleech_jira Jonathan Leech (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified