This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242931

Summary: WildFly server fails to start with the 32-bit JVM with version 1.0.11 of the WildFly NetBeans plugin
Product: serverplugins Reporter: jplatts <jplatts>
Component: WildFlyAssignee: ehsavoie <ehsavoie>
Status: RESOLVED FIXED    
Severity: normal CC: jplatts
Priority: P1    
Version: 8.0   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description jplatts 2014-03-15 20:13:34 UTC
The WildFly server fails to start with the 32-bit JVM with version 1.0.11 of the WildFly NetBeans plugin because the -XX:+UseCompressedOops option is automatically added to the JVM options for the WildFly server. This issue does not occur in earlier versions of the WildFly server plugin. The version of the JDK on the computer that is experiencing this problem is JDK 7 Update 51, and the issue is encountered using NetBeans Build 201403150001.

Here is the link to the location where the -XX:+UseCompressedOops is appended to the JVM options in the javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/ide/WildflyStartRunnable.java file: http://hg.netbeans.org/main/file/32f9c526cb51/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/ide/WildflyStartRunnable.java#l210

The -XX:+UseCompressedOops option should not be automatically added to the command line because 32-bit JVMs will fail to start if this option is passed to the command line.
Comment 1 ehsavoie 2014-03-20 10:26:29 UTC
Should be fixed in 1.0.12