I'm trying to run an exploded war, to deploy it from IDEA Ultimate through a local Tomcat Server run configuration
. When I start the main artifact I'm always getting this error.
I looked at other threads in here, for example, and I think I have a different problem. After IDEA reports failure, Tomcat is up and running and I can connect without a problem to localhost:1099
with Java VisualVM.
Regarding this one, I'm running a Debian 6 x64 system and localhost refers to 127.0.0.1 without issue. Also Java VisualVM works, so I'm confident I'm not having this problem. The tomcat distribution I'm using is apache-tomcat-6.0.43
.
There was a different problem I read about on the JetBrains trac and at least the -Djava.rmi.server.hostname=127.0.0.1
VM option specified there didn't help.
According to this thread (yet I'm obviously not running OS X) there might be an issue with JDK and the JMX interface, somewhere between 1.7.0_40 and 1.7.0_60. I have my problem though with 1.7.0_53, 1.7.0_23 and 1.7.0_80. And JMX probably works fine in my case (as I said above, VisualVM connects to the tomcat launched and "forgotten" by IDEA at localhost:1099
without failure).
Any clue about fixing this error?