java.sql.SQLException: Can't load driver java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • faq [Dinamica EGO]
    via by Unknown author,
  • Java Socket exception
    via Stack Overflow by Monojeet Nayak
    ,
  • Connection refused: connect socket
    via by N K Shrivastva,
  • Jenkins 1.580 and Windows slave connect
    via by ycollet,
    • 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(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at com.sample.DriverManagerDemo.main(DriverManagerDemo.java:26) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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_custom) 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_custom) 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(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at com.informix.asf.Connection.openSocket(Connection.java:1630) ... 10 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Casper
    Casper6 times, last one,
    819 more bugmates