Book Image

OpenShift Cookbook

By : Shekhar Gulati
Book Image

OpenShift Cookbook

By: Shekhar Gulati

Overview of this book

Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Running OpenShift on a Virtual Machine
Index

Debugging Java applications in the Cloud


In this recipe, you will learn how to debug Java applications running on OpenShift.

Getting ready

This recipe requires you to have Eclipse with the JBoss Tools OpenShift plugin installed. Please refer to the Developing OpenShift Java applications using Eclipse recipe for more information.

How to do it…

Perform the following steps to learn how to debug your Java applications:

  1. In the Developing OpenShift Java applications using Eclipse recipe, you learned how to create a Java application using the Eclipse plugin. The application that we developed used the OpenShift template application as its starting point. As you might know, in the rhc command line, you can use the --from-code option to specify your own template application. Let's create a new Java application using Eclipse that uses the application we created in the Creating and deploying Java EE 6 applications using the JBoss EAP and PostgreSQL 9.2 cartridges recipe using Eclipse. Create a new OpenShift...