[
https://issues.jboss.org/browse/WFLY-6329?page=com.atlassian.jira.plugin....
]
Brian Stansberry updated WFLY-6329:
-----------------------------------
Component/s: (was: Server)
Deployment scanner logs ERROR when server is shutting down
----------------------------------------------------------
Key: WFLY-6329
URL:
https://issues.jboss.org/browse/WFLY-6329
Project: WildFly
Issue Type: Bug
Affects Versions: 2.1.0.CR1
Reporter: Ondřej Chaloupka
Assignee: ehsavoie Hugonnet
It happens time to time that deployment scanner can throw and log error [1] when server
is shutting down.
It's in case of clean startup and clean shutdown when error messages should not be
shown. I can hit it when unbounding a datasource takes a bit longer and scan of deployment
scanner hits that time.
[1]
{code}
ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1)
WFLYDS0012: Scan of
/mnt/hudson_workspace/workspace/eap-70-jbossts-crashrec-tests-mssql2014/90fac01f/eap-tests-transactions/jbossts/target/jbossas-jbossts/standalone/deployments
threw Exception: java.lang.RuntimeException: WFLYDS0036: Deployment model operation
failed. WFLYCTL0271: Operation cancelled
at
org.jboss.as.server.deployment.scanner.DefaultDeploymentOperations.getDeploymentsStatus(DefaultDeploymentOperations.java:83)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScanContext.<init>(FileSystemDeploymentService.java:1614)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScanContext.<init>(FileSystemDeploymentService.java:1563)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:568)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:489)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:250)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)