Artifact XXX:war: Server is not connected. Deploy is not available.
I am evaluating the Ultimate Edition of IntelliJ IDEA for our company. So far everything looks good but I am having problems with the Tomcat integration. I can't launch the debug configuration for my local Tomcat instance. I tried updating Tomcat to the latest build but not luck. I am attaching screenshots of the output and configuration. Thanks for any help.
Mac OSX 10.8.4
Tomcat 7.0.0.42
IntelliJ 12.1.4
CATALINA_OPTS = -Dcom.sun.management.jmxremote= -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=127.0.0.1
EDIT:
I noticed this in the catalina.out
Jul 16, 2013 3:22:01 PM org.apache.catalina.core.StandardServer await
WARNING: StandardServer.await: Invalid command '' received
Attachment(s):
run-debug.tiff
startup.tiff
output.tiff
请先登录再写评论。
Hello,
Your issue looks similar to the one solved here: http://youtrack.jetbrains.com/issue/IDEA-96865#comment=27-528103
Also please note, you should not pass JMX arguments with CATALINA_OPTS manually, since IDEA does this for you.
Regards,
Michael
Thank you, that solved my issue. Is this requirement documented anywhere? I didn't see it anywhere in the documentation related to Tomcat Plugin setup.