Skip to content

Instantly share code, notes, and snippets.

@rhusar
Created March 18, 2020 14:59
Show Gist options
  • Save rhusar/2e6550dea905544431da336555c1e37e to your computer and use it in GitHub Desktop.
Save rhusar/2e6550dea905544431da336555c1e37e to your computer and use it in GitHub Desktop.
--- a/core/src/main/java/org/jboss/modcluster/ModClusterService.java
+++ b/core/src/main/java/org/jboss/modcluster/ModClusterService.java
@@@ -265,7 -265,7 +265,12 @@@ public class ModClusterService implemen
@Override
public void connectionEstablished(InetAddress localAddress) {
for (Engine engine : this.server.getEngines()) {
-- Connector connector = engine.getProxyConnector();
++ Connector connector;
++ try {
++ connector = engine.getProxyConnector();
++ } catch (RuntimeException ex) {
++ continue;
++ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment