Tomcat Deployments Are Here for 12.04 and 14.04
We’ve been trying to get our Java developer story in order, as it’s one of the areas where users have been telling us they’d like to see made easier to manage. We brought Matthew Bruzek on board, who will be focusing on our Java framework stuff.
Here’s his first cut, and it’s a big one. We now finally have an all emcompassing Apache Tomcat Charm. This charm allows you to develop your app on top of it as a subordinate charm and be able to deploy it. As an example, let’s deploy OpenMRS.
juju deploy tomcat7 juju deploy openmrs juju deploy mysql juju add-relation openmrs mysql juju add-relation openmrs tomcat7 juju expose tomcat7
The magic happens when you relate openmrs to tomcat7, that installs OpenMRS in Tomcat, and then you’re good to go.
The charm contains a ton of options for you to check out, including deploying to Tomcat6 if that’s how you roll.
That one is not in the charm store yet, but we’ll get to it!