Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9709

osgi deployments fails

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 3.3.0.M4
    • 3.3.0.M3
    • server
    • None

      while testing JBIDE-9206:

      Deployment works for war deployments, but fails for OSGI deployments

      temporary dir gets created

      This is what server says:

      16:40:06,375 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "testnull"
      16:40:06,375 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit.testnull.STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit.testnull.STRUCTURE: Failed to process phase STRUCTURE of deployment "testnull"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
      at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
      at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content
      at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:82)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
      ... 5 more
      Caused by: java.io.IOException: Could not create directory for original name 'testnull' after 10 attempts
      at org.jboss.vfs.TempFileProvider.createTempDir(TempFileProvider.java:103)
      at org.jboss.vfs.VFS.mountZip(VFS.java:406)
      at org.jboss.vfs.VFS.mountZip(VFS.java:434)
      at org.jboss.as.server.deployment.repository.impl.ServerDeploymentRepositoryImpl.mountDeploymentContent(ServerDeploymentRepositoryImpl.java:75)
      at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:78)
      ... 6 more

      16:40:06,377 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "testnull" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.testnull.STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.testnull.STRUCTURE: Failed to process phase STRUCTURE of deployment \"testnull\""}}
      16:40:06,378 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment testnull in 0ms
      16:40:06,379 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" =>

      {"jboss.deployment.unit.testnull.STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.testnull.STRUCTURE: Failed to process phase STRUCTURE of deployment \"testnull\""}

      }}}

              vpakan Vlado Pakan (Inactive)
              vpakan Vlado Pakan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: