Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver(Executing SOAP Scripts By Using the Hudson)
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver [message #1235553] Fri, 24 January 2014 16:48
maka srinivasa rao is currently offline maka srinivasa raoFriend
Messages: 2
Registered: January 2014
Junior Member

Created SOAP Scripts and successfully ran from SOAP UI Pro tool and SOAP Scripts in remote machine.
Able to execute by using the Maven Plugin. Please find the below result.

•SoapUI 4.6.4 TestCaseRunner Summary

Time Taken: 8412ms
Total TestSuites: 1
Total TestCases: 1 (0 failed)
Total TestSteps: 5
Total Request Assertions: 3
Total Failed Assertions: 0
Total Exported Results: 0
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.955s
[INFO] Finished at: Fri Jan 24 09:43:58 EST 2014
[INFO] Final Memory: 28M/67M
[INFO] ------------------------------------------------------------------------

One of the test cases contains JDBC connection step.
I am trying to integrate Maven tool with HUDSON server and I am getting below error wile executing the scripts from Hudson. and my soap scripts are reside in remote machine in the same network.

09:32:28,488 WARN [SoapUI] Missing folder [C:\Users\maka\.\ext] for external libraries
09:32:28,901 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\maka\soapui-settings.xml]
09:32:31,306 INFO [WsdlProject] Loaded project from [file:/Z:/SOA%20Files/Project%20Files/LendingAgreementMgmt/LendingAgreementMgmt_ProjectFile_Maka.xml]
09:32:33,653 INFO [SoapUITestCaseRunner] Running SoapUI tests in project [LendingAgreementMgmt_V2]
09:32:33,654 INFO [SoapUITestCaseRunner] Running Project [LendingAgreementMgmt_V2], runType = SEQUENTIAL
09:32:33,684 INFO [SoapUITestCaseRunner] Running SoapUI testcase [FUT_B1_GetHomeEquityAgreementMgmt_001]
09:32:33,693 INFO [SoapUITestCaseRunner] running step [Get Test Data]
09:32:34,133 ERROR [SoapUI] An error occurred [sun.jdbc.odbc.JdbcOdbcDriver], see error log for details
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at groovy.sql.Sql.loadDriver(
at groovy.sql.Sql.newInstance(
at groovy.sql.Sql$ Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(
at java.util.concurrent.Executors$ Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Sourc
Previous Topic:Java Test Result drill down not working in hudson
Next Topic:Error 1053 when starting as Windows Service
Goto Forum:

Current Time: Sun Jun 17 22:40:25 GMT 2018

Powered by FUDForum. Page generated in 0.01674 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top