-
1. Re: JBoss cannot find deployed content even though it exists in the filesystem
jaikiran Jul 9, 2013 1:45 AM (in response to kclair-rei)Which exact version of the server is this? How did you add/deploy the content and when do you see this exception? What does the deployments section look like in the relevant standalone/domain configuration file.
-
2. Re: JBoss cannot find deployed content even though it exists in the filesystem
wdfink Jul 9, 2013 2:12 AM (in response to kclair-rei)Do you use the domain mode? If yes there are several places for the content, for domain admin, host admin and each server.
If there are manual changes this error might be happen.
-
3. Re: JBoss cannot find deployed content even though it exists in the filesystem
kclair-rei Jul 9, 2013 12:06 PM (in response to jaikiran)We are using EAP 6.1.0 running in domain mode. We deployed the content using the native management java API [1] version 7.1.2Final. This method of deploying content has been working for us oherwise, it is just this one deploy that has been failing in this way.
The deployments section of domain.xml on the domain controller looks like this:
<deployments> <deployment name="app-group-1-online-web.war" runtime-name="app-group-1-online-web.war"> <content sha1="42c8cd4ec3f01732a8506fe2a1532af16d003b29"/> </deployment> </deployments> <server-groups> <server-group name="app-group-1" profile="ha-0"> ... <deployments> <deployment name="app-group-1-online-web.war" runtime-name="app-group-1-online-web.war"/> </server-group> </server-groups>
https://docs.jboss.org/author/display/AS71/The+native+management+API
-
4. Re: JBoss cannot find deployed content even though it exists in the filesystem
kclair-rei Jul 9, 2013 3:57 PM (in response to wdfink)Yes, we are using domain mode. As far as I can tell, the content is being added to /usr/share/jbossas/domain/data/content/ on the domain controller and host controllers. The ls results I pasted in my original posts were from the host controller.
-
5. Re: JBoss cannot find deployed content even though it exists in the filesystem
meriamjabl May 5, 2014 2:10 AM (in response to kclair-rei)Hi,
In order to fix this problem you need to go to standalone.xml (or domain.xml ) and remove the missing deployment. In fact while starting JBoss find an deployment entry in standalone.xml but not the war in /deployments.
For more details see this link: http://mariemjabloun.blogspot.com/2014/05/resolve-jboss-startup-failure-due-to.html
Remove :
<deployment name="app-group-1-online-web.war" runtime-name="app-group-1-online-web.war"> <content sha1="dcb4683c68f8ef7f07383bc7e0e0d3f039632c5f"/> </deployment>
-
6. Re: JBoss cannot find deployed content even though it exists in the filesystem
anchalsachdev Apr 11, 2017 7:05 AM (in response to kclair-rei)I am facing the same issue. I have my Wildfly 10 server installed on Linux and I am using it in standalone mode. All the data in Wildfly-source-folder/standalone/data/content is getting deleted when I restart the server and the above exception is thrown. It works when I remove the entry for the war file in standalone.xml and start the server. But this cannot be a permanent solution right. How do I manage this situation in Production environment.