diff --git a/v3/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncher.java b/v3/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncher.java index c2dd2453f35..d041cf2e7d7 100644 --- a/v3/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncher.java +++ b/v3/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncher.java @@ -166,7 +166,6 @@ public synchronized void setup() throws GFLauncherException, MiniXmlParserExcept // if no element, we need to upgrade this domain needsUpgrade = !parser.hasNetworkConfig(); setupCalledByClients = true; - checkOsgiPort(); } /** @@ -730,15 +729,6 @@ private void setupLogLevels() { GFLauncherLogger.setConsoleLevel(Level.WARNING); } - private void checkOsgiPort() { - int port = jvmOptions.getOsgiPort(); - - // note: if I just send in port as an int then the JDK will put a comma - // after the thousands which looks dumb, e.g. 6666 vs. 6,666 - if(port > 0 && port < 65536 && !NetUtils.isPortFree(port)) - GFLauncherLogger.severe("badOsgiPort", "" + port); - } - private List commandLine = new ArrayList(); private GFLauncherInfo info; private Map asenvProps;