-
1. Re: Pre-deployment validation in EAP 6.2.4
jaysensharma Nov 18, 2015 10:28 AM (in response to puneetnay)No, unfortunately out of the box i do not see any such option which can be used to validate the Application specific deployment descriptors or application specific config files before the application deployment begins. This is because until unless the application components are initialized some descriptors can not be validated.
However JBoss provides "--admin-only" flag which can be used to validate the JBoss Speficic configuration. It set the server's running type to ADMIN_ONLY causing it to open administrative interfaces and accept management requests but not start other runtime services or accept end user requests. (however it can not fulfill your requirement)
Example:
$ ./standalone.sh --admin-only
-
2. Re: Pre-deployment validation in EAP 6.2.4
ctomc Nov 18, 2015 10:55 AM (in response to puneetnay)You would need to write your own subsystem which can access every part of your application as part of deployment chain.
you can see example guide how to write your own extensions (subsystems) here
Extending WildFly 8 - WildFly 8 - Project Documentation Editor
you would need to register your own DeploymentUnitProcessor which can than do whatever you want.