How to set JVM arguments in tomcat that work both in eclipse and using the startup.bat

前端 未结 1 1512
萌比男神i
萌比男神i 2021-01-01 14:31

I have an installation of Tomcat 7 on windows to which I am deploying my app. I have a couple of JVM args that I need set for the applications running on the server. In sear

相关标签:
1条回答
  • 2021-01-01 15:26

    As I mentioned in the comment above, it looks like the WTP plugins do not call the startup scripts, but directly call on Tomcat through the java executable. Therefore, the VM arguments from eclipse are put directly on the command line, not stored in some config file such as setenv.bat, neither does it read from such a config file from startup. Therefore the two are completely separate in configuration.

    0 讨论(0)
提交回复
热议问题