-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Hi Team,
I'm using CNB Apache-Tomcat Image, It was all running fine before, but now we have updated to Apache Tomcat 9.0.82 and we are getting below error.
ERROR: failed to get platform API version; please set 'CNB_PLATFORM_API' to specify the desired platform API version
> root@4c417129d5ee:/workspace# launcher /cnb/process/web
> Setting Active Processor Count to 2
> Calculating JVM memory based on 9998876K available memory
> For more information on this calculation, see https://paketo.io/docs/reference/java-reference/#memory-calculator
> Calculated JVM Memory Configuration: -XX:MaxDirectMemorySize=10M -Xmx9424697K -XX:MaxMetaspaceSize=62178K -XX:ReservedCodeCacheSize=240M -Xss1M (Total Memory: 9998876K, Thread Count: 250, Loaded Class Count: 8564, Headroom: 0%)
> Enabling Java Native Memory Tracking
> Adding 137 container CA certificates to JVM truststore
> ERROR: failed to get platform API version; please set 'CNB_PLATFORM_API' to specify the desired platform API version
I'm using launcher, running certain command and triggering launcher /cnb/process/web command.
Could you please help me to fix this error.
Regards
Saurabh
Metadata
Metadata
Assignees
Labels
No labels