choreos / choreos_middleware

CHOReOS will implement service middleware support, effectively enabling the deployment of adaptable, QoS-aware choreographies in the ULS Future Internet, integrating and further evolving the latest research advances in the area of Grid and Cloud computing, Enterprise Service Bus (ESB), and pervasive computing. Service-oriented middleware enables adaptable choreographies over ESB-based middleware, Grids, Clouds, and technologies for the Internet of Things, thus overcoming scalability and heterogeneity issues of the Future Internet.
http://www.choreos.fr
Mozilla Public License 2.0
9 stars 6 forks source link

Use Tomcat deployment API #85

Open leonardofl opened 11 years ago

leonardofl commented 11 years ago

Rather than dropping WAR packages on webapp directory, it would be much better use some API to deploy services on Tomcat. In this way, it would be possible to detect failed deployments.

The following link provides hints about how to do this: http://stackoverflow.com/questions/3265690/how-can-i-deploy-web-app-on-tomcat-from-running-app (the problem is that it would be easier in Java, but the deploying code is in a Chef recipe, that is in Ruby).

leonardofl commented 11 years ago

Maybe some hint about calling the API from Ruby here (ctrl+f curl): http://comments.gmane.org/gmane.comp.sysutils.chef.user/617