tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashin Wima (SELF)" <...@self.com.au>
Subject Dispatch Test Problems
Date Wed, 30 Aug 2000 11:11:35 GMT
Hello,

I'm encountering specific dispatch errors when running the test program
(test-tomcat.xml) under the standalone mode. The following is what is
displayed to stdout when run:

Executing Target: dispatch
ERROR expecting header Location:http://localhost:8080/index.html GOT:
http://pla
to.self.com.au:8080/index.html HEADERS({Status=302, Date=Wed, 30 Aug 2000
09:46:
43 GMT, Location=http://plato.self.com.au:8080/index.html,
Servlet-Engine=Tomcat
 Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Linux 2.2.14-12 x86;
java.ven
dor=IBM Corporation), Content-Type=text/html, Content-Language=en,
Content-Lengt
h=173})
FAIL SimpleRedirect (GET
/test/servlet/dispatch.SimpleRedirectServlet?/index.htm
l HTTP/1.0)
ERROR expecting header
Location:http://localhost:8080/test/servlet/index.html GO
T: http://plato.self.com.au:8080/test/servlet/index.html
HEADERS({Status=302, Da
te=Wed, 30 Aug 2000 09:46:43 GMT,
Location=http://plato.self.com.au:8080/test/se
rvlet/index.html, Servlet-Engine=Tomcat Web Server/3.1 (JSP 1.1; Servlet
2.2; Ja
va 1.3.0; Linux 2.2.14-12 x86; java.vendor=IBM Corporation),
Content-Type=text/h
tml, Content-Language=en, Content-Length=186})
FAIL SimpleRedirect2 (GET
/test/servlet/dispatch.SimpleRedirectServlet?index.htm
l HTTP/1.0)
OK SimpleInclude (GET /test/servlet/dispatch.SimpleIncludeServlet HTTP/1.0)

...

OK IncludeFile (GET /test/servlet/dispatch.IncludeFileServlet HTTP/1.0)
        FAIL*** : Rtok1 = age=100000&name=Sun, Etok2 =
city=Cupertino&age=100000
&name=Sun
ERROR (false,true)in : GET
/test/servlet/dispatch.ForwardWithQueryServlet?name=S
un%20Microsystems&age=100000&city=Cupertino HTTP/1.0
====================Expecting:
FORWARDWITHQUERYTARGET
city=Cupertino&age=100000&name=Sun Microsystems


====================Got:
FORWARDWITHQUERYTARGET
age=100000&name=Sun Microsystems&city=Cupertino
====================
FAIL ForwardWithQuery (GET
/test/servlet/dispatch.ForwardWithQueryServlet?name=S
un%20Microsystems&age=100000&city=Cupertino HTTP/1.0)
Executing Target: geth


Any help would be appreciated.  Please CC my email address on response.

rgds ash



Mime
View raw message