...
No domain.xml, disponível em: <Diretório Fluig>\appserver\domain\configuration:
- Pool de threads para ser usado pelo Wildflypara servir o conteúdo estático e dinâmico. Adicione dentro da tag "<subsystem xmlns="urn:jboss:domain:threads:1.1">" (linha 737, aproximadamente)
Bloco de código |
---|
|
<bounded-queue-thread-pool name="http-pool">
<core-threads count="100"/>
<queue-length count="20"/>
<max-threads count="300"/>
<keepalive-time time="15" unit="seconds"/>
</bounded-queue-thread-pool> |
- Configurações relacionadas ao JMS para não persistir as mensagens em disco.
Bloco de código |
---|
|
<persistence-enabled>false</persistence-enabled> |
- Alterado configurações do conector web para usar NIO e pool de threads. Substituir a linha 751 (aproximadamente):
Bloco de código |
---|
|
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/> |
Por esta linha:
Bloco de código |
---|
|
<connector name="http" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="http" socket-binding="http" executor="http-pool"/> |
- No domain.bat, disponível em: <Diretório Fluig>\appserver\bin, remover o trecho abaixo:
Nota |
---|
|
A alteração no arquivo domain.bat é aplicável somente em instalações em servidor Windows |
Bloco de código |
---|
|
if not "%PRESERVE_JAVA_OPTS%" == "true" (
rem Add tiered compilation, if supported (64 bit VM), and not overriden
echo "%JAVA_OPTS%" | findstr /I "\-XX:\-TieredCompilation \-client" > nul
if errorlevel == 1 (
"%JAVA%" -XX:+TieredCompilation -version > nul 2>&1
if not errorlevel == 1 (
set "JAVA_OPTS=-XX:+TieredCompilation %JAVA_OPTS%"
)
)
) |