我如何在关键的云代工厂上部署hybris示例cuppy项目,我能够在本地运行它并希望在PCF上部署cuppy项目。当我试图通过STS云代工插件推动cuppy时,我正面临着这个问题。
错误:无法找到或加载主类de.hybris.platform.cuppy.data.BetGenerator
实例(索引0)无法开始接受连接
使用guid 3051204e-5b2a-4a21-ad47-f948b3c822f6有效负载退出应用实例:{" cc_partition" =>"默认"," droplet" => ;" 3051204e-5b2a-4a21-ad47-f948b3c822f6","版本" =>" 85812d42-c45b-4358-895a-1baea34a737e","实例" =>" 3c85bf944f1d48cba54fe9ff314dc737","索引" => 0,"原因" =>" CRASHED",& #34; exit_status" => 1," exit_description" =>"未能接受运行状况检查超时内的连接"," crash_timestamp" => 1429885131}
答案 0 :(得分:0)
您是否绑定了应用程序以启动Cloud Foundry为您提供的端口?您可以从名为VCAP_APP_PORT
的环境变量中获取主机名。