To deploy a simple Elastic COBOL application to Cloud Foundry, no special services are needed. The only trick is to package your license file along with the application files into the executable jar.
- Create a COBOL project in Eclipse
- Export project using Elastic COBOL Deploy Wizard. Make sure to specify the location of your license file as it will be packaged along with the rest of your app:
- Specify the main class to execute on next panel
- Create Pivotal Web Services account at run.pivotal.io logon do the dashboard and create an org to deploy to (ex. heirloom)
- Download a cf CLI tool, and connect to the develoopment space of your account
cf login -a api.run.pivotal.io
- Push application to CF
cf push heirloom -p heirloomcf.jar
- Check Logs
cf logs heirloom
- Here's the view from web console
0 Comments