problem in informix JDBC driver 1.50.JC1
Posted in 2000
Hi, After installing JDBC type 4 Driver version1.50.JC1, while I try to connect, I am getting the following error. Could you please help me out. I am using SUN JDK 1.1.8. JDBC API 1.x. Informix host (HPLEY1) is HP UX B.10.20. And the Informix version is 7.20. And the database is cosadb. Regards and thanks Senthil B The Error I am getting is : java.sql.SQLException: Attempt to connect to database server (com.informix.asf.IfxASFException: [HPLEY1]Java socket exception encountered:java.net.ConnectException: Connection refused: no further information) failed. at java.lang.reflect.Constructor.newInstance(Native Method) at com.informix.jdbc.IfxDriver.connect(IfxDriver.java, Compiled Code) at java.sql.DriverManager.getConnection(DriverManager.java:457) at java.sql.DriverManager.getConnection(DriverManager.java:137) at InformixDatabaseTest.<init>(InformixDatabaseTest.java:31) at InformixDatabaseTest.main(InformixDatabaseTest.java:84) java.lang.NullPointerException at InformixDatabaseTest.fetch(InformixDatabaseTest.java, Compiled Code) at InformixDatabaseTest.main(InformixDatabaseTest.java:85) Exception in thread "main" Process Exit...