[jboss-jira] [JBoss JIRA] Updated: (JBAS-5282) .jsp fails to recompile after redeployment

Thomas Bosch (JIRA) jira-events at lists.jboss.org
Fri Mar 7 08:25:58 EST 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5282?page=all ]

Thomas Bosch updated JBAS-5282:
-------------------------------

    Fix Version/s:     (was: JBossAS-4.0.4.CR2)
      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.



  was:
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




> .jsp fails to recompile after redeployment
> ------------------------------------------
>
>                 Key: JBAS-5282
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5282
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-4.2.2.GA
>         Environment: all
>            Reporter: Thomas Bosch
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list