[jboss-jira] [JBoss JIRA] (WFLY-2587) ManagedServerBootCmdFactory alters system property values

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Nov 27 18:30:05 EST 2013


Brian Stansberry created WFLY-2587:
--------------------------------------

             Summary: ManagedServerBootCmdFactory alters system property values
                 Key: WFLY-2587
                 URL: https://issues.jboss.org/browse/WFLY-2587
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Domain Management
    Affects Versions: 8.0.0.Beta1
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 8.0.0.CR1


When ManagedServerBootCmdFactory iterates through system properties to use in the server launch command it adds a value of "true" for any properties that have no value. This is incorrect. In particular it breaks SecurityManager usage as -Djava.security.manager is a valid setting while -Djava.security.manager=true will result in

[Host Controller] 15:09:01,758 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010922: Starting server server-one
15:10:55,691 INFO  [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) JBAS012017: Starting process 'Server:server-one'
[Server:server-one] Error occurred during initialization of VM
[Server:server-one] java.lang.InternalError: Could not create SecurityManager: true
[Server:server-one] 	at sun.misc.Launcher.<init>(Launcher.java:106)
[Server:server-one] 	at sun.misc.Launcher.<clinit>(Launcher.java:57)
[Server:server-one] 	at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1486)
[Server:server-one] 	at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1468)
[Server:server-one] 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list