File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans can't connect to database server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans can Watch "Netbeans can New topic

Netbeans can't connect to database server

Timothy Kersha Akura

Joined: Dec 07, 2010
Posts: 1

I am student of java programming. I am using apache derby server for my JDBC and my NETBEANS IDE cannot connect to the server. What do I do?
Peter Johnson

Joined: May 14, 2008
Posts: 5812

Derby is typically used as an in-memory database by a Java process. There is a way to run Derby as a standalone database server, have you performed those steps? You need to do that before you can connect NetBeans to a Derby server.

But you don't need to really do that to write apps that make use of Derby. For that just code to JDBC, use the correct connection string, and add the Derby JAR to your project.

JBoss In Action
I agree. Here's the link:
subject: Netbeans can't connect to database server
Similar Threads
NetBeans profiler not connecting to remote host
exe file in server side
Server Start (SQL2000)
Connecting to SQL Server from NetBeans
how to connect weblogic 9 and netbeans 5.5