Bug 1035477
| Summary: | Incorrect instruction to add JAVA_OPTS config at end of domain.conf | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Brian Stansberry <brian.stansberry> |
| Component: | Documentation | Assignee: | Scott Mumford <smumford> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Russell Dickenson <rdickens> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | fbogyai, nziakova, olukas, smumford, twells |
| Target Milestone: | GA | Keywords: | Documentation, EasyFix, Triaged |
| Target Release: | EAP 6.2.0, EAP 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 14:39:32 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: | 1035353 | ||
|
Description
Brian Stansberry
2013-11-27 21:24:14 UTC
Also there's a typo in the suggested JAVA_OPTS settings: -Djava.security.policy==$PWD/server.policy Two equals signs. Using that results in obscure permission failures on domain boot, probably because the policy file isn't loaded so no permissions are set? I think using two equals is correct expression (not a typo), it means that security manager use only policy file which is set in java.security.policy property. If you use one equals it means that security manager uses policy from java.security.policy combined with policy set in policy.url part of java.home/lib/security/java.security. You can see at http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html#DefaultLocs to part "Specifying an Additional Policy File at Runtime". However it is possible that two equals sign causes any problems if $PWD/server.policy doesn't grant needed permissions, but it that way it should throw SecurityException or AccessControlException. Ondrej -- agreed, not a typo. Thanks for the information. These changes were made to the 6.3 content and backported to the 6.2 content. The updated 6.2 documents are available for review at: http://docbuilder.usersys.redhat.com/14874/ (Admin and Config Guide) http://docbuilder.usersys.redhat.com/14876/ (Security Guide). Moving this ticket to MODIFIED until update is available for QA on the documentation stage. Moving to ON_QA. The changes should be available for review on the documentation stage within an hour or so from this comment. http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/ Moving to ON_QA. The changes should be available for review on the documentation stage within an hour or so from this comment. http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/ The changed were not backported to EAP 6.2 Administration and Configuration Guide. The 6.2 docs have been rebuilt to show the updated content. Admin & Config Guide: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.2/html-single/Administration_and_Configuration_Guide/index.html#Run_JBoss_Enterprise_Application_Platform_Within_the_Java_Security_Manager Security Guide: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.2/html-single/Security_Guide/index.html#Run_JBoss_Enterprise_Application_Platform_Within_the_Java_Security_Manager |