Jboss 7.2 Alpha - threads problem
colective Apr 25, 2013 11:08 AMHi,
I'm trying to start Jboss 7.2 with threads configured but i receive error:
16:49:27,000 WARN [org.jboss.as.threads] (Controller Boot Thread) JBAS012400: The 'per-cpu' attribute is no longer supported. The value [10.000000] of the 'count' attribute is being combined with the value [20.000000] of the 'per-cpu' attribute and the current processor count [1] to derive a new value of [30] for 'count'.
16:49:27,012 WARN [org.jboss.as.threads] (Controller Boot Thread) JBAS012400: The 'per-cpu' attribute is no longer supported. The value [10.000000] of the 'count' attribute is being combined with the value [20.000000] of the 'per-cpu' attribute and the current processor count [1] to derive a new value of [30] for 'count'.
and
Message: JBAS014788: Unexpected attribute 'blocking' encountered
i dont know what changed from version 7.0 and 7.1 but apparently something did
can you please help me what should i use instead
now, my standalone.xml looks like this:
<subsystem xmlns="urn:jboss:domain:threads:1.0"> |
<bounded-queue-thread-pool name="http-executor"
blocking="true">
<core-threads count="10" per-cpu="20" />
<queue-length count="10" per-cpu="20" />
<max-threads count="10" per-cpu="20" />
<keepalive-time time="10" unit="seconds" />
</bounded-queue-thread-pool>
</subsystem>
and my web subsystem:
<subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false"> | |
<connector enable-lookups="false" enabled="true" | |
executor="http-executor" | |
max-connections="200" | |
max-post-size="2048" max-save-post-size="4096" | |
name="http" protocol="HTTP/1.1" | |
proxy-name="proxy" proxy-port="81" | |
scheme="http" secure="false" socket-binding="http" /> |
basically it is a copy from: http://www.mastertheboss.com/jboss-performance/jboss-as-7-performance-tuning/page-4
thanks in advance
Tomislav