Using <systemProperties> with the Glassfish container adds quoted values inside the <jvm-options> in Glassfish's domain.xml (e.g. <jvm-options>-Dfoo="bar"</jvm-options>). This causes the quotes to be included in the runtime property value (i.e. System.getProperty("foo").equals("\"bar\"") is true), which isn't desirable behaviour. The attached patch removes the extraneous quotes.