Cloud Foundry Java App Errors – Root Cause Analysis

by March 30, 2012

On the night of March 29, 2012, we upgraded our Tomcat from version 6 to version 7 as part of our normal production upgrade schedule.
Early in the morning of March 30th, we discovered that Java apps that were created or re-pushed were receiving an error.
At 9am PT that morning we identified the specific issue causing the error.  The script was modified in Tomcat 7 to start Tomcat using eval exec instead of exec.  We were setting the CATALINA_OPTS environment variable to include values for -Dhttp.nonProxyHosts that contained a pipe character, which was interpreted by eval as Unix pipe. This affected the application start command, leading to a failure to start the application.

Cloud Foundry Further Improves Support for Ruby Applications

by March 29, 2012

We have recently made many improvements to Cloud Foundry to increase Ruby developer productivity and expand support for Ruby application frameworks.  Cloud Foundry was built to run multiple languages and frameworks, and we have had support for Ruby from day one.
It is well known that VMware developers are the stewards of the incredibly popular Java Spring framework.  Therefore, Cloud Foundry’s support for running Java applications in a platform as a service environment has always been excellent.  However, many users may not realize that most of Cloud Foundry’s system components are built using the Ruby programming language, and providing great support for Ruby applications is also very important to us.

How OpenCredo Launched Three New Products in Seven Months with Cloud Foundry

by March 22, 2012

From the beginning, Cloud Foundry has been about simplifying the development, deployment and operation of cloud applications.  In this second post in a series of guest blogs by application developers, we bring the story of OpenCredo and how Cloud Foundry helped to launch three new products for a major insurance company in just seven months instead of what would typically take years.
Guest blog by Russell Miles, CEO of OpenCredo
OpenCredo is a software professional services company that provides technology training and software delivery for clients who are typically facing interesting IT challenges in launching new products and testing new markets. We employ lean and agile methods to focus on building rapid business value.

Rethink Application Logging with RabbitMQ

by March 20, 2012

Application logging is essential to monitoring applications and diagnosing problems, but in a cloud universe where file systems may be ephemeral and application instances are provisioned dynamically keeping track of your application logs can be a challenge. Fortunately with Cloud Foundry you can get fast, multi-instance, cloud-proof application logging in just a few steps with RabbitMQ In this blog post I’ll show you how to configure a Spring application so that it logs messages via AMQP. But first, what are the benefits? The primary motivations are that it’s fast and it doesn’t rely on the local file system of your application (which can disappear in a cloud environment).

Using Cloud Foundry Services with Ruby: Part 2 – Run-time Support for Ruby Applications

by March 15, 2012

The services offered in Cloud Foundry are necessary for writing any serious application. Our aim is to make it easy to configure and consume these services. In addition to the auto-reconfiguration described in the Using Cloud Foundry Services with Ruby: Part 1 – Auto-reconfiguration blog post we also have support for manual service property lookup as well as library calls to obtain a pre-configured connection object.
Library call to obtain client object
For each supported service type there are corresponding library calls to obtain a pre-configured client object. This makes it easy to use in your code since you don’t have to lookup connection properties, instead you can rely on the library to do the work for you.

Using Cloud Foundry Services with Ruby: Part 1 – Auto-reconfiguration

by March 12, 2012

Right from the launch, Cloud Foundry supported auto-reconfiguration of Spring and Rails apps that use a relational database service.  This allowed deploying such an app without changing a single line of code.  Recently, we extended this support for Spring apps to cover all services (Redis, Mongo, and Rabbit).  We are now extending this support for all services for Rails and making this available for Sinatra apps as well.  In this blog, we will explore how auto-reconfiguration works with Rails and Sinatra applications.
Auto-reconfiguration in action
To demonstrate auto-reconfiguration, we will grab an application from github and deploy it to Cloud Foundry without modification.  Let’s use lamernews, a Sinatra app that uses Redis.

FeedHenry Brings Mobile App Development to Cloud Foundry

by March 6, 2012

Mobile application developers can now build and deploy applications on Cloud Foundry using the FeedHenry developer platform. This guest post provides another example from the ecosystem of ISVs hosting their applications on Cloud Foundry.
Guest blog post by Mícheál Ó Foghlú.
Available today at, Cloud Foundry developers can build mobile apps using HTML5, JavaScript and CSS fully integrated and instantly staged to their account. To get started, simply download the FeedHenry Command Line tool, using your existing credentials. New subscribers to can join using the promotion code “feedhenry“.