How to solve, "Application Server was not connected before run configuration stop" in IntelliJ Ultimate 2019.3? (Solved)

Answered

After I ran: sudo chmod -R 7777 /var/lib/tomcat9/conf to avoid the permission error message. I am started getting new error message:

Update 1:
After i changed /etc/tomcat9/server.xml line from <Server port="-1"> to port 8080. Now I am getting a new error message:

Update 2:

Changed HTTP port to 8080 inside Run/Debug Configuration.

**************** Problem solved for now ******************************************

Disto: Ubuntu 19.10

2 comments
Comment actions Permalink

Could you please check this answer https://stackoverflow.com/questions/58582457/tomcat-9-027-port-out-of-range , and let me know, if it helps.

0
Comment actions Permalink

@...

Like I mentioned the problem in the post I solved my problem mentioning how I solved it,

 

But the solving mechanism is not healthy. Having to give chmod 777 is a bad thing to do. And this (i,e File permission) issue was also solved as per the discussion I made here.


#SolvedForNow #CloseIt

0

Please sign in to leave a comment.