Skip to main content

There are parameters in deploymentSettings to set values to resources like cpu, memory, last mile security etc. but there is no way to set up JVM arguments. Please help.

4 risposte
  1. 24 apr 2020, 07:55

    Thanks for your reply. I have already gone through this link. I have a doubt actually. Suppose I am adding these attributes in the properties file (say config.properties) like below.

     

    #my keystore file is inside resources of mule project

    javax.net.ssl.keyStore=/opt/mule/apps/api-name/something.jks

    javax.net.ssl.keyStorePassword=some_password

    javax.net.ssl.trustStore=/opt/mule/apps/api-name/something.jks

    javax.net.ssl.trustStorePassword=some_password

     

    But it didn't work. I didn't expect also because I am not referring these values anywhere like ${javax.net.ssl.keyStore} etc. etc. So I am still not sure.

     

    However, the application just works perfect if deploy manually to RTF and add the above parameters under the JVM tab (last tab in RTF console) with -D like below.

     

    -Djavax.net.ssl.keyStore=/opt/mule/apps/api-name/something.jks

    -Djavax.net.ssl.keyStorePassword=some_password

    -Djavax.net.ssl.trustStore=/opt/mule/apps/api-name/something.jks

    -Djavax.net.ssl.trustStorePassword=some_password

     

    Hope I am able to explain. Please advise.

0/9000