简体   繁体   English

将独立的Tomcat实例迁移到Eclipse

[英]Migrating Standalone Tomcat Instance to Eclipse

Currently I'm just kicking off Tomcat as a daemon from a standalone shell startup script. 目前,我只是从独立的Shell启动脚本中将Tomcat作为守护程序启动。 With that, I have many customized files in my app. 这样,我的应用程序中就有许多自定义文件。 For example, the start-up script needs user input, is using modified web.xml and server.xml, etc. 例如,启动脚本需要用户输入,正在使用修改后的web.xml和server.xml等。

However, it'd be nice to debug the overall application through eclipse. 但是,最好通过eclipse调试整个应用程序。 I've loaded up my Eclipse with the capability to build my application, along with the appropriate jre, and the relative tomcat instance on the machine. 我已经为Eclipse加载了构建应用程序的能力,以及适当的jre以及计算机上相对的tomcat实例。

How do I configure the tomcat I linked into Eclipse to utilize my custom startup script/ old server.xml/web.xml? 如何配置链接到Eclipse的tomcat,以利用我的自定义启动脚本/旧的server.xml / web.xml? There must be configuration for this but it's ill 必须对此进行配置,但这是病态的

Thanks 谢谢

PR PR

Have you considered the Java remote debugging option? 您是否考虑过Java远程调试选项? This way you could use your current Tomcat setup. 这样,您可以使用当前的Tomcat设置。

http://www.eclipsezone.com/eclipse/forums/t53459.html http://www.eclipsezone.com/eclipse/forums/t53459.html

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

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