I am trying to launch a blown up war to deploy it from IDEA Ultimate using local Tomcat Server run configuration. When I start the main artifact, I always get this error.
I looked at other topics here, for example , and I think I have a different problem. After the reports crash, IDEA Tomcat is running and I can connect without problems to localhost:1099using Java VisualVM.
As for this , I am running a Debian 6 x64 system, and localhost is referencing 127.0.0.1 without any problems. Java VisualVM also works, so I'm sure I don't have this problem. The tomcat distribution I use is this apache-tomcat-6.0.43.
There was another problem that I read about the JetBrains track and at least the -Djava.rmi.server.hostname=127.0.0.1VM option specified there did not help.
According to this thread (but I obviously don't run OS X), there might be a problem with the JDK and 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 running and forgotten IDEA localhost:1099without crashing).
?