You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Scott Merritt <SM...@abilizer.com> on 2001/12/17 22:29:41 UTC

Giving up on mod_webapp... What ver of mod_jk should I use?

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.

It sounds like mod_jk is more stable, but what version should I use with
Tomcat 4.0?  I'm afraid I'm going to be tearing some more hair out soon
trying to get the bugs worked out with this too.

Thanks...

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Giving up on mod_webapp... What ver of mod_jk should I use?

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Daniel Rall <dl...@finemaltcoding.com> writes:

> Here is a fix for the mod_webapp (it's in j-t-c CVS):
                                  ^
                                  file upload problem

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Giving up on mod_webapp... What ver of mod_jk should I use?

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Scott Merritt <SM...@abilizer.com> 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>