Здравствуйте, в силу некоторых обстоятельств перешел с Tomcat на JBoss AS 7.
Подскажите пожалуйста где почитать, что сделать и возможно ли это.
автоматическая рекомпиляция стоит по умолчанию, когда меняю класс, jsp - ок, больше не пробовал. Хотя в Tomcat после изменения jsp redeploy не требовался.
Как настроить автоматический redeploy после изменения конфигурационных файлов?
И следующее чего не пойму.
При остановке сервера и повторном запуске получаю.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
08:42:47,666 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final
08:42:48,213 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final
08:42:48,349 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015899: WildFly 8.1.0.Final "Kenny" starting
08:42:50,073 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found admin.war in deployment directory. To trigger deployment create a file called admin.war.do
deploy
08:42:50,074 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found client.war in deployment directory. To trigger deployment create a file called client.war.
dodeploy
08:42:50,094 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found admin.war in deployment directory. To trigger deployment create a file called admin.war.do
deploy
08:42:50,095 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found client.war in deployment directory. To trigger deployment create a file called client.war.
dodeploy
08:42:50,106 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 6) JBAS014613: Operation ("add") failed - address: ([("deployment" => "admin.war")]) - failure descripti
on: "JBAS014803: Duplicate resource [(\"deployment\" => \"admin.war\")]"
08:42:50,109 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "JBAS014784: Failed executing subsystem deployment-scanner boot operations"
08:42:50,114 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("parallel-subsystem-boot") failed - address: ([]) - failure description: "\"JBAS014784
: Failed executing subsystem deployment-scanner boot operations\""
08:42:50,134 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
08:42:50,159 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015950: WildFly 8.1.0.Final "Kenny" stopped in 15ms
ну да, и конечно же это лечится удалением соответствующих файлов из wildfly-8.1.0.Final\standalone\deployments. Почему сервер это не делает автоматически? Как настроить?
Спасибо!