cloudfoundry

jdbc-initialize-database can't find script files - DataAccessResourceFailureException

荒凉一梦 提交于 2019-12-08 21:04:58
问题 I cannot get my Spring web app to find my scripts. I have the jdbc namespace configured. I have the scripts written, but, I can't figure out why no matter where I put the scripts, they can't be found. I've specifically marked folders are 'class folders'. I've put them in the same folderr as all my jars... I've thrown a hundred rocks. It's almost as though the error listed is not really my error. This should be so simple, but sometimes, I just hit stumps. Ultimately, I'm trying to get code in

Cloud Foundry Bind services/cups datasource number of connections

末鹿安然 提交于 2019-12-08 12:15:47
问题 I am using hikari with spring boot, local testing I can see 50 active connections. After I deployed to cloud foundry , I am only able to see 10 active connections. spring.datasource.hikari.maximum-pool-size=50 Seems like cloud foundry bind service is trying to overwrite my application's configuration. How can configure this number in cloud foundry? maybe someone get help from this link, it says if you are running serious application in production , you need to configure

CF Spring boot app failed to start accepting connections

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 11:52:22
问题 I have developed a Spring boot application connecting to Postgresql instance running on my local. Now i deployed the application to Cloud foundry local bosh lite installation. I created one user provided service for postgresql and bound it to my application. The app is working fine till now. Then i wanted to make this application as a service broker. So i again used spring boot cloud foundry service broker. And implemented my code same as the sample mongodb spring boot service broker. https:/

Debug nodejs app in CF

試著忘記壹切 提交于 2019-12-08 10:47:27
问题 I follow this guide how to debug node.js application in CF and its currently not working , https://medium.com/@KevinHoffman/debugging-node-js-applications-in-cloud-foundry-b8fee5178a09#.ekkzo3f63 I've installed the node inspector and I see message in the logs like: 2017-03-23T15:29:21.58+0200 [APP/PROC/WEB/0]ERR Debugger listening on [::]:5858 I did the ssh command Now what should I do ? in the guide it says the following after the ssh export PATH=$PATH:/app/.heroku/node/bin what should be

Unable to select a space or join an organization on run.pivotal.io

你。 提交于 2019-12-08 07:17:28
问题 I am attempting to use Cloud Foundry v2 on run.pivotal.io I am following the documentation: http://docs.cloudfoundry.com/docs/dotcom/getting-started.html; using the credentials of my user registered on Cloud Foundry v1 (cloudfoundry.com). gem install cf cf --version cf 2.1.0 cf login ... Authenticating... OK CFoundry::NotAuthorized: 10003: You are not authorized to perform the requested action ... not authorised log: REQUEST: GET https://api.run.pivotal.io/v2/organizations?inline-relations

How do UserSecrets work in the Cloud?

我只是一个虾纸丫 提交于 2019-12-08 05:11:47
问题 ASP.NET Core has a great feature to store user settings securely. It works great on OSX (and Linux, Windows), stores data in JSON: ~/.microsoft/usersecrets/<userSecretsId>/secrets.json Is it working in the cloud (Cloud Foundry) too? If yes, then were are the values stored? 回答1: Secrets exists for safe storage during development by helping prevent sensitive data from being storing in code / checked into source control. The Secret Manager tool does not encrypt the stored secrets and should not

Node.js application to cloud foundry

随声附和 提交于 2019-12-08 04:55:47
问题 I'm using nodeclipse to develop my Node app. Is there a way to deploy node.js apps to cloud foundry using eclipse ? I know about vmc but want to know about alternatives. 回答1: No. As per the tutorial 'Node.js Application Development with Cloud Foundry' you can use only vmc. 来源: https://stackoverflow.com/questions/14209280/node-js-application-to-cloud-foundry

Failed to load UI5 component with properties .. Fiori Launchpad

你离开我真会死。 提交于 2019-12-08 04:14:14
问题 I've a custom control in my app. it run as a web application fine. but when i'm running with sap fiori launchpad it give me error. I've registered my control in my index.html file <script> sap.ui.localResources("sap.custom"); sap.ui.localResources("sap.ui.codetools"); sap.ui.localResources("libs"); </script> the structure of file directory is If i remove my custom control then i can run my app in launchpad. Do I need to add some settings in my manifest file? What could be the reason for this

Execute shell script from spring web application deployed on cloudfoundry

你说的曾经没有我的故事 提交于 2019-12-08 01:10:13
问题 I am trying to call Btrace script from Spring web application deployed on cloudfoundry. The execution command is /var/vcap/data/dea/apps/petclinic-0-fef4b0e052097a0cd2bedb8018c28dcd/tomcat/webapps/ROOT/WEB-INF/classes/bin/btrace.sh 532 /var/vcap/data/dea/apps/petclinic-0-fef4b0e052097a0cd2bedb8018c28dcd/tomcat/webapps/ROOT/WEB-INF/classes/bin/DatabaseQueries.java But I get this error: java.io.IOException: Cannot run program "/var/vcap/data/dea/apps/petclinic-0-fef4b0e052097a0cd2bedb8018c28dcd

Cloud foundry tenants - what?

北城以北 提交于 2019-12-07 23:59:43
问题 I reads some docs on cloud foundry and I didnt find the term tenants , my question is if Org is a tenants in cloud foundry term? if not what is the equivalent? 回答1: It could be done that way. You could setup your CF install such that one Org is one tenant. Orgs are scoped such that resources in the org are isolated and not visible unless you're a part of that org. It's not strictly required to have one org to one tenant. Orgs & spaces are just ways to group and limit access to applications