tomcat启动提示端口问题

我电脑上装了elicpse,然后我又装了一个idea 公用同一个tomcat,tomcat之前只为elicpse中的项目服务,我装完idea配置好tomcat后启动就提示:
Using CATALINA_BASE: "C:\Users\Administrator.IntelliJIdea2016.2\system\tomcat\Unnamed_Idea_2"
Using CATALINA_HOME: "E:\apache-tomcat-6.0.37"
Using CATALINA_TMPDIR: "E:\apache-tomcat-6.0.37\temp"
Using JRE_HOME: "E:\java\jdk"
Using CLASSPATH: "E:\apache-tomcat-6.0.37\bin\bootstrap.jar"
九月 30, 2016 4:13:15 下午 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
九月 30, 2016 4:13:15 下午 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
九月 30, 2016 4:13:16 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized with version OpenSSL 1.0.1d 5 Feb 2013
九月 30, 2016 4:13:17 下午 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
九月 30, 2016 4:13:17 下午 org.apache.coyote.ajp.AjpAprProtocol init
严重: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730013] ???????????????í????×??????·??????×?
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:671)
at org.apache.coyote.ajp.AjpAprProtocol.init(AjpAprProtocol.java:164)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1123)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

九月 30, 2016 4:13:17 下午 org.apache.catalina.core.StandardService initialize
严重: Failed to initialize connector [Connector[AJP/1.3-1099]]
LifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730013] ???????????????í????×??????·??????×?
at org.apache.catalina.connector.Connector.initialize(Connector.java:1125)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

九月 30, 2016 4:13:17 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1476 ms
九月 30, 2016 4:13:17 下午 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
九月 30, 2016 4:13:17 下午 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.37
九月 30, 2016 4:13:17 下午 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
九月 30, 2016 4:13:17 下午 org.apache.coyote.ajp.AjpAprProtocol start
严重: Error starting endpoint
java.lang.Exception: Socket bind failed: [730013] ???????????????í????×??????·??????×?
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:671)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:851)
at org.apache.coyote.ajp.AjpAprProtocol.start(AjpAprProtocol.java:192)
at org.apache.catalina.connector.Connector.start(Connector.java:1196)
at org.apache.catalina.core.StandardService.start(StandardService.java:540)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

九月 30, 2016 4:13:17 下午 org.apache.catalina.core.StandardService start
严重: Failed to start connector [Connector[AJP/1.3-1099]]
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.lang.Exception: Socket bind failed: [730013] ???????????????í????×??????·??????×?
at org.apache.catalina.connector.Connector.start(Connector.java:1203)
at org.apache.catalina.core.StandardService.start(StandardService.java:540)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

九月 30, 2016 4:13:17 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 85 ms
Connected to server

然后我也查找了进程,手动ks掉了占用的进程,修改了端口号,重启了tomcat,但是似乎没有太大的作用,
求助各位大神给出一个有用的解决方案!!!

1个回答

Eclipse里面把Tomcat关掉或者进Tomcat的安装路径里面的bin文件夹中shutdown.bat运行这个关掉Tomcat,再从idea里面启动Tomcat

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问