From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Feb 2010 06:19:20 PST
The problem was not with Toplink or the SQL-Server, the problem was the Netbeans autogenerated Java application, extending the org.jdesktop.application.SingleFrameApplication.
You have to call: ProxySelector.getDefault(); in your main method before launch(...);