Before we look at this further can I just ask what driver you are
using for informix ? Is it an up to date informix driver ?
Andy C
----- Original Message -----
From: "yilmaz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 10:22 AM
Subject: Strange SQL exception problem
> Hi guys, please help me with this
> last time i couldn't get a satisfying help for my problem
> but now i am one step forward now. :)
> My servlet can find the driver classes, but this time it started to throw
> SQL exceptions :(
> I haven't seen this kind of before . it says :
> Cannot connect to jdbc:informix-sqli://dbs.ntut.edu.tw:5000/cbh:online7,
> reason:java.sql.SQLException: This release of JDBC requires to be run with
> JDK 1.2+. Rows:0
> Though it looks self - explanatory, it is actually self - contradicting !
> I am already running tomcat 3.2.1 and jdk1.3, and it tells me to use jdk
> 1.2 or later.
> my connection url (as you see above) is url=
> jdbc:informix-sqli://dbs.ntut.edu.tw:5000/cbh:online7
> and i use DriverManager.getConnection(url,"user","password");
> would anyone suggest me something else to avoid this exception?
> by the way I have already read the 9'th chapter of jason's java servlet
> programming book,
> and i tried some of those examples on pc with ms access database. It
worked.
> however , whenever i swithced the connection url and the driver to
informix
> database , then it doesn't work
> furthermore in jason's book , i couldn't find a satisfactory expalantion
> about my situation.
> for those who likes saying ( :-) " go and search the archives" , I would
> say " I already searched all the related questions and answers,
> none of them could cure my problem"
> As i said before, my programs are working fine on the campus web server,
> which uses java1.2, but doen't work on my pc which uses jdk1.3
> I thought the above exception means "This release of JDBC can only be run
> with JDK 1.2.x"
> So, can someone please give me a suggestion for swithing those jdbc
> statements into what jdk version 1.3 understands.
> Thanks alot guys!
> cheers :) Happy Sunday
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html