I can't seem to set the JVM options for GlassFish 3.1.2.
I use the same code to set the JVM options across all of my Tomcat, JBoss, Jetty and WebLogic Cargo-driven tests, so I'm pretty confident the setting of the JVM options is done correctly.
Actually, the Glassfish seems to only actually support the -Xmx and -XX:MaxPermSize options. I need support for -javaagent for my purposes. Note that -javaagent switches are of the format:
As opposed to the more typical convention in JVM options: