Skip to main content

I am setting the below parameters as JVM argument while deploying to Mule RTF. I am adding the JVM arguments manually under the JVM tab (the last tab) in RTF console. Below are the parameters that I am setting

 

#my keystore file is inside resources of mule project

-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

 

The application is working perfectly but when I am trying to implement Auto Discovery it is failing with the below error.

AutoDiscovery is not working for application deployed on RTF where key-store and trust-stores location and password are passed as JVM arguments on RTF

Other mule applications where such JVM arguments are not needed are working fine with Auto DIscovery. If somebody can please provide any suggestion that will be really helpful.

4 answers
  1. Apr 25, 2020, 6:15 PM

    Hi Shekh,

     

    Thanks for your reply. I think one important that you are missing here is I am deploying on Mule Runtime Fabric which is running eventually on pods (Kubernates). What you said is correct when we are deploying on any other mule runtime but when it is being deployed on RTF then we don't know where to get the Java_Home because the location is not fixed as they are pods. I am not a Kubernates expert though. Please advise how we can address this issue.

0/9000