CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: JDBC driver

  1. #1
    Join Date
    Apr 1999
    Posts
    2

    JDBC driver



    hi


    i tried to load and get connection from informix JDBC driver but got an execption

    "No Suitable Driver" even though the informix jdbc driver is in my classpath.


    gajanan



  2. #2
    Join Date
    Mar 1999
    Posts
    7

    Re: JDBC driver



    Hye,


    I'd ask you to cross-check your classpath yet again cos' generally this is the reason why it fails. Check your import statements in the java code you wrote, make sure you have included everything needed.

    Load the Drivers and open a connection in a single "try" section.

    Tell me if this works.


    Long live Java


    Davender aka JaVaFLow

  3. #3
    Join Date
    Apr 1999
    Posts
    2

    Re: JDBC driver



    hi


    my classpath was correct, but the problem was even though i had started the server i had not started the server thread

    to listen onto the port to which the driver goes for connection. when i did this i got the connection.

    but when i did not start the listener thread, the exception message was mis-leading

    it said "No Suitable driver", i think it should say something like "No Connection possbile".


    thanks davender


    gajanan



Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured