Search code examples
ibm-cloudibm-cloud-plugin

application deployment in bluemix


For some reason suddenly I am unable to deploy my current application in bluemix server, every time I deploy it fails with following error

Error: Invalid application deployment information for: econfig-poc-backend-adapter - Unable to deploy or start application - Missing application deployment information.. Please delete the module and re-deploy the application.

Same application I am able to deploy form Command line interface using CF tools, but there the new war is not regenerated, I am not sure what is missing in the environment. Will appreciate any help in this regard.


Solution

  • To fix your Eclipse, delete the application from the Servers window under Bluemix and deploy it again.

    cf push is a tool to push artifacts to Bluemix. It will not build your java files.

    To push your application manually (Eclipse not involved), you have to build the war first, and then push the war. If its an ant based project (build.xml) you will need to run ant. If its maven (pom.xml), you will need to run mvn package. Then, you push the generated war file cf push appname -p path/to/file.war

    You can also have Eclipse generate the war for you. Right click on your project in Eclipse and find the option to Export a war file. You can then push this war file using the command above.