Adrian
14 years agoNew Contributor
JDBC Request with external drivers
Hi there,
I am a soapUI Newbie and got the Trial Version of Version 3.5 Pro. After almost a full day of googeling, I can't find the solution for my problem.
I want to connect some parts of my project via JDBC request with a db2/AS-400 database. Therefore I copied the driver "DB2 for AS/400 (JTOpen)" in the soapUI/bin/ext-directory and got following message in the log after restarting soapUI: [...] "INFO: Added [...] /bin/ext/jt400.jar to classpath".
Now I inserted a JDBC Request. How can I use my imported file? Moreover I cannot find my driver in the Preferences -> Jdbc Driver Properties Section. How can I add my driver manually so that it can be used in my JDBC Request?
Of course I can manually add the driver but what do I have to put in the driver column (like "IBMDB2/COM.ibm.db2.jdbc.app.DB2Driver") or is their no deeper sense in this declaration?
If I add the driver manually I get different exceptions while configuring the JDBC Request:
- "Failed to load JDBC driver jt400"
- Can't get the Connection for specified properties; java.lang.Exception: Failed to init connection for drvr [jt400], connectionString [jdbc:as400://yyy.yyy.yyy.yyy?user=YYYYYYY&password=PASS_VALUE]
Thanks for your help and kind regards,
Adrian
I am a soapUI Newbie and got the Trial Version of Version 3.5 Pro. After almost a full day of googeling, I can't find the solution for my problem.
I want to connect some parts of my project via JDBC request with a db2/AS-400 database. Therefore I copied the driver "DB2 for AS/400 (JTOpen)" in the soapUI/bin/ext-directory and got following message in the log after restarting soapUI: [...] "INFO: Added [...] /bin/ext/jt400.jar to classpath".
Now I inserted a JDBC Request. How can I use my imported file? Moreover I cannot find my driver in the Preferences -> Jdbc Driver Properties Section. How can I add my driver manually so that it can be used in my JDBC Request?
Of course I can manually add the driver but what do I have to put in the driver column (like "IBMDB2/COM.ibm.db2.jdbc.app.DB2Driver") or is their no deeper sense in this declaration?
If I add the driver manually I get different exceptions while configuring the JDBC Request:
- "Failed to load JDBC driver jt400"
- Can't get the Connection for specified properties; java.lang.Exception: Failed to init connection for drvr [jt400], connectionString [jdbc:as400://yyy.yyy.yyy.yyy?user=YYYYYYY&password=PASS_VALUE]
Thanks for your help and kind regards,
Adrian