dev@glassfish.java.net

v3 quicklook failures: classloader_jsf and web_jspservlet_war

From: Sreenivas Munnangi <Sreenivas.Munnangi_at_Sun.COM>
Date: Fri, 05 Sep 2008 10:20:56 -0700

Following 5 tests have been failing consistently on my solaris x86
machine. I don't see any failures on Hudson nor any stack trace in
server.log.

Appreciate any pointers/help.

thanks
sreeni

  [testng] Running TestMethod webtest
   [testng] URL is: http://localhost:8080/hellojsf/index.jsp
   [testng] Connecting to: http://localhost:8080/hellojsf/index.jsp
   [testng] java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at
sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:618)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:957)
   [testng] at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
   [testng] at
test.classloader.hellojsf.helloJSFTestNG.jsfAppDeployedFirstPagetest(helloJSFTestNG.java:97)
   [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] FAILED: jsfAppDeployedFirstPagetest
   [testng] java.lang.Exception: java.net.ConnectException: Connection
refused
   [testng] at
test.classloader.hellojsf.helloJSFTestNG.jsfAppDeployedFirstPagetest(helloJSFTestNG.java:122)
   [testng] Caused by: java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at
sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:618)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:957)
   [testng] at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
   [testng] at
test.classloader.hellojsf.helloJSFTestNG.jsfAppDeployedFirstPagetest(helloJSFTestNG.java:97)
   [testng] ... 22 more
   [testng] ... Removed 22 stack frames

   [testng] ===============================================
   [testng] classloader_jsf
   [testng] Tests run: 1, Failures: 1, Skips: 0
   [testng] ===============================================

   [testng] URL is: http://localhost:8080/hellojsp/simpleservlet
   [testng] Connecting to: http://localhost:8080/hellojsp/simpleservlet
   [testng] java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:316)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.simpleServletTest(HelloJSPTestNG.java:194)
   [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] URL is: http://localhost:8080/hellojsp/hello.jsp
   [testng] Connecting to: http://localhost:8080/hellojsp/hello.jsp
   [testng] java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:316)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:83)
   [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] URL is: http://localhost:8080
   [testng] Connecting to: http://localhost:8080
   [testng] URL is: http://localhost:8080/hellojsp/first.html
   [testng] Connecting to: http://localhost:8080/hellojsp/first.html
   [testng] java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:316)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.staticHTMLPageTest(HelloJSPTestNG.java:154)
   [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] FAILED: simpleServletTest
   [testng] java.lang.Exception: java.net.ConnectException: Connection
refused
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.simpleServletTest(HelloJSPTestNG.java:218)
   [testng] Caused by: java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:316)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.simpleServletTest(HelloJSPTestNG.java:194)
   [testng] ... 22 more
   [testng] ... Removed 22 stack frames
   [testng] FAILED: simpleJSPTestPage
   [testng] java.lang.Exception: java.net.ConnectException: Connection
refused
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:108)
   [testng] Caused by: java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:316)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.simpleJSPTestPage(HelloJSPTestNG.java:83)
   [testng] ... 22 more
   [testng] ... Removed 22 stack frames
   [testng] FAILED: testServerRunning
   [testng] java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:316)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.testServerRunning(HelloJSPTestNG.java:122)
   [testng] ... Removed 22 stack frames
   [testng] FAILED: staticHTMLPageTest
   [testng] java.lang.Exception: java.net.ConnectException: Connection
refused
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.staticHTMLPageTest(HelloJSPTestNG.java:179)
   [testng] Caused by: java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at java.net.Socket.connect(Socket.java:519)
   [testng] at java.net.Socket.connect(Socket.java:469)
   [testng] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
   [testng] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
   [testng] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
   [testng] at sun.net.www.http.HttpClient.New(HttpClient.java:316)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
   [testng] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
   [testng] at
test.web.jsp.hello.HelloJSPTestNG.staticHTMLPageTest(HelloJSPTestNG.java:154)
   [testng] ... 22 more
   [testng] ... Removed 22 stack frames

   [testng] ===============================================
   [testng] web_jspservlet_war
   [testng] Tests run: 4, Failures: 4, Skips: 0
   [testng] ===============================================