【问题标题】:Deploying Spring application to MCF fails with CFI, works with vmc使用 CFI 将 Spring 应用程序部署到 MCF 失败,与 vmc 一起使用
【发布时间】:2012-09-06 09:58:24
【问题描述】:

使用 CloudFoundry Integration for Eclipse(我正在运行 32 位 Eclipse 4.2),当我尝试将任何 Spring 应用程序部署到在 OSX 10.7.4 上的 VMware Fusion 5.0.1 上运行的 MCF 时,我始终收到以下错误:

Communication with server failed: 500 Internal Server Error

当我尝试启动服务时在“服务器”视图中。

在 VMC 中,应用程序是可见的,状态为 STOPPED。如果我尝试使用 VMC 启动它,我会得到 ​​p>

maguro:Desktop darrellberry$ vmc start testserver4
Staging Application 'testserver4': .............................................HTTP exception: RestClient::RequestTimeout:Request Timeout

但是,如果我从 Eclipse 将应用程序导出为 WAR 文件并使用 VMC(而不是从 Eclipse 中)将其推送到 MCF,它会部署并启动而不会出错。

感谢所有帮助!

D

【问题讨论】:

  • 嗨,Darrell,你的问题解决了吗?

标签: eclipse spring deployment cloud-foundry


【解决方案1】:

你能运行这个命令来得到更详细的错误吗:

vmc logs testserver4 [--all]

【讨论】:

    【解决方案2】:

    这看起来像是网络连接问题。检查 Eclipse 安装的网络设置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-07-02
      • 1970-01-01
      • 2011-04-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多