I don't think it'll make a difference using a DataSource object.
Page 28 states that it uses port 2399
. So, try checking that this port is available for use, FileMaker is listening on this port, and this port is accessible (e.g., not blocked by a firewall.) Also, try changing the JDBC URL
. Do also confirm that 192.168.1.1
is the right IP address to use; you can try replacing it with localhost or 127.0.0.1 (assuming your Java application is running locally). Btw, it seems that 192.168.1.1 is commonly used by routers...
If the problem persists, add System.out.println()s to see where it stops, or better yet, attach a debugger and step through your code.