Derby Client JDBC Driver Connection Failure [message #1859871] |
Mon, 03 July 2023 01:06  |
Eclipse User |
|
|
|
I am very new to eclipse, have installed the 2023-03 version, have installed Apache Tomcat 9.0.71, extracted derby_core_plugin_10.2.2.485682 and derby_ui_plugin_1.1.0 into the eclipse root directory and the derbyclient.jar into the the tomcat9 lib folder.
In the Eclipse IDE I successfully connected to the tomcat9 Server, configured the derby JDBC and derbyclient drivers successfully.
Following a tutorial, I started developing a sample database. When I tried to connect to the sample database the connection failed, giving the error message below:-
"Creating connections to Sample has encountered a problem. Could not connect to Sample". Details:- "Error creating SQL Model Connection connection to Sample. (Error: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.)"
I will appreciate if someone can help me fix the problem. I attach herewith a snap shot of the error message
Thanks.
Godis
|
|
|
Re: Derby Client JDBC Driver Connection Failure [message #1859884 is a reply to message #1859871] |
Tue, 04 July 2023 00:34  |
Eclipse User |
|
|
|
David, this is an Eclipse specific forum and you are likely to get more help from a forum like StackOverflow.
Anyway, if I had to take a guess, this could mean that the DB is set up to run on a different port. First thing I would check for is whether the DB is up and running and the port number is the correct one.
|
|
|
Powered by
FUDForum. Page generated in 0.09885 seconds