Forum Discussion

simonjd's avatar
simonjd
New Contributor
11 years ago

Failed to init connection for driver [weblogic]

Hi,

I have been attempting to connect to a weblogic SQL Server database via SoapUI Pro 5.1.2 but to no avail.

I have stored a weblogic.jar (which I believe encompasses wlbase.jar and wlutil.jar) and wlsqlserver.jar to my SoapUI/bin/ext folder which I have read from some forums should have resolved this issue.

Has anyone got any ideas of how to resolve this issue?

Here is most of the error log:

Tue Dec 16 11:49:06 GMT 2014:ERROR:java.sql.SQLException: No suitable driver
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(Unknown Source)
at com.eviware.soapui.support.jdbc.JdbcUtils.initConnection(JdbcUtils.java:51)
at com.eviware.soapui.impl.wsdl.support.connections.DefaultDatabaseConnectionContainer.testDatabaseConnection(SourceFile:236)
at com.eviware.soapui.impl.wsdl.support.connections.DefaultDatabaseConnectionContainer.testDatabaseConnection(SourceFile:225)
at com.eviware.soapui.impl.wsdl.support.connections.DefaultDatabaseConnectionContainer.testDatabaseConnectionAt(SourceFile:220)
at com.eviware.soapui.impl.wsdl.panels.DatabaseConnectionPanel$TestConnectionAction.actionPerformed(SourceFile:190)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Tue Dec 16 11:49:06 GMT 2014:ERROR:com.eviware.soapui.support.SoapUIException: Failed to init connection for driver [weblogic.jdbc.mssqlserver4.Driver], connectionString [******]
com.eviware.soapui.support.SoapUIException: Failed to init connection for driver [weblogic.jdbc.mssqlserver4.Driver], connectionString [******]
at com.eviware.soapui.support.jdbc.JdbcUtils.initConnection(JdbcUtils.java:58)

1 Reply

  • nmrao's avatar
    nmrao
    Community Hero
    1. If you are pro user, try posting in pro boards for faster resolution.
    2. Not clear form the description when you are getting the problem and how to reproduce it.
    3. From the stacktrace it is clear that you are not using the right library file under soapui/bin/ext directory

    No suitable driver