永发信息网

Tomcat配置

答案:5  悬赏:30  手机版
解决时间 2021-06-01 04:34

2009-11-2 13:50:58 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: C:\Program
Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WIN
DOWS\system32;C:\WINDOWS;c:\windows\system32\;C:\WINDOWS\system32;C:\WINDOWS;C:\
WINDOWS\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codec
s;e:\matlab6p5\bin\win32;C:\Program Files\Common Files\Autodesk Shared\;C:\Progr
am Files\backburner 2\;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Pr
ogram Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL
Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShel
l\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateA
ssemblies\;C:\WINDOWS\system32\WindowsPowerShell\v1.0\;E:\Java\jdk1.6.0_10\bin;E
:\Microsoft Visual Studio\Common\Tools\WinNT;E:\Microsoft Visual Studio\Common\M
SDev98\Bin;E:\Microsoft Visual Studio\Common\Tools;E:\Microsoft Visual Studio\VC
98\bin;f:\StormII\Codec;f:\StormII;C:\Program Files\Internet Explorer\;
2009-11-2 13:50:58 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind<null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)

at org.apache.catalina.connector.Connector.initialize(Connector.java:105
8)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:677)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
2009-11-2 13:50:58 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindExcept
ion: Address already in use: JVM_Bind<null>:8080
at org.apache.catalina.connector.Connector.initialize(Connector.java:106
0)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:677)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
2009-11-2 13:50:58 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 521 ms
2009-11-2 13:50:58 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-11-2 13:50:58 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2009-11-2 13:50:58 org.apache.coyote.http11.Http11Protocol start
严重: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind<null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:519)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203
)
at org.apache.catalina.connector.Connector.start(Connector.java:1131)
at org.apache.catalina.core.StandardService.start(StandardService.java:5
31)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2009-11-2 13:50:58 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start fail
ed: java.net.BindException: Address already in use: JVM_Bind<null>:8080
at org.apache.catalina.connector.Connector.start(Connector.java:1138)
at org.apache.catalina.core.StandardService.start(StandardService.java:5
31)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2009-11-2 13:50:58 org.apache.catalina.startup.Catalina start
信息: Server startup in 479 ms
2009-11-2 13:50:58 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373
)
at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2009-11-2 13:50:58 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8080
2009-11-2 13:50:58 org.apache.catalina.connector.Connector pause
严重: Protocol handler pause failed
java.lang.NullPointerException
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
at org.apache.catalina.connector.Connector.pause(Connector.java:1073)
at org.apache.catalina.core.StandardService.stop(StandardService.java:56
3)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)

at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalin
a.java:671)
2009-11-2 13:50:59 org.apache.catalina.core.StandardService stop
信息: Stopping service Catalina
2009-11-2 13:50:59 org.apache.catalina.connector.MapperListener destroy
警告: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
at org.apache.catalina.connector.MapperListener.destroy(MapperListener.j
ava:165)
at org.apache.catalina.connector.Connector.stop(Connector.java:1179)
at org.apache.catalina.core.StandardService.stop(StandardService.java:59
3)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)

at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalin
a.java:671)
2009-11-2 13:50:59 org.apache.coyote.http11.Http11Protocol destroy
信息: Stopping Coyote HTTP/1.1 on http-8080
2009-11-2 13:50:59 org.apache.catalina.connector.Connector stop
严重: Coyote connector has not been started

// 用的 是 jdk 1.6.0_10 版本, Tomcat 是 6.0.18 版本,

出现了 那么 多 错误, 但是 classpath, path 基本正确..

最佳答案

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />


这个给改咯

全部回答
我的端口是8090的,也不知什么原因现在和你出现的情况一样。我改了下端口改为8888,重启Tomcat就好了。也许有的软件会占用8090?不晓得,哈哈。。。

是的,端口8080已经被占用了。

1. 可能是别的应用程序在使用该端口;

2. 也可能是你的Tomcat应用程序启动了多份。

检查一下吧。

打开任务管理器 点击进程 关掉所有javaw.exe进程 然后在启动tomcat就好

8080端口被占用了~~你可以开启了多个TomCat
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
鬼泣4,求购一个下载地址,要没毒的,而且可
QQ自由幻想我CK35级以后怎么升级?急 急 急!
浙江义乌雪峰西路凯迪厢包的邮政编码是多少
云冈石窟位于哪
hero's come back歌词大意日文拼音
不能连接USB
梦幻西游经验太多,不能做师门怎么办?
找5年高考3年模拟物理必修人教版高2上期淘宝
形意拳初级入门?
揭阳榕城哪有卖索爱K750外壳
考计算机等级有用吗?
为什么在QQ上,要对另一个人设置在线对其隐身
剑魂穿什么时装好?
求汉之云完美修改器
我想知道怎么样才能看到《天使街23号》第五部
推荐资讯
我的QQ号码是不是中奖了
屁眼外面长了个肉丁
奥巴马是凭什么获奖的
什么样的人值得你用一生去守候?
给孩起个名字
QQ用银联卡直接充Q有风险吗?
怎么样能找到自己原先退的群啊?有什么办法哇
穿越火线怎么能升级得更快啊
篮球巨星迈克.乔丹的女儿叫什么??
sf怎样打空格
我是高一学生,买笔记本好,还是台式好?要求
地下城被封号这么办
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?