--- a/glassfish.common/src/org/netbeans/modules/glassfish/common/wizards/AddServerLocationPanel.java Thu May 24 16:37:10 2012 +0200
+++ a/glassfish.common/src/org/netbeans/modules/glassfish/common/wizards/AddServerLocationPanel.java Thu May 24 16:37:59 2012 +0200
@@ -61,6 +61,7 @@
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import org.netbeans.modules.glassfish.common.GlassfishInstance;
+import org.netbeans.modules.glassfish.common.ServerDetails;
import org.netbeans.modules.glassfish.spi.TreeParser;
import org.netbeans.modules.glassfish.spi.Utils;
import org.openide.filesystems.FileUtil;
@@ -228,9 +229,14 @@
wizard.putProperty(PROP_ERROR_MESSAGE, statusText);
return false;
} else {
- wizard.putProperty(PROP_ERROR_MESSAGE, null);
- wizard.putProperty(PROP_INFO_MESSAGE, NbBundle.getMessage(
+ if (candidate == ServerDetails.GLASSFISH_SERVER_3_1_2) {
+ wizard.putProperty(PROP_ERROR_MESSAGE, NbBundle.getMessage(
+ AddServerLocationPanel.class, "ERR_BrokenGF3_1_2", candidate)); // NOI18N
+ } else {
+ wizard.putProperty(PROP_ERROR_MESSAGE, null);
+ wizard.putProperty(PROP_INFO_MESSAGE, NbBundle.getMessage(
AddServerLocationPanel.class, "MSG_NextForSpecial", candidate)); // NOI18N
+ }
}
}
}
--- a/glassfish.common/src/org/netbeans/modules/glassfish/common/wizards/Bundle.properties Thu May 24 16:37:10 2012 +0200
+++ a/glassfish.common/src/org/netbeans/modules/glassfish/common/wizards/Bundle.properties Thu May 24 16:37:59 2012 +0200
@@ -158,6 +158,7 @@
ERR_InvalidAdminPort=Invalid port value: {0}
MSG_RegisterRemote=Register remote instance: {0}:{1}
+ERR_BrokenGF3_1_2={0} is known to have serious bug in JAX-WS.
This bug may cause NetBeans to stop responding.
Click Next if you really want to register remote or custom local domains with broken server.
MSG_NextForSpecial=Detected a {0} install. Click Next to register remote or custom local domains.
ERR_InvalidDomainData=The domain ({0}) has invalid data in domain.xml