Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am accessing my JBoss 7 web console via an HTTP proxy and am trying to upload a 21Mb WAR file. The Add Content function fails without an error message and see a 502 in my firebug window. On the Proxy I see

[Sat Mar 30 13:36:17 2013] [error] (103)Software caused connection abort: proxy: pass request body failed to <master-node-ip>:9990 (<master-node-ip>)
[Sat Mar 30 13:36:17 2013] [error] proxy: pass request body failed to <master-node-ip>:9990 (<master-node-ip>) from <broadband-ip> ()

Reading around the issue I find there is potentially a 5mb limit on the size of WARs uploaded via the web console. That makes a very easy to use console entirley useless for me - is there any work around?

share|improve this question

1 Answer 1

Set the maxPostSize parameter correctly in your /jboss-dir/conf/server.xml configuration file. You can see more details about that at http://docs.jboss.org/jbossweb/2.1.x/config/http.html.

With that said, if you are able to modify that configuration file then you're probably able to just drop the war into the appropriate directory for hot-deployment.

share|improve this answer
    
Does that apply to 7.1.1? –  Simon Gibbs May 24 '13 at 12:06
    
I believe so, JBoss config does not change all that dramatically. Did you try it? –  Joel E Salas May 24 '13 at 17:54
    
Not yet, but looks to be slightly different docs.jboss.org/jbossweb/7.0.x/config/http.html –  Simon Gibbs May 26 '13 at 19:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.