0 Replies Latest reply on Nov 13, 2005 2:25 AM by Wei Xu

    setting web server socket listening thread pool size

    Wei Xu Newbie

      Hi, all,

      I am trying to adjust the web server socket listening thread pool size online. I assume that it is maxThreads attribute in jboss.web:Jetty=0,SocketListener=0 MBean.

      However, after I hit Apply Changes, I get
      HTTP ERROR: 500 Failed to update attributes
      RequestURI=/jmx-console/HtmlAdaptor

      and in the log, I get
      23:22:17,212 WARN [jbossweb] WARNING:
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      ..... (and a lot of traces)

      I tried this in version 3.2.1, and in version 4.0.3, I got similar errors. I am new to Jboss. Could someone tell me how to dynamically change this attribute?

      Thanks,
      Wei