9

I am using Intellij Ultimate edition 14.0.2

Working on a Java project using Maven as my build tool.

We are getting this error when attempting to launch my project via Tomcat server.

Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099

Have attempted, mvn clean install, rebuild the project in intellij, open and shut down intellij.

Vadim Kotov
  • 7,766
  • 8
  • 46
  • 61
CalebKing3
  • 144
  • 1
  • 1
  • 9

2 Answers2

3

Thanks for the feedback everyone. I ended up editing my host file to reference my computer name. I have not been able to recreate the issue.

Solved for now.

Vadim Kotov
  • 7,766
  • 8
  • 46
  • 61
CalebKing3
  • 144
  • 1
  • 1
  • 9
  • this one http://biomedicalontologies.com/2012/11/14/fixing-java-net-local-host-name-unknown-error-on-mac-os-x/ is only that helped me in my case. os x, IntelliJ 14, tomcat 8 – Yauhen Jul 08 '15 at 07:10
  • @CalebKing3, whats mean of `editing my host file to reference my computer name` ?? – aircraft Feb 16 '17 at 09:54
  • @aircraft if you go into terminal and start at `root` then `sudo vim /etc/hosts` then you will see your host file. I have localhost set to 127.0.0.1. – CalebKing3 Feb 17 '17 at 16:38
-1

Your problem is rarely ambiguous. You should check connection between IntelliJ IDEA and Tomcat Server. Checklist like marked points:
+ Configure Tomcat Server.
+ Before launch application server, you must configure to add artifacts to application sever.
+ Turn off other Tomcat server(s) in your computer (localhost)
etc.

enter image description here

James Graham
  • 39,063
  • 41
  • 167
  • 242
  • Hello Do Nhu Vy. My configuration is correct. The error only seems to occur if I was running tomcat and my mac goes to sleep. Then it gets stuck. The only solution which is not ideal, is shutting down the computer multiple times before it works again. – CalebKing3 Mar 20 '15 at 16:15
  • 1
    this the does not hep the slightest bit this is an awful answer. – tatsu May 23 '17 at 07:37