jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarek M. Nabil" <Tarek.Na...@itworx.com>
Subject REPOST: RE: Authentication Failure
Date Thu, 20 Nov 2003 14:57:55 GMT
Guys, nothing on this?

Vincent, I can see from the comments you wrote this test, could you please tell me how it works without a user in the xml file?

-----Original Message-----
From: Tarek M. Nabil 
Sent: Thursday, November 20, 2003 2:51 PM
To: Cactus Users List
Subject: RE: Authentication Failure


Hi everyone,

I'm still trying to get authentication to work with no luck. I'm trying to simulate the sample because the sample works successfully on my machine. What I don't understand about the sample is that in the "TestBasicAuthentication" class, a user with the username and password "testuser" and "testpassword" is used. This user does not exist in my tomcat-users.xml and yet the test succeeds. I tried to find out how that works, but I can't. Can anyone give me a clue?

I also have another couple of questions.

When I used the sample application as it comes with rc1, it worked, even though I used JDK 1.3. But when I used the logging_client.properties.sample file to replace the logging_client.properties file in "target" and enabled logging, the tests failed and did not work until I set the JDK to 1.4.

I haven't seen anything in Cactus that says it requires JDK 1.4, and yet, the Commons HttpClient jar shipped with rc1 was compiled using JDK 1.4.

I'm currently using all the jars that came with rc1 except for the HttpClient. I use an older one that wasn't compiled with JDK 1.4. Would this cause a problem?

In my effort to get my tests to work, I even set the authentication in my application to Basic and used the exact tests that came with the sample (after changing the username and password), and this time I got 401 Unauthorized in the HttpClient logs.

I've been trying to get this to work for several days now to the extent that I'm really considering dropping the whole cactus idea and just going back to normal unit testing, maybe with mockobjects.

Thanks,
Tarek Nabil

-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com]
Sent: Tuesday, November 18, 2003 3:00 PM
To: 'Cactus Users List'
Subject: RE: Authentication Failure


Hi Tarek,

Yes (although not on Tomcat 4.1.27 but with Tomcat 4.1.x and I haven't
tried with the <cactus> task). 

You need to:
- define a tomcat-users.xml file (don't remember the exact name and
format)
- add security information in your web.xml
- map a secure cactus redirector

I guess you've read
http://jakarta.apache.org/cactus/writing/howto_security.html?

Thanks
-Vincent

> -----Original Message-----
> From: Tarek M. Nabil [mailto:Tarek.Nabil@itworx.com]
> Sent: 18 November 2003 13:56
> To: Cactus Users List
> Subject: RE: Authentication Failure
> 
> I would like to ask this again in a different way. Has anyone
successfully
> used authentication in tests on Tomcat 4.1.27? If yes, could you
please
> provide snippets of your build.xml, tomcat.users.xml and code? Maybe
even
> a similar part of the cactus log I'm including below?
> 
> Thanks,
> Tarek Nabil
> 
> -----Original Message-----
> From: Tarek M. Nabil
> Sent: Tuesday, November 18, 2003 12:45 PM
> To: Cactus User (E-mail)
> Subject: Authentication Failure
> 
> 
> Hi everyone,
> 
> Seems like my Cactus experience is not going to be a very easy one.
Now,
> that my first test is working, my second won't. The test uses
> authentication. I made all the necessary configurations, but to my
> surprise, eventhough I can see in the logs that the username and
password
> are correct, the request gets redirected to the the login error page
:(
> 
> To enable authentication I changed my cactifywar tag to look like this
> 
>     <!-- Cactify the web-app archive -->
>     <cactifywar
>
srcfile="${test.home}/${app.name}.before.cactus.v.${app.version}_${app.b
ui
> ld}.war"
> 
>
destfile="${test.home}/${app.name}.after.cactus.v.${app.version}_${app.b
ui
> ld}.war">
> 	  <servletredirector/>
> 	  <servletredirector name="ServletRedirectorSecure"
> mapping="/ServletRedirectorSecure" roles="charm"/>
>       <classes dir="${test.home}/bin"/>
>     </cactifywar>
> 
> This is my tomcat.users.xml file
> 
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
>   <role rolename="admin"/>
>   <role rolename="charm"/>
>   <role rolename="manager"/>
>   <role rolename="tomcat"/>
>   <role rolename="role1"/>
>   <user username="admin" password="admin" roles="admin,manager"/>
>   <user username="charm" password="charm" roles="charm"/>
>   <user username="tomcat" password="tomcat" roles="tomcat"/>
>   <user username="role1" password="tomcat" roles="role1"/>
>   <user username="both" password="tomcat" roles="tomcat,role1"/>
> </tomcat-users>
> 
> And here's my test
> 
> 	/**
> 	 * Tests that when the user is authorized and the path is
> "/index.jsp", no redirection should be done.
> 	 * @throws Exception
> 	 */
> 	public void beginIndexPageNotRedirected(WebRequest theRequest) {
> 		theRequest.setRedirectorName("ServletRedirectorSecure");
> 		theRequest.setAuthentication(new
FormAuthentication("charm",
> "charm"));
> 		theRequest.setURL("localhost:8080", null, "/index.jsp",
null,
> null);
> 	}
> 
> 	public void testIndexPageNotRedirected() throws Exception {
> 		FlowFilter filter = new FlowFilter();
> 		filter.doFilter(request, response, filterChain);
> 	}
> 
> 	public void endIndexPageNotRedirected(WebResponse theResponse) {
> 		assertEquals(theResponse.getText(), OUTPUT);
> 	}
> 
> Here's the surprising entry in the logs
> 
> DEBUG 2003-11-18 12:28:23,529 httpclient.wire           - >> "POST
> /charm.after.cactus.v.1.1_7/j_security_check? HTTP/1.1[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >> "Content-
> type: application/x-www-form-urlencoded[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >>
"User-Agent:
> Jakarta Commons-HttpClient/2.0beta2[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >> "Host:
> localhost:8080[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >> "Cookie:
> $Version=0; JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >> "Content-
> Length: 33[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >>
"[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >>
> "j_username=charm&j_password=charm"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - << "HTTP/1.1
302
> Moved Temporarily[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - << "Content-
> Length: 0[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - << "Date:
Tue,
> 18 Nov 2003 10:28:23 GMT[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - <<
"Location:
>
http://localhost:8080/charm.after.cactus.v.1.1_7/loginerror.jsp[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - << "Server:
> Apache Tomcat/4.1.27 (HTTP/1.1 Connector)[\r][\n]"
> 
> Although, obviously, the username and password are correct, still, the
> request is redirected to loginerror.jsp. I can't understand why.
> I even took the generated war file and installed it myself and tried
> logging with the username and password and it works. So, why can't the
> HttpClient log in?
> I even went and downloaded the rc1 version of Cactus (I was on beta2)
and
> tried it. To my surprise, it turned out the newer version of
> HttpClient was compiled with JDK 1.4!!! I switched to JDK 1.4 and
nothing
> changed. Now, I'm back to 1.3 with the older version of the HttpClient
> Jar.
> 
> Does any one have any similar experiences? Any help is appreciated.
> 
> Thanks,
> Tarek Nabil
> 
> 
> The full log for the test:
> 
> DEBUG 2003-11-18 12:28:23,379
> org.apache.cactus.internal.client.WebClientTestCaseDelegate -
------------
> - Test: testIndexPageNotRedirected
> DEBUG 2003-11-18 12:28:23,389
> org.apache.cactus.internal.client.WebClientTestCaseDelegate -
> <callBeginMethod([simulation URL = [null], automatic session = [true],
> cookies = [], headers = [], GET parameters = [], POST parameters =
[]])
> DEBUG 2003-11-18 12:28:23,389
org.apache.cactus.util.JUnitVersionHelper -
>
<getTestCaseName([testIndexPageNotRedirected(standish.charm.web.FlowFilt
er
> Test)])
> DEBUG 2003-11-18 12:28:23,389
org.apache.cactus.util.JUnitVersionHelper -
> >getTestCaseName = [testIndexPageNotRedirected]
> DEBUG 2003-11-18 12:28:23,389
org.apache.cactus.util.JUnitVersionHelper -
>
<getTestCaseName([testIndexPageNotRedirected(standish.charm.web.FlowFilt
er
> Test)])
> DEBUG 2003-11-18 12:28:23,389
org.apache.cactus.util.JUnitVersionHelper -
> >getTestCaseName = [testIndexPageNotRedirected]
> DEBUG 2003-11-18 12:28:23,389 org.apache.cactus.WebRequest -
> <setRedirectorName([ServletRedirectorSecure])
> DEBUG 2003-11-18 12:28:23,389 org.apache.cactus.WebRequest -
> >setRedirectorName
> DEBUG 2003-11-18 12:28:23,399
> org.apache.cactus.client.authentication.FormAuthentication -
> <setName([charm])
> DEBUG 2003-11-18 12:28:23,399
> org.apache.cactus.client.authentication.FormAuthentication - >setName
> DEBUG 2003-11-18 12:28:23,399
> org.apache.cactus.client.authentication.FormAuthentication -
> <setPassword([charm])
> DEBUG 2003-11-18 12:28:23,399
> org.apache.cactus.client.authentication.FormAuthentication -
>setPassword
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
>
<setAuthentication([org.apache.cactus.client.authentication.FormAuthenti
ca
> tion@106082])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
> >setAuthentication
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
> <setURL([localhost:8080], [null], [/index.jsp], [null], [null])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> <setProtocol([http])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
>setProtocol
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> <setServerName([localhost:8080])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> >setServerName
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> <setContextPath([null])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> >setContextPath
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> <setServletPath([/index.jsp])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> >setServletPath
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> <setPathInfo([null])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
>setPathInfo
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> <setQueryString([null])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> >setQueryString
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest - >setURL
> DEBUG 2003-11-18 12:28:23,399
> org.apache.cactus.internal.client.WebClientTestCaseDelegate -
> >callBeginMethod
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.RequestDirectives -
> <setClassName([standish.charm.web.FlowFilterTest])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
> <addParameter([Cactus_TestClass], [standish.charm.web.FlowFilterTest],
> [GET])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.RequestDirectives -
> >setClassName
> DEBUG 2003-11-18 12:28:23,399
org.apache.cactus.util.JUnitVersionHelper -
>
<getTestCaseName([testIndexPageNotRedirected(standish.charm.web.FlowFilt
er
> Test)])
> DEBUG 2003-11-18 12:28:23,399
org.apache.cactus.util.JUnitVersionHelper -
> >getTestCaseName = [testIndexPageNotRedirected]
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.RequestDirectives -
> <setMethodName([testIndexPageNotRedirected])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
> <addParameter([Cactus_TestMethod], [testIndexPageNotRedirected],
[GET])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.RequestDirectives -
> >setMethodName
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.RequestDirectives -
> <setAutoSession([true])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
> <addParameter([Cactus_AutomaticSession], [true], [GET])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.RequestDirectives -
> >setAutoSession
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> <saveToRequest([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [], headers = [], GET parameters =
> [[[Cactus_TestMethod] =
[[testIndexPageNotRedirected]]][[Cactus_TestClass]
> = [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
> <addParameter([Cactus_URL_Protocol], [http], [GET])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
> <addParameter([Cactus_URL_Server], [localhost:8080], [GET])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
> <addParameter([Cactus_URL_ServletPath], [/index.jsp], [GET])
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,399 org.apache.cactus.ServletURL -
> >saveToRequest
> DEBUG 2003-11-18 12:28:23,399
> org.apache.cactus.client.connector.http.DefaultHttpClient -
> <doTest([simulation URL = [protocol = [http], host name = [localhost],
> port = [8080], context path = [null], servlet path = [/index.jsp],
path
> info = [null], query string = [null]], automatic session = [true],
cookies
> = [], headers = [], GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.WebRequest -
> <addParameter([Cactus_Service], [CALL_TEST], [GET])
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.configuration.FilterConfiguration -
> <getRedirectorURL([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [], headers = [], GET parameters =
> [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.configuration.FilterConfiguration -
> <getRedirectorName([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [], headers = [], GET parameters =
> [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.configuration.FilterConfiguration -
>getRedirectorName =
> [ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.configuration.FilterConfiguration -
>getRedirectorURL =
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.connector.http.ConnectionHelperFactory -
>
<getConnectionHelper([http://localhost:8080/charm.after.cactus.v.1.1_7/S
er
> vletRedirectorSecure],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.connector.http.ConnectionHelperFactory -
> >getConnectionHelper =
>
[org.apache.cactus.client.connector.http.HttpClientConnectionHelper@3901
c6
> ]
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.connector.http.HttpClientConnectionHelper -
> <connect([simulation URL = [protocol = [http], host name =
[localhost],
> port = [8080], context path = [null], servlet path = [/index.jsp],
path
> info = [null], query string = [null]], automatic session = [true],
cookies
> = [], headers = [], GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.authentication.FormAuthentication -
> <configure([simulation URL = [protocol = [http], host name =
[localhost],
> port = [8080], context path = [null], servlet path = [/index.jsp],
path
> info = [null], query string = [null]], automatic session = [true],
cookies
> = [], headers = [], GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.authentication.FormAuthentication -
> <authenticate([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [], headers = [], GET parameters =
> [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.configuration.FilterConfiguration -
> <getRedirectorURL([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [], headers = [], GET parameters =
> [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.configuration.FilterConfiguration -
> <getRedirectorName([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [], headers = [], GET parameters =
> [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.configuration.FilterConfiguration -
>getRedirectorName =
> [ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.configuration.FilterConfiguration -
>getRedirectorURL =
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.connector.http.ConnectionHelperFactory -
>
<getConnectionHelper([http://localhost:8080/charm.after.cactus.v.1.1_7/S
er
> vletRedirectorSecure],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.connector.http.ConnectionHelperFactory -
> >getConnectionHelper =
>
[org.apache.cactus.client.connector.http.HttpClientConnectionHelper@2373
68
> ]
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.connector.http.HttpClientConnectionHelper -
> <connect([simulation URL = [null], automatic session = [true], cookies
=
> [], headers = [], GET parameters = [], POST parameters = []],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.connector.http.HttpUtil -
> <addHttpGetParameters([simulation URL = [null], automatic session =
> [true], cookies = [], headers = [], GET parameters = [], POST
parameters =
> []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> )
> DEBUG 2003-11-18 12:28:23,409
> org.apache.cactus.client.connector.http.HttpUtil -
>addHttpGetParameters =
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.util.UrlUtil -
>
<getPath([http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedire
ct
> orSecure])
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.util.UrlUtil -
>getPath =
> [/charm.after.cactus.v.1.1_7/ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.util.UrlUtil -
>
<getQuery([http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedir
ec
> torSecure])
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.util.UrlUtil -
>getQuery =
> []
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.util.CookieUtil -
> <createHttpState([simulation URL = [null], automatic session = [true],
> cookies = [], headers = [], GET parameters = [], POST parameters =
[]],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> )
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.util.CookieUtil -
> <createHttpClientCookies([simulation URL = [null], automatic session =
> [true], cookies = [], headers = [], GET parameters = [], POST
parameters =
> []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> )
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.util.CookieUtil -
> >createHttpClientCookies =
> [[Lorg.apache.commons.httpclient.Cookie;@6dc3a2]
> DEBUG 2003-11-18 12:28:23,409 org.apache.cactus.util.CookieUtil -
> >createHttpState = [[ |  | ]]
> DEBUG 2003-11-18 12:28:23,419 httpclient.wire           - >> "GET
> /charm.after.cactus.v.1.1_7/ServletRedirectorSecure? HTTP/1.1[\r][\n]"
> DEBUG 2003-11-18 12:28:23,419 httpclient.wire           - >> "Content-
> type: application/x-www-form-urlencoded[\r][\n]"
> DEBUG 2003-11-18 12:28:23,419 httpclient.wire           - >>
"User-Agent:
> Jakarta Commons-HttpClient/2.0beta2[\r][\n]"
> DEBUG 2003-11-18 12:28:23,419 httpclient.wire           - >> "Host:
> localhost:8080[\r][\n]"
> DEBUG 2003-11-18 12:28:23,419 httpclient.wire           - >>
"[\r][\n]"
> DEBUG 2003-11-18 12:28:23,459 httpclient.wire           - << "HTTP/1.1
302
> Moved Temporarily[\r][\n]"
> DEBUG 2003-11-18 12:28:23,459 httpclient.wire           - << "Content-
> Length: 0[\r][\n]"
> DEBUG 2003-11-18 12:28:23,469 httpclient.wire           - << "Date:
Tue,
> 18 Nov 2003 10:28:23 GMT[\r][\n]"
> DEBUG 2003-11-18 12:28:23,469 httpclient.wire           - << "Pragma:
No-
> cache[\r][\n]"
> DEBUG 2003-11-18 12:28:23,469 httpclient.wire           - <<
"Location:
>
http://localhost:8080/charm.after.cactus.v.1.1_7/login.jsp;jsessionid=AB
F0
> 4889CEF6CFF97DA2F2A50A73807F[\r][\n]"
> DEBUG 2003-11-18 12:28:23,469 httpclient.wire           - << "Server:
> Apache Tomcat/4.1.27 (HTTP/1.1 Connector)[\r][\n]"
> DEBUG 2003-11-18 12:28:23,469 httpclient.wire           - << "Cache-
> Control: no-cache[\r][\n]"
> DEBUG 2003-11-18 12:28:23,469 httpclient.wire           - << "Expires:
> Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
> DEBUG 2003-11-18 12:28:23,469 httpclient.wire           - <<
"Set-Cookie:
> JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F;
> Path=/charm.after.cactus.v.1.1_7[\r][\n]"
> DEBUG 2003-11-18 12:28:23,509
> org.apache.cactus.client.connector.http.HttpClientConnectionHelper -
> >connect =
>
[org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:8
08
> 0/charm.after.cactus.v.1.1_7/ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,509
> org.apache.cactus.client.authentication.FormAuthentication -
>
<getSecurityCheckURL([org.apache.cactus.configuration.FilterConfiguratio
n@
> 65855a])
> DEBUG 2003-11-18 12:28:23,509
> org.apache.cactus.client.authentication.FormAuthentication - Using
> security check URL
> [http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_check]
> DEBUG 2003-11-18 12:28:23,519
> org.apache.cactus.client.authentication.FormAuthentication -
> >getSecurityCheckURL =
> [http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_check]
> DEBUG 2003-11-18 12:28:23,519
> org.apache.cactus.client.connector.http.ConnectionHelperFactory -
>
<getConnectionHelper([http://localhost:8080/charm.after.cactus.v.1.1_7/j
_s
> ecurity_check],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,519
> org.apache.cactus.client.connector.http.ConnectionHelperFactory -
> >getConnectionHelper =
>
[org.apache.cactus.client.connector.http.HttpClientConnectionHelper@5f38
fd
> ]
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
>
<setConfiguration([org.apache.cactus.configuration.FilterConfiguration@6
58
> 55a])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> >setConfiguration
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> <addCookie([JSESSIONID], [ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> <addCookie([localhost], [JSESSIONID],
[ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.Cookie  -
> <setDomain([localhost])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.Cookie  - >setDomain
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.Cookie  -
> <setName([JSESSIONID])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.Cookie  - >setName
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.Cookie  -
> <setValue([ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.Cookie  - >setValue
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> <addCookie([name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> <addParameter([j_username], [charm], [POST])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> <addParameter([j_password], [charm], [POST])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,519
> org.apache.cactus.client.connector.http.HttpClientConnectionHelper -
> <connect([simulation URL = [null], automatic session = [true], cookies
=
> [[name = [JSESSIONID], value = [ABF04889CEF6CFF97DA2F2A50A73807F],
domain
> = [localhost], path = [null], isSecure = [false], comment = [null],
> expiryDate = [null]]], headers = [], GET parameters = [], POST
parameters
> = [[[j_username] = [[charm]]][[j_password] = [[charm]]]]],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,519
> org.apache.cactus.client.connector.http.HttpUtil -
> <addHttpGetParameters([simulation URL = [null], automatic session =
> [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [], POST parameters = [[[j_username] =
> [[charm]]][[j_password] = [[charm]]]]],
> [http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_check])
> DEBUG 2003-11-18 12:28:23,519
> org.apache.cactus.client.connector.http.HttpUtil -
>addHttpGetParameters =
> [http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_check]
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.UrlUtil -
>
<getPath([http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_ch
ec
> k])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.UrlUtil -
>getPath =
> [/charm.after.cactus.v.1.1_7/j_security_check]
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.UrlUtil -
>
<getQuery([http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_c
he
> ck])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.UrlUtil -
>getQuery =
> []
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> <getParameterValuesPost([j_username])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> >getParameterValuesPost = [[Ljava.lang.String;@16a786]
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> <getParameterValuesPost([j_password])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.WebRequest -
> >getParameterValuesPost = [[Ljava.lang.String;@507fb2]
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.CookieUtil -
> <createHttpState([simulation URL = [null], automatic session = [true],
> cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [], POST parameters = [[[j_username] =
> [[charm]]][[j_password] = [[charm]]]]],
> [http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_check])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.CookieUtil -
> <createHttpClientCookies([simulation URL = [null], automatic session =
> [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [], POST parameters = [[[j_username] =
> [[charm]]][[j_password] = [[charm]]]]],
> [http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_check])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.CookieUtil -
> <createHttpClientCookie([simulation URL = [null], automatic session =
> [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [], POST parameters = [[[j_username] =
> [[charm]]][[j_password] = [[charm]]]]],
> [http://localhost:8080/charm.after.cactus.v.1.1_7/j_security_check],
[name
> = [JSESSIONID], value = [ABF04889CEF6CFF97DA2F2A50A73807F], domain =
> [localhost], path = [null], isSecure = [false], comment = [null],
> expiryDate = [null]])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.CookieUtil -
> <getCookiePath([simulation URL = [null], automatic session = [true],
> cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [], POST parameters = [[[j_username] =
> [[charm]]][[j_password] = [[charm]]]]],
> [/charm.after.cactus.v.1.1_7/j_security_check])
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.CookieUtil -
Cookie
> validation path = [/charm.after.cactus.v.1.1_7/j_security_check]
> DEBUG 2003-11-18 12:28:23,519 org.apache.cactus.util.CookieUtil -
> >getCookiePath = [/charm.after.cactus.v.1.1_7/j_security_check]
> DEBUG 2003-11-18 12:28:23,529 org.apache.cactus.util.CookieUtil -
> >createHttpClientCookie =
[JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F]
> DEBUG 2003-11-18 12:28:23,529 org.apache.cactus.util.CookieUtil -
> >createHttpClientCookies =
> [[Lorg.apache.commons.httpclient.Cookie;@61f10f]
> DEBUG 2003-11-18 12:28:23,529 org.apache.cactus.util.CookieUtil -
> >createHttpState = [[ |  |
JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F]]
> DEBUG 2003-11-18 12:28:23,529 httpclient.wire           - >> "POST
> /charm.after.cactus.v.1.1_7/j_security_check? HTTP/1.1[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >> "Content-
> type: application/x-www-form-urlencoded[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >>
"User-Agent:
> Jakarta Commons-HttpClient/2.0beta2[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >> "Host:
> localhost:8080[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >> "Cookie:
> $Version=0; JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >> "Content-
> Length: 33[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >>
"[\r][\n]"
> DEBUG 2003-11-18 12:28:23,549 httpclient.wire           - >>
> "j_username=charm&j_password=charm"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - << "HTTP/1.1
302
> Moved Temporarily[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - << "Content-
> Length: 0[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - << "Date:
Tue,
> 18 Nov 2003 10:28:23 GMT[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - <<
"Location:
>
http://localhost:8080/charm.after.cactus.v.1.1_7/loginerror.jsp[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559 httpclient.wire           - << "Server:
> Apache Tomcat/4.1.27 (HTTP/1.1 Connector)[\r][\n]"
> DEBUG 2003-11-18 12:28:23,559
> org.apache.cactus.client.connector.http.HttpClientConnectionHelper -
> >connect =
>
[org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:8
08
> 0/charm.after.cactus.v.1.1_7/j_security_check]
> DEBUG 2003-11-18 12:28:23,559
> org.apache.cactus.client.authentication.FormAuthentication -
>authenticate
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <addCookie([JSESSIONID], [ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <addCookie([localhost], [JSESSIONID],
[ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.Cookie  -
> <setDomain([localhost])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.Cookie  - >setDomain
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.Cookie  -
> <setName([JSESSIONID])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.Cookie  - >setName
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.Cookie  -
> <setValue([ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.Cookie  - >setValue
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <addCookie([name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,559
> org.apache.cactus.client.authentication.FormAuthentication -
>configure
> DEBUG 2003-11-18 12:28:23,559
> org.apache.cactus.client.connector.http.HttpUtil -
> <addHttpGetParameters([simulation URL = [protocol = [http], host name
=
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> )
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <getParameterValuesGet([Cactus_TestMethod])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> >getParameterValuesGet = [[Ljava.lang.String;@48aa23]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <getParameterValuesGet([Cactus_URL_Server])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> >getParameterValuesGet = [[Ljava.lang.String;@19f91c]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <getParameterValuesGet([Cactus_URL_ServletPath])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> >getParameterValuesGet = [[Ljava.lang.String;@31aa65]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <getParameterValuesGet([Cactus_TestClass])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> >getParameterValuesGet = [[Ljava.lang.String;@29f3b5]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <getParameterValuesGet([Cactus_AutomaticSession])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> >getParameterValuesGet = [[Ljava.lang.String;@3f3045]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <getParameterValuesGet([Cactus_URL_Protocol])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> >getParameterValuesGet = [[Ljava.lang.String;@7a29a1]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> <getParameterValuesGet([Cactus_Service])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.WebRequest -
> >getParameterValuesGet = [[Ljava.lang.String;@434234]
> DEBUG 2003-11-18 12:28:23,559
> org.apache.cactus.client.connector.http.HttpUtil -
>addHttpGetParameters =
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e?
>
Cactus_TestMethod=testIndexPageNotRedirected&Cactus_URL_Server=localhost
%3
>
A8080&Cactus_URL_ServletPath=%2Findex.jsp&Cactus_TestClass=standish.char
m.
>
web.FlowFilterTest&Cactus_AutomaticSession=true&Cactus_URL_Protocol=http
&C
> actus_Service=CALL_TEST]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.util.UrlUtil -
>
<getPath([http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedire
ct
>
orSecure?Cactus_TestMethod=testIndexPageNotRedirected&Cactus_URL_Server=
lo
>
calhost%3A8080&Cactus_URL_ServletPath=%2Findex.jsp&Cactus_TestClass=stan
di
>
sh.charm.web.FlowFilterTest&Cactus_AutomaticSession=true&Cactus_URL_Prot
oc
> ol=http&Cactus_Service=CALL_TEST])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.util.UrlUtil -
>getPath =
> [/charm.after.cactus.v.1.1_7/ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.util.UrlUtil -
>
<getQuery([http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedir
ec
>
torSecure?Cactus_TestMethod=testIndexPageNotRedirected&Cactus_URL_Server
=l
>
ocalhost%3A8080&Cactus_URL_ServletPath=%2Findex.jsp&Cactus_TestClass=sta
nd
>
ish.charm.web.FlowFilterTest&Cactus_AutomaticSession=true&Cactus_URL_Pro
to
> col=http&Cactus_Service=CALL_TEST])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.util.UrlUtil -
>getQuery =
>
[Cactus_TestMethod=testIndexPageNotRedirected&Cactus_URL_Server=localhos
t%
>
3A8080&Cactus_URL_ServletPath=%2Findex.jsp&Cactus_TestClass=standish.cha
rm
>
.web.FlowFilterTest&Cactus_AutomaticSession=true&Cactus_URL_Protocol=htt
p&
> Cactus_Service=CALL_TEST]
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.util.CookieUtil -
> <createHttpState([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e?
>
Cactus_TestMethod=testIndexPageNotRedirected&Cactus_URL_Server=localhost
%3
>
A8080&Cactus_URL_ServletPath=%2Findex.jsp&Cactus_TestClass=standish.char
m.
>
web.FlowFilterTest&Cactus_AutomaticSession=true&Cactus_URL_Protocol=http
&C
> actus_Service=CALL_TEST])
> DEBUG 2003-11-18 12:28:23,559 org.apache.cactus.util.CookieUtil -
> <createHttpClientCookies([simulation URL = [protocol = [http], host
name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e?
>
Cactus_TestMethod=testIndexPageNotRedirected&Cactus_URL_Server=localhost
%3
>
A8080&Cactus_URL_ServletPath=%2Findex.jsp&Cactus_TestClass=standish.char
m.
>
web.FlowFilterTest&Cactus_AutomaticSession=true&Cactus_URL_Protocol=http
&C
> actus_Service=CALL_TEST])
> DEBUG 2003-11-18 12:28:23,569 org.apache.cactus.util.CookieUtil -
> <createHttpClientCookie([simulation URL = [protocol = [http], host
name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e?
>
Cactus_TestMethod=testIndexPageNotRedirected&Cactus_URL_Server=localhost
%3
>
A8080&Cactus_URL_ServletPath=%2Findex.jsp&Cactus_TestClass=standish.char
m.
>
web.FlowFilterTest&Cactus_AutomaticSession=true&Cactus_URL_Protocol=http
&C
> actus_Service=CALL_TEST], [name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]])
> DEBUG 2003-11-18 12:28:23,569 org.apache.cactus.util.CookieUtil -
> <getCookiePath([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []],
>
[/charm.after.cactus.v.1.1_7/ServletRedirectorSecure?Cactus_TestMethod=t
es
>
tIndexPageNotRedirected&Cactus_URL_Server=localhost%3A8080&Cactus_URL_Se
rv
>
letPath=%2Findex.jsp&Cactus_TestClass=standish.charm.web.FlowFilterTest&
Ca
>
ctus_AutomaticSession=true&Cactus_URL_Protocol=http&Cactus_Service=CALL_
TE
> ST])
> DEBUG 2003-11-18 12:28:23,569 org.apache.cactus.util.CookieUtil -
Cookie
> validation path = [/index.jsp]
> DEBUG 2003-11-18 12:28:23,569 org.apache.cactus.util.CookieUtil -
> >getCookiePath = [/index.jsp]
> DEBUG 2003-11-18 12:28:23,569 org.apache.cactus.util.CookieUtil -
> >createHttpClientCookie =
[JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F]
> DEBUG 2003-11-18 12:28:23,569 org.apache.cactus.util.CookieUtil -
> >createHttpClientCookies =
> [[Lorg.apache.commons.httpclient.Cookie;@2f8358]
> DEBUG 2003-11-18 12:28:23,569 org.apache.cactus.util.CookieUtil -
> >createHttpState = [[ |  |
JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F]]
> DEBUG 2003-11-18 12:28:23,569 httpclient.wire           - >> "GET
>
/charm.after.cactus.v.1.1_7/ServletRedirectorSecure?Cactus_TestMethod=te
st
>
IndexPageNotRedirected&Cactus_URL_Server=localhost%3A8080&Cactus_URL_Ser
vl
>
etPath=%2Findex.jsp&Cactus_TestClass=standish.charm.web.FlowFilterTest&C
ac
>
tus_AutomaticSession=true&Cactus_URL_Protocol=http&Cactus_Service=CALL_T
ES
> T HTTP/1.1[\r][\n]"
> DEBUG 2003-11-18 12:28:23,569 httpclient.wire           - >> "Content-
> type: application/x-www-form-urlencoded[\r][\n]"
> DEBUG 2003-11-18 12:28:23,569 httpclient.wire           - >>
"User-Agent:
> Jakarta Commons-HttpClient/2.0beta2[\r][\n]"
> DEBUG 2003-11-18 12:28:23,569 httpclient.wire           - >> "Host:
> localhost:8080[\r][\n]"
> DEBUG 2003-11-18 12:28:23,569 httpclient.wire           - >>
"[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - << "HTTP/1.1
302
> Moved Temporarily[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - << "Content-
> Length: 0[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - << "Date:
Tue,
> 18 Nov 2003 10:28:23 GMT[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - << "Pragma:
No-
> cache[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - <<
"Location:
>
http://localhost:8080/charm.after.cactus.v.1.1_7/login.jsp;jsessionid=6D
66
> F23DF280532F5768E0DE0042D310[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - << "Server:
> Apache Tomcat/4.1.27 (HTTP/1.1 Connector)[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - << "Cache-
> Control: no-cache[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - << "Expires:
> Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579 httpclient.wire           - <<
"Set-Cookie:
> JSESSIONID=6D66F23DF280532F5768E0DE0042D310;
> Path=/charm.after.cactus.v.1.1_7[\r][\n]"
> DEBUG 2003-11-18 12:28:23,579
> org.apache.cactus.client.connector.http.HttpClientConnectionHelper -
> >connect =
>
[org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:8
08
>
0/charm.after.cactus.v.1.1_7/ServletRedirectorSecure?Cactus_TestMethod=t
es
>
tIndexPageNotRedirected&Cactus_URL_Server=localhost%3A8080&Cactus_URL_Se
rv
>
letPath=%2Findex.jsp&Cactus_TestClass=standish.charm.web.FlowFilterTest&
Ca
>
ctus_AutomaticSession=true&Cactus_URL_Protocol=http&Cactus_Service=CALL_
TE
> ST]
> DEBUG 2003-11-18 12:28:23,579
> org.apache.cactus.client.connector.http.AutoReadHttpURLConnection -
> Original connection =
>
org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:80
80
>
/charm.after.cactus.v.1.1_7/ServletRedirectorSecure?Cactus_TestMethod=te
st
>
IndexPageNotRedirected&Cactus_URL_Server=localhost%3A8080&Cactus_URL_Ser
vl
>
etPath=%2Findex.jsp&Cactus_TestClass=standish.charm.web.FlowFilterTest&C
ac
>
tus_AutomaticSession=true&Cactus_URL_Protocol=http&Cactus_Service=CALL_T
ES
> T
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.client.connector.http.AutoReadHttpURLConnection -
> Content-Length : [0]
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.RequestDirectives -
> <setService([GET_RESULTS])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> <addParameter([Cactus_Service], [GET_RESULTS], [GET])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
>addParameter
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.RequestDirectives -
> >setService
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> <setRedirectorName([ServletRedirectorSecure])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> >setRedirectorName
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
>
<setAuthentication([org.apache.cactus.client.authentication.FormAuthenti
ca
> tion@106082])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> >setAuthentication
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.configuration.FilterConfiguration -
> <getRedirectorURL([simulation URL = [null], automatic session =
[true],
> cookies = [], headers = [], GET parameters = [[[Cactus_Service] =
> [[GET_RESULTS]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.configuration.FilterConfiguration -
> <getRedirectorName([simulation URL = [null], automatic session =
[true],
> cookies = [], headers = [], GET parameters = [[[Cactus_Service] =
> [[GET_RESULTS]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.configuration.FilterConfiguration -
>getRedirectorName =
> [ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.configuration.FilterConfiguration -
>getRedirectorURL =
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.client.connector.http.ConnectionHelperFactory -
>
<getConnectionHelper([http://localhost:8080/charm.after.cactus.v.1.1_7/S
er
> vletRedirectorSecure],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.client.connector.http.ConnectionHelperFactory -
> >getConnectionHelper =
>
[org.apache.cactus.client.connector.http.HttpClientConnectionHelper@6d75
]
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.client.connector.http.HttpClientConnectionHelper -
> <connect([simulation URL = [null], automatic session = [true], cookies
=
> [], headers = [], GET parameters = [[[Cactus_Service] =
[[GET_RESULTS]]]],
> POST parameters = []],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.client.authentication.FormAuthentication -
> <configure([simulation URL = [null], automatic session = [true],
cookies =
> [], headers = [], GET parameters = [[[Cactus_Service] =
[[GET_RESULTS]]]],
> POST parameters = []],
> [org.apache.cactus.configuration.FilterConfiguration@65855a])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> <addCookie([JSESSIONID], [ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> <addCookie([localhost], [JSESSIONID],
[ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.Cookie  -
> <setDomain([localhost])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.Cookie  - >setDomain
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.Cookie  -
> <setName([JSESSIONID])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.Cookie  - >setName
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.Cookie  -
> <setValue([ABF04889CEF6CFF97DA2F2A50A73807F])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.Cookie  - >setValue
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> <addCookie([name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
>addCookie
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.client.authentication.FormAuthentication -
>configure
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.client.connector.http.HttpUtil -
> <addHttpGetParameters([simulation URL = [null], automatic session =
> [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST
parameters =
> []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> )
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> <getParameterValuesGet([Cactus_Service])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.WebRequest -
> >getParameterValuesGet = [[Ljava.lang.String;@125127]
> DEBUG 2003-11-18 12:28:23,589
> org.apache.cactus.client.connector.http.HttpUtil -
>addHttpGetParameters =
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e?
> Cactus_Service=GET_RESULTS]
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.UrlUtil -
>
<getPath([http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedire
ct
> orSecure?Cactus_Service=GET_RESULTS])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.UrlUtil -
>getPath =
> [/charm.after.cactus.v.1.1_7/ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.UrlUtil -
>
<getQuery([http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedir
ec
> torSecure?Cactus_Service=GET_RESULTS])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.UrlUtil -
>getQuery =
> [Cactus_Service=GET_RESULTS]
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
> <createHttpState([simulation URL = [null], automatic session = [true],
> cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST
parameters =
> []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e?
> Cactus_Service=GET_RESULTS])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
> <createHttpClientCookies([simulation URL = [null], automatic session =
> [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST
parameters =
> []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e?
> Cactus_Service=GET_RESULTS])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
> <createHttpClientCookie([simulation URL = [null], automatic session =
> [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST
parameters =
> []],
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e?
> Cactus_Service=GET_RESULTS], [name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
> <getCookiePath([simulation URL = [null], automatic session = [true],
> cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_Service] = [[GET_RESULTS]]]], POST
parameters =
> []],
>
[/charm.after.cactus.v.1.1_7/ServletRedirectorSecure?Cactus_Service=GET_
RE
> SULTS])
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
Cookie
> validation path =
[/charm.after.cactus.v.1.1_7/ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
> >getCookiePath = [/charm.after.cactus.v.1.1_7/ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
> >createHttpClientCookie =
[JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F]
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
> >createHttpClientCookies =
[[Lorg.apache.commons.httpclient.Cookie;@dfef8]
> DEBUG 2003-11-18 12:28:23,589 org.apache.cactus.util.CookieUtil -
> >createHttpState = [[ |  |
JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F]]
> DEBUG 2003-11-18 12:28:23,589 httpclient.wire           - >> "GET
>
/charm.after.cactus.v.1.1_7/ServletRedirectorSecure?Cactus_Service=GET_R
ES
> ULTS HTTP/1.1[\r][\n]"
> DEBUG 2003-11-18 12:28:23,589 httpclient.wire           - >> "Content-
> type: application/x-www-form-urlencoded[\r][\n]"
> DEBUG 2003-11-18 12:28:23,589 httpclient.wire           - >>
"User-Agent:
> Jakarta Commons-HttpClient/2.0beta2[\r][\n]"
> DEBUG 2003-11-18 12:28:23,589 httpclient.wire           - >> "Host:
> localhost:8080[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - >> "Cookie:
> $Version=0; JSESSIONID=ABF04889CEF6CFF97DA2F2A50A73807F[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - >>
"[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - << "HTTP/1.1
302
> Moved Temporarily[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - << "Content-
> Length: 0[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - << "Date:
Tue,
> 18 Nov 2003 10:28:23 GMT[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - << "Pragma:
No-
> cache[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - <<
"Location:
> http://localhost:8080/charm.after.cactus.v.1.1_7/login.jsp[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - << "Server:
> Apache Tomcat/4.1.27 (HTTP/1.1 Connector)[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - << "Cache-
> Control: no-cache[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599 httpclient.wire           - << "Expires:
> Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
> DEBUG 2003-11-18 12:28:23,599
> org.apache.cactus.client.connector.http.HttpClientConnectionHelper -
> >connect =
>
[org.apache.commons.httpclient.util.HttpURLConnection:http://localhost:8
08
>
0/charm.after.cactus.v.1.1_7/ServletRedirectorSecure?Cactus_Service=GET_
RE
> SULTS]
> DEBUG 2003-11-18 12:28:23,599
> org.apache.cactus.configuration.FilterConfiguration -
> <getRedirectorURL([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,599
> org.apache.cactus.configuration.FilterConfiguration -
> <getRedirectorName([simulation URL = [protocol = [http], host name =
> [localhost], port = [8080], context path = [null], servlet path =
> [/index.jsp], path info = [null], query string = [null]], automatic
> session = [true], cookies = [[name = [JSESSIONID], value =
> [ABF04889CEF6CFF97DA2F2A50A73807F], domain = [localhost], path =
[null],
> isSecure = [false], comment = [null], expiryDate = [null]]], headers =
[],
> GET parameters = [[[Cactus_TestMethod] =
> [[testIndexPageNotRedirected]]][[Cactus_URL_Server] =
> [[localhost:8080]]][[Cactus_URL_ServletPath] =
> [[/index.jsp]]][[Cactus_TestClass] =
> [[standish.charm.web.FlowFilterTest]]][[Cactus_AutomaticSession] =
> [[true]]][[Cactus_URL_Protocol] = [[http]]][[Cactus_Service] =
> [[CALL_TEST]]]], POST parameters = []])
> DEBUG 2003-11-18 12:28:23,599
> org.apache.cactus.configuration.FilterConfiguration -
>getRedirectorName =
> [ServletRedirectorSecure]
> DEBUG 2003-11-18 12:28:23,599
> org.apache.cactus.configuration.FilterConfiguration -
>getRedirectorURL =
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> DEBUG 2003-11-18 12:28:23,609
> org.apache.cactus.internal.client.WebClientTestCaseDelegate -
Exception in
> test
> DEBUG 2003-11-18 12:28:23,609
> org.apache.cactus.util.ChainedRuntimeException -
> <printStackTrace([org.apache.log4j.spi.VectorWriter@56c16c])
> DEBUG 2003-11-18 12:28:23,609
org.apache.cactus.client.ParsingException -
> <printStackTrace([org.apache.log4j.spi.VectorWriter@56c16c])
> DEBUG 2003-11-18 12:28:23,609
org.apache.cactus.client.ParsingException -
> >printStackTrace
> DEBUG 2003-11-18 12:28:23,609
> org.apache.cactus.util.ChainedRuntimeException - >printStackTrace
> org.apache.cactus.util.ChainedRuntimeException: Failed to get the test
> results at
>
[http://localhost:8080/charm.after.cactus.v.1.1_7/ServletRedirectorSecur
e]
> 	at
>
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundB
od
> y0(DefaultHttpClient.java:131)
> 	at
>
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundB
od
> y1$advice(DefaultHttpClient.java:222)
> 	at
>
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(Default
Ht
> tpClient.java)
> 	at
>
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(W
eb
> ClientTestCaseDelegate.java:333)
> 	at
>
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTe
st
> (WebClientTestCaseDelegate.java:281)
> 	at
>
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebC
li
> entTestCaseDelegate.java:257)
> 	at
>
org.apache.cactus.FilterTestCase.runCactusTest(FilterTestCase.java:302)
> 	at
org.apache.cactus.FilterTestCase.runBare(FilterTestCase.java:265)
> 	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
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTe
st
> Runner.java:325)
> 	at
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitT
es
> tRunner.java:536)
> org.apache.cactus.client.ParsingException: Not a valid response [302
Moved
> Temporarily]
> 	at
>
org.apache.cactus.client.connector.http.DefaultHttpClient.callGetResult(
De
> faultHttpClient.java:249)
> 	at
>
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundB
od
> y0(DefaultHttpClient.java:126)
> 	at
>
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundB
od
> y1$advice(DefaultHttpClient.java:222)
> 	at
>
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(Default
Ht
> tpClient.java)
> 	at
>
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(W
eb
> ClientTestCaseDelegate.java:333)
> 	at
>
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTe
st
> (WebClientTestCaseDelegate.java:281)
> 	at
>
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebC
li
> entTestCaseDelegate.java:257)
> 	at
>
org.apache.cactus.FilterTestCase.runCactusTest(FilterTestCase.java:302)
> 	at
org.apache.cactus.FilterTestCase.runBare(FilterTestCase.java:265)
> 	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
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTe
st
> Runner.java:325)
> 	at
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitT
es
> tRunner.java:536)
> DEBUG 2003-11-18 12:28:23,609
> org.apache.cactus.util.ChainedRuntimeException -
> <printStackTrace([java.io.PrintWriter@3c1b02])
> DEBUG 2003-11-18 12:28:23,609
org.apache.cactus.client.ParsingException -
> <printStackTrace([java.io.PrintWriter@3c1b02])
> DEBUG 2003-11-18 12:28:23,609
org.apache.cactus.client.ParsingException -
> >printStackTrace
> DEBUG 2003-11-18 12:28:23,609
> org.apache.cactus.util.ChainedRuntimeException - >printStackTrace
> DEBUG 2003-11-18 12:28:23,649
> org.apache.cactus.server.ServletTestRedirector -
> <doGet([org.apache.catalina.connector.HttpRequestFacade@576e70],
> [org.apache.catalina.connector.HttpResponseFacade@1381e7])
> DEBUG 2003-11-18 12:28:23,649
> org.apache.cactus.server.ServletTestRedirector -
> <doPost([org.apache.catalina.connector.HttpRequestFacade@576e70],
> [org.apache.catalina.connector.HttpResponseFacade@1381e7])
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletTestRedirector - ------------- Start
> Servlet service
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletImplicitObjects -
>
<setHttpServletRequest([org.apache.catalina.connector.HttpRequestFacade@
57
> 6e70])
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletImplicitObjects -
>setHttpServletRequest
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletImplicitObjects -
>
<setHttpServletResponse([org.apache.catalina.connector.HttpResponseFacad
e@
> 1381e7])
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletImplicitObjects -
>setHttpServletResponse
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletImplicitObjects -
>
<setServletContext([org.apache.catalina.core.ApplicationContextFacade@3d
28
> e3])
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletImplicitObjects - >setServletContext
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletImplicitObjects -
>
<setServletConfig([org.apache.catalina.core.StandardWrapperFacade@476128
])
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletImplicitObjects - >setServletConfig
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletTestController -
>
<handleRequest([org.apache.cactus.server.ServletImplicitObjects@3ef810])
> DEBUG 2003-11-18 12:28:23,659 org.apache.cactus.server.ServletUtil -
> <getQueryStringParameter([Cactus_Service=RUN_TEST], [Cactus_Service])
> DEBUG 2003-11-18 12:28:23,659 org.apache.cactus.server.ServletUtil -
> >getQueryStringParameter = [RUN_TEST]
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.AbstractWebTestController - Service to call =
> RUN_TEST
> DEBUG 2003-11-18 12:28:23,659 org.apache.cactus.ServiceEnumeration -
> <valueOf([RUN_TEST])
> DEBUG 2003-11-18 12:28:23,659 org.apache.cactus.ServiceEnumeration -
> >valueOf = [RUN_TEST]
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletTestController - >handleRequest
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletTestRedirector - >doPost
> DEBUG 2003-11-18 12:28:23,659
> org.apache.cactus.server.ServletTestRedirector - >doGet
> DEBUG 2003-11-18 12:28:24,160
> org.apache.cactus.server.ServletTestRedirector -
> <doGet([org.apache.catalina.connector.HttpRequestFacade@576e70],
> [org.apache.catalina.connector.HttpResponseFacade@1381e7])
> DEBUG 2003-11-18 12:28:24,160
> org.apache.cactus.server.ServletTestRedirector -
> <doPost([org.apache.catalina.connector.HttpRequestFacade@576e70],
> [org.apache.catalina.connector.HttpResponseFacade@1381e7])
> DEBUG 2003-11-18 12:28:24,160
> org.apache.cactus.server.ServletTestRedirector - ------------- Start
> Servlet service
> DEBUG 2003-11-18 12:28:24,160
> org.apache.cactus.server.ServletImplicitObjects -
>
<setHttpServletRequest([org.apache.catalina.connector.HttpRequestFacade@
57
> 6e70])
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletImplicitObjects -
>setHttpServletRequest
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletImplicitObjects -
>
<setHttpServletResponse([org.apache.catalina.connector.HttpResponseFacad
e@
> 1381e7])
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletImplicitObjects -
>setHttpServletResponse
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletImplicitObjects -
>
<setServletContext([org.apache.catalina.core.ApplicationContextFacade@3d
28
> e3])
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletImplicitObjects - >setServletContext
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletImplicitObjects -
>
<setServletConfig([org.apache.catalina.core.StandardWrapperFacade@476128
])
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletImplicitObjects - >setServletConfig
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletTestController -
>
<handleRequest([org.apache.cactus.server.ServletImplicitObjects@100363])
> DEBUG 2003-11-18 12:28:24,170 org.apache.cactus.server.ServletUtil -
> <getQueryStringParameter([Cactus_Service=RUN_TEST], [Cactus_Service])
> DEBUG 2003-11-18 12:28:24,170 org.apache.cactus.server.ServletUtil -
> >getQueryStringParameter = [RUN_TEST]
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.AbstractWebTestController - Service to call =
> RUN_TEST
> DEBUG 2003-11-18 12:28:24,170 org.apache.cactus.ServiceEnumeration -
> <valueOf([RUN_TEST])
> DEBUG 2003-11-18 12:28:24,170 org.apache.cactus.ServiceEnumeration -
> >valueOf = [RUN_TEST]
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletTestController - >handleRequest
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletTestRedirector - >doPost
> DEBUG 2003-11-18 12:28:24,170
> org.apache.cactus.server.ServletTestRedirector - >doGet
> 
> Tarek M. Nabil
> Senior Software Engineer
> ITWorx
> Tarek.Nabil@itworx.com
> Free Zone, Area 7 (B),
> Block (J), Nasr City,
> Cairo, Egypt
> TEL.: 20-2-2766226
> http://www.itworx.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org


Mime
View raw message