Deploying stubby4j / Core java app in cloud foundry

I may sound idiotic and I guess I am asking an incorrect design question but just wanted to know your view point. I want to start jetty container from one of my CloudFoundry app, Is it possible to...

How to set API endpoint for the IBM Cloud / Bluemix

I have downloaded and installed the Cloud Foundry CLI tool "cf". However, I am not able to login because I could not set the API endpoint. What is the API endpoint that I should provide? Where can...

HikariCP Postgresql Driver Claims to not accept JDBC URL

I've pushed my application to cloudfoundry. However every time I connect to my postgresql/elephant sql I received this error Driver org.postgresql.Driver claims to not accept JDBC URL...

Local deployment of cloud foundry wont connect to CF APi endpoint

[[email protected] cf-release]# cf api --skip-ssl-validation https://api.10.244.0.34.xip.io Setting api endpoint to https://api.10.244.0.34.xip.io... FAILED Server error, status code: 404, error...

Accessing user provided env variables in cloudfoundry in Spring Boot application

I have the following user provided env variable defined for my app hosted in cloudfoundry/pivotal webservices: MY_VAR=test I am trying to access like so: System.getProperty("MY_VAR") but I am...

how to check running application's buildpack In cloudfoundry

How to check running application's buildpack In cloudfoundry? I have many buildpacks deployed, is it possible to check used buildpacks on running application?

Gcp PubSub not pushing message to REST Endpoint

I am facing an problem, Gcp PubSub not pushing message to my registered endpoint. Let me narrate in details the steps I have executed. Note, I am not using app engine I am deploying my simple...

CF: What is the difference between M and MB?

From the Cloud Foundry Documentation: memory Use the memory attribute to specify the memory limit for all instances of an app. This attribute requires a unit of measurement: M, MB, G, or GB, in...

How to use Property placeholders in .yml file

I am working with Java and spring boot. I was wondering how to add Property placeholders into .yml files. I've found some crisp examples but I am not sure where are the Property placeholders are...

GYP ERR! build error. stack Error: 'make' failed with exit code 2

I am currently working on a nodejs web application I am having trouble pushing the application online with cloud foundry. I did some research on the errors and it seems that maybe some of the...

can someone explain how it is possible to downloading application logs files from cloudfoundry pivotal to local machine?

How can I download app logs files from cloudfoundry-pivotal to local machine. Any clue or links ? can someone explain how it is possible to downloading application logs files from cloudfoundry...

How to configure Eureka Client and Service properties?

I'm trying to register my Java service with Eureka - with no luck. I have an existing code base that uses Spark-Java framework, so that 'add only 2 lines of Spring annotations and voila!' examples...

NGINX error when deploying static website with Concourse CI

I encounter an error when I try to deploy a static website to Pivotal Web Services with Concourse CI. I want to push a static website using the static_buildpack. The index.html is placed in the...

Sleuth Header X-B3-TraceId value get Regenerated even if passed to the Service Request as Header In Bluemix

I would like my service consumers pass the TraceId as Header Param with name X-B3-TraceId and valid 128 bits Hex String that shall get propagated in further path down the line and indeed service...

(Cloud Foundry, Node.js) 502 Bad Gateway: Registered endpoint failed to handle the request

After a few days, sometimes my previously running application will flake out with this error and no longer load. I have searched, but have not found the cause. I have a hunch that it may be...

Alt+Enter stopped working for Dart files in IntelliJ

When building Flutter apps the ALT + Enter keyboard shortcut is very convenient not only to bring up Quick Fixes but also to bring up a popup menu to wrap/remove Widgets. It was working fine until...

Deploying spring boot app to cloud foundry fails with JVM memory issue

Deploying spring boot application to Pivotal Cloud Foundry fails with below error. Limit for the instance was set to 2GB and then 4GB. Locally application starts up fine with the 2GB heap...

Programmatically Adding a "Binding Name" to a PCF Service in Java Spring App

I am deploying a Java Spring app to PCF and need it to automatically bind to a few user-provided services. However, for a few reasons, I need to provide a "binding name" to the service so that the...

ERROR Finalize failed with exception #<RuntimeError: No container can run this application. Please ensure that you've pushed a valid JVM artifact or

I am getting below error while deploying the Spring Boot & SOAP project on Pivotal Cloud Foundry(PCF). I am using Spring Boot v2.2.2.RELEASE.? Staging app and tracing logs... Downloading...

Pivotal Web Services: Flyway Enterprise Edition or MySQL upgrade required

I get the following message when deploying my Spring Boot Application to Pivotal Web Services with a MySQL cleardb spark...

Where to find this directory '/tmp/contents773511482/deps/0/python/bin for deploying flask python app in cloud foundry?

Where can i find this '/tmp/contents773511482/deps/0/python/bin which tells me to add path following while deploying app in cloud foundry. Is location incorrect for those ? [ERR] The script...

Error calling CF API login one time passcode

I am working with the CF API RESTful services. Trying to get an access token from cloud foundry's UAA API using https://login..../oauth/token web method. I have verified that headers & body...

How to send events to all instances of the application in PCF

I am not able to find a way to send/broadcast a message to all application instances in Pivotal Cloud Foundry. How can we notify to all app instances of some events? If we use the HTTP request,...

How to connect a python flask application to a PCF config service

We have a python flask application, we would like to deploy it to pivotal cloud foundry, I'm looking for a away to use the cloud config service to fetch my database credentials from bitbucket, is...

Get /login: unsupported protocol scheme "" wth Cloud Foundry cli

I am getting the below error Get /login: unsupported protocol scheme "" when I am trying to login with cloud foundry cli.. I am typing cf login , it displays the api endpoint and the below...

Upgrading To Spring Boot 2.4.0 Breaks Legacy Applications

I'm upgrading a set of legacy applications to Spring Boot 2.4.0, running on OpenJDK 8, deployed to Pivotal Cloud Foundry. The app and all its unit tests ran perfectly under Spring 2.3.4-RELEASE...

How to do a logout from SiteMinder session for a Pivotal Cloud Foundry hosted JSP/Servlet application?

I am having a JSP/Servlet based application running on Pivotal Cloud Foundary and using Siteminder for authentication. The logout we implemented but is unsuccessful currentnly includes clearing...

Does cf run-task need env/script uploaded befrore running? An elegant way?

I'm working with cloud foundry. My need is to run a database migration aside from my application so that I can trigger the migration in some way (cf command, api call, etc) when I need. I was...

Log4j Vulnerability impact on Cloud SDK project

We have some use cases which leverage Cloud SDK project template for Java. Now they are already running on SAP BTP, Cloud Foundry environment. By default, it uses logback and we did not change...

Log4j Vulnerability (CVE-2021-44228) on Google Cloud Platform and PCF

Currently there are so many suggested steps that have been posted for excluding log4j-core library from dependency or upgrading to the latest (above version 2.15) version according to Spring Blog...