I tried using -tcpShutdown, but I may be doing something wrong.. it says the server is trying to start up:
>java -jar /tomcat/h2db/h2-1.3.152.jar org.h2.tools.Server -tcpShutdown tcp://localhost The Web Console server could not be started. Possible cause: another server is already running at http://localhost:8082 Root cause: Exception opening port "8082" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-152] The TCP server could not be started. Possible cause: another server is already running at tcp://localhost:9101 Root cause: Exception opening port "9101" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-152] PG server running at pg://localhost:37757 (only local connections) Exception in thread "main" org.h2.jdbc.JdbcSQLException: Exception opening port "8082" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-152] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:156) at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:175) at org.h2.util.NetUtils.createServerSocket(NetUtils.java:141) at org.h2.server.web.WebServer.start(WebServer.java:329) at org.h2.tools.Server.start(Server.java:362) at org.h2.tools.Console.runTool(Console.java:173) at org.h2.tools.Console.main(Console.java:101) Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:97) at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:171) ... 5 more I tried several variations but same result: >java -jar /tomcat/h2db/h2-1.3.152.jar org.h2.tools.Server -tcpPort 9101 -tcpShutdown tcp://localhost >java -jar /tomcat/h2db/h2-1.3.152.jar org.h2.tools.Server -tcpShutdown tcp://localhost:9101 Am I doing something wrong? -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
