You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gmail User <no...@gmail.com> on 2007/11/10 05:19:59 UTC

Upgrade from mod_jk to mod_proxy_ajp

I am having a problem with file uploads after upgrading from httpd-2.0.5x  
to httpd-2.2.6 and from mod_jk to mod_proxy_ajp. The Tomcat version is  
5.15--for what it is worth--but that is one thing that has NOT changed. I  
am getting this error:


"Processing of multipart/form-data request failed. Stream ended  
unexpectedly"


I searched the mailing archives, but nothing seems to help.

Before I used to be able to upload megabyte-sized files; now, the only  
test that worked was 4KB (40KB file failed). I am guessing, the problem  
has more to do with change to mod_proxy_ajp than with httpd upgrade, but I  
may be wrong (a ProxyPass that worked correctly in 2.0.5x, no longer works  
under 2.2.6). Anyone has any ideas of what I have missed in change-over?  
Does this have anything to do with 8KB mod_proxy buffer?


My httpd config is trivial (?):


	ProxyPass	/	balancer://cluster/	stickysession=JSESSIONID|jsessionid  
nofailover=On
	<Proxy balancer://cluster >
     		BalancerMember ajp://localhost:8009
	</Proxy>


I also tried adding:

		SetEnv	proxy-sendcl		1
		SetEnv	proxy-sendchunked	1

then:

		SetEnv	force-proxy-request-1.0 1
		SetEnv	proxy-nokeepalive 1

but neither the first two nor all four settings do anything different.


Any ideas would be appreciated.


TIA,

Ed

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Upgrade from mod_jk to mod_proxy_ajp

Posted by Gmail User <no...@gmail.com>.
On Sat, 17 Nov 2007 17:15:35 -0500, Pid <p...@pidster.com> wrote:

> I'd suggest that you upgrade to the most recent version of Tomcat
> 5.5.25, (I think you said you have 5.5.15), as it does contain bug
> fixes, which may improve matters.
>
> I'm not sure who maintains mod_proxy stuff, but you may get better
> answers on the HTTPD list.
>
> You could inspect the traffic using a packet sniffer to see exactly
> what's happening to your connection/data.
>
> p

Thanks, I will try some of your suggestions.

It is good to know that someone has mod_proxy_ajp working alright. Gives  
me a goal to work toward. :-)


Ed

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Upgrade from mod_jk to mod_proxy_ajp

Posted by Jim Jagielski <ji...@jaguNET.com>.
On Nov 17, 2007, at 5:15 PM, Pid wrote:

> Gmail User wrote:
>> On Nov 9, 2007 11:19 PM, Gmail User <no...@gmail.com> wrote:
>>> Any ideas would be appreciated.
>>>
>>
>> Just a follow-up since I never got a reply to this--or Gmail is  
>> hiding
>> replies from me again.
>>
>> As I found out, Tomcat always worked and going back to mod_jk on
>> httpd-2.2.6 side fixed the problem. So either it is a  
>> mod_proxy_ajp or
>> mod_proxy_balancer problem.
>>
>> Ed
>
> No replies yet.
> I'm using proxy_ajp/balancer with no issues either in upload or  
> download.
>
> I'd suggest that you upgrade to the most recent version of Tomcat
> 5.5.25, (I think you said you have 5.5.15), as it does contain bug
> fixes, which may improve matters.
>
> I'm not sure who maintains mod_proxy stuff, but you may get better
> answers on the HTTPD list.
>

Most likely, yeah... Even though I'm subscribed to users@tomcat, I
don't follow it as much as dev@httpd.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Upgrade from mod_jk to mod_proxy_ajp

Posted by Pid <p...@pidster.com>.
Gmail User wrote:
> On Nov 9, 2007 11:19 PM, Gmail User <no...@gmail.com> wrote:
>> Any ideas would be appreciated.
>>
> 
> Just a follow-up since I never got a reply to this--or Gmail is hiding
> replies from me again.
> 
> As I found out, Tomcat always worked and going back to mod_jk on
> httpd-2.2.6 side fixed the problem. So either it is a mod_proxy_ajp or
> mod_proxy_balancer problem.
> 
> Ed

No replies yet.
I'm using proxy_ajp/balancer with no issues either in upload or download.

I'd suggest that you upgrade to the most recent version of Tomcat
5.5.25, (I think you said you have 5.5.15), as it does contain bug
fixes, which may improve matters.

I'm not sure who maintains mod_proxy stuff, but you may get better
answers on the HTTPD list.

You could inspect the traffic using a packet sniffer to see exactly
what's happening to your connection/data.

p


> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Upgrade from mod_jk to mod_proxy_ajp

Posted by Gmail User <no...@gmail.com>.
On Nov 9, 2007 11:19 PM, Gmail User <no...@gmail.com> wrote:
>
> Any ideas would be appreciated.
>

Just a follow-up since I never got a reply to this--or Gmail is hiding
replies from me again.

As I found out, Tomcat always worked and going back to mod_jk on
httpd-2.2.6 side fixed the problem. So either it is a mod_proxy_ajp or
mod_proxy_balancer problem.

Ed

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org