cloudfoundry

I am having trouble starting my node app in Bluemix

北城以北 提交于 2019-12-05 08:34:44
I am trying to start my node app in Bluemix and getting a weird error. My app works locally. I have copied a snippet out of my app below. var express = require("express"), app = express(); app.get("/", function (request, response) { response.render("index"); }); app.listen(8080); My app never starts in Bluemix. The error I am getting on Bluemix is below. [11:07 AM] jsloyer@Jeffs-MacBook-Pro [testapp]>cf push myapp Creating app myapp in org myemail@co.com / space demos as myemail@co.com... OK Creating route myapp.mybluemix.net... OK Binding myapp.mybluemix.net to myapp... OK Uploading myapp...

Neo4j in the cloud [closed]

社会主义新天地 提交于 2019-12-05 07:58:33
Is anyone aware of cloud services (PaaS) which could be suitable for a spring/neo4j application. Anything to look out for? AFAIK, Amazon EBS is currently the only stable option, Heroku is in private beta and Cloud Foundry is work in progress. Neo4j is available on Heroku now. Details in this document at infoq. http://www.infoq.com/minibooks/good-relationships-spring-data It seems that Jelastic PaaS has recently updated a blog post for Neo4j support. I have found it here: http://blog.jelastic.com/2013/03/21/neo4j-in-the-cloud/ 来源: https://stackoverflow.com/questions/7649319/neo4j-in-the-cloud

number of instances the cloud foundry app is running

我怕爱的太早我们不能终老 提交于 2019-12-05 02:38:22
问题 my app needs to get the number of instances in which its running, (in runtime my app uses this info in my program logic). (VCAP_APPLICATION env variables cannot provide this info. ) Calling API directly and using "instances" attribute is an option, but I dont know how to call apps API directly in my app. Please let me know how to call it. Below is the link I got for app API: http://apidocs.cloudfoundry.org/218/apps/retrieve_a_particular_app.html 回答1: In order to use the API, you first need to

【CF 应用开发大赛】个人博客系统

醉酒当歌 提交于 2019-12-03 03:16:07
应用名称: 个人博客系统 应用URL地址: http://abap.cloudfoundry.com/ 应用说明及使用场景: 用于搭建个人博客。 应用所使用的技术及软件: 使用 jFinal 框架, Mysql数据库, ehcache 缓存, freemarker 模板引擎。部署在cloudfoundry上,数据库使用CF上提供的Mysql服务。 自己写了图片的lazy加载功能和页面的TOP功能 应用截图: 后台: 我是来感受大赛的气氛的~~嘻~ 项目github地址: https://github.com/MikeBily/jfinal-blog 来源: oschina 链接: https://my.oschina.net/u/132166/blog/98118

Cloud Foundry explained

旧时模样 提交于 2019-12-03 00:47:10
问题 So I've been reading up on Cloud Foundry and yet I'm still confused as to what it is. Here is my take anyway on PaaS on CF, and hopefully you guys could tell me if I'm wrong and explain it a bit better. A traditional PaaS offering like Microsoft Azure or Google AppEngine provides a full platform to develop, test, host and manage your web app. You must however use their API and are restricted to the services that they offer and languages/frameworks that they support. Cloud Foundry seems to be

Kubernetes vs. CloudFoundry [closed]

醉酒当歌 提交于 2019-12-03 00:02:42
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 months ago . The next version of CloudFoundry / Diego will offer native support for Docker containers which will be orchestrated across multible hosts [link]. This sounds very similar to Kubernetes. Of course, the problem Kubernetes is trying to solve is more a generic, where

Limit total memory consumption of Java process (in Cloud Foundry)

只谈情不闲聊 提交于 2019-12-02 21:03:49
问题 Related to these two questions: How to set the maximum memory usage for JVM? What would cause a java process to greatly exceed the Xmx or Xss limit? I run a Java application on Cloud Foundry and need to make sure that the allocated memory is not exceeded. Otherwise, and this is the current issue, the process is killed by Cloud Foundry monitoring mechanisms (Linux CGROUP). The Java Buildpack automatically sets sane values for -Xmx and -Xss . By tuning the arguments and configuring the (maximum

Building two different versions a given war with maven profiles and filtering from eclipse

断了今生、忘了曾经 提交于 2019-12-02 16:16:27
问题 I am trying to use maven profiles and filtering in order to produce two different versions of a given web archive ( war ): A first one for local deployment to my local machine on localhost A second one for remote deployment to cloudfoundry There are a number of properties that differ according to whether the app is deployed to my local machine or to cloudfoundry. Of course the difficult bit is that I am trying to do all this from STS/Eclipse and deploy from Eclipse to my local tomcat and to

Cloud Foundry explained

孤街浪徒 提交于 2019-12-02 16:09:28
So I've been reading up on Cloud Foundry and yet I'm still confused as to what it is. Here is my take anyway on PaaS on CF, and hopefully you guys could tell me if I'm wrong and explain it a bit better. A traditional PaaS offering like Microsoft Azure or Google AppEngine provides a full platform to develop, test, host and manage your web app. You must however use their API and are restricted to the services that they offer and languages/frameworks that they support. Cloud Foundry seems to be some kind of "middle-man", whereby it allows your app to use services from many public clouds. How does

Kubernetes vs. CloudFoundry [closed]

家住魔仙堡 提交于 2019-12-02 13:49:51
The next version of CloudFoundry / Diego will offer native support for Docker containers which will be orchestrated across multible hosts [ link ]. This sounds very similar to Kubernetes. Of course, the problem Kubernetes is trying to solve is more a generic, where CloudFoundry is more focussed on app development. However, for me it sounds both are heading into a similar direction and CloudFoundry is adding a lot more features on top of the plain orchestration. So I'm wondering about use-cases where Kubernetes would add more value than CloudFoundry? KarlKFI As both a CloudFoundry (past) and