- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试通过以下方式将 liferay-buildpack 部署到 Bluemix:
git clone https://github.com/shinji62/liferay-buildpack <br/>
cd liferay-buildpack <br/>
cf api https://api.ng.bluemix.net <br/>
cf login <br/>
Email> xxxxxxx <br/>
Password> xxxxxx <br/>
cf push liferaytest201602 -c 'bin/startup.sh' -p . <br/>
但是部署失败,我无法启动 liferay,出现这些错误:
...
"exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1454828817}
...
好像端口监听设置有问题
有人可以帮忙告诉我如何解决这个问题吗?
谢谢和最好的问候,
藤原彰
-----添加信息-----
非常感谢您的评论。我重试如下:
从 https://www.liferay.com/en/downloads/liferay-portal/available-releases 下载与 tomcat 捆绑在一起的 liferay zip 文件
命令:
tar xvf liferay-portal-tomcat-6.2-ce-ga6-20160112152609836.zip
cd liferay-portal-6.2-ce-ga6
cf api http://api.ng.bluemix.net
cf login
Email> xxxxxxx
Password> xxxxxxx
cf push akiraliferay -b https://github.com/shinji62/liferay-buildpack -c 'tomcat-7.0.62/bin/startup.sh’ .
但错误发生如下:
[Buildpack] ERROR Compile failed with exception
#<RuntimeError: No container can run this application. Please ensure
that you’ve pushed a valid JVM artifact or artifacts using the -p
command line argument or path manifest entry. Information about valid
JVM artifacts can be found at
https://github.com/cloudfoundry/java-buildpack#additional-documentation. >
我也试过:
cf push akiraliferay -b https://github.com/shinji62/liferay-buildpack -c 'tomcat-7.0.62/bin/startup.sh’
但结果是一样的。
你能帮我解决一下吗?如果您能帮我解决这个问题,我将不胜感激。
问候,
藤原彰
最佳答案
您不能将构建包推送到 Bluemix。 buildpack 为您的应用程序提供框架。您可以推送一个应用程序并指定您希望 Bluemix/CloudFoundry 用来运行该应用程序的构建包。
cf push <appName> -b <buildpack> -p <path of your app>
例如:
cf push myliferayapp -b https://github.com/shinji62/liferay-buildpack -p target/myliferayapp.war
关于tomcat - 用于 liferay/tomcat 的 Bluemix buildpack : failed to accept connections within health check timeout,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35250823/
在 HTTP 中,您可以在请求中指定您的客户端可以使用 accept header 接受响应中的特定内容,其值如 application/xml。内容类型规范允许您在内容类型中包含参数,例如chars
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 7 年前。 Improve th
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 3 年前。 Improve th
我的 RESTFul API 只能响应 JSON 编码的数据(即我所有的 header 都有 Content-Type: application/json)。如果请求具有不允许 JSON 的 Acce
我有 C linux TCP 客户端/服务器应用程序。我想出了一个奇怪的场景,但我不知道这个应用程序是否有任何后果。我有一个可以接受 N 个连接的服务器端,例如这个服务器将接受 100 个连接。在这种
我试图找出 的可能值范围接受 和 接受-联系 header 字段,但我在 RFC 中找不到完整列表。有谁知道他们在哪里?我经常看到 Accept: application/sdp;level=1,
在 TCP 套接字代码中,我们创建了 2 个套接字。第一个接受新连接,第二个接受来自客户端的数据并在新连接建立时创建。 TCP header 中的哪个控制位允许服务器知道将此段传递给 ServerSo
我可以设置 Request.Content-Type = ... , Request.Content-Length = ... 如何设置Accept和Accept-Language? 我想上传一个文件
假设A是服务器,B是客户端。 B 创建一个到服务器 A 的套接字 b 并 ServerSocket.accept() 创建一个相应的套接字 a 对于客户端 B 现在,如果服务器 A 关闭了 a 但客户
如果客户端connect()先于服务端accept()成功,那么客户端如何知道服务端accept()成功呢?如果在 connect() 成功和服务器 accept() 之间的时间间隔调用 send()
这是我的代码: void error(const char *msg) { perror(msg); exit(1); } void sServer::acceptClientConn
在我的 pom.xml 中有以下详细信息 org.codehaus.jackson jackson-core-asl 1.9.13
假设我有两个如下所示的端点: @GET @Path("/blah") @Produces(MIME_TYPE_1) public Thing getThing() { .... } @GET
我的 Controller : @RestController public class ClawerController { @RequestMapping("/hello"
我不想要可视化 merge 工具,我也不希望必须 vi 冲突文件并手动在 HEAD(我的)和导入的更改(他们的)之间进行选择。大多数时候,我要么想要他们的所有更改,要么想要我的所有更改。通常这是因为我
我正在使用 spring 4.1.1.RELEASE 并包括: pom 中的 jackson-core-asl 1.9.13 和 jackson-mapper-asl 1.9.13 来创建一个带有 R
我正在尝试开发自己的基于非阻塞 NIO 消息的通信库。我已经阅读了 1000 个关于它的教程和书籍章节,我认为最终我得到了一些可以在很少的同时连接下工作的东西。但是当我在服务器端共存许多连接时,我遇到
我正在尝试编写一个 Bind 元编程模板辅助元函数,将模板参数绑定(bind)到某物。 我有一个简单的模板元函数的工作实现: template struct MakePair { using
我使用 spring 构建 Restful API,当我访问以下方法时: // get the entity in DB by using id number @RequestMapping(
只是想知道是否有一种方法可以通过 ASP.NET Core 中的属性强制检查 HTTP header 值是否属于一组给定值(例如 application/json,应用程序/xml) 我知道有 Pro
我是一名优秀的程序员,十分优秀!