JVM Command Line Setting for Studio

Hi

I need to set this JVM Setting -Djsse.enableSNIExtension=false so that when I run the project in Studio it runs with this setting.

I can’t seem to find where I should put this. Can anyone tell me?

Hi,
After the application is deployed from Studio the deploy/ folder appears in the project root directory. There is the tomcat installation. You can adjust system variables in the deploy/tomcat/bin/setenv.sh (or setenv.bat) config.

1 Like

@iskandarov Thanks that is what I was looking for.

You can also set the JAVA_OPTS global environment variable like:

export JAVA_OPTS="-Djsse.enableSNIExtension=false"

This way many Java programs started with proper scripts (including Tomcat and CUBA Studio) will use this options.

1 Like