Tomcat not starting (throwing java.net.BindException: )

前端 未结 11 2142
礼貌的吻别
礼貌的吻别 2021-02-04 01:05

I have done the following settings to run a Java web project but somehow my Tomcat is not starting from Eclipse:

JAVA_HOME : C:\\Program Files\\Java\\jdk1.6.0_         


        
11条回答
  •  情歌与酒
    2021-02-04 01:33

    these lines :

    SEVERE: Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8009"]
    java.net.BindException: Address already in use: JVM_Bind :8009  
    

    imply that there is already a service running on port 8009. is there a tomcat (with ajp) running already?

    if the service running on 8009 is needed you could change the connector configuration in server.xml to something like below :

    
    

提交回复
热议问题