How to determine the VFS path of a deployed application in EAP 6 ?
Issue
- We need to determine the VFS path of a deployed application for use in a administrative script related to the deployed application. The deployed application has a CLI console that is needed for application administrative functions.
- For example, the application test.war file located in
"JBOSS_HOME\standalone\deployments"
is deployed to the VFS tmp directory"JBOSS_HOME\standalone\tmp\vfs\temp\tempcdseb49a62799ydgr\test.war-noifebflfvavdrgws\WEB-INF\bin\ex1.bat"
- In order to run the ex1.bat CLI launcher, the
"vfs\tmp\temp\*"
path needs to be determined as it changes after each application deployment. We do not see any information regarding this from the CLI.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.