jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joanne Pons <jo_p...@yahoo.com>
Subject RUN_TEST: 500 Error & TestSampleServlet: empty xml 301 error?
Date Thu, 08 Jan 2004 19:11:33 GMT
Hello,

I am trying to run the test cases and I must have a
configuration problem that I just can not see.

I am getting the following 500 error when I call
http://localhost:8881/test/ServletRedirector/Cactus_Service=RUN_TEST

Servlet error: Missing service name parameter
[Cactus_Service] in HTTP request. Received query
string is [null].

----------------------------

I am also getting a blank xml file when I run
http://localhost:8881/test/ServletTestRunner?suite=TestSampleServlet

I looked over the logs and found this line indicating
a 301 error. Has anyone else seen this error?

org.apache.cactus.client.ParsingException: Not a valid
response [301 Moved Permanently]

Here is the full log - any help is greatly appreciated
as I have been going over my configuration multiple
times and can not see the problem.
-----------------------------
***cactus_client.log***

10:45:09,306 [main] DEBUG
ient.WebClientTestCaseDelegate  -
<setDelegatedTest([testSaveToSessionOK(TestSampleServlet)])

10:45:09,306 [main] DEBUG
ient.WebClientTestCaseDelegate  - >setDelegatedTest 
10:45:09,306 [main] DEBUG
ient.WebClientTestCaseDelegate  -
<setWrappedTest([null]) 
10:45:09,306 [main] DEBUG
ient.WebClientTestCaseDelegate  - >setWrappedTest 
10:45:09,306 [main] DEBUG
ient.WebClientTestCaseDelegate  -
<setConfiguration([org.apache.cactus.configuration.ServletConfiguration@50d89c])

10:45:09,306 [main] DEBUG
ient.WebClientTestCaseDelegate  - >setConfiguration 
10:45:09,321 [main] DEBUG
server.ServerTestCaseDelegate   -
<setDelegatedTest([testSaveToSessionOK(TestSampleServlet)])

10:45:09,321 [main] DEBUG
server.ServerTestCaseDelegate   - >setDelegatedTest 
10:45:09,321 [main] DEBUG
server.ServerTestCaseDelegate   -
<setWrappedTest([null]) 
10:45:09,321 [main] DEBUG
server.ServerTestCaseDelegate   - >setWrappedTest 
10:45:09,321 [main] DEBUG util.JUnitVersionHelper     
   -
<getTestCaseName([testSaveToSessionOK(TestSampleServlet)])

10:45:09,321 [main] DEBUG util.JUnitVersionHelper     
   - >getTestCaseName = [testSaveToSessionOK] 
10:45:09,321 [main] DEBUG
ient.WebClientTestCaseDelegate  - ------------- Test:
testSaveToSessionOK 
10:45:09,352 [main] DEBUG
ient.WebClientTestCaseDelegate  -
<callBeginMethod([simulation URL = [null], automatic
session = [true], cookies = [], headers = [], GET
parameters = [], POST parameters = []]) 
10:45:09,352 [main] DEBUG util.JUnitVersionHelper     
   -
<getTestCaseName([testSaveToSessionOK(TestSampleServlet)])

10:45:09,352 [main] DEBUG util.JUnitVersionHelper     
   - >getTestCaseName = [testSaveToSessionOK] 
10:45:09,352 [main] DEBUG util.JUnitVersionHelper     
   -
<getTestCaseName([testSaveToSessionOK(TestSampleServlet)])

10:45:09,352 [main] DEBUG util.JUnitVersionHelper     
   - >getTestCaseName = [testSaveToSessionOK] 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - <addParameter([testparam], [it works!]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - <addParameter([testparam], [it works!], [GET]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - >addParameter 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - >addParameter 
10:45:09,352 [main] DEBUG
ient.WebClientTestCaseDelegate  - >callBeginMethod 
10:45:09,352 [main] DEBUG cactus.RequestDirectives    
   - <setClassName([TestSampleServlet]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - <addParameter([Cactus_TestClass],
[TestSampleServlet], [GET]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - >addParameter 
10:45:09,352 [main] DEBUG cactus.RequestDirectives    
   - >setClassName 
10:45:09,352 [main] DEBUG util.JUnitVersionHelper     
   -
<getTestCaseName([testSaveToSessionOK(TestSampleServlet)])

10:45:09,352 [main] DEBUG util.JUnitVersionHelper     
   - >getTestCaseName = [testSaveToSessionOK] 
10:45:09,352 [main] DEBUG cactus.RequestDirectives    
   - <setMethodName([testSaveToSessionOK]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - <addParameter([Cactus_TestMethod],
[testSaveToSessionOK], [GET]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - >addParameter 
10:45:09,352 [main] DEBUG cactus.RequestDirectives    
   - >setMethodName 
10:45:09,352 [main] DEBUG cactus.RequestDirectives    
   - <setAutoSession([true]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - <addParameter([Cactus_AutomaticSession], [true],
[GET]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - >addParameter 
10:45:09,352 [main] DEBUG cactus.RequestDirectives    
   - >setAutoSession 
10:45:09,352 [main] DEBUG http.DefaultHttpClient      
   - <doTest([simulation URL = [null], automatic
session = [true], cookies = [], headers = [], GET
parameters = [[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] = [[true]]]], POST
parameters = []]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - <addParameter([Cactus_Service], [CALL_TEST],
[GET]) 
10:45:09,352 [main] DEBUG cactus.WebRequest           
   - >addParameter 
10:45:09,368 [main] DEBUG
iguration.ServletConfiguration  -
<getRedirectorURL([simulation URL = [null], automatic
session = [true], cookies = [], headers = [], GET
parameters = [[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] =
[[true]]][[Cactus_Service] = [[CALL_TEST]]]], POST
parameters = []]) 
10:45:09,368 [main] DEBUG
iguration.ServletConfiguration  -
<getRedirectorName([simulation URL = [null], automatic
session = [true], cookies = [], headers = [], GET
parameters = [[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] =
[[true]]][[Cactus_Service] = [[CALL_TEST]]]], POST
parameters = []]) 
10:45:09,368 [main] DEBUG
iguration.ServletConfiguration  - >getRedirectorName =
[ServletRedirector] 
10:45:09,368 [main] DEBUG
iguration.ServletConfiguration  - >getRedirectorURL =
[http://localhost:8881/test/ServletRedirector] 
10:45:09,368 [main] DEBUG http.ConnectionHelperFactory
   -
<getConnectionHelper([http://localhost:8881/test/ServletRedirector],
[org.apache.cactus.configuration.ServletConfiguration@50d89c])

10:45:09,368 [main] DEBUG http.ConnectionHelperFactory
   - >getConnectionHelper =
[org.apache.cactus.client.connector.http.HttpClientConnectionHelper@1f42b49]

10:45:09,368 [main] DEBUG
ttp.HttpClientConnectionHelper  - <connect([simulation
URL = [null], automatic session = [true], cookies =
[], headers = [], GET parameters =
[[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] =
[[true]]][[Cactus_Service] = [[CALL_TEST]]]], POST
parameters = []],
[org.apache.cactus.configuration.ServletConfiguration@50d89c])

10:45:09,368 [main] DEBUG http.HttpUtil               
   - <addHttpGetParameters([simulation URL = [null],
automatic session = [true], cookies = [], headers =
[], GET parameters = [[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] =
[[true]]][[Cactus_Service] = [[CALL_TEST]]]], POST
parameters = []],
[http://localhost:8881/test/ServletRedirector]) 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - <getParameterValuesGet([Cactus_TestMethod]) 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - >getParameterValuesGet =
[[Ljava.lang.String;@17e6a96] 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - <getParameterValuesGet([Cactus_TestClass]) 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - >getParameterValuesGet =
[[Ljava.lang.String;@1960f05] 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - <getParameterValuesGet([testparam]) 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - >getParameterValuesGet =
[[Ljava.lang.String;@b42cbf] 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - <getParameterValuesGet([Cactus_AutomaticSession])

10:45:09,368 [main] DEBUG cactus.WebRequest           
   - >getParameterValuesGet =
[[Ljava.lang.String;@e5b723] 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - <getParameterValuesGet([Cactus_Service]) 
10:45:09,368 [main] DEBUG cactus.WebRequest           
   - >getParameterValuesGet =
[[Ljava.lang.String;@15a8767] 
10:45:09,368 [main] DEBUG http.HttpUtil               
   - >addHttpGetParameters =
[http://localhost:8881/test/ServletRedirector?Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST]

10:45:09,399 [main] DEBUG util.UrlUtil                
   -
<getPath([http://localhost:8881/test/ServletRedirector?Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST])

10:45:09,399 [main] DEBUG util.UrlUtil                
   - >getPath = [/test/ServletRedirector] 
10:45:09,399 [main] DEBUG util.UrlUtil                
   -
<getQuery([http://localhost:8881/test/ServletRedirector?Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST])

10:45:09,399 [main] DEBUG util.UrlUtil                
   - >getQuery =
[Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST]

10:45:09,399 [main] DEBUG util.CookieUtil             
   - <createHttpState([simulation URL = [null],
automatic session = [true], cookies = [], headers =
[], GET parameters = [[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] =
[[true]]][[Cactus_Service] = [[CALL_TEST]]]], POST
parameters = []],
[http://localhost:8881/test/ServletRedirector?Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST])

10:45:09,415 [main] DEBUG util.CookieUtil             
   - <createHttpClientCookies([simulation URL =
[null], automatic session = [true], cookies = [],
headers = [], GET parameters = [[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] =
[[true]]][[Cactus_Service] = [[CALL_TEST]]]], POST
parameters = []],
[http://localhost:8881/test/ServletRedirector?Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST])

10:45:09,415 [main] DEBUG util.CookieUtil             
   - >createHttpClientCookies =
[[Lorg.apache.commons.httpclient.Cookie;@ae506e] 
10:45:09,415 [main] DEBUG httpclient.HttpState        
   - enter HttpState.addCookies(Cookie[]) 
10:45:09,415 [main] DEBUG util.CookieUtil             
   - >createHttpState = [[ |  | ]] 
10:45:09,415 [main] DEBUG httpclient.HttpClient       
   - Java version: 1.4.2-beta 
10:45:09,415 [main] DEBUG httpclient.HttpClient       
   - Java vendor: Sun Microsystems Inc. 
10:45:09,431 [main] DEBUG httpclient.HttpClient       
   - Java class path:
C:\java\MyVest;C:\java\MyVest\build;C:\java\jdk142\jre\lib\rt.jar;C:\java\o\orion.jar;C:\java\o\xalan.jar;C:\java\o\ejb.jar;C:\java\o\jdbc.jar;C:\java\o\activation.jar;C:\java\o\mail.jar;C:\java\o\connector.jar;C:\java\o\lib\classes12.jar;C:\java\o\jta.jar;C:\java\o\jaxp.jar;C:\java\o\crimson.jar;C:\java\MyVest\lib\struts\struts.jar;C:\java\MyVest\lib\strutstest\strutstest.jar;C:\java\MyVest\lib\struts\commons-digester.jar;C:\java\MyVest\lib\struts\commons-validator.jar;C:\java\MyVest\lib\struts\commons-beanutils.jar;C:\java\MyVest\lib\struts\commons-logging.jar;C:\java\MyVest\lib\struts\commons-collections.jar;C:\java\MyVest\lib\sitemesh\sitemesh.jar;C:\java\MyVest\lib\cactus\cactus.jar;C:\java\MyVest\lib\cactus\cactus-ant.jar;C:\java\MyVest\lib\cactus\aspectjrt.jar;C:\java\j2sdkee1.3.1\lib\j2ee.jar;C:\java\MyVest\webapp\WEB-INF\lib\mvc_runtime.jar;C:\java\MyVest\webapp\WEB-INF\lib\log4j.jar;C:\java\MyVest\webapp\WEB-INF\lib\bsh.jar;C:\java\MyVest\webapp\WEB-INF\lib\regex4j.jar;C:\j
ava\MyVest\webapp\WEB-INF\lib\chart.jar;C:\java\MyVest\webapp\WEB-INF\lib\jakarta-poi-1.5.jar;C:\java\MyVest\webapp\WEB-INF\lib\jxl.jar;C:\java\MyVest\webapp\WEB-INF\lib\js.jar;C:\java\MyVest\webapp\WEB-INF\lib\xercesImpl.jar;C:\java\MyVest\webapp\WEB-INF\lib\jdom.jar;C:\java\MyVest\webapp\WEB-INF\lib\iText.jar;C:\java\MyVest\webapp\WEB-INF\lib\iTextXML.jar;C:\java\MyVest\webapp\WEB-INF\lib\quartz.jar;C:\java\MyVest\webapp\WEB-INF\lib\GLUE.jar;C:\java\MyVest\webapp\WEB-INF\lib\commons-httpclient-2.0-beta1.jar;C:\java\MyVest\webapp\WEB-INF\lib\commons-logging.jar;C:\java\MyVest\webapp\WEB-INF\lib\commons-net-1.0.0.jar;C:\java\MyVest\webapp\WEB-INF\lib\concurrent.jar;C:\java\MyVest\webapp\WEB-INF\lib\httpunit.jar;C:\java\MyVest\webapp\WEB-INF\lib\junit.jar;C:\java\MyVest\webapp\WEB-INF\lib\junitx.jar;C:\java\MyVest\webapp\WEB-INF\lib\nekohtml.jar;C:\java\MyVest\webapp\WEB-INF\lib\cryptix-message-api.jar;C:\java\MyVest\webapp\WEB-INF\lib\cryptix-openpgp-provider.jar;C:\java\MyVest\webap
p\WEB-INF\lib\cryptix-pki-api.jar;C:\java\MyVest\webapp\WEB-INF\lib\cryptix-jce-api.jar;C:\java\MyVest\webapp\WEB-INF\lib\cryptix-jce-compat.jar;C:\java\MyVest\webapp\WEB-INF\lib\cryptix-jce-provider.jar;C:\java\MyVest\webapp

10:45:09,431 [main] DEBUG httpclient.HttpClient       
   - Operating system name: Windows 2000 
10:45:09,431 [main] DEBUG httpclient.HttpClient       
   - Operating system architecture: x86 
10:45:09,431 [main] DEBUG httpclient.HttpClient       
   - Operating system version: 5.0 
10:45:09,540 [main] DEBUG httpclient.HttpClient       
   - SUN 1.42: SUN (DSA key/parameter generation; DSA
signing; SHA-1, MD5 digests; SecureRandom; X.509
certificates; JKS keystore; PKIX CertPathValidator;
PKIX CertPathBuilder; LDAP, Collection CertStores) 
10:45:09,540 [main] DEBUG httpclient.HttpClient       
   - SunJSSE 1.42: Sun JSSE provider(implements RSA
Signatures, PKCS12, SunX509 key/trust factories,
SSLv3, TLSv1) 
10:45:09,540 [main] DEBUG httpclient.HttpClient       
   - SunRsaSign 1.42: SUN's provider for RSA
signatures 
10:45:09,540 [main] DEBUG httpclient.HttpClient       
   - SunJCE 1.42: SunJCE Provider (implements DES,
Triple DES, AES, Blowfish, PBE, Diffie-Hellman,
HMAC-MD5, HMAC-SHA1) 
10:45:09,540 [main] DEBUG httpclient.HttpClient       
   - SunJGSS 1.0: Sun (Kerberos v5) 
10:45:09,556 [main] DEBUG httpclient.HttpClient       
   - enter
HttpClient.executeMethod(HostConfiguration,HttpMethod)

10:45:09,556 [main] DEBUG httpclient.HttpClient       
   - enter
HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)

10:45:09,571 [main] DEBUG httpclient.HttpConnection   
   - Creating connection for localhost using protocol
http:80 
10:45:09,571 [main] DEBUG httpclient.HttpConnection   
   - HttpConnection.setSoTimeout(0) 
10:45:09,571 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.open() 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.execute(HttpState,
HttpConnection) 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - Execute loop try 1 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.processRequest(HttpState,
HttpConnection) 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - Attempt number 1 to process request 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.writeRequest(HttpState,
HttpConnection) 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.writeRequestLine(HttpState,
HttpConnection) 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.generateRequestLine(HttpConnection,
String, String, String, String) 
10:45:09,634 [main] DEBUG httpclient.wire             
   - >> "GET
/test/ServletRedirector?Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST
HTTP/1.1[\r][\n]" 
10:45:09,634 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.print(String) 
10:45:09,634 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:09,634 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)

10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.addRequestHeaders(HttpState,
HttpConnection) 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState,
HttpConnection) 
10:45:09,634 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addHostRequestHeader(HttpState,
HttpConnection) 
10:45:09,649 [main] DEBUG httpclient.HttpMethod       
   - Adding Host request header 
10:45:09,649 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addCookieRequestHeader(HttpState,
HttpConnection) 
10:45:09,649 [main] DEBUG httpclient.HttpState        
   - enter HttpState.getCookies() 
10:45:09,649 [main] DEBUG cookie.CookieSpec           
   - enter CookieSpecBase.match(String, int, String,
boolean, Cookie[]) 
10:45:09,649 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addAuthorizationRequestHeader(HttpState,
HttpConnection) 
10:45:09,649 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState,
HttpConnection) 
10:45:09,649 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addProxyConnectionHeader(HttpState,
HttpConnection) 
10:45:09,649 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addContentLengthRequestHeader(HttpState,
HttpConnection) 
10:45:09,649 [main] DEBUG httpclient.wire             
   - >> "Content-type:
application/x-www-form-urlencoded[\r][\n]" 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.print(String) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:09,649 [main] DEBUG httpclient.wire             
   - >> "User-Agent: Jakarta
Commons-HttpClient/2.0beta1[\r][\n]" 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.print(String) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:09,649 [main] DEBUG httpclient.wire             
   - >> "Host: localhost:8881[\r][\n]" 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.print(String) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.writeLine() 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:09,649 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.flushRequestOutputStream() 
10:45:09,665 [main] DEBUG httpclient.wire             
   - >> "[\r][\n]" 
10:45:09,665 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.flushRequestOutputStream() 
10:45:09,665 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.readResponse(HttpState,
HttpConnection) 
10:45:09,665 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection) 
10:45:09,665 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.readLine() 
10:45:09,665 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:09,665 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,009 [main] DEBUG httpclient.wire             
   - << "HTTP/1.1 301 Moved Permanently[\r][\n]" 
10:45:13,009 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)

10:45:13,009 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.getResponseInputStream() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HeaderParser.parseHeaders(HttpConnection,
HeaderGroup) 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,009 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,009 [main] DEBUG httpclient.wire             
   - << "Date: Thu, 08 Jan 2004 18:45:09 GMT[\r][\n]" 
10:45:13,009 [main] DEBUG httpclient.wire             
   - << "Server: Orion/2.0.2[\r][\n]" 
10:45:13,009 [main] DEBUG httpclient.wire             
   - << "Connection: Close[\r][\n]" 
10:45:13,009 [main] DEBUG httpclient.wire             
   - << "Content-Type:
application/octet-stream[\r][\n]" 
10:45:13,009 [main] DEBUG httpclient.wire             
   - << "Location:
http://localhost:8881/test/ServletRedirector/[\r][\n]"

10:45:13,009 [main] DEBUG httpclient.wire             
   - << "Transfer-Encoding: chunked[\r][\n]" 
10:45:13,009 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.processResponseHeaders(HttpState,
HttpConnection) 
10:45:13,009 [main] DEBUG methods.GetMethod           
   - enter GetMethod.readResponseBody(HttpState,
HttpConnection) 
10:45:13,009 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.readResponseBody(HttpState,
HttpConnection) 
10:45:13,009 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.readResponseBody(HttpState,
HttpConnection) 
10:45:13,009 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.getResponseInputStream() 
10:45:13,009 [main] DEBUG httpclient.HttpConnection   
   - HttpConnection.getSoTimeout() 
10:45:13,009 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.isResponseAvailable(int) 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - Redirect required 
10:45:13,024 [main] INFO  httpclient.HttpMethod       
   - Redirect requested but followRedirects is
disabled 
10:45:13,024 [main] DEBUG
ttp.HttpClientConnectionHelper  - >connect =
[org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:8881/test/ServletRedirector?Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST]

10:45:13,024 [main] DEBUG
http.AutoReadHttpURLConnection  - Original connection
=
org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:8881/test/ServletRedirector?Cactus_TestMethod=testSaveToSessionOK&Cactus_TestClass=TestSampleServlet&testparam=it+works%21&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST

10:45:13,024 [main] DEBUG util.HttpURLConnection      
   - enter HttpURLConnection.getInputStream() 
10:45:13,024 [main] DEBUG util.HttpURLConnection      
   - enter HttpURLConnection.getHeaderField(String) 
10:45:13,024 [main] DEBUG
http.AutoReadHttpURLConnection  - Content-Length :
[-1] 
10:45:13,024 [main] DEBUG util.HttpURLConnection      
   - enter HttpURLConnection.getHeaderField(String) 
10:45:13,024 [main] DEBUG httpclient.wire             
   - << "0" 
10:45:13,024 [main] DEBUG httpclient.wire             
   - << "[\r]" 
10:45:13,024 [main] DEBUG httpclient.wire             
   - << "[\n]" 
10:45:13,024 [main] DEBUG httpclient.HttpParser       
   - enter HeaderParser.parseHeaders(HttpConnection,
HeaderGroup) 
10:45:13,024 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,024 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,024 [main] DEBUG httpclient.wire             
   - << "[\r]" 
10:45:13,024 [main] DEBUG httpclient.wire             
   - << "[\n]" 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - Should close connection in response to
Connection: Close
 
10:45:13,024 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.close() 
10:45:13,024 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.closeSockedAndStreams() 
10:45:13,024 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.releaseConnection() 
10:45:13,024 [main] DEBUG cactus.RequestDirectives    
   - <setService([GET_RESULTS]) 
10:45:13,024 [main] DEBUG cactus.WebRequest           
   - <addParameter([Cactus_Service], [GET_RESULTS],
[GET]) 
10:45:13,024 [main] DEBUG cactus.WebRequest           
   - >addParameter 
10:45:13,024 [main] DEBUG cactus.RequestDirectives    
   - >setService 
10:45:13,024 [main] DEBUG cactus.WebRequest           
   - <setRedirectorName([null]) 
10:45:13,024 [main] DEBUG cactus.WebRequest           
   - >setRedirectorName 
10:45:13,024 [main] DEBUG
iguration.ServletConfiguration  -
<getRedirectorURL([simulation URL = [null], automatic
session = [true], cookies = [], headers = [], GET
parameters = [[[Cactus_Service] = [[GET_RESULTS]]]],
POST parameters = []]) 
10:45:13,024 [main] DEBUG
iguration.ServletConfiguration  -
<getRedirectorName([simulation URL = [null], automatic
session = [true], cookies = [], headers = [], GET
parameters = [[[Cactus_Service] = [[GET_RESULTS]]]],
POST parameters = []]) 
10:45:13,024 [main] DEBUG
iguration.ServletConfiguration  - >getRedirectorName =
[ServletRedirector] 
10:45:13,024 [main] DEBUG
iguration.ServletConfiguration  - >getRedirectorURL =
[http://localhost:8881/test/ServletRedirector] 
10:45:13,024 [main] DEBUG http.ConnectionHelperFactory
   -
<getConnectionHelper([http://localhost:8881/test/ServletRedirector],
[org.apache.cactus.configuration.ServletConfiguration@50d89c])

10:45:13,024 [main] DEBUG http.ConnectionHelperFactory
   - >getConnectionHelper =
[org.apache.cactus.client.connector.http.HttpClientConnectionHelper@1292d26]

10:45:13,024 [main] DEBUG
ttp.HttpClientConnectionHelper  - <connect([simulation
URL = [null], automatic session = [true], cookies =
[], headers = [], GET parameters = [[[Cactus_Service]
= [[GET_RESULTS]]]], POST parameters = []],
[org.apache.cactus.configuration.ServletConfiguration@50d89c])

10:45:13,024 [main] DEBUG http.HttpUtil               
   - <addHttpGetParameters([simulation URL = [null],
automatic session = [true], cookies = [], headers =
[], GET parameters = [[[Cactus_Service] =
[[GET_RESULTS]]]], POST parameters = []],
[http://localhost:8881/test/ServletRedirector]) 
10:45:13,024 [main] DEBUG cactus.WebRequest           
   - <getParameterValuesGet([Cactus_Service]) 
10:45:13,024 [main] DEBUG cactus.WebRequest           
   - >getParameterValuesGet =
[[Ljava.lang.String;@5329c5] 
10:45:13,024 [main] DEBUG http.HttpUtil               
   - >addHttpGetParameters =
[http://localhost:8881/test/ServletRedirector?Cactus_Service=GET_RESULTS]

10:45:13,024 [main] DEBUG util.UrlUtil                
   -
<getPath([http://localhost:8881/test/ServletRedirector?Cactus_Service=GET_RESULTS])

10:45:13,024 [main] DEBUG util.UrlUtil                
   - >getPath = [/test/ServletRedirector] 
10:45:13,024 [main] DEBUG util.UrlUtil                
   -
<getQuery([http://localhost:8881/test/ServletRedirector?Cactus_Service=GET_RESULTS])

10:45:13,024 [main] DEBUG util.UrlUtil                
   - >getQuery = [Cactus_Service=GET_RESULTS] 
10:45:13,024 [main] DEBUG util.CookieUtil             
   - <createHttpState([simulation URL = [null],
automatic session = [true], cookies = [], headers =
[], GET parameters = [[[Cactus_Service] =
[[GET_RESULTS]]]], POST parameters = []],
[http://localhost:8881/test/ServletRedirector?Cactus_Service=GET_RESULTS])

10:45:13,024 [main] DEBUG util.CookieUtil             
   - <createHttpClientCookies([simulation URL =
[null], automatic session = [true], cookies = [],
headers = [], GET parameters = [[[Cactus_Service] =
[[GET_RESULTS]]]], POST parameters = []],
[http://localhost:8881/test/ServletRedirector?Cactus_Service=GET_RESULTS])

10:45:13,024 [main] DEBUG util.CookieUtil             
   - >createHttpClientCookies =
[[Lorg.apache.commons.httpclient.Cookie;@1db699b] 
10:45:13,024 [main] DEBUG httpclient.HttpState        
   - enter HttpState.addCookies(Cookie[]) 
10:45:13,024 [main] DEBUG util.CookieUtil             
   - >createHttpState = [[ |  | ]] 
10:45:13,024 [main] DEBUG httpclient.HttpClient       
   - enter
HttpClient.executeMethod(HostConfiguration,HttpMethod)

10:45:13,024 [main] DEBUG httpclient.HttpClient       
   - enter
HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)

10:45:13,024 [main] DEBUG httpclient.HttpConnection   
   - Creating connection for localhost using protocol
http:80 
10:45:13,024 [main] DEBUG httpclient.HttpConnection   
   - HttpConnection.setSoTimeout(0) 
10:45:13,024 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.open() 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.execute(HttpState,
HttpConnection) 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - Execute loop try 1 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.processRequest(HttpState,
HttpConnection) 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - Attempt number 1 to process request 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.writeRequest(HttpState,
HttpConnection) 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.writeRequestLine(HttpState,
HttpConnection) 
10:45:13,024 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.generateRequestLine(HttpConnection,
String, String, String, String) 
10:45:13,024 [main] DEBUG httpclient.wire             
   - >> "GET
/test/ServletRedirector?Cactus_Service=GET_RESULTS
HTTP/1.1[\r][\n]" 
10:45:13,024 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.print(String) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)

10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.addRequestHeaders(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addHostRequestHeader(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - Adding Host request header 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addCookieRequestHeader(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpState        
   - enter HttpState.getCookies() 
10:45:13,040 [main] DEBUG cookie.CookieSpec           
   - enter CookieSpecBase.match(String, int, String,
boolean, Cookie[]) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addAuthorizationRequestHeader(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addProxyConnectionHeader(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.addContentLengthRequestHeader(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.wire             
   - >> "Content-type:
application/x-www-form-urlencoded[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.print(String) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:13,040 [main] DEBUG httpclient.wire             
   - >> "User-Agent: Jakarta
Commons-HttpClient/2.0beta1[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.print(String) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:13,040 [main] DEBUG httpclient.wire             
   - >> "Host: localhost:8881[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.print(String) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.writeLine() 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[]) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.write(byte[], int, int) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.flushRequestOutputStream() 
10:45:13,040 [main] DEBUG httpclient.wire             
   - >> "[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.flushRequestOutputStream() 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.readResponse(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,040 [main] DEBUG httpclient.wire             
   - << "HTTP/1.1 301 Moved Permanently[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)

10:45:13,040 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.getResponseInputStream() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HeaderParser.parseHeaders(HttpConnection,
HeaderGroup) 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readLine() 
10:45:13,040 [main] DEBUG httpclient.HttpParser       
   - enter HttpParser.readRawLine() 
10:45:13,040 [main] DEBUG httpclient.wire             
   - << "Date: Thu, 08 Jan 2004 18:45:09 GMT[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.wire             
   - << "Server: Orion/2.0.2[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.wire             
   - << "Connection: Close[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.wire             
   - << "Content-Type:
application/octet-stream[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.wire             
   - << "Location:
http://localhost:8881/test/ServletRedirector/[\r][\n]"

10:45:13,040 [main] DEBUG httpclient.wire             
   - << "Transfer-Encoding: chunked[\r][\n]" 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter
HttpMethodBase.processResponseHeaders(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG methods.GetMethod           
   - enter GetMethod.readResponseBody(HttpState,
HttpConnection) 
10:45:13,040 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.readResponseBody(HttpState,
HttpConnection) 
10:45:13,056 [main] DEBUG httpclient.HttpMethod       
   - enter HttpMethodBase.readResponseBody(HttpState,
HttpConnection) 
10:45:13,056 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.getResponseInputStream() 
10:45:13,056 [main] DEBUG httpclient.HttpConnection   
   - HttpConnection.getSoTimeout() 
10:45:13,056 [main] DEBUG httpclient.HttpConnection   
   - enter HttpConnection.isResponseAvailable(int) 
10:45:13,056 [main] DEBUG httpclient.HttpMethod       
   - Redirect required 
10:45:13,056 [main] INFO  httpclient.HttpMethod       
   - Redirect requested but followRedirects is
disabled 
10:45:13,056 [main] DEBUG
ttp.HttpClientConnectionHelper  - >connect =
[org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:8881/test/ServletRedirector?Cactus_Service=GET_RESULTS]

10:45:13,056 [main] DEBUG util.HttpURLConnection      
   - enter HttpURLConnection.getResponseCode() 
10:45:13,056 [main] DEBUG util.HttpURLConnection      
   - enter HttpURLConnection.getResponseCode() 
10:45:13,056 [main] DEBUG util.HttpURLConnection      
   - enter HttpURLConnection.getResponseMessage() 
10:45:13,056 [main] DEBUG
iguration.ServletConfiguration  -
<getRedirectorURL([simulation URL = [null], automatic
session = [true], cookies = [], headers = [], GET
parameters = [[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] =
[[true]]][[Cactus_Service] = [[CALL_TEST]]]], POST
parameters = []]) 
10:45:13,056 [main] DEBUG
iguration.ServletConfiguration  -
<getRedirectorName([simulation URL = [null], automatic
session = [true], cookies = [], headers = [], GET
parameters = [[[Cactus_TestMethod] =
[[testSaveToSessionOK]]][[Cactus_TestClass] =
[[TestSampleServlet]]][[testparam] = [[it
works!]]][[Cactus_AutomaticSession] =
[[true]]][[Cactus_Service] = [[CALL_TEST]]]], POST
parameters = []]) 
10:45:13,056 [main] DEBUG
iguration.ServletConfiguration  - >getRedirectorName =
[ServletRedirector] 
10:45:13,056 [main] DEBUG
iguration.ServletConfiguration  - >getRedirectorURL =
[http://localhost:8881/test/ServletRedirector] 
10:45:13,056 [main] DEBUG
ient.WebClientTestCaseDelegate  - Exception in test 
10:45:13,056 [main] DEBUG util.ChainedRuntimeException
   -
<printStackTrace([org.apache.log4j.spi.VectorWriter@1968e23])

10:45:13,056 [main] DEBUG client.ParsingException     
   -
<printStackTrace([org.apache.log4j.spi.VectorWriter@1968e23])

10:45:13,056 [main] DEBUG client.ParsingException     
   - >printStackTrace 
10:45:13,056 [main] DEBUG util.ChainedRuntimeException
   - >printStackTrace 
org.apache.cactus.util.ChainedRuntimeException: Failed
to get the test results at
[http://localhost:8881/test/ServletRedirector]
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:131)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:222)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java:333)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.java:281)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java:257)
	at
org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCase.java:300)
	at
org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:263)
	at
junit.framework.TestResult$1.protect(TestResult.java:106)
	at
junit.framework.TestResult.runProtected(TestResult.java:124)
	at
junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at
junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at junit.textui.TestRunner.main(TestRunner.java:138)
org.apache.cactus.client.ParsingException: Not a valid
response [301 Moved Permanently]
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.callGetResult(DefaultHttpClient.java:249)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:126)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:222)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java:333)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.java:281)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java:257)
	at
org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCase.java:300)
	at
org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:263)
	at
junit.framework.TestResult$1.protect(TestResult.java:106)
	at
junit.framework.TestResult.runProtected(TestResult.java:124)
	at
junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at
junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at junit.textui.TestRunner.main(TestRunner.java:138)
10:45:13,087 [main] DEBUG util.ChainedRuntimeException
   - <printStackTrace([java.io.PrintWriter@10f6d3]) 
10:45:13,087 [main] DEBUG client.ParsingException     
   - <printStackTrace([java.io.PrintWriter@10f6d3]) 
10:45:13,087 [main] DEBUG client.ParsingException     
   - >printStackTrace 
10:45:13,087 [main] DEBUG util.ChainedRuntimeException
   - >printStackTrace 


Thanks,
Joanne



__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

Mime
View raw message