0

The application(JSF+hibernate) is been deployed using the vmc commands as on the cloudfoundry site. able to see the welcome page. postgreSQl service is binded with the application but the application is not able to connect with the database. And also viewed about the VCAP_SERVICES using java but dont know much about it rather how to create it.

4

1 回答 1

1

如果您有一项服务(MySQL 或 Postgres)绑定到您的应用程序,Cloud Foundry 会使用自动重新配置。这意味着您根本不需要触摸您的代码!

请查看我们文档网站上的以下文章:

http://docs.cloudfoundry.com/frameworks/java/spring/spring.html#using-cloud-foundry-services-in-spring-applications

如果您仍然有问题,请继续上传您的应用程序的战争文件,我们可以查看。

于 2012-05-28T01:13:10.017 回答