Hi,

Just and FYI for all users on OSX using Java 7. I was trying to start a TCP 
Server from within an application using

Server.createTcpServer().start();

and got

org.h2.jdbc.JdbcSQLException: "java.net.UnknownHostException: MacBook: 
MacBook: nodename nor servname provided, or not known"
IO Exception: "java.net.UnknownHostException: MacBook: MacBook: nodename 
nor servname provided, or not known" [90028-170]

This is a bug in the JDK 7 for OSX as noted in [1] (login required) and 
more recently on [2]

The workaround is to add the name of the machine to your `/etc/hosts` file, 
in my case

127.0.0.1 MacBook

Best regards
Oliver Schrenk

[1] http://java.net/jira/browse/MACOSX_PORT-564
[2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7180557

OSX 10.8.2
JDK 7u10

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/NGw5n5WBypoJ.
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.

Reply via email to