Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2287

DeploymentScanner failure during reconfiguring using embed-server

XMLWordPrintable

      Running a JBoss CLI script with embed-server led to DeploymentScanner (intermittent) failure:

      2017-02-10 21:16:00,591 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0012: Scan of /home/kwart/projects/wildfly/wildfly/testsuite/integration/smoke/target/jbossas/standalone/deployments threw Exception: java.lang.IllegalStateException
      	at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
      	at org.jboss.as.controller.access.management.ManagementSecurityIdentitySupplier.get(ManagementSecurityIdentitySupplier.java:59)
      	at org.jboss.as.controller.access.management.ManagementSecurityIdentitySupplier.get(ManagementSecurityIdentitySupplier.java:39)
      	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:223)
      	at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:711)
      	at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:701)
      	at org.jboss.as.server.deployment.scanner.DefaultDeploymentOperations$ControllerClient$1.lambda$execute$0(DefaultDeploymentOperations.java:158)
      	at org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:85)
      	at org.jboss.as.server.deployment.scanner.DefaultDeploymentOperations$ControllerClient$1.execute(DefaultDeploymentOperations.java:158)
      	at org.jboss.as.server.deployment.scanner.DefaultDeploymentOperations.execute(DefaultDeploymentOperations.java:137)
      	at org.jboss.as.server.deployment.scanner.DefaultDeploymentOperations.getDeploymentsStatus(DefaultDeploymentOperations.java:81)
      	at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScanContext.<init>(FileSystemDeploymentService.java:1685)
      	at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScanContext.<init>(FileSystemDeploymentService.java:1634)
      	at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.forcedUndeployScan(FileSystemDeploymentService.java:519)
      	at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployScanRunnable.run(FileSystemDeploymentService.java:770)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	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)
      

      Background:
      We use enable-elytron.cli script to reconfigure server profiles (default and full) in the testsuite to run with Elytron provided security.

              bstansbe@redhat.com Brian Stansberry
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: