What's New

Liberty buildpack v1.19 – enhanced app management support

Share this post:

We just pushed out a new version of the Liberty for Java buildpack in Bluemix, version v1.19!

The major enhancement in this release is the application management support. At the beginning of the year, we introduced development mode, which enabled users to do remote debugging and incremental update against their Liberty applications in Bluemix. Later on we delivered similar support for Node.js applications including nice web dev console for managing the application “in-place” (without restarting the application container) and direct shell access into the application container. We are adding equivalent support for Liberty applications in this new version.

Enabling app management

Previously users can set the ENABLE_BLUEMIX_DEV_MODE environment variable to true to turn on the development mode and get all the above fancy utilities together. To give users more control, we are deprecating that environment variable and introducing a new one called BLUEMIX_APP_MGMT_ENABLE to extend from development mode to general application management. It can have one or more of the values below:

  • proxy
  • devconsole
  • shell
  • debug
  • jmx

Refer to the App Management Utilities Overview in our previous blog on Node.js buildpack v2 to find more details on the common utilities like proxy, devcconsole and shell utilities.

The Liberty-specific debug utility (also turns on the proxy utility) turns the Liberty application into debug mode and allows a remote debug client like the IBM Eclipse Tools for Bluemix to do remote debugging with the application. The jmx utility (does not turn on the proxy utility) enables the JMX REST Connector to allow a remote JMX client to manage the application using Bluemix user credentials.

Accessing the dev console and shell

With this new environment variable, you can do cf set-env <your-app> BLUEMIX_APP_MGMT_ENABLE devconsole+shell and then cf restart <your_app> to enable the dev console and the shell access. You can use your browser to visit https://<your-app-url>/bluemix-debug/manage to get the dev console, and visit https://<your-app-url>/bluemix-debug/shell to get the shell. See the screenshots below:

console
shell

As an important reminder, these application management utilities only work for singe-instance applications and are meant for development-time usage. You should disable them for production applications by unsetting the BLUEMIX_APP_MGMT_ENABLE environment variable. They will still get installed (but not running) by default. If you want to completely remove them, you can set BLUEMIX_APP_MGMT_INSTALL to false and do a restage or repush.

Enjoy!

Add Comment
No Comments

Leave a Reply

Your email address will not be published.Required fields are marked *

More What's New Stories

Ransomware’s Protection Winner, Zerto, on IBM Cloud for VMware Solutions

Zerto, IBM Cloud for VMware Solutions’ Disaster Recovery solution, has won the prestigious award of being the Ransomware Protection Company of Year at the 2017 Storage Awards!

Continue reading

IBM Container Service Makes Docker Production-Ready

Recent offerings in the container space sparked a lot of buzz about Docker, Kubernetes, and ISTIO. Where does IBM stand in all of this? Let’s take a closer look… IBM Bluemix Container Service builds on open source technology to provide production-ready security, life-long node management, and accelerated innovation for multi-container apps. You can move enterprise-grade […]

Continue reading

Veeam Integration and Availability on Cloud Foundation

IBM Cloud for VMware Solutions has added Veeam® Availability Suite™ to its growing solutions and services portfolio. Yes, you heard it right!! Users can now backup and replicate their VMware workloads running on VMware Cloud Foundation and vCenter Server environments running in IBM Cloud. VMware Cloud Foundation is the market-leading VMware hyper converged solution which automates deployment and lifecycle management of a fully validated VMware stack (compute, network & storage). IBM Cloud automates the deployment process which reduces the time from months to hours and drastically simplifies the path to hybrid cloud.

Continue reading