Created
February 12, 2014 02:12
-
-
Save ndzj081221130/8948738 to your computer and use it in GitHub Desktop.
现在的问题
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 试图在CF上运行tuscany应用 | |
| 但自定义的tuscany-buildpack,无法成功启动tuscany应用 | |
| java进程在启动后,会被kill,无论是调内存参数,还是别的,都无法解决这个问题 | |
| java-console是可以部署的,虽然没有绑定url、 | |
| Procfile是web: java ConsoleTest | |
| 尝试用java-console的方式来部署tuscany应用。 | |
| 但是要设置环境变量tuscany-home | |
| Procfile中写*web: export TUSCANY_HOME=/home/vcap/app/tuscany-sca-2.0.1 && java -jar launcher.jar hellowolrd* | |
| 这样一来,应用源码较大(100M多一点),不知道上传的时候会不会超时。 | |
| 现在使用java -jar,借助java-buildpack,可以运行tuscany应用,java进程不会被kill | |
| 下面考虑端口号绑定的问题,首先绑定默认端口号8080,在warden-client里面,判断端口是否成功打开。如果成功打开,下面修改composite文件的PORT | |
| 绑定服务的java进程被kill了?还是因为一些偶然的原因? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment