Reputation: 508
I am trying to create my first web app on Bluemix.
When I try to run application on IBM Bluemix Server, it is recognizing the starter code as another new application and saying "There is a deployed application with the same name."
So, I cannot update the application on eclipse and also there is two different applications are being seen on server view:
When I try to go application homepage it is giving:
Not Found
The application or context root for this request has not been found: /
Thanks for any comments.
Upvotes: 5
Views: 936
Reputation: 508
I just realized that there is a recent update which provides ability to map and unmap Bluemix apps with projects in the workspace. It has come with the fresh version of the Eclipse Bluemix Tools. I solved the issue by mapping my Starter Code and Bluemix Project:
Source: https://developer.ibm.com/bluemix/2015/04/02/updates-ibm-eclipse-tools-bluemix/
Upvotes: 1
Reputation: 4964
I was able to get this to work. I modified the manifest.yml
file a bit to have a unique name and hostname. When you deploy this change the hostname and name to something unique.
applications:
- disk_quota: 1024M
host: e-urlabel-jbs
name: e-urlabel-jbs
path: webStarterApp.war
domain: mybluemix.net
instances: 1
memory: 512M
Note. I changed the domain as my account is in the US instance, but for yours to work change it to eu-gb.mybluemix.net
.
Upvotes: 3
Reputation: 1925
The IBM Eclipse Tools for Bluemix recently added the ability to map and unmap a Bluemix app with a project in your workspace: https://developer.ibm.com/bluemix/2015/04/02/updates-ibm-eclipse-tools-bluemix/
To map a project, right click on an existing application in the Servers view and select Map to Project.
Upvotes: 3