By default, JBoss creates abc.war.deployed marker file for a deployed war file abc.war in deployment directory on successful deployment.
Is it possible to change this? I mean just the marker file location. I think entire deployment directory can be changed. But I would like to change just the marker file location.
I am using JBoss 7.
CodePudding user response:
You can't change that as each marker file has a sense for the deployment scanner. One way to avoid that is not to deploy using the deployment scanner but using the management API (via jboss-cli deploy command or HAL).
CodePudding user response:
The Wildfly Deployment Scanner (which very likely is being used verbatim in JBoss) does not provide configuration to change or avoid the deployment marker files.
https://docs.wildfly.org/26.1/Admin_Guide.html#Deployment_Scanner
But what you definitely can do is to disable the JBoss deployment scanner, then tell the JBoss microkernel to use a subsystem that you provide: Your own, tweaked version of the deployment scanner. It will have all the features that you implement.
BTW, why do you want to get rid of the marker files?