Bug 1121973
Summary: | custom jsp file can't take effect for jbosseap-6 app | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Yan Du <yadu> |
Component: | Image | Assignee: | Ben Parees <bparees> |
Status: | CLOSED CANTFIX | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | akostadi, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-22 17:59:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1188607 |
Description
Yan Du
2014-07-22 09:10:38 UTC
The issue appears to be in jboss jsp caching. The compiled testpage.jsp file ends up cached here: /var/lib/openshift/53cebc02186355494c00004e/jbosseap/standalone/tmp/work/jboss.web/default-host/_/org/apache/jsp with the current time from the openshift node. meanwhile, the actual jsp is stored here with the time from the openshift client machine: /var/lib/openshift/53cebc02186355494c00004e/jbosseap/standalone/tmp/vfs/temp/tempd56ce3f88d7750b9/ROOT.war-937230a5bc488ab6/testpage.jsp In this case, the openshift node has a significantly advanced clock. As a result, jboss sees the timestamp of the jsp as being older than the latest cached compiled classes (again, stored in: /var/lib/openshift/53cebc02186355494c00004e/jbosseap/standalone/tmp/work/jboss.web/default-host/_/org/apache/jsp) and so it does not update the cached copy with the contents in /var/lib/openshift/53cebc02186355494c00004e/jbosseap/standalone/tmp/vfs/temp/tempd56ce3f88d7750b9/ROOT.war-937230a5bc488ab6/testpage.jsp For some reason on jbossAS, the timestamp in /var/lib/openshift/53cebc02186355494c00004e/jbosseap/standalone/tmp/vfs reflects the time on the openshift node, so this problem does not occur. The simple solution would be to wipe out the tmp directory as part of deploy, though this would have negative performance implications since cached classes that have not changed would be lost. Otherwise I need to speak w/ the jboss team to understand this behavior. *** Bug 1199301 has been marked as a duplicate of this bug. *** |