Installing Apache Roller using a Virtual Application Pattern, Part 2: Updating the application
JayAllen 120000G6WH Comments (2) Visits (3859)
We were able to get Roller up and running as a Virtual Application Pattern (VAP) pretty quickly. We’ve played around with it some and decided that we really don’t like the calendar that comes with the default Roller theme, it reminds us of how old we’re getting. We want to remove it from the default blog theme. Do we have to trash the entire instance and reinstall? Of course not, we’ll just make the simple theme update and redeploy the EAR. This entry will take you through the simple steps to do that.
First we’ll want to get rid of the nasty calendar. There are many ways to update an EAR or WAR file but we prefer to just open them with 7-Zip and edit files directly. Find the file roll
Update the EAR
From the IBM SmartCloud Control panel->Service Instances tab click Manage Service instance. Login to IBM SmartCloud Application Workload Services with the ID and password you set up when you created the service instance.
Select the Roller VAP instance and click Manage from the upper right menu. Select the Operation tab and then find your Roller WebSphere instance, Roll
Click Submit and wait for the update to complete. When it's complete, you'll see a operation execution result like:
That's it, Roller is updated and ready to roll (couldn't resist).
We should mention that another way to install Roller would have been to separate the database and application into separate VAPs:
For an excellent summary of how to create reusable database components as a VAP see designing and deploying a reusable database pattern .
CJ, Arun, and Jay