Searched refs:ports (Results 1 - 25 of 46) sorted by relevance

12

/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/server/
H A DReplicationServerDynamicConfTest.java55 int[] ports = TestCaseUtils.findFreePorts(2);
58 ReplServerFakeConfiguration conf = new ReplServerFakeConfiguration(ports[0], null, 0, 1, 0, 0, null);
66 ReplServerFakeConfiguration newconf = new ReplServerFakeConfiguration(ports[1], null, 0, 1, 0, 0, null);
70 DN.valueOf(TEST_ROOT_DN_STRING), 1, 10, ports[1], 1000);
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DReplicationServerDynamicConfTest.java55 int[] ports = TestCaseUtils.findFreePorts(2);
60 ports[0], null, replicationDbImplementation, 0, 1, 0, 0, null);
70 ports[1], null, replicationDbImplementation, 0, 1, 0, 0, null);
75 DN.decode(TEST_ROOT_DN_STRING), 1, 10, ports[1], 1000);
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DReplicationServerDynamicConfTest.java55 int[] ports = TestCaseUtils.findFreePorts(2);
60 ports[0], null, replicationDbImplementation, 0, 1, 0, 0, null);
70 ports[1], null, replicationDbImplementation, 0, 1, 0, 0, null);
75 DN.decode(TEST_ROOT_DN_STRING), 1, 10, ports[1], 1000);
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/quicksetup/
H A DTestUtilities.java78 int[] ports = TestCaseUtils.findFreePorts(2);
79 ldapPort = ports[0];
80 jmxPort = ports[1];
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/quicksetup/
H A DTestUtilities.java78 int[] ports = TestCaseUtils.findFreePorts(2);
79 ldapPort = ports[0];
80 jmxPort = ports[1];
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/quicksetup/
H A DTestUtilities.java78 int[] ports = TestCaseUtils.findFreePorts(2);
79 ldapPort = ports[0];
80 jmxPort = ports[1];
/forgerock/opendj-v3/opendj-server/src/main/java/org/forgerock/opendj/server/setup/cli/
H A DSetupCli.java338 * Checks that there are no conflicts with the provided ports (like if the user provided the same port for different
346 // Check that the provided ports do not match.
348 final Set<Integer> ports = new HashSet<>();
349 ports.add(ldapPort.getIntValue());
351 checkPortArgument(adminConnectorPort, ports, errorMessages);
354 checkPortArgument(jmxPort, ports, errorMessages);
357 checkPortArgument(ldapsPort, ports, errorMessages);
365 private void checkPortArgument(IntegerArgument portArg, final Set<Integer> ports, argument
367 if (ports.contains(portArg.getIntValue())) {
370 ports
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/service/
H A DReplicationDomainTest.java97 int[] ports = TestCaseUtils.findFreePorts(2);
98 int replServerPort1 = ports[0];
99 int replServerPort2 = ports[1];
415 int[] ports = TestCaseUtils.findFreePorts(2);
416 int replServerPort1 = ports[0];
417 int replServerPort2 = ports[1];
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/service/
H A DReplicationDomainTest.java97 int[] ports = TestCaseUtils.findFreePorts(2);
98 int replServerPort1 = ports[0];
99 int replServerPort2 = ports[1];
415 int[] ports = TestCaseUtils.findFreePorts(2);
416 int replServerPort1 = ports[0];
417 int replServerPort2 = ports[1];
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/service/
H A DReplicationDomainTest.java96 int[] ports = TestCaseUtils.findFreePorts(2);
97 int replServerPort1 = ports[0];
98 int replServerPort2 = ports[1];
410 int[] ports = TestCaseUtils.findFreePorts(2);
411 int replServerPort1 = ports[0];
412 int replServerPort2 = ports[1];
/forgerock/opendj-b2.6/src/server/org/opends/server/tools/
H A DInstallDSArgumentParser.java531 * Checks that there are no conflicts with the provided ports (like if the
540 * Check that the provided ports do not match.
544 Set<Integer> ports = new HashSet<Integer>();
545 ports.add(ldapPortArg.getIntValue());
547 if (ports.contains(adminConnectorPortArg.getIntValue()))
555 ports.add(adminConnectorPortArg.getIntValue());
560 if (ports.contains(jmxPortArg.getIntValue()))
568 ports.add(jmxPortArg.getIntValue());
573 if (ports.contains(ldapsPortArg.getIntValue()))
581 ports
[all...]
H A DConfigureDS.java430 Set<Integer> ports = new HashSet<Integer>();
433 ports.add(ldapPort.getIntValue());
437 if (ports.contains(adminConnectorPort.getIntValue()))
447 ports.add(adminConnectorPort.getIntValue());
452 if (ports.contains(ldapsPort.getIntValue()))
462 ports.add(ldapsPort.getIntValue());
467 if (ports.contains(jmxPort.getIntValue()))
477 ports.add(jmxPort.getIntValue());
/forgerock/opendj2/src/server/org/opends/server/tools/
H A DInstallDSArgumentParser.java530 * Checks that there are no conflicts with the provided ports (like if the
539 * Check that the provided ports do not match.
543 Set<Integer> ports = new HashSet<Integer>();
544 ports.add(ldapPortArg.getIntValue());
546 if (ports.contains(adminConnectorPortArg.getIntValue()))
554 ports.add(adminConnectorPortArg.getIntValue());
559 if (ports.contains(jmxPortArg.getIntValue()))
567 ports.add(jmxPortArg.getIntValue());
572 if (ports.contains(ldapsPortArg.getIntValue()))
580 ports
[all...]
H A DConfigureDS.java415 Set<Integer> ports = new HashSet<Integer>();
418 ports.add(ldapPort.getIntValue());
422 if (ports.contains(adminConnectorPort.getIntValue()))
432 ports.add(adminConnectorPort.getIntValue());
437 if (ports.contains(ldapsPort.getIntValue()))
447 ports.add(ldapsPort.getIntValue());
452 if (ports.contains(jmxPort.getIntValue()))
462 ports.add(jmxPort.getIntValue());
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/
H A DInstallDSArgumentParser.java531 * Checks that there are no conflicts with the provided ports (like if the
540 * Check that the provided ports do not match.
544 Set<Integer> ports = new HashSet<Integer>();
545 ports.add(ldapPortArg.getIntValue());
547 if (ports.contains(adminConnectorPortArg.getIntValue()))
555 ports.add(adminConnectorPortArg.getIntValue());
560 if (ports.contains(jmxPortArg.getIntValue()))
568 ports.add(jmxPortArg.getIntValue());
573 if (ports.contains(ldapsPortArg.getIntValue()))
581 ports
[all...]
H A DConfigureDS.java430 Set<Integer> ports = new HashSet<Integer>();
433 ports.add(ldapPort.getIntValue());
437 if (ports.contains(adminConnectorPort.getIntValue()))
447 ports.add(adminConnectorPort.getIntValue());
452 if (ports.contains(ldapsPort.getIntValue()))
462 ports.add(ldapsPort.getIntValue());
467 if (ports.contains(jmxPort.getIntValue()))
477 ports.add(jmxPort.getIntValue());
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/
H A DInstallDSArgumentParser.java531 * Checks that there are no conflicts with the provided ports (like if the
540 * Check that the provided ports do not match.
544 Set<Integer> ports = new HashSet<Integer>();
545 ports.add(ldapPortArg.getIntValue());
547 if (ports.contains(adminConnectorPortArg.getIntValue()))
555 ports.add(adminConnectorPortArg.getIntValue());
560 if (ports.contains(jmxPortArg.getIntValue()))
568 ports.add(jmxPortArg.getIntValue());
573 if (ports.contains(ldapsPortArg.getIntValue()))
581 ports
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/tools/
H A DInstallDSArgumentParser.java530 * Checks that there are no conflicts with the provided ports (like if the
539 * Check that the provided ports do not match.
543 Set<Integer> ports = new HashSet<Integer>();
544 ports.add(ldapPortArg.getIntValue());
546 if (ports.contains(adminConnectorPortArg.getIntValue()))
554 ports.add(adminConnectorPortArg.getIntValue());
559 if (ports.contains(jmxPortArg.getIntValue()))
567 ports.add(jmxPortArg.getIntValue());
572 if (ports.contains(ldapsPortArg.getIntValue()))
580 ports
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/
H A DInstallDSArgumentParser.java512 * Checks that there are no conflicts with the provided ports (like if the
522 Set<Integer> ports = new HashSet<>();
523 ports.add(ldapPortArg.getIntValue());
525 checkPortAlreadyUsed(ports, adminConnectorPortArg.getIntValue(), errorMessages,
529 checkPortAlreadyUsed(ports, jmxPortArg.getIntValue(), errorMessages, ERR_CONFIGDS_PORT_ALREADY_SPECIFIED);
533 checkPortAlreadyUsed(ports, ldapsPortArg.getIntValue(), errorMessages, ERR_CONFIGDS_PORT_ALREADY_SPECIFIED);
543 private void checkPortAlreadyUsed(Set<Integer> ports, int port, Collection<LocalizableMessage> errorMessages, argument
546 if (ports.contains(port))
552 ports.add(port);
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DGroupIdHandshakeTest.java196 * Find needed free TCP ports.
200 int[] ports = TestCaseUtils.findFreePorts(3);
202 rs1Port = ports[i++];
203 rs2Port = ports[i++];
204 rs3Port = ports[i++];
H A DReplicationServerFailoverTest.java332 * Find needed free TCP ports.
336 int[] ports = TestCaseUtils.findFreePorts(2);
337 rs1Port = ports[0];
338 rs2Port = ports[1];
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DGroupIdHandshakeTest.java196 * Find needed free TCP ports.
200 int[] ports = TestCaseUtils.findFreePorts(3);
202 rs1Port = ports[i++];
203 rs2Port = ports[i++];
204 rs3Port = ports[i++];
H A DReplicationServerFailoverTest.java332 * Find needed free TCP ports.
336 int[] ports = TestCaseUtils.findFreePorts(2);
337 rs1Port = ports[0];
338 rs2Port = ports[1];
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/
H A DGroupIdHandshakeTest.java193 * Find needed free TCP ports.
197 int[] ports = TestCaseUtils.findFreePorts(3);
199 rs1Port = ports[i++];
200 rs2Port = ports[i++];
201 rs3Port = ports[i++];
H A DReplicationServerFailoverTest.java330 * Find needed free TCP ports.
334 int[] ports = TestCaseUtils.findFreePorts(2);
335 rs1Port = ports[0];
336 rs2Port = ports[1];

Completed in 48 milliseconds

12