Following the QuickStart instructions, I am running into the following exception when executing
zkServer start 2020-04-21 09:13:35,005 [myid:] - ERROR [main:ZooKeeperServerMain@69] - Invalid arguments, exiting abnormally java.lang.NumberFormatException: For input string: "C:\OpenEdge\WRK\zootest1\zookeeper\bin\..\conf\zoo.cfg" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.base/java.lang.Integer.parseInt(Integer.java:652) at java.base/java.lang.Integer.parseInt(Integer.java:770) at org.apache.zookeeper.server.ServerConfig.parse(ServerConfig.java:78) at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:109) at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:67) at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:140) at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:90) 2020-04-21 09:13:35,007 [myid:] - INFO [main:ZooKeeperServerMain@70] - Usage: ZooKeeperServerMain configfile | port datadir [ticktime] [maxcnxns] Usage: ZooKeeperServerMain configfile | port datadir [ticktime] [maxcnxns] 2020-04-21 09:13:35,012 [myid:] - INFO [main:ZKAuditProvider@42] - ZooKeeper audit is disabled. 2020-04-21 09:13:35,015 [myid:] - ERROR [main:ServiceUtils@42] - Exiting JVM with code 2 Code is trying to parse the path to config file for some reason. clientPortAddress = new InetSocketAddress(Integer.parseInt(args[0])); I can start the server by not including the start command. However, I have no idea how to shut it down. Any ideas how to get around this issue? Thanks Dave