From: Alex S. <ale...@kr...> - 2005-05-25 13:39:49
|
Chris Haynes <chris <at> harvington.org.uk> writes: > > Yes, but whose bug do you think it is? > > There's so much going on here, and so many different technologies involved, I > would really try to narrow down the area of the problem before posting it as a > bug, if I were you. > > Any chance of putting a packet sniffer on the network, to look at the contents > of the headers and requests as they go to and fro? That might narrow down the > time / location of the problem. > > Chris Not as many technologies as you think. I was able to narrow the problem down to only Jetty & JettyLauncher. Here's how to reproduce it: test.jsp: <% response.sendRedirect("https://localhost:8443/test2.jsp"); %> test2.jsp: <% response.sendRedirect("/test3.jsp"); %> test3.jsp: Can be whatever you like. jetty.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.1//EN" "http://jetty.mortbay.org/configure_1_2.dtd"> <Configure class="org.mortbay.jetty.plus.Server"> <Call name="addListener"> <Arg> <New class="org.mortbay.http.SocketListener"> <Set name="Host">localhost</Set> <Set name="Port"> <SystemProperty name="jetty.port" default="8080"/> </Set> <Set name="MinThreads">10</Set> <Set name="MaxThreads">100</Set> <Set name="MaxIdleTimeMs">30000</Set> </New> </Arg> </Call> <Call name="addListener"> <Arg> <New class="org.mortbay.http.SslListener"> <Set name="Host">localhost</Set> <Set name="Port">8443</Set> <Set name="PoolName">P1</Set> <Set name="MaxIdleTimeMs">30000</Set> <Set name="lowResources">30</Set> <Set name="LowResourcePersistTimeMs">2000</Set> <Set name="Keystore"><SystemProperty name="jetty.home" default="."/>/etc/demokeystore</Set> <Set name="Password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set> <Set name="KeyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set> <Set name="HttpHandler"> <New class="org.mortbay.http.handler.MsieSslHandler"> <Set name="UserAgentSubString">MSIE 5</Set> </New> </Set> </New> </Arg> </Call> <Call name="addWebApplication"> <Arg/> <Arg>/</Arg> <Arg>context</Arg> </Call> </Configure> Place all three JSPs in the app root, run Jetty using launcher and the attached XML file, and execute test.jsp. Presto! Unfortunately, the network sniffers are not allowed on our network, so I won't be able to do that. In any case, I believe the problem is now sufficiently narrowed down to be posted as a bug. Alex |