Skip to content

Instantly share code, notes, and snippets.

@sebastianwebber
Last active May 11, 2016 04:46
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sebastianwebber/95a75d860c3e8586eb1e to your computer and use it in GitHub Desktop.
Save sebastianwebber/95a75d860c3e8586eb1e 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