Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Derby Client JDBC Driver Connection Failure(Error Message trying to connect to the sample database)
Derby Client JDBC Driver Connection Failure [message #1859871] Mon, 03 July 2023 05:06 Go to next message
David Godis-Tei is currently offline David Godis-TeiFriend
Messages: 2
Registered: July 2023
Junior Member
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 04:34 Go to previous message
Jay Arthanareeswaran is currently offline Jay ArthanareeswaranFriend
Messages: 134
Registered: July 2009
Senior Member
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.
Previous Topic:Weird invalid Java error
Next Topic:Step filters will not save
Goto Forum:
  


Current Time: Thu Jan 16 04:47:09 GMT 2025

Powered by FUDForum. Page generated in 0.02968 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top