Search code examples
javatomcatazurejvmjvm-arguments

how to change jvm parameters on the Microsoft Azure website


I created a java-based website on Azure, and selected tomcat as container when used "CUSTOM CREATE", then there is an empty website ready and I can upload WAR files using ftp but not able to touch tomcat files. I need change the heap size of JVM, how to do that?


Solution

  • please see http://azure.microsoft.com/en-us/documentation/articles/web-sites-java-custom-upload/ - see section "Tomcat". You could either upload your own tomcat as mentioned in this link OR you can just configure httpPlatform section in your web.config to override the JAVA_OPTS with any jvm parameter you want.

    Thanks.