java.sql.SQLException

tip

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Errors while starting WAS services
    via by Fouad Elm,
  • OpenScript : Unable to Launch Brower
    via by 844496,
  • faq [Dinamica EGO]
    via by Unknown author,
  • Debugging fitslim hangs
    via GitHub by starguy
    ,
    • java.sql.SQLException: Can't load driver java.lang.reflect.InvocationTargetException at com.informix.util.IfxErrMsg.getLocSQLException(IfxErrMsg.java:497) at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:279) at java.sql.DriverManager.getConnection(DriverManager.java:562) at java.sql.DriverManager.getConnection(DriverManager.java:208) at Test_Conn.main(Test_Conn.java:21) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:254) ... 3 more Caused by: java.sql.SQLException: com.informix.asf.IfxASFException: Attempt to connect to database server (ol_svr_demo) failed. at com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:1058) ... 8 more Caused by: com.informix.asf.IfxASFException: Attempt to connect to database server (ol_svr_demo) failed. at com.informix.util.IfxErrMsg.getLocIfxASFException(IfxErrMsg.java:800) at com.informix.asf.Connection.openSocket(Connection.java:1679) at com.informix.asf.Connection.<init>(Connection.java:260) at com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:922) ... 8 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385) at java.net.Socket.connect(Socket.java:543) at java.net.Socket.connect(Socket.java:493) at java.net.Socket.<init>(Socket.java:401) at java.net.Socket.<init>(Socket.java:210) at com.informix.asf.Connection.openSocket(Connection.java:1630) ... 10 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    CasperCasper
    6 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    820 more bugmates