I am writing a small application to automate deployment. Basically, it periodically checks the FTP server for a new .ear file. Compares the checksum of the remote ftp file with what is currently deployed. If there is a new ftp file, you can get it and deploy it ...
Then I checked if the application was installed successfully. At the moment, I am sending an HTTP request to the main landing page of the application, and then checking the http return code for a successful deployment. However, I do not think this is the best way to verify a successful deployment, as server components may not deploy.
Is there a way to access some JBoss API to get a list of deployed applications? Or if someone has other ideas?
Thanks in advance...
source share