I was deploy geoserver.war using WildFly, it can be deploy but the unzip file will be shown at TMP folder. Is there any way to change the path and make it unzip to "deployments" file?
If that you need is to change the data directory, you can configure this using this post.
On this section of the documentation of GeoServer, explained how to configure the data directory using another folder of your file system, you can establish the directory that you want to use.
If you deploy using standalone (my case), you cant add the JAVA_OPTS parameter on the file $WILDFLY_INSTALL/bin/standalone.conf.