Hi
  i am using informix database with java 1.18  ihave download the
informix driver 1.5 from the informix site
  can anyone tell me  why this error is coming in getting the connection

/////////////////////////////////////////CODE
////////////////////////////////////////////////////////////////////////////

try {
    Class.forName("com.informix.jdbc.IfxDriver");
 }
 catch (Exception e){
      System.out.println("ERROR: failed to load Informix JDBC
driver."+e.toString());
 }
 try{
  conn =

DriverManager.getConnection("jdbc:informix-sqli://192.168.249.62:8000/mydb:informixserver=server1;"+

      "user=user1;" +"password=user1;");
catch (SQLException e){
              System.out.println("\n* ERROR failed to
connect!--"+e.getMessage() +" toStringErrror"+e.toString());
              e.printStackTrace();
              System.out.println("\n message error conde "+
e.getErrorCode()+" state : "+ e.getSQLState());
 }

/////////////////////////////////////////
Exception////////////////////////////////////////////////////////////////////////////////////

* ERROR failed to connect!  --null          toStringError:
java.sql.SQLException
java.sql.SQLException
        at com.informix.jdbc.IfxSqliConnect.<init>(Compiled Code)
        at com.informix.jdbc.IfxDriver.connect(Compiled Code)
        at java.sql.DriverManager.getConnection(Compiled Code)
        at java.sql.DriverManager.getConnection(DriverManager.java:141)
        at test.main(test.java:20)

 message error code -408 state : IX000


Thanks in advance

--

Paras
[EMAIL PROTECTED]

___________________________________________________________________________
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

Reply via email to