Results 1 to 4 of 4

Thread: Exception

  1. #1
    Join Date
    Mar 2009
    Posts
    51
    Rep Power
    0

    Question Exception

    problem:java.sql.SQLNonTransientConnectionExceptio n: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.

    I am doing a small program on netbeans IDE and i am new to netbeans ..my program is to connect the database and retrive from the textbox and insert into the database..i am using java-db database here..please help me

  2. #2
    gafa's Avatar
    gafa is offline Senior Member
    Join Date
    Jun 2010
    Posts
    107
    Rep Power
    0

    Default

    what driver do you use?

  3. #3
    gafa's Avatar
    gafa is offline Senior Member
    Join Date
    Jun 2010
    Posts
    107
    Rep Power
    0

    Default

    And what Database Engine do you want to connect?

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,773
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by gafa View Post
    And what Database Engine do you want to connect?
    As the OP wrote:

    i am using java-db database
    That's the one that comes bundled with your Java distribution. It is also named 'Derby'.

    kind regards,

    Jos

Similar Threads

  1. Replies: 4
    Last Post: 10-25-2010, 08:42 PM
  2. exception
    By thamizhisai in forum Advanced Java
    Replies: 9
    Last Post: 05-30-2008, 09:47 AM
  3. why this exception
    By payal.mitra86 in forum JDBC
    Replies: 1
    Last Post: 05-21-2008, 11:28 PM
  4. Exception
    By rmaadil in forum JDBC
    Replies: 1
    Last Post: 05-19-2008, 01:45 PM
  5. Replies: 1
    Last Post: 03-08-2008, 07:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •