Scott Merritt <[EMAIL PROTECTED]> writes:
> I've had enough of mod_webapp... I couldn't compile it myself, so I was
> using a build I downloaded. I was cool with the fact that file upload
> didn't work but I can't live with it hanging my Apache web server. After a
> few days of running my site goes down but I can still hit Tomcat directly
> through the port. Actually all my sites are hosed. If I remove mod_webapp
> out of the picture everything goes away. Of course now I'm forced to do the
> cheesy redirect and open a hole in my firewall so people can directly hit my
> app server.
Here is a fix for the mod_webapp (it's in j-t-c CVS):
Index: catalina/src/share/org/apache/catalina/connector/warp/WarpRequest.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/java/WarpRequest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- catalina/src/share/org/apache/catalina/connector/warp/WarpRequest.java 2001/07/25
22:32:05 1.9
+++ catalina/src/share/org/apache/catalina/connector/warp/WarpRequest.java 2001/10/19
+19:18:28 1.10
@@ -139,7 +139,7 @@
throw new IOException("Invalid WARP packet type for body");
if (this.packet.pointer<this.packet.size)
- return((int)this.packet.buffer[this.packet.pointer++]);
+ return(((int)this.packet.buffer[this.packet.pointer++])&0x0ff);
this.packet.reset();
this.packet.setType(Constants.TYPE_CBK_READ);
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>