Server is not connected. Deploy is not available. IntelliJ 13 and Tomcat 7

前端 未结 5 1155
轻奢々
轻奢々 2021-01-18 10:49

Trying to run my app with IntelliJ 13 and Apache tomcat 7.0.42. JDK1.6

Always getting the error Artifact app:war exploded: Server is not connected. Deploy is

5条回答
  •  时光说笑
    2021-01-18 11:28

    I had this issue today and it wasn't due to setenv.sh as discussed on the other thread. In the end it was an issue with $CATALINA_BASE/conf/server.xml.

    For some reason in our server.xml we were using a custom engine name for example

    
    

    I tried again with a clean server.xml from tomcat 7.0.57 and the artifact deployed perfectly. After trial and error it came down to this one line.

    Changing engine name to 'Catalina' as shown below value fixed our issue and allowed our exploded artifact to deploy using our customised server.xml

    
    

    If you are seeing this issue try a clean server.xml and work backwards from there.

提交回复
热议问题