You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jin-Ling Kwang <jl...@idini.com> on 2001/01/12 04:46:59 UTC

Any solution for bug#696?

Dear TomCat Bugs Team,

I also encountered the same problem as described in bug#696.
(Actually it also happened to '.doc' and '.ppt' and '.ps' file types
too.)

Could you please advise if you have any soluation for that problem
so far?

Please advise.

Thanks,

Best Regards,
Jin-Ling

Re: Any solution for bug#696?

Posted by Arshad Mahmood <ar...@rohas.com>.
Hi,

I have downloaded the latest tomcat-4.0-b1 binaries and have been trying to
get it working on with Apache 1.3.12.

1. Apache 1.3.12 complains that the mod_webapp.so in the linux directory was
not compiled with -DEAPI and may crash. I rebuilt it from the source and
this error went away.

2. When I try and use catalina via apache I get a error (-2) cannot connect
to localhost (127.0.0.1). The ServerName in my httpd.conf is 'localhost' and
as far as I can tell no changes need to be made to the server.xml.

3. Does anybody know how the ROOT context can be served via apache. Apache
keeps complaining that another web application has already been registered
for '/'.

Regards,
Arshad


Re: Any solution for bug#696?

Posted by Dan Milstein <da...@shore.net>.
Tomcat 3.2.1 / mod_jk / ajp13 has a bug with File Upload which has been fixed and committed in the most recent 3.2 sources.  It *is* more likely to affect binary files, so I'm going to guess that that's what you're seeing (assuming you're using ajp13).

You can check out the most recent version of the 3.2 branch from cvs (see the website for details), or you can patch the file:

src/share/org/apache/tomcat/service/connector/Ajp13ConnectorRequest.java

I *think* patching that file will capture the whole fix -- you may want to get an updated version of the mod_jk files as well.

-Dan

Jin-Ling Kwang wrote:
> 
> Dear TomCat Bugs Team,
> 
> I also encountered the same problem as described in bug#696.
> (Actually it also happened to '.doc' and '.ppt' and '.ps' file types
> too.)
> 
> Could you please advise if you have any soluation for that problem
> so far?
> 
> Please advise.
> 
> Thanks,
> 
> Best Regards,
> Jin-Ling
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-dev-help@jakarta.apache.org

-- 

Dan Milstein // danmil@shore.net