简体   繁体   English

Netbeans 7 + Tomcat 7开始检测

[英]Netbeans 7 + Tomcat 7 start detection

I am using Netbeans with Tomcat 7 server (the one embedded in instalation). 我将Netbeans与Tomcat 7服务器(安装中的嵌入式服务器)一起使用。 Whenever I start the server, netbeans starts bombarding my application with requests: 每当我启动服务器时,netbeans就会用请求轰炸我的应用程序:

/netbeans-tomcat-status-test / netbeans-tomcat-status-test

and my app returns 404 (i dont have this page) and fails to detect its startup (in services I see the server as offline)...is there any way to workaround this bogus behaviour or is it some configuration issue? 并且我的应用返回404(我没有此页面)并且无法检测到它的启动(在服务中,我认为服务器处于脱机状态)...是否有任何方法可以解决此虚假行为或存在某些配置问题?

Thanks. 谢谢。

Netbeans 7.2 seems not to do this: it hits that url on application startup, but only once. Netbeans 7.2似乎不执行此操作:它在应用程序启动时会命中该URL,但只有一次。

Sadly under the profiler I see the same thing you report. 可悲的是,在探查器下,我看到的是与您报告的内容相同的内容。 Rather annoying. 有点烦人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM