Thank you Oliver so much. I had this problem and could not figure out why.
Jonathan. On Friday, December 21, 2012 6:04:36 AM UTC-5, Oliver Schrenk wrote: > > 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
