Bug 752802
| Summary: | Enhancement - API documentation not updated by the erratum | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Tomas Lestach <tlestach> |
| Component: | API | Assignee: | Tomas Lestach <tlestach> |
| Status: | CLOSED ERRATA | QA Contact: | Dimitar Yordanov <dyordano> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 540 | CC: | cperry |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-java-1.2.39-108 | Doc Type: | Enhancement |
| Doc Text: |
Previously, the API documentation was not distributed as pre-compiled JavaServer Pages (JSP); Tomcat compiled these pages on demand and stored them in the cache. Consequent to this, users were unable to see any updates to the API documentation, because Tomcat kept serving the old content from the cache. The documentation is now served in a pre-compiled form.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-15 14:08:02 UTC | Type: | --- |
| 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: | 646488 | ||
|
Description
Tomas Lestach
2011-11-10 13:12:51 UTC
A workaround obviously is to delete tomcat cache: rm -rf /var/cache/tomcat[56]/work/Catalina/localhost/rhn Precompile also apidoc jsp pages in build time ... spacewalk.git: c4f9c6555bcb9efd7bb9ea521d9e83663974c8b3
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause:
API documentation jsp pages weren't shipped pre-compiled.
Tomcat compiled those jsp pages on demand and stored them into the cache. Those compiled pages were served also when the original jsp pages go updated by an erratum rpm.
Consequence:
The user didn't see a change in the API documentation after applying of erratum with API changes.
Fix:
Shipping pre-compiled API documentation.
Result:
The user sees API documentation that corresponds to the actual API capabilities.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,9 +1 @@
-Cause:
+Previously, the API documentation was not distributed as pre-compiled JavaServer Pages (JSP); Tomcat compiled these pages on demand and stored them in the cache. Consequent to this, users were unable to see any updates to the API documentation, because Tomcat kept serving the old content from the cache. The documentation is now served in a pre-compiled form.-API documentation jsp pages weren't shipped pre-compiled.
-Tomcat compiled those jsp pages on demand and stored them into the cache. Those compiled pages were served also when the original jsp pages go updated by an erratum rpm.
-Consequence:
-The user didn't see a change in the API documentation after applying of erratum with API changes.
-Fix:
-Shipping pre-compiled API documentation.
-Result:
-The user sees API documentation that corresponds to the actual API capabilities.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2011-1452.html |