1

I have installed IBM Bluemix tools on Eclipse and created a 'Hello World' JSF and EAR project. While creating I have chosen a Bluemix runtime environment. Now I try to deploy EAR from Eclipse, it successfully deployed and started but when I try to open it I get the following error:

Not Found The application or context root for this request has not been found: [Ljava.lang.Object;@bdb04149

What have I missed? Is there comprehensive tutorial to deploy Java EE web applications on Bluemix available anywhere?

4

2 回答 2

3

您可以在 Bluemix 上部署完整的 EAR 文件,是的。使用 eclipse 工具也使它更容易。此链接包含有关如何执行此操作的步骤https://www.ng.bluemix.net/docs/#manageapps/eclipsetools.html

在页面的下方(您也可以使用左侧的菜单)有关于如何推送 EAR 的步骤。可能需要推送完整的 Liberty 配置文件以更好地控制应用程序行为。此链接包含有关推送 Liberty 应用程序和配置文件本身的更多详细信息https://www.ng.bluemix.net/docs/#starters/liberty/index.html#liberty

于 2014-10-01T08:04:00.840 回答
2

如果您部署了一个 EAR(包含您的 JSF 应用程序),您需要将 Web 模块名称添加到 URL,例如,如果您的项目名为testJSF,您的 URL 将如下所示:

http://testApp.mybluemix.net/testJSF/

当然,如果您的网页没有被调用index.xxx,您还需要添加网页名称,例如:

http://testApp.mybluemix.net/testJSF/textPage.xhtml

或者

http://testApp.mybluemix.net/testJSF/textPage.faces
于 2014-09-11T22:00:56.193 回答