Looking at the server.log, I'm getting NPE from Jsr199JavaCompiler. I
understand JSP has recently been separated from v3 - do I need to update
its version?
[#|2008-06-20T15:33:26.962-0700|SEVERE|GlassFish10.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=13;_ThreadName=Thread-4;RENDER_RESPONSE
6;/jsfHello.jsp;javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl_at_7e26d4];|JSF1054:
(Phase ID: RENDER_RESPONSE 6, View ID: /jsfHello.jsp) Exception thrown
during phase execution:
javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl_at_7e26d4]|#]
[#|2008-06-20T15:33:26.969-0700|SEVERE|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Thread-4;|StandardWrapperValve[Faces
Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw
exception
java.lang.NullPointerException
at
org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:187)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:359)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:428)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
Amy Roh wrote:
> I see that
> http://kohsuke.sfbay.sun.com/hudson/view/GFv3/job/v3-quicklook is fine
> but I keep getting the following QL failures with fresh v3 checkout.
> Has anyone seen this and know how to resolve it?
>
> Thanks!
> Amy
>
> [echo] =============Starting TestNG functional tests from
> testng.xml ============
> [testng] [Parser] Running:
> [testng] C:\v3-6-20\v3\tests\quicklook\testng.xml
> [testng]
> [testng] URL is: http://localhost:8080/hellojsp/simpleservlet
> [testng] Connecting to: http://localhost:8080/hellojsp/simpleservlet
> [testng] <title>Sample Application Servlet Page</title>
> [testng] <h1>Sample Application Servlet</h1>
> [testng] URL is: http://localhost:8080/hellojsp/hello.jsp
> [testng] Connecting to: http://localhost:8080/hellojsp/hello.jsp
> [testng] java.io.IOException: Server returned HTTP response code:
> 500 for URL: 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:1223)
>
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217)
>
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> [testng] at
> test.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:87)
>
> [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] URL is: http://localhost:8080
> [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
> [testng] Connecting to: http://localhost:8080
> [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.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/hellojsp/hello.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
>
> [testng] at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
> [testng] at
> test.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:84)
>
> [testng] ... 22 more
> [testng] </table> <h1>Your Application Server is now running</h1>
> <p>To replace this page, overwrite the file <code>index.html</code> in
> the default document root folder of this server. The default document
> root folder is located at
> <var>as-install</var><code>/domains/domain1/docroot</code>,
> [testng] URL is: http://localhost:8080/hellojsp/first.html
> [testng] Connecting to: http://localhost:8080/hellojsp/first.html
> [testng] Welcome to HTML Test Program. This tests following thing
> [testng] PASSED: simpleServletTest
> [testng] PASSED: testServerRunning
> [testng] PASSED: staticHTMLPageTest
> [testng] FAILED: simpleJSPTestPage
> [testng] java.lang.Exception: java.io.IOException: Server returned
> HTTP response code: 500 for URL: http://localhost:8080/hellojsp/hello.jsp
> [testng] at
> test.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:108)
>
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/hellojsp/hello.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1223)
>
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217)
>
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> [testng] at
> test.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:87)
>
> [testng] ... 22 more
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/hellojsp/hello.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
>
> [testng] at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
> [testng] at
> test.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:84)
>
> [testng] ... 22 more
> [testng] ... Removed 26 stack frames
> [testng]
> [testng] ===============================================
> [testng] web_jspservlet_war
> [testng] Tests run: 4, Failures: 1, Skips: 0
> [testng] ===============================================
> [testng]
> [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.IOException: Server returned HTTP response code:
> 500 for URL: 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:1223)
>
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217)
>
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:142)
>
> [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] Running TestMethod webtest
> [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
> [testng] URL is:
> http://localhost:8080/jsfastrologer/faces/greetings.jsp
> [testng] at org.testng.TestNG.main(TestNG.java:802)
> [testng] Connecting to:
> http://localhost:8080/jsfastrologer/faces/greetings.jsp
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/jsfastrologer/index.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
>
> [testng] at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:139)
>
> [testng] ... 22 more
> [testng] java.io.IOException: Server returned HTTP response code:
> 500 for URL: 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:1223)
>
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217)
>
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:100)
>
> [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.IOException: Server returned HTTP
> response code: 500 for URL:
> http://localhost:8080/jsfastrologer/faces/greetings.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
>
> [testng] at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:97)
>
> [testng] ... 22 more
> [testng] FAILED: jsfIndexPageBasicTest
> [testng] java.lang.Exception: java.io.IOException: Server returned
> HTTP response code: 500 for URL:
> http://localhost:8080/jsfastrologer/index.jsp
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:161)
>
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/jsfastrologer/index.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1223)
>
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217)
>
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:142)
>
> [testng] ... 22 more
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL: http://localhost:8080/jsfastrologer/index.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
>
> [testng] at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfIndexPageBasicTest(JSFWebTestNG.java:139)
>
> [testng] ... 22 more
> [testng] ... Removed 26 stack frames
> [testng] FAILED: jsfAppDeployedFirstPagetest
> [testng] java.lang.Exception: java.io.IOException: Server returned
> HTTP response code: 500 for URL:
> http://localhost:8080/jsfastrologer/faces/greetings.jsp
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:120)
>
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL:
> http://localhost:8080/jsfastrologer/faces/greetings.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1223)
>
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217)
>
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:100)
>
> [testng] ... 22 more
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL:
> http://localhost:8080/jsfastrologer/faces/greetings.jsp
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
>
> [testng] at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
> [testng] at
> test.jsf.astrologer.JSFWebTestNG.jsfAppDeployedFirstPagetest(JSFWebTestNG.java:97)
>
> [testng] ... 22 more
> [testng] ... Removed 26 stack frames
> [testng]
> [testng] ===============================================
> [testng] jsf_hello_world
> [testng] Tests run: 2, Failures: 2, Skips: 0
> [testng] ===============================================
> [testng]
> [testng] URL is: http://localhost:8080/jsfinjection/jsfHello.jsf
> [testng] Connecting to: http://localhost:8080/jsfinjection/jsfHello.jsf
> [testng] ERROR: http response code is 500
> [testng] ERROR: caught exception!
> [testng] java.io.IOException: Server returned HTTP response code:
> 500 for URL: http://localhost:8080/jsfinjection/jsfHello.jsf
> [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:1223)
>
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217)
>
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> [testng] at
> test.web.jsfinjection.JSFInjectionTestNG.injectedValuesTestPage(JSFInjectionTestNG.java:93)
>
> [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.IOException: Server returned HTTP
> response code: 500 for URL:
> http://localhost:8080/jsfinjection/jsfHello.jsf
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
>
> [testng] at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
> [testng] at
> test.web.jsfinjection.JSFInjectionTestNG.injectedValuesTestPage(JSFInjectionTestNG.java:85)
>
> [testng] ... 22 more
> [testng] FAILED: injectedValuesTestPage
> [testng] java.lang.Exception: java.io.IOException: Server returned
> HTTP response code: 500 for URL:
> http://localhost:8080/jsfinjection/jsfHello.jsf
> [testng] at
> test.web.jsfinjection.JSFInjectionTestNG.injectedValuesTestPage(JSFInjectionTestNG.java:142)
>
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL:
> http://localhost:8080/jsfinjection/jsfHello.jsf
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1223)
>
> [testng] at java.security.AccessController.doPrivileged(Native
> Method)
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217)
>
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> [testng] at
> test.web.jsfinjection.JSFInjectionTestNG.injectedValuesTestPage(JSFInjectionTestNG.java:93)
>
> [testng] ... 22 more
> [testng] Caused by: java.io.IOException: Server returned HTTP
> response code: 500 for URL:
> http://localhost:8080/jsfinjection/jsfHello.jsf
> [testng] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
>
> [testng] at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
> [testng] at
> test.web.jsfinjection.JSFInjectionTestNG.injectedValuesTestPage(JSFInjectionTestNG.java:85)
>
> [testng] ... 22 more
> [testng] ... Removed 26 stack frames
> [testng]
> [testng] ===============================================
> [testng] jsf_injection
> [testng] Tests run: 1, Failures: 1, Skips: 0
> [testng] ===============================================
> [testng]
> [testng] Connecting to:
> http://localhost:8080/jdbcusertx/MyServlet?testcase=noleak
> [testng] Test Name:Pass<br>no-leak-test:true<br>
> [testng] Connecting to:
> http://localhost:8080/jdbcusertx/MyServlet?testcase=usertx
> [testng] Test
> Name:Pass<br>user-tx-commit:true<br>user-tx-rollback:true<br>
> [testng] PASSED: testNoLeak
> [testng] PASSED: testUserTx
> [testng]
> [testng] ===============================================
> [testng] jdbcusertx
> [testng] Tests run: 2, Failures: 0, Skips: 0
> [testng] ===============================================
> [testng]
> [testng] url=http://localhost:8080/jpainjectemf/jpa?testcase=llinit
> [testng] url=http://localhost:8080/jpainjectemf/jpa?testcase=llquery
> [testng] PASSED: test1
> [testng] PASSED: test2
> [testng]
> [testng] ===============================================
> [testng] jpainjectemf
> [testng] Tests run: 2, Failures: 0, Skips: 0
> [testng] ===============================================
> [testng]
> [testng] URL is: http://localhost:8080/hellojspsecure/simpleservlet
> [testng] Connecting to:
> http://localhost:8080/hellojspsecure/simpleservlet
> [testng] Anonymous Client access Denied
> [testng] URL is: http://localhost:8080/hellojspsecure/first.html
> [testng] Connecting to: http://localhost:8080/hellojspsecure/first.html
> [testng] Anonymous Client access Denied
> [testng] URL is: http://localhost:8080/hellojspsecure/hello.jsp
> [testng] Connecting to: http://localhost:8080/hellojspsecure/hello.jsp
> [testng] Anonymous Client access Denied
> [testng] URL is: http://localhost:8080
> [testng] Connecting to: http://localhost:8080
> [testng] </table> <h1>Your Application Server is now running</h1>
> <p>To replace this page, overwrite the file <code>index.html</code> in
> the default document root folder of this server. The default document
> root folder is located at
> <var>as-install</var><code>/domains/domain1/docroot</code>,
> [testng] PASSED: simpleServletTest
> [testng] PASSED: staticHTMLPageTest
> [testng] PASSED: simpleJSPTestPage
> [testng] PASSED: testServerRunning
> [testng]
> [testng] ===============================================
> [testng] security_hello_jsp
> [testng] Tests run: 4, Failures: 0, Skips: 0
> [testng] ===============================================
> [testng]
> [testng]
> [testng] ===============================================
> [testng] FunctionalTests
> [testng] Total tests run: 15, Failures: 4, Skips: 0
> [testng] ===============================================
> [testng]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>