Tomcat in Eclipse: It runs but time out during startup anyway

后端 未结 7 1996
终归单人心
终归单人心 2020-12-31 20:19

I\'m running a java web app in Eclipse (Helios) using Tomcat 7. The server startups up successfully (duration indicated) however Eclipse\'s progress bar still spins saying t

7条回答
  •  没有蜡笔的小新
    2020-12-31 20:53

    This issue is related to a tomcat configured with HTTPS without a HTTP connector.

    I had this SSL connector in server.xml and my tomcat in Eclipse is always showing Starting:

    
    

    I suppose Eclipse uses a HTTP connection to the server to verify that instance of Tomcat is available.

    I've solve this problem including an aditional HTTP connector redirecting to HTTPS in server.xml.

    
    
    
    

    With this change my tomcat in Eclipse starts properly showing Debugging state.

提交回复
热议问题