tomcat端口号被占用

2011-5-8 23:56:36 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-5-8 23:56:36 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-5-8 23:56:36 org.apache.coyote.http11.Http11AprProtocol init
严重: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
 at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:646)
 at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
 at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
 at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
 at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-5-8 23:56:36 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
 at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
 at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
 at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-5-8 23:56:36 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 827 ms
2011-5-8 23:56:36 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-5-8 23:56:36 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.26
2011-5-8 23:56:36 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-5-8 23:56:37 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-5-8 23:56:37 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory BBS
2011-5-8 23:56:37 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory BLOG
2011-5-8 23:56:37 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory blogs
47 [main] INFO net.fckeditor.connector.Dispatcher - Connector initialized to net.fckeditor.connector.impl.ContextConnector
2011-5-8 23:56:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory connecteSQLServer
2011-5-8 23:56:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-5-8 23:56:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-5-8 23:56:38 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-5-8 23:56:38 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-5-8 23:56:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory fck
31 [main] INFO net.fckeditor.connector.Dispatcher - Connector initialized to net.fckeditor.connector.impl.ContextConnector
2011-5-8 23:56:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory fckeditor
47 [main] INFO net.fckeditor.connector.Dispatcher - Connector initialized to net.fckeditor.connector.impl.ContextConnector
2011-5-8 23:56:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory javalesson
2011-5-8 23:56:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory MEETING
2011-5-8 23:56:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory messageCat
2011-5-8 23:56:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory MessageOfJava
2011-5-8 23:56:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory OAKCGL
2011-5-8 23:56:39 org.apache.catalina.session.StandardManager doLoad
严重: IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException
 at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
 at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
 at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
 at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
 at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
 at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
 at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4396)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:519)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2011-5-8 23:56:39 org.apache.catalina.session.StandardManager start
严重: Exception loading sessions from persistent storage
java.io.EOFException
 at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
 at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
 at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
 at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
 at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
 at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
 at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4396)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:519)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2011-5-8 23:56:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory OAKCGL.myeclipse.bak
2011-5-8 23:56:40 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-5-8 23:56:40 org.apache.coyote.http11.Http11AprProtocol start
严重: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
 at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:646)
 at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:753)
 at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
 at org.apache.catalina.connector.Connector.start(Connector.java:1087)
 at org.apache.catalina.core.StandardService.start(StandardService.java:534)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2011-5-8 23:56:40 org.apache.catalina.startup.Catalina start
严重: Catalina.start: 
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
 at org.apache.catalina.connector.Connector.start(Connector.java:1094)
 at org.apache.catalina.core.StandardService.start(StandardService.java:534)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2011-5-8 23:56:40 org.apache.catalina.startup.Catalina start
信息: Server startup in 3383 ms
2011-5-8 23:56:50 org.apache.catalina.loader.WebappClassLoader modified
信息:     Additional JARs have been added : 'mysql-connector-java-5.1.6-bin.jar'
2011-5-8 23:56:50 org.apache.catalina.core.StandardContext reload
信息: Reloading this Context has started
2011-5-8 23:56:50 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: A web application registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

时间: 2024-09-20 05:00:22

tomcat端口号被占用的相关文章

linux解决端口号被占用

Linux下我们经常需要解决端口占用的问题,解决方法如下: linux: 1 某个端口号被占用,查看pid##根据端口查看进程信息 lsof -i:14700 ##根据进程号查看进程对应的可执行程序 ps -f -p 进程号 还可用netstatnetstat 的常用参数: - t.- u.- w和- x分别表示TCP.UDP.RAW和UNIX套接字连接.-a标记,还会显示出等待连接(也就是说处于监听模式)的套接字.-l 显示正在被监听(listen)的端口, -n表示直接显示端口数字而不是通过

Android开发中遇到端口号占用问题解决方法

  这篇文章主要介绍了Android开发中遇到端口号占用问题解决方法,本文给出了一个简洁实用的方法来解决这个烦人的问题,需要的朋友可以参考下 Android开发的时候经常遇到端口号被占用的问题,经常使程序无法运行,很烦人.我总结了一个很好的方法,非常实用.方法如下: (1):方法1: 第一步:1:netstat -ano | findstr "5037" 第二步:2:TASKLIST | findstr "9292" (2):方法2: 首先进入目录下:E: 代码如下

Android开发中遇到端口号占用问题解决方法_Android

Android开发的时候经常遇到端口号被占用的问题,经常使程序无法运行,很烦人.我总结了一个很好的方法,非常实用.方法如下: (1):方法1: 第一步:1:netstat -ano | findstr "5037" 第二步:2:TASKLIST | findstr "9292" (2):方法2: 首先进入目录下:E: 复制代码 代码如下: adb kill-server adb start-server 如下图所示:

Windows和Virtualbox端口号映射失败怎么办?

在Virtualbox虚拟机中运行Ubuntu系统时,有时候需要通过端口映射来实现主机pc端和虚拟机内部镜像通信,端口和虚拟机内部的服务相对应.在Virtualbox启动阶段会映射这些端口,然而在Windows中部分机器却出现端口映射失败的情况,那么,Windows和 Virtualbox端口号映射失败该怎么办呢? 端口映射失败日志如下: 00:00:01.125577 NAT: set redirect UDP host 0.0.0.0:6000 => guest 10.0.2.15:6000

启动tomcat 报dubbo端口号冲突

问题描述 启动tomcat 报dubbo端口号冲突 启动tomcat ,同时会报下面的错误 14:56:08.607 [localhost-startStop-1] ERROR o.s.web.context.ContextLoader - Context initialization failedcom.alibaba.dubbo.rpc.RpcException: Fail to start server(url: dubbo://172.16.0.62:21889/com.winit.sm

查看80端口号占用windows和linux

  1.在windows下如何查看80端口占用情况?是被哪个进程占用?如何终止等. 这里主要是用到windows下的DOS工具,点击"开始"--"运行",输入"cmd"后点击确定按钮,进入DOS窗口,接下来分别运行以下命令: >netstat -aon | findstr "80" Proto Local Address Foreign Address State PID ==== ============ ======

查看本机开放的端口号,查看某个端口号是否被占用,查看被占用的端口号被哪个进程所占用,如何结束该进程

利用快捷键win+R键打开运行窗口.输入cmd回车打开命令提示符窗口 1:查看本机开放的端口,即已被占用的端口号.命令:netstat -an 部分结果列表:Proto  Local Address          Foreign Address        StateTCP    0.0.0.0:135            0.0.0.0:0             LISTENINGTCP    0.0.0.0:3473           0.0.0.0:0            

Tomcat的设置4——Tomcat的体系结构与设置基于端口号的虚拟主机

一.Tomcat体系结构 从conf/server.xml可体现Tomcat的体系.一个Server可有多个service,一个service可以有多个连接器connector,每个连接器暴露出不同的端口进行不同的操作.比如图示的JK连接器程序通过一个connector进行集群处理,不需要集群的时候可以将该connector在配置文件中删除,做到了可插拔式.该图参考张孝祥老师tomcat视频. 二.基于端口号的虚拟主机 一个server可以有多个service,新增service2: <Serv

tomcat改了端口号还是闪退!!求大神解救!!

问题描述 tomcat改了端口号还是闪退!!求大神解救!! 严重: Failed to initialize end point associated with ProtocolHandler [""http-apr-8080""]java.lang.Exception: Socket bind failed: [730013] ???????????????í????×??????·??????×? 严重: Failed to initialize connect