Topic: 我的TOMCAT出问题了,希望牛人急救一下

  Print this page

1.我的TOMCAT出问题了,希望牛人急救一下 Copy to clipboard
Posted by: blueshoot
Posted on: 2006-11-16 19:54

我的JDK安装在D:\Program Files\Java目录下,此目录下有2个文件夹,一个是JDK一个是JRE,JDK目录下有BIN,LIB等文件夹;
我的配置:
JAVA_HOME=D:\Program Files\Java\jdk
CLASSPATH=.;%JAVA_HOME%\lib\tools.jar;
PATH=%JAVA_HOME%\bin;
可是在运行TOMCAT的时候出现了异常,以下是启动信息:
2006-11-16 19:47:45 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
  at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
  at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
  at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
  at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
  at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
  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:250)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
2006-11-16 19:47:45 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
  at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
  at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
  at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
  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:250)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
2006-11-16 19:47:45 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1031 ms
2006-11-16 19:47:46 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2006-11-16 19:47:46 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2006-11-16 19:47:46 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2006-11-16 19:47:46 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2006-11-16 19:47:46 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:E:\tomcat\conf\Catalina\localhost\admin.xml
2006-11-16 19:47:46 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2006-11-16 19:47:46 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2006-11-16 19:47:47 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
2006-11-16 19:47:47 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:E:\tomcat\conf\Catalina\localhost\balancer.xml
2006-11-16 19:47:47 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:E:\tomcat\conf\Catalina\localhost\manager.xml
2006-11-16 19:47:48 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /jsp-examples from URL file:E:\tomcat\webapps\jsp-examples
2006-11-16 19:47:48 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path from URL file:E:\tomcat\webapps\ROOT
2006-11-16 19:47:48 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /servlets-examples from URL file:E:\tomcat\webapps\servlets-examples
2006-11-16 19:47:48 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /tomcat-docs from URL file:E:\tomcat\webapps\tomcat-docs
2006-11-16 19:47:48 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /webdav from URL file:E:\tomcat\webapps\webdav
2006-11-16 19:47:48 org.apache.coyote.http11.Http11Protocol start
严重: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
  at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
  at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:281)
  at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171)
  at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1527)
  at org.apache.catalina.core.StandardService.start(StandardService.java:489)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
  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:287)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2006-11-16 19:47:48 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException: Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080
  at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1529)
  at org.apache.catalina.core.StandardService.start(StandardService.java:489)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
  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:287)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2006-11-16 19:47:48 org.apache.catalina.startup.Catalina start
信息: Server startup in 2781 ms
请哪位高手告诉我,我的问题出在哪儿?

2.Re:我的TOMCAT出问题了,希望牛人急救一下 [Re: blueshoot] Copy to clipboard
Posted by: lisliefor
Posted on: 2006-11-16 22:19

端口已被占用!你看一下安装了什么软件,使用这个端口。

3.Re:我的TOMCAT出问题了,希望牛人急救一下 [Re: blueshoot] Copy to clipboard
Posted by: lixj0571
Posted on: 2006-11-17 21:43

可以使用netstat -a查看一下

4.Re:我的TOMCAT出问题了,希望牛人急救一下 [Re: blueshoot] Copy to clipboard
Posted by: hransun
Posted on: 2006-11-23 06:53

server.xml 把端口改了

5.Re:我的TOMCAT出问题了,希望牛人急救一下 [Re: blueshoot] Copy to clipboard
Posted by: 老肥羊
Posted on: 2008-03-01 13:48

2006-11-16 19:47:45 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8080

6.Re:我的TOMCAT出问题了,希望牛人急救一下 [Re: blueshoot] Copy to clipboard
Posted by: manysysy
Posted on: 2008-03-20 15:35

是的,是端口占用的原因,换个端口就可以了,呵呵


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923