Buildfile: build.xml start-server: [echo] +-----------------------------+ [echo] | | [echo] | S T A R T I N G GLASSFISH | [echo] | ON FELIX | [echo] +-----------------------------+ start-server-unix: start-server-windows: [echo] Sleeping for 20 seconds while the server is starting build: [echo] ANT PROJECT GlassFish-V3-Community build: [delete] Deleting directory C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\basicweb\app [delete] Deleting directory C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\basicweb [mkdir] Created dir: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\basicweb\app [mkdir] Created dir: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\basicweb [echo] Now compiling [javac] Compiling 1 source file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\basicweb\app [echo] Now creating a war file ../../dist/basicweb/hellojsp.war [war] Building war: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\basicweb\hellojsp.war [copy] Copying 1 file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\web\helloworld [echo] ======================================================= [echo] Packaged Archive at ../../dist/basicweb/hellojsp.war [echo] ======================================================= build: [echo] ANT PROJECT struts-jsp [delete] Deleting directory C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\strutsbasicapp\app [delete] Deleting directory C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\strutsbasicapp [mkdir] Created dir: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\strutsbasicapp\app [mkdir] Created dir: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\strutsbasicapp [echo] Now compiling [copy] Copying 1 file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\strutsbasicapp\app [echo] Now creating a war file ../../dist/strutsbasicapp/strutsbasic.war [war] Building war: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\strutsbasicapp\strutsbasic.war [copy] Copying 1 file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\web\strutsbasic [echo] ======================================================= [echo] Packaged Archive at ../../dist/strutsbasicapp/strutsbasic.war [echo] ======================================================= build: [echo] ANT PROJECT jsfbasic-jsp [delete] Deleting directory C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\jsfbasic-jsp\app [delete] Deleting directory C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\jsfbasic-jsp [mkdir] Created dir: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\jsfbasic-jsp\app [mkdir] Created dir: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\jsfbasic-jsp [echo] Now compiling [javac] Compiling 1 source file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\jsfbasic-jsp\app [echo] Now creating a war file ../../dist/jsfbasic-jsp/jsfastrologer [war] Building war: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\dist\jsfbasic-jsp\jsfastrologer.war [copy] Copying 1 file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\web\jsfastrologer [echo] ======================================================= [echo] Packaged Archive at ../../dist/jsfbasic-jsp/jsfastrologer.war [echo] ======================================================= deploy: deploy: [echo] hellojsp.war deploy-v2: deploy-v3: [echo] deploying in v3 mode [echo] ./hellojsp.war [echo] OS is Windows XP [exec] null [exec] Command deploy executed successfully. deploy: deploy-v2: deploy-v3: [echo] deploying in v3 mode [echo] ./strutsbasic.war [exec] upload file successful: C:\Documents and Settings\Nandini Ektare\Local Settings\Temp\gfv3\strutsbasic.war [exec] Command deploy executed successfully. deploy: deploy-v2: deploy-v3: [echo] deploying in v3 mode [echo] OS is Windows XP [exec] upload file successful: C:\Documents and Settings\Nandini Ektare\Local Settings\Temp\gfv3\jsfastrologer.war [exec] Command deploy executed successfully. compile-tests: compile-tests: [javac] Compiling 1 source file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\test [javac] Note: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\web\helloworld\src\test\WebTestNG.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. compile-tests: [javac] Compiling 1 source file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\test [javac] Note: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\web\strutsbasic\src\test\WebTestNG.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. compile-tests: [javac] Compiling 1 source file to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\classes\test [javac] Note: C:\work\dsr\v3\ql\glassfish\appserv-tests\community\web\jsfastrologer\src\test\JSFWebTestNG.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. run: [echo] =============Starting TestNG functional tests ============ [testng] [Parser] Running: [testng] C:\work\dsr\v3\ql\glassfish\appserv-tests\community\testng.xml [testng] [testng] URL is: http://localhost:8080/hellojsp/hello.jsp [testng] Connecting to: http://localhost:8080/hellojsp/hello.jsp [testng] java.io.FileNotFoundException: http://localhost:8080/hellojsp/hello.jsp [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [testng] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [testng] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.jsp.hello.WebTestNG.simpleJSPTestPage(WebTestNG.java:53) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [testng] at java.lang.reflect.Method.invoke(Method.java:585) [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470) [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564) [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830) [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678) [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624) [testng] at org.testng.TestRunner.run(TestRunner.java:495) [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190) [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765) [testng] at org.testng.TestNG.run(TestNG.java:699) [testng] at org.testng.TestNG.privateMain(TestNG.java:824) [testng] at org.testng.TestNG.main(TestNG.java:802) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/hello.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.jsp.hello.WebTestNG.simpleJSPTestPage(WebTestNG.java:50) [testng] ... 22 more [testng] URL is: http://localhost:8080/hellojsp/first.html [testng] Connecting to: http://localhost:8080/hellojsp/first.html [testng] java.io.FileNotFoundException: http://localhost:8080/hellojsp/first.html [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [testng] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [testng] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.jsp.hello.WebTestNG.staticHTMLPageTest(WebTestNG.java:139) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [testng] at java.lang.reflect.Method.invoke(Method.java:585) [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470) [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564) [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830) [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678) [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624) [testng] at org.testng.TestRunner.run(TestRunner.java:495) [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190) [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765) [testng] at org.testng.TestNG.run(TestNG.java:699) [testng] at org.testng.TestNG.privateMain(TestNG.java:824) [testng] at org.testng.TestNG.main(TestNG.java:802) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/first.html [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] URL is: http://localhost:8080/hellojsp/simpleservlet [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.jsp.hello.WebTestNG.staticHTMLPageTest(WebTestNG.java:135) [testng] ... 22 more [testng] java.io.FileNotFoundException: http://localhost:8080/hellojsp/simpleservlet [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [testng] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [testng] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] Connecting to: http://localhost:8080/hellojsp/simpleservlet [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.jsp.hello.WebTestNG.simpleServletTest(WebTestNG.java:178) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [testng] at java.lang.reflect.Method.invoke(Method.java:585) [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470) [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564) [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830) [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678) [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624) [testng] at org.testng.TestRunner.run(TestRunner.java:495) [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190) [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765) [testng] at org.testng.TestNG.run(TestNG.java:699) [testng] at org.testng.TestNG.privateMain(TestNG.java:824) [testng] at org.testng.TestNG.main(TestNG.java:802) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/simpleservlet [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.jsp.hello.WebTestNG.simpleServletTest(WebTestNG.java:175) [testng] ... 22 more [testng] FAILED: simpleJSPTestPage [testng] java.lang.Exception: java.io.FileNotFoundException: http://localhost:8080/hellojsp/hello.jsp [testng] at test.web.jsp.hello.WebTestNG.simpleJSPTestPage(WebTestNG.java:76) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/hello.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.jsp.hello.WebTestNG.simpleJSPTestPage(WebTestNG.java:53) [testng] ... 22 more [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/hello.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.jsp.hello.WebTestNG.simpleJSPTestPage(WebTestNG.java:50) [testng] ... 22 more [testng] ... Removed 26 stack frames [testng] FAILED: staticHTMLPageTest [testng] java.lang.Exception: java.io.FileNotFoundException: http://localhost:8080/hellojsp/first.html [testng] at test.web.jsp.hello.WebTestNG.staticHTMLPageTest(WebTestNG.java:159) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/first.html [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.jsp.hello.WebTestNG.staticHTMLPageTest(WebTestNG.java:139) [testng] ... 22 more [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/first.html [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.jsp.hello.WebTestNG.staticHTMLPageTest(WebTestNG.java:135) [testng] ... 22 more [testng] ... Removed 26 stack frames [testng] FAILED: simpleServletTest [testng] java.lang.Exception: java.io.FileNotFoundException: http://localhost:8080/hellojsp/simpleservlet [testng] at test.web.jsp.hello.WebTestNG.simpleServletTest(WebTestNG.java:198) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/simpleservlet [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.jsp.hello.WebTestNG.simpleServletTest(WebTestNG.java:178) [testng] ... 22 more [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/hellojsp/simpleservlet [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.jsp.hello.WebTestNG.simpleServletTest(WebTestNG.java:175) [testng] java.io.FileNotFoundException: http://localhost:8080/strutsbasic/index.jsp [testng] ... 22 more [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [testng] ... Removed 26 stack frames [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [testng] [testng] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [testng] =============================================== [testng] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [testng] web_jspservlet_war [testng] Tests run: 3, Failures: 3, Skips: 0 [testng] =============================================== [testng] [testng] Host is-->localhost [testng] Port is-->8080 [testng] URL is: http://localhost:8080/strutsbasic/index.jsp [testng] Connecting to: http://localhost:8080/strutsbasic/index.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.strutsbasic.WebTestNG.strutsAppDeployedtest(WebTestNG.java:65) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [testng] at java.lang.reflect.Method.invoke(Method.java:585) [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470) [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564) [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830) [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678) [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624) [testng] at org.testng.TestRunner.run(TestRunner.java:495) [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190) [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765) [testng] at org.testng.TestNG.run(TestNG.java:699) [testng] at org.testng.TestNG.privateMain(TestNG.java:824) [testng] Host is-->localhost [testng] at org.testng.TestNG.main(TestNG.java:802) [testng] Port is-->8080 [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/strutsbasic/index.jsp [testng] URL is: http://localhost:8080/strutsbasic/Welcome.do [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] Connecting to: http://localhost:8080/strutsbasic/Welcome.do [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.strutsbasic.WebTestNG.strutsAppDeployedtest(WebTestNG.java:63) [testng] ... 22 more [testng] java.io.FileNotFoundException: http://localhost:8080/strutsbasic/Welcome.do [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [testng] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [testng] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.strutsbasic.WebTestNG.strutsBasicHTMLTest(WebTestNG.java:104) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [testng] at java.lang.reflect.Method.invoke(Method.java:585) [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470) [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564) [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830) [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678) [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624) [testng] at org.testng.TestRunner.run(TestRunner.java:495) [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190) [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765) [testng] at org.testng.TestNG.run(TestNG.java:699) [testng] at org.testng.TestNG.privateMain(TestNG.java:824) [testng] at org.testng.TestNG.main(TestNG.java:802) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/strutsbasic/Welcome.do [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.strutsbasic.WebTestNG.strutsBasicHTMLTest(WebTestNG.java:102) [testng] ... 22 more [testng] FAILED: strutsAppDeployedtest [testng] java.lang.Exception: java.io.FileNotFoundException: http://localhost:8080/strutsbasic/index.jsp [testng] at test.web.strutsbasic.WebTestNG.strutsAppDeployedtest(WebTestNG.java:85) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/strutsbasic/index.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.strutsbasic.WebTestNG.strutsAppDeployedtest(WebTestNG.java:65) [testng] ... 22 more [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/strutsbasic/index.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.strutsbasic.WebTestNG.strutsAppDeployedtest(WebTestNG.java:63) [testng] ... 22 more [testng] ... Removed 26 stack frames [testng] FAILED: strutsBasicHTMLTest [testng] java.lang.Exception: java.io.FileNotFoundException: http://localhost:8080/strutsbasic/Welcome.do [testng] at test.web.strutsbasic.WebTestNG.strutsBasicHTMLTest(WebTestNG.java:124) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/strutsbasic/Welcome.do [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.web.strutsbasic.WebTestNG.strutsBasicHTMLTest(WebTestNG.java:104) [testng] ... 22 more [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/strutsbasic/Welcome.do [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.web.strutsbasic.WebTestNG.strutsBasicHTMLTest(WebTestNG.java:102) [testng] ... 22 more [testng] ... Removed 26 stack frames [testng] [testng] =============================================== [testng] web_struts_basic [testng] Tests run: 2, Failures: 2, Skips: 0 [testng] =============================================== [testng] [testng] Running method testRequestResponse [testng] URL is: http://localhost:8080/jsfastrologer/index.jsp [testng] print status ok 404 [testng] Running TestMethod SimpleHTMLTest [testng] URL is: http://localhost:8080/jsfastrologer/index.jsp [testng] Connecting to: http://localhost:8080/jsfastrologer/index.jsp [testng] java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/index.jsp [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [testng] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [testng] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:111) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [testng] at java.lang.reflect.Method.invoke(Method.java:585) [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470) [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564) [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830) [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678) [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624) [testng] at org.testng.TestRunner.run(TestRunner.java:495) [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190) [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765) [testng] at org.testng.TestNG.run(TestNG.java:699) [testng] at org.testng.TestNG.privateMain(TestNG.java:824) [testng] at org.testng.TestNG.main(TestNG.java:802) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/index.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:108) [testng] ... 22 more [testng] Running TestMethod webtest [testng] URL is: http://localhost:8080/jsfastrologer/faces/greetings.jsp [testng] Connecting to: http://localhost:8080/jsfastrologer/faces/greetings.jsp [testng] java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/faces/greetings.jsp [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [testng] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [testng] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:69) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [testng] at java.lang.reflect.Method.invoke(Method.java:585) [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470) [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564) [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830) [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678) [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624) [testng] at org.testng.TestRunner.run(TestRunner.java:495) [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190) [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765) [testng] at org.testng.TestNG.run(TestNG.java:699) [testng] at org.testng.TestNG.privateMain(TestNG.java:824) [testng] at org.testng.TestNG.main(TestNG.java:802) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/faces/greetings.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:66) [testng] ... 22 more [testng] FAILED: testRequestResponse [testng] java.lang.AssertionError: expected:<200> but was:<404> [testng] at test.jsf.astrologer.JSFWebTestNG.testRequestResponse(JSFWebTestNG.java:166) [testng] ... Removed 27 stack frames [testng] FAILED: jsfIndexPageBasicTest [testng] java.lang.Exception: java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/index.jsp [testng] at test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:130) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/index.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:111) [testng] ... 22 more [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/index.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:108) [testng] ... 22 more [testng] ... Removed 26 stack frames [testng] FAILED: jsfAppDeployedFirstPagetest [testng] java.lang.Exception: java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/faces/greetings.jsp [testng] at test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:89) [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/faces/greetings.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) [testng] at java.security.AccessController.doPrivileged(Native Method) [testng] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) [testng] at test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:69) [testng] ... 22 more [testng] Caused by: java.io.FileNotFoundException: http://localhost:8080/jsfastrologer/faces/greetings.jsp [testng] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) [testng] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) [testng] at test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:66) [testng] ... 22 more [testng] ... Removed 26 stack frames [testng] [testng] =============================================== [testng] web_jsf_astrologer [testng] Tests run: 3, Failures: 3, Skips: 0 [testng] =============================================== [testng] [testng] [testng] =============================================== [testng] FunctionalTests [testng] Total tests run: 8, Failures: 8, Skips: 0 [testng] =============================================== [testng] undeploy: undeploy: [echo] hellojsp.war undeploy-v2: undeploy-v3: [echo] undeploying in v3 mode [echo] ./hellojsp.war [exec] FAILURE : Application hellojsp.war not registered undeploy: undeploy-v2: [echo] no op undeploy-v3: [echo] undeploying in v3 mode [echo] OS is Windows XP [exec] FAILURE : Application strutsbasic not registered undeploy: undeploy-v2: undeploy-v3: [echo] undeploying in v3 mode [echo] OS is Windows XP [exec] FAILURE : Application jsfastrologer not registered stop-server: stop-server-unix: stop-server-windows: report: [echo] Generating report at ./test-output [junitreport] the file C:\work\dsr\v3\ql\glassfish\appserv-tests\community\test-output\FunctionalTests\testng-failed.xml is not a valid testsuite XML document [junitreport] the file C:\work\dsr\v3\ql\glassfish\appserv-tests\community\test-output\TESTS-TestSuites.xml is not a valid testsuite XML document [junitreport] the file C:\work\dsr\v3\ql\glassfish\appserv-tests\community\test-output\testng-failed.xml is not a valid testsuite XML document [junitreport] the file C:\work\dsr\v3\ql\glassfish\appserv-tests\community\test-output\testng-results.xml is not a valid testsuite XML document [junitreport] Processing C:\work\dsr\v3\ql\glassfish\appserv-tests\community\test-output\TESTS-TestSuites.xml to C:\work\dsr\v3\ql\glassfish\appserv-tests\community\test-output\junit-noframes.html [junitreport] Loading stylesheet jar:file:/C:/software/ant1.7.0/apache-ant-1.7.0/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-noframes.xsl [junitreport] Transform time: 422ms all: BUILD SUCCESSFUL Total time: 34 seconds