On 14-11-2007 17:07:39 -0800, jsolderitsch wrote:
Cause: Connection could not be allocated because: Unable to connect (localhost:45123): Connection refused] [snip] I looked at the class MonetDataSource in the JDBC jar file and I see that the constructor for MonetDataSource uses 45123 for the field portNumber. But there is no apparent way to set the portNumber to something else.
Oopsie! Legacy! I fixed this in 1.6 Steadfast_p13 which you can pick up from here: http://www.cwi.nl/~fabian/troep/monetdb-1.6-jdbc.jar and http://www.cwi.nl/~fabian/troep/jdbcclient.jar I feel it should be possible to change the port number in the DataSource, but I have no clue how. At least I did not when I implemented the class. It's very shallow, but I'm pleased to hear that it actually works for you in your workarounds.