Bug 1035378

Summary: Procedure which setting Security Manager doesn't work on Windows in Security Guide
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: FIlip Bogyai <fbogyai>
Component: DocumentationAssignee: Tom WELLS <twells>
Status: CLOSED CURRENTRELEASE QA Contact: Ondrej Lukas <olukas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: jcacek, jkudrnac, lcarlon, lcosti, nziakova, zroubali
Target Milestone: GAKeywords: Documentation, Triaged
Target Release: EAP 6.2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 14876, Security Guide-6.2-1 Build Date: 27-11-2013 14:15:01 Topic ID: 4779-458781 [Latest]
Last Closed: 2014-06-02 12:49:30 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:
Bug Depends On:    
Bug Blocks: 1035353    

Description FIlip Bogyai 2013-11-27 16:07:55 UTC
In chapter 5.3. Run JBoss EAP 6 Within the Java Security Manager there is procedure for setting security manager, but it doesn't work on windows (there are standalone.conf.bat instead of standalone.conf, propetry are set through % instead of $ etc.). I think it should be explicitly mention it this procedure.

Comment 2 Josef Cacek 2014-04-22 18:57:38 UTC
Examples are not correct:

1) remove -Djava.security.debug=access:failure from all examples - it's a property which enables debugging and it's usually not used on production systems. We cover this property in another section of the chapter.

2)
Example 6.1. domain.conf - the JBOSS_HOME variable is not available in domain conf (cf. bug #1083474), so full path must be used.

3)
Example 6.2. domain.conf.bat - neither $PWD nor $JBOSS_HOME available (and wrong variable expansion used) - full paths should be used

4)
Example 6.4. standalone.conf.bat -  $PWD not available and wrong variable expansion for JBOSS_HOME - it should be %JBOSS_HOME%

Comment 4 Zbyněk Roubalík 2014-04-23 12:51:50 UTC
Verified on Revision 6.2.2-7