Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lucianmachado/f8fc956c53c07e516823b37e4d8a4182 to your computer and use it in GitHub Desktop.
Save lucianmachado/f8fc956c53c07e516823b37e4d8a4182 to your computer and use it in GitHub Desktop.
Wildfly administration tips

#Wildfly Toolbelt

Deploy Related

Find domain deployments in filesystem

Basically, you need to open domain.xml under WILDFLY_HOME/domain/configuration and find the <deployments> session. In that session, each deployment contain a <content> tag. The attribute sha1 contains details where the file is storaged on the filesystem. EG:

<deployments>
   <deployment name="test-application.war"
               runtime-name="test-application.war">
       <content sha1="dda9881fa7811b22f1424b4c5acccb13c71202bd"/>
   </deployment>
</deployments>

The file test-application.war is storaged in the folder dd (the first 2 chars) under the folder a9881fa7811b22f1424b4c5acccb13c71202bd (same hash, without the 2 first chars) on the content file. Like above:

ls $WILDFLY_HOME/domain/data/content
...
  |---/dd
  |-----a9881fa7811b22f1424b4c5acccb13c71202bd

More in: https://docs.jboss.org/author/display/WFLY8/Application+deployment#Applicationdeployment-ContentRepository

ModCluster Related

Session Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment