Tag: cargo

本地调试应用程序在tomcat上启动,货物在IntelliJ中

我正在尝试在我的货物配置中启用调试。 我正在使用具有以下配置的cargo-maven2-plugin版本1.4.19。 org.codehaus.cargo cargo-maven2-plugin 1.4.19 tomcat8x standalone 8080 -Xmx2048m -Xms512m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=63342 -Xnoagent -Djava.compiler=NONE 应用程序使用此配置启动,但IntelliJ从不连接到JVM以启用debuging。 如何使IntelliJ连接到JVM?

如何连接到远程服务器并使用Ant启动/停止在该特定服务器上运行的Tomcat?

目的是: 1: connect to a remote server maybe via host: ip , port: 8181 2: stop Tomcat that’s running on that server 3: deploy a .war file 4: restart tomcat