• <bdo id='UyKgP'></bdo><ul id='UyKgP'></ul>
  • <legend id='UyKgP'><style id='UyKgP'><dir id='UyKgP'><q id='UyKgP'></q></dir></style></legend>
  • <small id='UyKgP'></small><noframes id='UyKgP'>

    <i id='UyKgP'><tr id='UyKgP'><dt id='UyKgP'><q id='UyKgP'><span id='UyKgP'><b id='UyKgP'><form id='UyKgP'><ins id='UyKgP'></ins><ul id='UyKgP'></ul><sub id='UyKgP'></sub></form><legend id='UyKgP'></legend><bdo id='UyKgP'><pre id='UyKgP'><center id='UyKgP'></center></pre></bdo></b><th id='UyKgP'></th></span></q></dt></tr></i><div id='UyKgP'><tfoot id='UyKgP'></tfoot><dl id='UyKgP'><fieldset id='UyKgP'></fieldset></dl></div>
    <tfoot id='UyKgP'></tfoot>

        作为服务运行时将JVM参数传递给Tomcat?

        Passing JVM arguments to Tomcat when running as a service?(作为服务运行时将JVM参数传递给Tomcat?)
        <tfoot id='fd4Up'></tfoot>

            • <bdo id='fd4Up'></bdo><ul id='fd4Up'></ul>
              <legend id='fd4Up'><style id='fd4Up'><dir id='fd4Up'><q id='fd4Up'></q></dir></style></legend>

              <small id='fd4Up'></small><noframes id='fd4Up'>

              • <i id='fd4Up'><tr id='fd4Up'><dt id='fd4Up'><q id='fd4Up'><span id='fd4Up'><b id='fd4Up'><form id='fd4Up'><ins id='fd4Up'></ins><ul id='fd4Up'></ul><sub id='fd4Up'></sub></form><legend id='fd4Up'></legend><bdo id='fd4Up'><pre id='fd4Up'><center id='fd4Up'></center></pre></bdo></b><th id='fd4Up'></th></span></q></dt></tr></i><div id='fd4Up'><tfoot id='fd4Up'></tfoot><dl id='fd4Up'><fieldset id='fd4Up'></fieldset></dl></div>
                  <tbody id='fd4Up'></tbody>

                  本文介绍了作为服务运行时将JVM参数传递给Tomcat?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我需要将几个 JVM 参数传递给运行 Tomcat 的 JVM,以便我的应用程序可以获取它们.

                  I need to pass a couple of JVM arguments to the JVM which Tomcat is running in so that my application can pick them up.

                  我想按照本文中概述的获取环境变量的过程.

                  I want to follow the process outlined in this article to pick up environment variables.

                  我该怎么做呢?

                  更新抱歉,这是在 windows 下运行的(客户端服务器上我的 Dev machine 2003 上的 7)

                  UPDATE Sorry This is running under windows (7 on my Dev machine 2003 on client server)

                  推荐答案

                  您需要编辑 Windows 服务.有三种方法可以做到这一点:

                  You need to edit the Windows service. There are three ways to do this:

                  1. 使用 //MS//ServiceName 启动 Tomcat5w 以在系统托盘中获取一个图标,以便您快速访问到服务的配置.

                  1. Start Tomcat5w with //MS//ServiceName to get an icon in the system tray which gives you a quick access to the configuration of the service.

                  在控制面板"中打开服务管理器.Tomcat 有一个条目.

                  Open the service manager in the "Control Panel". There is an entry for Tomcat.

                  在编辑器中有一个选项卡,您可以在其中添加其他 JVM 参数.

                  In the editor, there is a tab where you can add additional JVM parameters.

                  第三种方式(我更喜欢)是编写一个脚本来为您编辑配置.这样,您可以将配置保存在某处以进行备份.请参阅 文档如何做到这一点(提示:使用 tomcat5//美国//...)

                  The third way (which I prefer) is to write a script which edits the config for you. This way, you can save the config somewhere for backup. See the docs how to do that (Hint: use tomcat5 //US//...)

                  这篇关于作为服务运行时将JVM参数传递给Tomcat?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Maven JAVA_HOME environment variable is not defined correctly, but it is(Maven JAVA_HOME 环境变量未正确定义,但它是)
                  Java System Environment Variable(Java 系统环境变量)
                  Java -classpath option(Java -classpath 选项)
                  Read environment variable in SpringBoot(在 SpringBoot 中读取环境变量)
                  Tomcat 8 - context.xml use Environment Variable in Datasource(Tomcat 8 - context.xml 在数据源中使用环境变量)
                  Issue with JAVA_HOME(JAVA_HOME 的问题)
                  <i id='Rx8V9'><tr id='Rx8V9'><dt id='Rx8V9'><q id='Rx8V9'><span id='Rx8V9'><b id='Rx8V9'><form id='Rx8V9'><ins id='Rx8V9'></ins><ul id='Rx8V9'></ul><sub id='Rx8V9'></sub></form><legend id='Rx8V9'></legend><bdo id='Rx8V9'><pre id='Rx8V9'><center id='Rx8V9'></center></pre></bdo></b><th id='Rx8V9'></th></span></q></dt></tr></i><div id='Rx8V9'><tfoot id='Rx8V9'></tfoot><dl id='Rx8V9'><fieldset id='Rx8V9'></fieldset></dl></div>
                1. <small id='Rx8V9'></small><noframes id='Rx8V9'>

                          <tbody id='Rx8V9'></tbody>
                        <legend id='Rx8V9'><style id='Rx8V9'><dir id='Rx8V9'><q id='Rx8V9'></q></dir></style></legend><tfoot id='Rx8V9'></tfoot>

                          <bdo id='Rx8V9'></bdo><ul id='Rx8V9'></ul>