-
1. Re: maxParameterCount in EAP 6.1.0
ctomc Apr 1, 2013 12:36 PM (in response to ohmygod)Mike,
see docs about custom system properites to configure jbossweb
http://docs.jboss.org/jbossweb/7.0.x/sysprops.html
it think what you are looking for is
org.apache.tomcat.util.http.Parameters.MAX_COUNT
--
tomaz
-
2. Re: maxParameterCount in EAP 6.1.0
ohmygod Apr 1, 2013 9:54 PM (in response to ctomc)Thanks Tomaz, I read this, but could you please show me how to set the parameter into JBoss configuration for my application?
-
3. Re: maxParameterCount in EAP 6.1.0
jaikiran Apr 2, 2013 6:13 AM (in response to ohmygod)mike just wrote:
but could you please show me how to set the parameter into JBoss configuration for my application?
At the top of the page which Tomaz pointed to, there's an example on how to set the system properties. That's one of the ways.
-
4. Re: maxParameterCount in EAP 6.1.0
ohmygod Apr 2, 2013 6:16 AM (in response to jaikiran)Hi Jaikiran, do you mean this one?
standalone@localhost:9999 /] ./system-property=org.apache.catalina.JSESSIONID:add(value="MYID") {"outcome" => "success"} standalone@localhost:9999 /] :shutdown Communication error: Channel closed Closed connection to localhost:9999
I am sorry I am not able to understand this configuration. Can you show me a little more clearly? Or can this setting be put in the standalone.xml? I am a bit dull on the command.
-
5. Re: maxParameterCount in EAP 6.1.0
ohmygod Apr 2, 2013 7:02 AM (in response to ohmygod)Hi Jaikiran, I have added the MAX_COUNT parameter and restarted the server. And I can find related property in standalone.xml. But it seems still not working. The same error reproduces when doing the same behaviour.
<system-properties> <property name="org.apache.tomcat.util.http.Parameters" value="MAX_COUNT"/> </system-properties>
Any idea about this?
-
6. Re: maxParameterCount in EAP 6.1.0
jaikiran Apr 2, 2013 7:10 AM (in response to ohmygod)You added it wrong. It should have been this:
[standalone@localhost:9999 /] /system-property=
org.apache.tomcat.util.http.Parameters.MAX_COUNT
:add(value="1234")
where 1234 is the value you want to set for the
org.apache.tomcat.util.http.Parameters.MAX_COUNT parameter.
That command is the CLI way for invoking the management operation which adds system properties, which is of the following syntax:
/system-property=<name of the system property>:add(value="<the value you want to add>")
"add" is the name of the operation an /system-property is the address of the management resource.
-
7. Re: maxParameterCount in EAP 6.1.0
ohmygod Apr 2, 2013 7:22 AM (in response to jaikiran)OMG, that is my fault. I modified it and made the value "-1" and now it works. Thanks so much.
BTW, could "-1" bring any side-effect to the server performance?
-
8. Re: maxParameterCount in EAP 6.1.0
yuvraj.patel Nov 18, 2014 9:25 AM (in response to ohmygod)Hi All,
Was there anything similar in Jboss 5? I want to know how it works in previous Jboss versions.
Thanks
Yuvraj