Hi,
I'm trying to start the H2 TCP Server from code, it works, yet I
cannot get the output to be re-routed to a simple text file.
Here is the source :
http://pastie.org/private/8qko5zsek1ta8xkcyi3cg
I also get this trace after the shutdownServer() Method is called :
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:
99)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:
65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at java.io.DataOutputStream.flush(DataOutputStream.java:106)
at org.h2.value.Transfer.flush(Transfer.java:88)
at org.h2.server.TcpServerThread.sendError(TcpServerThread.java:201)
at org.h2.server.TcpServerThread.run(TcpServerThread.java:140)
at java.lang.Thread.run(Thread.java:619)
But I'm guessing it's ok, it's just a reaction to the server shutdown,
am I mistaken ?
Thank you in advance for any input !