Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: EAP_EWP 5.1.2
    • Fix Version/s: TBD EAP 5
    • Component/s: Web
    • Labels:
      None
    • Environment:

      all

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Set deleteWorkDirOnContextDestroy to true in $JBOSS_HOME/server/$PROFILE/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml

      Show
      Set deleteWorkDirOnContextDestroy to true in $JBOSS_HOME/server/$PROFILE/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml
    • Estimated Difficulty:
      Low
    • Release Notes Text:
      Hide
      When trying to redeploying an EAR or WAR containing JSPs, there are instances which cause the JSP to either not be recompiled, or to be recompiled continuously. For example, if the timestamp of the modified JSP is older than the timestamp of its compiled class, it will not be recompiled. Examples of how this might occur include: reverting to a previous version of the .jsp using a version control, timezone difference between development and production server or the JSP never haveing been visited on a production server until after change is made.

      This is normal behaviour on JBoss Enterprise Application Platform but a workaround is available. Set the parameter <parameter>deleteWorkDirOnContextDestroy</parameter> to <value>true</value> in <filename>$JBOSS_HOME/server/$PROFILE/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml</filename>.
      Show
      When trying to redeploying an EAR or WAR containing JSPs, there are instances which cause the JSP to either not be recompiled, or to be recompiled continuously. For example, if the timestamp of the modified JSP is older than the timestamp of its compiled class, it will not be recompiled. Examples of how this might occur include: reverting to a previous version of the .jsp using a version control, timezone difference between development and production server or the JSP never haveing been visited on a production server until after change is made. This is normal behaviour on JBoss Enterprise Application Platform but a workaround is available. Set the parameter <parameter>deleteWorkDirOnContextDestroy</parameter> to <value>true</value> in <filename>$JBOSS_HOME/server/$PROFILE/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml</filename>.
    • Release Notes Docs Status:
      Documented as Known Issue
    • Docs QE Status:
      NEW

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rmaucher Remy Maucherat
                  Reporter:
                  lakagwu Lami Akagwu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

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