diff --git a/source/java/org/alfresco/repo/management/subsystems/PortEarlyPropertyChecker.java b/source/java/org/alfresco/repo/management/subsystems/PortEarlyPropertyChecker.java index 3515c68f0d..2ab0b4abf6 100644 --- a/source/java/org/alfresco/repo/management/subsystems/PortEarlyPropertyChecker.java +++ b/source/java/org/alfresco/repo/management/subsystems/PortEarlyPropertyChecker.java @@ -116,7 +116,7 @@ public class PortEarlyPropertyChecker implements SubsystemEarlyPropertyChecker { try { - PortUtil.checkPort(portNumber, host); + checkPort(portNumber, host); } catch (IOException ioe) { @@ -164,7 +164,7 @@ public class PortEarlyPropertyChecker implements SubsystemEarlyPropertyChecker { try { - PortUtil.checkPort(portNumber, host); + checkPort(portNumber, host); } catch (IOException ioe) { @@ -223,6 +223,11 @@ public class PortEarlyPropertyChecker implements SubsystemEarlyPropertyChecker } } + protected void checkPort(int portNumber, String host) throws IOException + { + PortUtil.checkPort(portNumber, host); + } + private String appendToErrorString(String stringToAppendTo, String separator, String valueToAppend) { if (!stringToAppendTo.equals("")) diff --git a/source/test-resources/subsystem-test-context.xml b/source/test-resources/subsystem-test-context.xml index 823ab03d50..64bd78ebc3 100644 --- a/source/test-resources/subsystem-test-context.xml +++ b/source/test-resources/subsystem-test-context.xml @@ -29,16 +29,22 @@ - + + + + - + + + + @@ -50,4 +56,8 @@ + + + + \ No newline at end of file