Skip to content

Commit 337f2d4

Browse files
committed
Fix startup on non-SAP CF
1 parent c8749fc commit 337f2d4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

multiapps-controller-web/manifests/manifest.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ applications:
55
memory: 1024M
66
instances: 1
77
path: ../${project.build.finalName}.war
8-
buildpack: sap_java_buildpack_jakarta
8+
buildpack: https://github.com/cloudfoundry/java-buildpack.git
99
timeout: 180 # If the landscape and/or our Liquibase changes are very slow, the application may take longer than 60 seconds to start up.
1010
health-check-type: http
1111
health-check-http-endpoint: /public/application-health
@@ -16,7 +16,10 @@ applications:
1616
XS_TYPE: CF
1717
DB_TYPE: POSTGRESQL
1818
CATALINA_OPTS: "-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true"
19-
JBP_CONFIG_OPEN_JDK_JRE: "{ jre: { version: 17.+ } }"
19+
JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "17.+" } }'
20+
JBP_CONFIG_TOMCAT: '{ tomcat: { version: 10.+ } }'
21+
JBP_CONFIG_COMPONENTS: '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}'
22+
JAVA_OPTS: '-XX:+HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=192m -Xshare:off -XX:MaxMetaspaceSize=300m -XX:+ErrorFileToStdout -XX:TrimNativeHeapInterval=10000 -Dio.netty.noPreferDirect=true -Dio.netty.maxDirectMemory=0'
2023
PLATFORM: >
2124
{
2225
"name": "CLOUD-FOUNDRY",

0 commit comments

Comments
 (0)