Skip to content

Commit

Permalink
Remove message about conflict of OSGi telnet port. It is no longer de…
Browse files Browse the repository at this point in the history
…tected or commented about. Instead there will be a raft of

severe log messages from grizzly in server.log


svn path=/trunk/; revision=39484


Former-commit-id: bb371c387a3b657b214e8d83ff6e9e85cb926be6
  • Loading branch information
Byron Nevins committed Aug 9, 2010
1 parent d204699 commit 90f1e1f
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ public synchronized void setup() throws GFLauncherException, MiniXmlParserExcept
// if no <network-config> element, we need to upgrade this domain
needsUpgrade = !parser.hasNetworkConfig();
setupCalledByClients = true;
checkOsgiPort();
}

/**
Expand Down Expand Up @@ -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<String> commandLine = new ArrayList<String>();
private GFLauncherInfo info;
private Map<String, String> asenvProps;
Expand Down

0 comments on commit 90f1e1f

Please sign in to comment.