Forum Discussion

RajiNavaneethan's avatar
RajiNavaneethan
Occasional Contributor
16 years ago

Error while running SOAPUI through JUnit

Hi Team,

Am trying to run my soapUI through JUnit. I got the java.lang.SecurityException.

Can anyone please solve my problem.

rConnection racle.jdbc.driver.T4CConnection@86e086e
Configuring log4j from [jar:file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/soapui-2.0.2.jar!/soapui-log4j.xml]
23:04:13,757 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/activation-1.1.jar] to classpath
23:04:13,767 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/bcprov-jdk15-138.jar] to classpath
23:04:13,767 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/binding-2.0.1.jar] to classpath
23:04:13,777 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-beanutils-1.7.0.jar] to classpath
23:04:13,777 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-cli-1.0.jar] to classpath
23:04:13,777 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-codec-1.3.jar] to classpath
23:04:13,777 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-httpclient-3.0.1-soapui.jar] to classpath
23:04:13,777 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-httpclient-3.1.jar] to classpath
23:04:13,787 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-io-1.3.2.jar] to classpath
23:04:13,787 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-lang-2.1.jar] to classpath
23:04:13,787 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-logging-1.1.jar] to classpath
23:04:13,787 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/commons-logging.jar] to classpath
23:04:13,787 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/ext-xmlbeans-1.0.jar] to classpath
23:04:13,787 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/forms-1.0.7.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/groovy-all-1.5.1.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/httpunit.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/j2ee-xmlbeans-1.4.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/javamail-1.4.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/jetty-6.1.5.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/jetty-util-6.1.5.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/js.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/jsr173_1.0_api-xmlbeans-2.3.0.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/junit-3.8.1.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/junit.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/l2fprod-common-fontchooser-0.2-dev.jar] to classpath
23:04:13,797 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/log4j-1.2.14.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/looks-2.1.2.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/nekohtml.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/not-yet-commons-ssl-0.3.9-no-validate.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/ojdbc14.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/opensaml-1.1.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/saxon-8.8.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/saxon-dom-8.8.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/servlet-api-2.5-6.1.5.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/servlet.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/soap-xmlbeans-1.2.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/soapui-2.0.2.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/soapui-xmlbeans-2.0.jar] to classpath
23:04:13,807 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/swingx-SNAPSHOT.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/Tidy.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/wsdl4j-1.6.2-fixed.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/wsdl4j.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/wss4j-1.5.3.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xalan-2.7.0.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xbean-2.3.0-trunk-patched.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xbean_xpath-2.3.0.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xercesImpl-2.9.1.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xercesImpl.jar] to classpath
23:04:13,817 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xmlParserAPIs.jar] to classpath
23:04:13,827 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xmlpublic-2.3.0.jar] to classpath
23:04:13,827 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xmlsec-1.4.0.jar] to classpath
23:04:13,827 INFO  [SoapUI] Added [file:/C:/xrnn3/CLCS_SOA/CLCS-TestServices/ext/xmlunit-1.1.jar] to classpath
23:04:13,827 INFO  [DefaultSoapUICore] Creating new settings at [C:\xrnn3\CLCS_SOA\CLCS-TestServices\soapui-settings.xml]
23:04:16,461 INFO  [WsdlProject] Loaded project from [file:/C:/xrnn3/SOAPUI/EDR-SOA-soapui-project.xml]
23:04:19,065 ERROR [WsdlTestCaseRunner] Exception during TestCase Execution
java.lang.VerifyError: java.lang.SecurityException: Signers of 'javax.mail.internet.PreencodedMimeBodyPart' do not match signers of other classes in package
at java.lang.J9VMInternals.verify(J9VMInternals.java:65)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
at com.eviware.soapui.impl.wsdl.submit.RequestTransportRegistry.(RequestTransportRegistry.java:47)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:385)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:276)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run(WsdlTestCaseRunner.java:185)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.start(WsdlTestCaseRunner.java:84)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:513)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:57)
at au.com.woolworths.services.tests.ValidateEDRTest.testRunner(ValidateEDRTest.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)


Thanks in advance,
Rajinavaneethan.
No RepliesBe the first to reply