Windows running Tomcat 5.5 and later : Go to the "Apache Tomcat x.x" folder in the Start Menu. Start the "Configure Tomcat".
Select the "Java" tab in the configuration dialog
It's been a while since I've run Tomcat myself, but that certainly sounds like a promising start... Alterantively, read the Tomcat Windows Service HOWTO which talks about using the --JvmOptions flag. Of course, that assumes you are running Tomcat as a Windows service. If you could give us more information we may be able to help more. If you're just running Tomcat from the command line, you may want to set the CATALINA_OPTS environment variable.
发布评论
评论(1)
从这个 Tomcat 配置页面的第 3.2 节:
我自己运行 Tomcat 已经有一段时间了,但这听起来确实是一个有希望的开始...或者,阅读 Tomcat Windows 服务 HOWTO 其中讨论了使用
--JvmOptions
标志。当然,这是假设您将 Tomcat 作为 Windows 服务运行。如果您能给我们更多信息,我们也许能够提供更多帮助。如果您只是从命令行运行 Tomcat,您可能需要设置CATALINA_OPTS
环境变量。From section 3.2 of this Tomcat configuration page:
It's been a while since I've run Tomcat myself, but that certainly sounds like a promising start... Alterantively, read the Tomcat Windows Service HOWTO which talks about using the
--JvmOptions
flag. Of course, that assumes you are running Tomcat as a Windows service. If you could give us more information we may be able to help more. If you're just running Tomcat from the command line, you may want to set theCATALINA_OPTS
environment variable.