Hello,
I am trying to run Hudson (https://hudson.dev.java.net/) behind LiteSpeed 3.0.3 Std/Linux. Release .104 of Hudson comes bundled with a small servlet engine named Winstone (http://winstone.sourceforge.net/).
Example usage:
java -jar hudson.war --prefix=/hudson
I first tried to configure LSWS with a servlet context over AJP. However, Winstone complains of the following:
[Winstone 2007/04/24 16:33:53] - Error within request handler thread
java.lang.StringIndexOutOfBoundsException: String index out of range: 41026
at java.lang.String.checkBounds(String.java:402)
at java.lang.String.<init>(String.java:443)
at winstone.ajp13.Ajp13IncomingPacket.readString(Ajp13IncomingPacket.java:270)
at winstone.ajp13.Ajp13IncomingPacket.parsePacket(Ajp13IncomingPacket.java:185)
at winstone.ajp13.Ajp13Listener.allocateRequestResponse(Ajp13Listener.java:178)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:79)
at java.lang.Thread.run(Thread.java:619)
Next, I tried to configure LSWS with a web proxy. Unfortunately, Winstone does not provide a Content-Length header. LSWS seems to provide an empty page to the end-user in that case, even if the back-end supplies content.
Is there an easy way to fix either of the above situations without touching Winstone?
Thanks.
I am trying to run Hudson (https://hudson.dev.java.net/) behind LiteSpeed 3.0.3 Std/Linux. Release .104 of Hudson comes bundled with a small servlet engine named Winstone (http://winstone.sourceforge.net/).
Example usage:
java -jar hudson.war --prefix=/hudson
I first tried to configure LSWS with a servlet context over AJP. However, Winstone complains of the following:
[Winstone 2007/04/24 16:33:53] - Error within request handler thread
java.lang.StringIndexOutOfBoundsException: String index out of range: 41026
at java.lang.String.checkBounds(String.java:402)
at java.lang.String.<init>(String.java:443)
at winstone.ajp13.Ajp13IncomingPacket.readString(Ajp13IncomingPacket.java:270)
at winstone.ajp13.Ajp13IncomingPacket.parsePacket(Ajp13IncomingPacket.java:185)
at winstone.ajp13.Ajp13Listener.allocateRequestResponse(Ajp13Listener.java:178)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:79)
at java.lang.Thread.run(Thread.java:619)
Next, I tried to configure LSWS with a web proxy. Unfortunately, Winstone does not provide a Content-Length header. LSWS seems to provide an empty page to the end-user in that case, even if the back-end supplies content.
Is there an easy way to fix either of the above situations without touching Winstone?
Thanks.