I have a manifest.yml for a sample java application. It includes the database service in it: applications: - name: redbooklibrary memory: 512M path: RedbookLibrary.war host: redbook-library-rew-eclipse3 buildpack: liberty-for-java services: - library_db
I have library_db already created in Bluemix (SQLDB). When I push this application through the command line, the SQLDB library_db service is automatically bound and the application works fine.
When I deploy the same application through Eclipse, I have to go through the whole deployment wizard, and manually check the library_db service. I can change the host name in the manifest, and the wizard is picking up the new name, so it is finding the manifest. However, if I deploy without manually selecting library_db, the service is not bound. So, it looks like it ignores the services section of the manifest. If I select the service manually, the application binds and works just fine.
I there something else I need to do to get Eclipse->Bluemix to recognize the services section of the manifest?