Index: src/org/netbeans/modules/web/context/WebContextObject.java =================================================================== RCS file: /cvs/web/core/src/org/netbeans/modules/web/context/WebContextObject.java,v --- src/org/netbeans/modules/web/context/WebContextObject.java 1.65 +++ src/org/netbeans/modules/web/context/WebContextObject.java @@ -181,1 +181,2 @@ - if (ctxRoot == null || ctxRoot.equals ("")) { --- + //handling missing server specific data + if (ctxRoot == null) { @@ -186,0 +187,9 @@ + } else { + setURIParameter (null); //only upgrade from old format once and then reset the old value + } + setContextPath (sysName); + } + else if (ctxRoot.equals ("")) { + String sysName = getURIParameter (); + if (!sysName.equals ("")) { + setURIParameter (null); //only upgrade from old format once and then reset the old value