After upgrading to 1.6, when I try to reboot the smart fox service for my second server, I got this log error and then everything starts up just fine. I have also disabled the database portion of smartfox (no zones use it):
STATUS | wrapper | 2008/01/04 16:05:59 | --> Wrapper Started as Service
STATUS | wrapper | 2008/01/04 16:05:59 | Launching a JVM...
INFO | jvm 1 | 2008/01/04 16:05:59 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2008/01/04 16:05:59 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2008/01/04 16:05:59 |
INFO | jvm 1 | 2008/01/04 16:06:00 | org.h2.jdbc.JdbcSQLException: Exception opening port 9009 (port may be in use), cause: java.net.BindException: Address already in use: JVM_Bind [90061-60]
INFO | jvm 1 | 2008/01/04 16:06:00 | at org.h2.message.Message.getSQLException(Message.java:84)
INFO | jvm 1 | 2008/01/04 16:06:00 | at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:54)
INFO | jvm 1 | 2008/01/04 16:06:00 | at org.h2.util.NetUtils.createServerSocket(NetUtils.java:39)
INFO | jvm 1 | 2008/01/04 16:06:00 | at org.h2.server.TcpServer.start(TcpServer.java:125)
INFO | jvm 1 | 2008/01/04 16:06:00 | at org.h2.tools.Server.start(Server.java:362)
INFO | jvm 1 | 2008/01/04 16:06:00 | at it.gotoandplay.smartfoxserver.SmartFoxServer.bootH2Engine(SmartFoxServer.java:510)
INFO | jvm 1 | 2008/01/04 16:06:00 | at it.gotoandplay.smartfoxserver.SmartFoxServer.<init>(SmartFoxServer.java:290)
INFO | jvm 1 | 2008/01/04 16:06:00 | at it.gotoandplay.smartfoxserver.SmartFoxServer.main(SmartFoxServer.java:231)
INFO | jvm 1 | 2008/01/04 16:06:00 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2008/01/04 16:06:00 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:06:00 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:06:00 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:06:00 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2008/01/04 16:06:00 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:06:00 | Caused by: java.net.BindException: Address already in use: JVM_Bind
INFO | jvm 1 | 2008/01/04 16:06:00 | at java.net.PlainSocketImpl.socketBind(Native Method)
INFO | jvm 1 | 2008/01/04 16:06:00 | at java.net.PlainSocketImpl.bind(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:06:00 | at java.net.ServerSocket.bind(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:06:00 | at java.net.ServerSocket.<init>(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:06:00 | at java.net.ServerSocket.<init>(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:06:00 | at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:51)
INFO | jvm 1 | 2008/01/04 16:06:00 | ... 12 more
If I try to reboot the server instance remotely, I get this error and it never comes back online.
INFO | jvm 1 | 2008/01/04 16:16:37 | Server Restarting ...
INFO | jvm 1 | 2008/01/04 16:16:37 |
INFO | jvm 1 | 2008/01/04 16:16:37 |
INFO | jvm 1 | 2008/01/04 16:16:37 | 16:16:37.375 - [ WARNING ] > Generic exception while shutting down: java.lang.NullPointerException
INFO | jvm 1 | 2008/01/04 16:16:37 | 16:16:37.375 - [ WARNING ] > Generic Exception in acceptNewConnections():java.nio.channels.ClosedSelectorException
INFO | jvm 1 | 2008/01/04 16:16:37 | java.nio.channels.ClosedSelectorException
INFO | jvm 1 | 2008/01/04 16:16:37 | at sun.nio.ch.SelectorImpl.selectedKeys(Unknown Source)
INFO | jvm 1 | 2008/01/04 16:16:37 | at it.gotoandplay.smartfoxserver.SmartFoxServer.acceptNewConnections(SmartFoxServer.java:681)
INFO | jvm 1 | 2008/01/04 16:16:37 | at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:637)
INFO | jvm 1 | 2008/01/04 16:16:37 | java.lang.NullPointerException
INFO | jvm 1 | 2008/01/04 16:16:37 | at it.gotoandplay.smartfoxserver.SmartFoxServer.shutDown(SmartFoxServer.java:3186)
INFO | jvm 1 | 2008/01/04 16:16:37 | at it.gotoandplay.smartfoxserver.SmartFoxServer.restart(SmartFoxServer.java:3019)
INFO | jvm 1 | 2008/01/04 16:16:37 | at it.gotoandplay.smartfoxserver.admin.RestartTask.run(RestartTask.java:39)
INFO | jvm 1 | 2008/01/04 16:16:37 | Could not restart server!
The primary instance of smart fox works fine and has none of these errors.
Any clues...? Hmm..
Thanks!