Topic: eclipse3.0.1+tomcat5.0.28+lomboz3.0.1运行j2ee问题

  Print this page

1.eclipse3.0.1+tomcat5.0.28+lomboz3.0.1运行j2ee问题 Copy to clipboard
Posted by: wline
Posted on: 2005-08-25 11:17

eclipse3.0.1+tomcat5.0.28+lomboz3.0.1配置成功后,新建一J2EE应用,没有作任何编辑修改,直接运行,控制报错如下:
2005-8-25 11:09:06 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(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
2005-8-25 11:09:06 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(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
2005-8-25 11:09:06 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1332 ms
2005-8-25 11:09:06 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2005-8-25 11:09:06 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2005-8-25 11:09:06 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2005-8-25 11:09:06 org.apache.catalina.startup.ContextConfig applicationConfig
信息: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test1]
2005-8-25 11:09:07 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2005-8-25 11:09:07 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
2005-8-25 11:09:07 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2005-8-25 11:09:07 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2005-8-25 11:09:07 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
2005-8-25 11:09:08 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
2005-8-25 11:09:09 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
2005-8-25 11:09:09 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /jsp-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
2005-8-25 11:09:09 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /myapp from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\myapp
2005-8-25 11:09:09 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
2005-8-25 11:09:09 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /servlets-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-examples
2005-8-25 11:09:09 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /tomcat-docs from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
2005-8-25 11:09:09 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /webdav from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
2005-8-25 11:09:09 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(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2005-8-25 11:09:09 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(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2005-8-25 11:09:09 org.apache.catalina.startup.Catalina start
信息: Server startup in 3505 ms
StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
  at java.net.ServerSocket.bind(ServerSocket.java:318)
  at java.net.ServerSocket.<init>(ServerSocket.java:185)
  at org.apache.catalina.core.StandardServer.await(StandardServer.java:496)
  at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
  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:324)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2005-8-25 11:09:09 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8080
2005-8-25 11:09:09 org.apache.coyote.tomcat5.CoyoteConnector pause
严重: Protocol handler pause failed
java.lang.NullPointerException
  at org.apache.coyote.tomcat5.CoyoteConnector.pause(CoyoteConnector.java:1444)
  at org.apache.catalina.core.StandardService.stop(StandardService.java:521)
  at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2347)
  at org.apache.catalina.startup.Catalina.stop(Catalina.java:605)
  at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:648)

到此无法学习下去了,请问是什么问题?
不胜感激先!

2.Re:eclipse3.0.1+tomcat5.0.28+lomboz3.0.1运行j2ee问题 [Re: wline] Copy to clipboard
Posted by: wline
Posted on: 2005-08-25 11:53

tomcat 在eclipse中已正常启动.

3.Re:eclipse3.0.1+tomcat5.0.28+lomboz3.0.1运行j2ee问题 [Re: wline] Copy to clipboard
Posted by: stone7
Posted on: 2005-08-28 21:58

java.net.BindException: Address already in use: JVM_Bind:8080
8080端口被占用啊,换个端口


   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