Forum Discussion

neerajlad's avatar
neerajlad
New Contributor
12 years ago

Failed to init connection for drvr [oracle.jdbc.driver.Orac

ERROR:com.eviware.soapui.support.SoapUIException: Failed to init connection for drvr [oracle.jdbc.driver.OracleDriver], connectionString [jdbc:oracle:thin:username/#####@servername:1521:sidname]

Log details:
Mon Jul 09 14:16:34 CEST 2012:ERROR:com.eviware.soapui.support.SoapUIException: Failed to init connection for drvr [oracle.jdbc.driver.OracleDriver], connectionString [jdbc:oracle:thin:username/#####@servername:1521:sidname]
com.eviware.soapui.support.SoapUIException: Failed to init connection for drvr [oracle.jdbc.driver.OracleDriver], connectionString [jdbc:oracle:thin:username/#####@servername:1521:sidname]
at com.eviware.soapui.support.jdbc.JdbcUtils.initConnection(JdbcUtils.java:64)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.getDatabaseConnection(JdbcSubmit.java:218)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.prepare(JdbcSubmit.java:261)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.runQuery(JdbcSubmit.java:197)
at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.run(JdbcSubmit.java:161)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I have looked other thread, but i'm new to this..
so my question are:
1: Does this problem is due to class path is not set for "ojdbc14.jar".
2: Above is True then do i need to download ojdbc14.jar from internet.
3: If ojdbc14.jar is available in system itself then where do i find.

Note: i'm using Soap UI Pro 4.5.0 License version.

Thanks in advance,
Neerajkumar

2 Replies

  • neerajlad's avatar
    neerajlad
    New Contributor
    HI All,

    I found the solution for this error,

    This is due to "ojdbc14.jar" is not present in soap UI's ext folder.
    I copied this file and given error is solve.

    Thanks
    Neerajkumar
    • igorh's avatar
      igorh
      Occasional Visitor

      Hi neerajlad,

       

      I had the same problem and it's fixed when I coped the .jar

       

      Thanks a lot.