quinta-feira, 13 de março de 2014

Aumentando tempo de deploy do JBoss

Para aumentar o tempo de deploy da aplicação e evitar o erro:

ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.

Basta aumentar o tempo de "scan-interval", na tag abaixo dentro do arquivo "standalone.xml". Caso essa propriedade não exista, a mesma pode ser criada:

<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
<deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="10000"
deployment-timeout="10000"/>
</subsystem>

Nenhum comentário:

Postar um comentário