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 11:48
maka srinivasa rao is currently offline maka srinivasa rao
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] BUILD SUCCESS
[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(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at groovy.sql.Sql.loadDriver(Sql.java:701)
at groovy.sql.Sql.newInstance(Sql.java:483)
at groovy.sql.Sql$newInstance.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at Script1.run(Script1.groovy:7)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:96)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:149)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:235)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:148)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:43)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at java.util.concurrent.Executors$RunnableAdapter.call(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 Sourc
e)
Previous Topic:Java Test Result drill down not working in hudson
Next Topic:Error 1053 when starting as Windows Service
Goto Forum:
  


Current Time: Wed Jul 23 04:04:11 EDT 2014

Powered by FUDForum. Page generated in 0.01994 seconds