Shighil
Shighil

Reputation: 39

JBoss change the deployment marker file location

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.

Upvotes: 0

Views: 351

Answers (2)

queeg
queeg

Reputation: 9440

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?

Upvotes: 1

ehsavoie
ehsavoie

Reputation: 3527

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).

Upvotes: 1

Related Questions