永发信息网

Tomcat配置

答案:5  悬赏:30  手机版
解决时间 2021-06-01 04:34
  • 提问者网友:鐵馬踏冰河
  • 2021-05-31 17: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 基本正确..

最佳答案
  • 五星知识达人网友:三千妖杀
  • 2021-05-31 18:06

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


这个给改咯

全部回答
  • 1楼网友:撞了怀
  • 2021-05-31 21:46
我的端口是8090的,也不知什么原因现在和你出现的情况一样。我改了下端口改为8888,重启Tomcat就好了。也许有的软件会占用8090?不晓得,哈哈。。。
  • 2楼网友:迷人又混蛋
  • 2021-05-31 21:19

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

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

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

检查一下吧。

  • 3楼网友:我住北渡口
  • 2021-05-31 19:58

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

  • 4楼网友:行雁书
  • 2021-05-31 18:48
8080端口被占用了~~你可以开启了多个TomCat
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯