6 Replies Latest reply on Apr 11, 2017 7:05 AM by anchalsachdev

    JBoss cannot find deployed content even though it exists in the filesystem




      We encountered this error on one of our recent deploys:


      16:19:52,221 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("deployment" => "app-group-1-

      online-web.war")]) - failure description: "JBAS018717: No deployment content with hash 42c8cd4ec3f01732a8506fe2a1532af16d003b29 is available in the deployment content repository for deployment '

      app-group-1-online-web.war'. This is a fatal boot error. To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it f

      rom the configuration, or remove the deployment from the xml configuration file and restart."


      However, this file exists in the filesystem with the correct permissions:


      ls -l /usr/share/jbossas/domain/data/content/

      drwxr-xr-x. 3 jboss jboss 4096 Jul  8 16:19 42


      ls -l /usr/share/jbossas/domain/data/content/42/

      drwxr-xr-x. 2 jboss jboss 4096 Jul  8 16:19 c8cd4ec3f01732a8506fe2a1532af16d003b29


      ls -l /usr/share/jbossas/domain/data/content/42/c8cd4ec3f01732a8506fe2a1532af16d003b29/

      -rw-r--r--. 1 jboss jboss 66155520 Jul  8 16:19 content


      I am also able to list the contents of the zipped file with no problem when logged in as the jboss user, so I know the zip file is not corrupt.


      I also checked the auditlog, and it does not seem to be an selinux issue.


      We are not having any issues with any other deployment content, just this specific content.


      Is there somewhere else that JBoss is looking to confirm the existence of the content??


      Thanks for any thoughts.