[jboss-jira] [JBoss JIRA] (WFCORE-4386) Unable to start WF with JDK11 and GC log enabled with space in folder name

James Perkins (Jira) issues at jboss.org
Fri May 31 16:56:00 EDT 2019


    [ https://issues.jboss.org/browse/WFCORE-4386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741142#comment-13741142 ] 

James Perkins commented on WFCORE-4386:
---------------------------------------

In the PR https://github.com/wildfly/wildfly-core/pull/3797 I added some tests for different directories and the addition of tests which enable GC logging. While doing this I noticed that with Java 11 there were issues if the path contained a space. This may be related to https://bugs.openjdk.java.net/browse/JDK-8215398, however it seemed to work fine with the workaround assuming the path did not contain a space. Nothing I did seemed to be able to get around this issue. I'm not sure if it's something we can fix or not, but someone with a better knowledge of PowerShell may know a workaround.

> Unable to start WF with JDK11 and GC log enabled with space in folder name
> --------------------------------------------------------------------------
>
>                 Key: WFCORE-4386
>                 URL: https://issues.jboss.org/browse/WFCORE-4386
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts
>            Reporter: Marek Kopecky
>            Assignee: James Perkins
>            Priority: Major
>
> Unable to start WF with JDK11 and GC log enabled with space in folder name
> "w f/bin/standalone.ps1"
> Log:
> {noformat}
> [0.005s][error][logging] Missing terminating quote in -Xlog option 'file="C:\Users\Administrator\playground\w'
> Invalid -Xlog option '-Xlog:gc*:file="C:\Users\Administrator\playground\w', see error log for details.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> {noformat}
> The issue is caused by [this line of common.ps1 file|https://github.com/wildfly/wildfly-core/blob/master/core-feature-pack/src/main/resources/content/bin/common.ps1#L186]



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list