-
15. Re: RuntimeException
pa1_9 Feb 28, 2008 1:14 AM (in response to pa1_9)continue.....
11:27:24,800 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection) 11:27:24,878 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.getResponseInputStream() 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HeaderParser.parseHeaders(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection) 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.processCookieHeaders(Header[], HttpState, HttpConnection) 11:27:24,878 [main] DEBUG cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String) 11:27:24,878 [main] DEBUG cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header) 11:27:24,878 [main] DEBUG httpclient.HeaderElement - enter HeaderElement.parseElements(char[]) 11:27:24,878 [main] DEBUG httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean) 11:27:24,878 [main] DEBUG cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie) 11:27:24,878 [main] DEBUG cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie) 11:27:24,878 [main] DEBUG httpclient.HttpState - enter HttpState.addCookie(Cookie) 11:27:24,878 [main] DEBUG cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie) 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - Cookie accepted: "$Version=0; JSESSIONID=0000d1nJ6OVm-hkoKI9KNeERXyL:-1; $Path=/" 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpState, HttpConnection) 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpConnection) 11:27:24,878 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.getResponseInputStream() 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.canResponseHaveBody(int) 11:27:24,878 [main] DEBUG httpclient.HeaderElement - enter HeaderElement.parseElements(String) 11:27:24,878 [main] DEBUG httpclient.HeaderElement - enter HeaderElement.parseElements(char[]) 11:27:24,878 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.isResponseAvailable(int) 11:27:24,878 [main] DEBUG ttp.HttpClientConnectionHelper - >connect = [org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:9081/jsfunittestdemo/ServletRedirector?Cactus_TestMethod=testGoodbyeButton&Cactus_TestClass=com.foo.JSFUnitTest&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST] 11:27:24,878 [main] DEBUG http.AutoReadHttpURLConnection - Original connection = org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:9081/jsfunittestdemo/ServletRedirector?Cactus_TestMethod=testGoodbyeButton&Cactus_TestClass=com.foo.JSFUnitTest&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST 11:27:24,878 [main] DEBUG util.HttpURLConnection - enter HttpURLConnection.getInputStream() 11:27:24,878 [main] DEBUG util.HttpURLConnection - enter HttpURLConnection.getHeaderField(String) 11:27:24,878 [main] DEBUG http.AutoReadHttpURLConnection - Content-Length : [-1] 11:27:24,878 [main] DEBUG util.HttpURLConnection - enter HttpURLConnection.getHeaderField(String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HeaderParser.parseHeaders(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,878 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - Resorting to protocol version default close connection policy 11:27:24,878 [main] DEBUG httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1 11:27:24,878 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.isResponseAvailable() 11:27:24,878 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.releaseConnection() 11:27:24,878 [main] DEBUG httpclient.HttpConnection - Releasing connection back to connection manager. 11:27:24,878 [main] DEBUG internal.RequestDirectives - <setService([GET_RESULTS]) 11:27:24,878 [main] DEBUG internal.WebRequestImpl - <addParameter([Cactus_Service], [GET_RESULTS], [GET]) 11:27:24,878 [main] DEBUG internal.WebRequestImpl - >addParameter 11:27:24,878 [main] DEBUG internal.RequestDirectives - >setService 11:27:24,878 [main] DEBUG internal.WebRequestImpl - <setRedirectorName([null]) 11:27:24,878 [main] DEBUG internal.WebRequestImpl - >setRedirectorName 11:27:24,878 [main] DEBUG on.DefaultServletConfiguration - <getRedirectorURL([simulation URL = [null], automatic session = [true], cookies = [], headers = [], GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST parameters = []]) 11:27:24,878 [main] DEBUG on.DefaultServletConfiguration - <getRedirectorName([simulation URL = [null], automatic session = [true], cookies = [], headers = [], GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST parameters = []]) 11:27:24,878 [main] DEBUG on.DefaultServletConfiguration - >getRedirectorName = [ServletRedirector] 11:27:24,878 [main] DEBUG on.DefaultServletConfiguration - >getRedirectorURL = [http://localhost:9081/jsfunittestdemo/ServletRedirector] 11:27:24,878 [main] DEBUG ttp.HttpClientConnectionHelper - <connect([simulation URL = [null], automatic session = [true], cookies = [], headers = [], GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST parameters = []], [org.apache.cactus.internal.configuration.DefaultServletConfiguration@1ce3fc5]) 11:27:24,878 [main] DEBUG http.HttpUtil - <addHttpGetParameters([simulation URL = [null], automatic session = [true], cookies = [], headers = [], GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST parameters = []], [http://localhost:9081/jsfunittestdemo/ServletRedirector]) 11:27:24,878 [main] DEBUG internal.WebRequestImpl - <getParameterValuesGet([Cactus_Service]) 11:27:24,878 [main] DEBUG internal.WebRequestImpl - >getParameterValuesGet = [[Ljava.lang.String;@16f25a7] 11:27:24,878 [main] DEBUG http.HttpUtil - >addHttpGetParameters = [http://localhost:9081/jsfunittestdemo/ServletRedirector?Cactus_Service=GET_RESULTS] 11:27:24,878 [main] DEBUG util.UrlUtil - <getPath([http://localhost:9081/jsfunittestdemo/ServletRedirector?Cactus_Service=GET_RESULTS]) 11:27:24,878 [main] DEBUG util.UrlUtil - >getPath = [/jsfunittestdemo/ServletRedirector] 11:27:24,878 [main] DEBUG util.UrlUtil - <getQuery([http://localhost:9081/jsfunittestdemo/ServletRedirector?Cactus_Service=GET_RESULTS]) 11:27:24,878 [main] DEBUG util.UrlUtil - >getQuery = [Cactus_Service=GET_RESULTS] 11:27:24,878 [main] DEBUG util.CookieUtil - <createHttpClientCookies([simulation URL = [null], automatic session = [true], cookies = [], headers = [], GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST parameters = []], [http://localhost:9081/jsfunittestdemo/ServletRedirector?Cactus_Service=GET_RESULTS]) 11:27:24,878 [main] DEBUG util.CookieUtil - >createHttpClientCookies = [[Lorg.apache.commons.httpclient.Cookie;@110c31] 11:27:24,878 [main] DEBUG httpclient.HttpState - enter HttpState.addCookies(Cookie[]) 11:27:24,878 [main] DEBUG httpclient.HttpClient - enter HttpClient.executeMethod(HostConfiguration,HttpMethod) 11:27:24,878 [main] DEBUG httpclient.HttpClient - enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState) 11:27:24,878 [main] DEBUG httpclient.HttpMethodDirector - Attempt number 1 to process request 11:27:24,878 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.open() 11:27:24,878 [main] DEBUG httpclient.HttpConnection - Open connection to localhost:9081 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.execute(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.writeRequest(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.print(String) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[]) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - Adding Host request header 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpState - enter HttpState.getCookies() 11:27:24,894 [main] DEBUG cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie[]) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.print(String) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[]) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.print(String) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[]) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.print(String) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[]) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.writeLine() 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[]) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.flushRequestOutputStream() 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.readResponse(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState, HttpConnection) 11:27:24,894 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.readLine() 11:27:24,894 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,894 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,910 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection) 11:27:24,910 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.getResponseInputStream() 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HeaderParser.parseHeaders(InputStream, String) 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readLine(InputStream, String) 11:27:24,910 [main] DEBUG httpclient.HttpParser - enter HttpParser.readRawLine() 11:27:24,910 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection) 11:27:24,910 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.processCookieHeaders(Header[], HttpState, HttpConnection) 11:27:24,910 [main] DEBUG cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, String) 11:27:24,910 [main] DEBUG cookie.CookieSpec - enter CookieSpecBase.parse(String, port, path, boolean, Header) 11:27:24,910 [main] DEBUG httpclient.HeaderElement - enter HeaderElement.parseElements(char[]) 11:27:24,910 [main] DEBUG httpclient.Cookie - enter Cookie(String, String, String, String, Date, boolean) 11:27:24,910 [main] DEBUG cookie.CookieSpec - enter RFC2109Spec.validate(String, int, String, boolean, Cookie) 11:27:24,910 [main] DEBUG cookie.CookieSpec - enter CookieSpecBase.validate(String, port, path, boolean, Cookie) 11:27:24,910 [main] DEBUG httpclient.HttpState - enter HttpState.addCookie(Cookie) 11:27:24,910 [main] DEBUG cookie.CookieSpec - enter RFC2109Spec.formatCookie(Cookie) 11:27:24,910 [main] DEBUG httpclient.HttpMethodBase - Cookie accepted: "$Version=0; JSESSIONID=0000ZGC7Bc0JSDHzfhTsW8TgRci:-1; $Path=/" 11:27:24,925 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpState, HttpConnection) 11:27:24,925 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.readResponseBody(HttpConnection) 11:27:24,925 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.getResponseInputStream() 11:27:24,925 [main] DEBUG httpclient.HttpMethodBase - enter HttpMethodBase.canResponseHaveBody(int) 11:27:24,925 [main] DEBUG ttp.HttpClientConnectionHelper - >connect = [org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:9081/jsfunittestdemo/ServletRedirector?Cactus_Service=GET_RESULTS] 11:27:24,925 [main] DEBUG util.HttpURLConnection - enter HttpURLConnection.getResponseCode() 11:27:24,925 [main] DEBUG util.HttpURLConnection - enter HttpURLConnection.getInputStream() 11:27:24,925 [main] DEBUG util.IoUtil - <getText([org.apache.commons.httpclient.AutoCloseInputStream@13785d3], [UTF-8]) 11:27:24,925 [main] DEBUG httpclient.HttpMethodBase - Resorting to protocol version default close connection policy 11:27:24,925 [main] DEBUG httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1 11:27:24,925 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.isResponseAvailable() 11:27:24,925 [main] DEBUG httpclient.HttpConnection - enter HttpConnection.releaseConnection() 11:27:24,925 [main] DEBUG httpclient.HttpConnection - Releasing connection back to connection manager. 11:27:24,925 [main] DEBUG util.IoUtil - >getText = [<webresult><exception classname="com.meterware.httpunit.HttpInternalErrorException"><message><![CDATA[Error on HTTP request: 500 Internal Error [http://localhost:9081/jsfunittestdemo/index.seam]]]></message><stacktrace><![CDATA[com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 Internal Error [http://localhost:9081/jsfunittestdemo/index.seam] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:573) at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121) at com.meterware.httpunit.WebClient.getResponse(WebClient.java:113) at org.jboss.jsfunit.facade.JSFClientSession.doWebRequest(JSFClientSession.java:184) at org.jboss.jsfunit.facade.JSFClientSession.doInitialRequest(JSFClientSession.java:122) at org.jboss.jsfunit.facade.JSFClientSession.<init>(JSFClientSession.java:114) at com.foo.JSFUnitTest.testGoodbyeButton(JSFUnitTest.java:322) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153) at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:224) at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:224) at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145) at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:123) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) ]]></stacktrace></exception></webresult>] 11:27:24,925 [main] DEBUG client.WebTestResultParser - <parse([<webresult><exception classname="com.meterware.httpunit.HttpInternalErrorException"><message><![CDATA[Error on HTTP request: 500 Internal Error [http://localhost:9081/jsfunittestdemo/index.seam]]]></message><stacktrace><![CDATA[com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 Internal Error [http://localhost:9081/jsfunittestdemo/index.seam] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:573) at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121) at com.meterware.httpunit.WebClient.getResponse(WebClient.java:113) at org.jboss.jsfunit.facade.JSFClientSession.doWebRequest(JSFClientSession.java:184) at org.jboss.jsfunit.facade.JSFClientSession.doInitialRequest(JSFClientSession.java:122) at org.jboss.jsfunit.facade.JSFClientSession.<init>(JSFClientSession.java:114) at com.foo.JSFUnitTest.testGoodbyeButton(JSFUnitTest.java:322) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153) at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:224) at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:224) at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145) at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:123) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) ]]></stacktrace></exception></webresult>]) 11:27:24,925 [main] DEBUG client.WebTestResultParser - >parse = [Test failed, Exception message = [Error on HTTP request: 500 Internal Error [http://localhost:9081/jsfunittestdemo/index.seam]]] 11:27:24,925 [main] DEBUG client.ClientTestCaseCaller - Exception in test 11:27:24,925 [main] DEBUG client.ServletExceptionWrapper - <printStackTrace([java.io.PrintWriter@32efa7]) 11:27:24,925 [main] DEBUG client.ServletExceptionWrapper - >printStackTrace com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 Internal Error [http://localhost:9081/jsfunittestdemo/index.seam] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:573) at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464) at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139) at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130) at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121) at com.meterware.httpunit.WebClient.getResponse(WebClient.java:113) at org.jboss.jsfunit.facade.JSFClientSession.doWebRequest(JSFClientSession.java:184) at org.jboss.jsfunit.facade.JSFClientSession.doInitialRequest(JSFClientSession.java:122) at org.jboss.jsfunit.facade.JSFClientSession.<init>(JSFClientSession.java:114) at com.foo.JSFUnitTest.testGoodbyeButton(JSFUnitTest.java:322) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153) at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:224) at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:224) at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145) at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:123) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) 11:27:24,925 [main] DEBUG client.ServletExceptionWrapper - <printStackTrace([java.io.PrintWriter@13f991]) 11:27:24,925 [main] DEBUG client.ServletExceptionWrapper - >printStackTrace
-
16. Re: RuntimeException
ssilvert Feb 29, 2008 7:46 AM (in response to pa1_9)You definitely shouldn't be using Seam Test with JSFUnit. I'm not sure if they will play nice together.
Also, if you are using Seam you will need to get the latest code from SVN and use the SeamClient class that comes with the new Seam submodule. SeamClient extends JSFClientSession. Seam support in JSFUnit is not complete, but feel free to give it a try.
Stan -
17. Re: RuntimeException
pa1_9 Feb 29, 2008 11:16 AM (in response to pa1_9)before you were saying that it's WAS releated issue.......is it a WAS releated issue
-
18. Re: RuntimeException
ssilvert Feb 29, 2008 6:20 PM (in response to pa1_9)Because I know so little about Websphere, I was leaning toward that as being a problem. But the only known issue is the one with a workaround shown here:
http://jira.jboss.com/jira/browse/JSFUNIT-68
Stan -
19. Re: RuntimeException
pa1_9 Mar 4, 2008 7:44 AM (in response to pa1_9)hi stan,
when can we expect fully working JSFUnit in WAS......the 2nd request to the testcase is not going in WAS(so itz throwing chained exception)..might be your jira issue with WAS.. is that what happening i think
Thanks -
20. Re: RuntimeException
ssilvert Mar 4, 2008 9:39 AM (in response to pa1_9)As far as I know, JSFUnit works fine in WAS as long as you use the workaround. I don't know how to fix it yet because I don't know how to call into WAS and find the cluster ID. Any help with that would be greatly appreciated.
Stan