如何在Microsoft Azure网站上更改jvm参数 [英] how to change jvm parameters on the Microsoft Azure website
问题描述
我在Azure上创建了一个基于Java的网站,并在使用自定义创建"时选择了tomcat作为容器,然后准备了一个空网站,可以使用ftp上传WAR文件,但不能触摸tomcat文件.我需要更改JVM的堆大小,该怎么做?
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?
推荐答案
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.
谢谢.
这篇关于如何在Microsoft Azure网站上更改jvm参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!