Forum Discussion
14 years ago
It is not working with Java 1.6.0 even on my system. I'm getting following error:
Running soapUI TestRunner for [sample-service]
directory: C:\Program Files\eviware\soapUI-4.0.0\bin\.
command: cmd.exe /C testrunner.bat -s"SampleServiceSoapBinding TestSuite" -c"login TestCase" C:\Users\Vanshu\Documents\sample-service-soapui-project.xml
soapUI 4.0.0 TestCase Runner
Configuring log4j from [C:\Program Files\eviware\soapUI-4.0.0\bin\soapui-log4j.xml]
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: soapui-errors.log (Access is denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:604)
at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88)
at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:57)
at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:853)
at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:584)
at com.eviware.soapui.DefaultSoapUICore.initLog(DefaultSoapUICore.java:492)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:136)
at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:131)
at com.eviware.soapui.tools.AbstractSoapUIRunner.createSoapUICore(AbstractSoapUIRunner.java:171)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:143)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:86)
at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:115)
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: soapui.log (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:604)
at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88)
at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:57)
at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:853)
at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:584)
at com.eviware.soapui.DefaultSoapUICore.initLog(DefaultSoapUICore.java:492)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:136)
at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:131)
at com.eviware.soapui.tools.AbstractSoapUIRunner.createSoapUICore(AbstractSoapUIRunner.java:171)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:143)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:86)
at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:115)
22:52:16,806 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\Vanshu\soapui-settings.xml]
22:52:17,839 INFO [WsdlProject] Loaded project from [file:/C:/Users/Vanshu/Documents/sample-service-soapui-project.xml]
22:52:18,158 INFO [SoapUITestCaseRunner] Running soapUI tests in project [sample-service]
22:52:18,158 INFO [SoapUITestCaseRunner] Running TestCase [login TestCase]
22:52:18,172 INFO [SoapUITestCaseRunner] Running soapUI testcase [login TestCase]
22:52:18,181 INFO [SoapUITestCaseRunner] running step [login]
22:52:25,323 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [login TestCase], time taken: 7025ms, status: FINISHED
22:52:25,323 INFO [SoapUITestCaseRunner] TestCase [login TestCase] finished with status [FINISHED] in 7025ms
Please suggest what to do
Running soapUI TestRunner for [sample-service]
directory: C:\Program Files\eviware\soapUI-4.0.0\bin\.
command: cmd.exe /C testrunner.bat -s"SampleServiceSoapBinding TestSuite" -c"login TestCase" C:\Users\Vanshu\Documents\sample-service-soapui-project.xml
soapUI 4.0.0 TestCase Runner
Configuring log4j from [C:\Program Files\eviware\soapUI-4.0.0\bin\soapui-log4j.xml]
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: soapui-errors.log (Access is denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:604)
at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88)
at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:57)
at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:853)
at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:584)
at com.eviware.soapui.DefaultSoapUICore.initLog(DefaultSoapUICore.java:492)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:136)
at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:131)
at com.eviware.soapui.tools.AbstractSoapUIRunner.createSoapUICore(AbstractSoapUIRunner.java:171)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:143)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:86)
at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:115)
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: soapui.log (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:604)
at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88)
at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:57)
at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:853)
at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:584)
at com.eviware.soapui.DefaultSoapUICore.initLog(DefaultSoapUICore.java:492)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:136)
at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:131)
at com.eviware.soapui.tools.AbstractSoapUIRunner.createSoapUICore(AbstractSoapUIRunner.java:171)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:143)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:86)
at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:115)
22:52:16,806 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\Vanshu\soapui-settings.xml]
22:52:17,839 INFO [WsdlProject] Loaded project from [file:/C:/Users/Vanshu/Documents/sample-service-soapui-project.xml]
22:52:18,158 INFO [SoapUITestCaseRunner] Running soapUI tests in project [sample-service]
22:52:18,158 INFO [SoapUITestCaseRunner] Running TestCase [login TestCase]
22:52:18,172 INFO [SoapUITestCaseRunner] Running soapUI testcase [login TestCase]
22:52:18,181 INFO [SoapUITestCaseRunner] running step [login]
22:52:25,323 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [login TestCase], time taken: 7025ms, status: FINISHED
22:52:25,323 INFO [SoapUITestCaseRunner] TestCase [login TestCase] finished with status [FINISHED] in 7025ms
Please suggest what to do
Related Content
- 5 years ago
- 14 years ago
- 14 years ago
Recent Discussions
- 25 days ago