【发布时间】:2015-04-24 11:46:49
【问题描述】:
我正在尝试在 Bluemix 上创建我的第一个 Web 应用程序。
- 我创建了一个 Java Liberty Runtime 并将 Starter Code 下载到 在 Eclipse 上工作。
- 我将 IBM Bluemix 工具安装到 Eclipse 和 将入门代码作为存档文件导入。
当我尝试在 IBM Bluemix Server 上运行应用程序时,它会将启动代码识别为另一个新应用程序并显示 "There is a deployed application with the same name." 所以,我无法在 eclipse 上更新应用程序,并且在服务器上看到了两个不同的应用程序观点:
当我尝试访问应用程序主页时,它给出了:
Not Found
The application or context root for this request has not been found: /
感谢任何cmets。
【问题讨论】:
-
你能分享你的
manifest.yml文件吗? -
您能否说明在将项目导入 Eclipse 之前是否最初将代码部署到 Bluemix?根据您的服务器视图,看起来您已经在 Bluemix 中运行了一个实例。当您发布应用程序时,它不会将工作区中的应用程序识别为 Bluemix 中的同一应用程序。
-
Manifest.yml:
applications: - disk_quota: 1024M host: e-urlabel name: e-urlabel path: webStarterApp.war domain: eu-gb.mybluemix.net instances: 1 memory: 512M -
@samet 您的清单文件看起来不错,您的应用程序的目录结构是什么?听起来您的 WEB-INF.xml 不知道您的应用程序的根在哪里?
-
@JeffSloyer 你的意思是 ibm-web-ext.xml 吗?
标签: eclipse deployment ibm-cloud devops ibm-cloud-tools