Need some help diagnosing why on some Mac's I get a TCP Server port may be in use, cause: "timeout"

85 views
Skip to first unread message

jeffrey....@gmail.com

unread,
Sep 27, 2011, 7:28:59 PM9/27/11
to H2 Database
I already know for sure that the port was not in use as I test for
this, but I am trying to determine why it would take so long to get
the TCP Server going?

This is the full exception:

org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP
Server (tcp://192.168.2.1:50002)" (port may be in use), cause:
"timeout" [90061-155]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:
327)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.tools.Server.start(Server.java:377)
at datastore.DatabaseServer.startDatabaseServer(DatabaseServer.java:
81)
at
remoteconsole.RemoteConsolePanel.startApplication(RemoteConsolePanel.java:
1439)
at remoteconsole.RemoteConsole$3.run(RemoteConsole.java:246)
at java.lang.Thread.run(Thread.java:655)

Any help will be GREATLY appreciated!

Thanks in advance!

Jeffrey A. Krzysztow

Thomas Mueller

unread,
Oct 10, 2011, 2:25:17 AM10/10/11
to h2-da...@googlegroups.com
Hi,

Possibly the is a TCP/IP configuration problem. Could you check the /etc/hosts file for strange entries? Also, run the network test as follows:

./build.sh testNetwork

Regards,
Thomas


On Wednesday, September 28, 2011, jeffrey....@gmail.com wrote:
I already know for sure that the port was not in use as I test for
this, but I am trying to determine why it would take so long to get
the TCP Server going?

This is the full exception:

   org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP
Server (tcp://192.168.2.1:50002)" (port may be in use), cause:
"timeout" [90061-155]
       at org.h2.message.DbException.getJdbcSQLException(DbException.java:
327)
       at org.h2.message.DbException.get(DbException.java:167)
       at org.h2.tools.Server.start(Server.java:377)
       at datastore.DatabaseServer.startDatabaseServer(DatabaseServer.java:
81)
       at
remoteconsole.RemoteConsolePanel.startApplication(RemoteHConsolePanel.java:

1439)
       at remoteconsole.RemoteConsole$3.run(RemoteConsole.java:246)
       at java.lang.Thread.run(Thread.java:655)

Any help will be GREATLY appreciated!

Thanks in advance!

Jeffrey A. Krzysztow

--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.

Reply all
Reply to author
Forward
0 new messages