开发者

How do I get Eclipse Galileo to stop restarting an external Tomcat run configuration?

开发者 https://www.devze.com 2023-01-18 03:54 出处:网络
I don\'t even have any servers setup except as an External Tool Configuration > Program. I\'m using the JPDA connector, and yet when I do certain things like have Eclipse auto generate a serialVersion

I don't even have any servers setup except as an External Tool Configuration > Program. I'm using the JPDA connector, and yet when I do certain things like have Eclipse auto generate a serialVersionUID it automatically restarts Tomcat. I can't find where this might be configured in the project properties or the window preferences. I don't want Eclipse to do anything with Tomcat unless I'm starting o开发者_开发技巧r stopping. Thanks!


Well, months after giving up, I was having a discussion with a co-worker about my Tomcat context, and finally realized what it was. I had reloadable = "true" in the context node, and it had nothing to do with Eclipse. In this scenario, all Eclipse does is communicate with Tomcat, and display console output. Tomcat was being notified in certain scenarios that files had changed, and it was restarting automatically. I set reloadable = "false", and this is no longer a problem.


Does the server show up in the Servers view?

If so, double-click the server in that view, expand the "Publishing" area, and select the "Never publish automatically" radio option. Save the server, and (re)start it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号