Where are stored the default JVM arguments for coldfusion server?

Hi, i am trying to migrate my standard installation of coldfusion server to commandbox coldfusion server.
I have noticed that, in the coldfusion administrator of CB coldfusion, in the Server Settings section, there is no JAVA and JVM tab. I see that you can set the java home and jvm arguments in the .json file of your server, but i would like to know where are stored (if there are any) the default jvm arguments for coldfusion server, since the standard coldfusion installation comes a lot of default jvm arguments like -Xms256m -Xmx1024m -XX:MaxMetaspaceSize=192m -XX:+UseParallelGC -Xbatch -Djdk.attach.allowAttachSelf=true -Dcoldfusion.home={application.home} ecc…

Thanks

do this help?

https://commandbox.ortusbooks.com/embedded-server/server.json
https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/jvm-args#ad-hoc-jvm-args

Thanks but i already saw those pages, but i need to know if the coldfusion server in commandbox starts with some jvm args, like those how are present in standard coldfusion:

A standard installation of ColdFusion bundles Tomcat and has a custom startup routine that reads JVM settings from a jvm.config file in the coldfusion installation directory prior to Java starting. The “java and jvm” page in your screenshot modifies the contents of this jvm.config file.

When you deploy CF as a WAR in a J2E manner, CF is not bundled with the servlet container and therefore cannot control it itself. This is why the Java and JVM page is hidden when CF is deployed this way.

Like Zac showed, the proper place for you to put the equivalent settings is in your server.json file. CommandBox does not set anything by default. It’s up to you to include any additional settings you want.

Thank you so much for the clarification

1 Like

2 posts were split to a new topic: Access JVM args from CommandBox server