首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

求援:Address already in use: connect?

2011-12-11 
求助:Address already in use: connect???2007-08-0708:47:17StandardWrapperValve[jsp]:Servlet.service(

求助:Address already in use: connect???
2007-08-07   08:47:17   StandardWrapperValve[jsp]:   Servlet.service()   for   servlet   jsp   threw   exception
org.apache.jasper.JasperException:   Unable   to   connect   to   any   hosts   due   to   exception:   java.net.BindException:   Address   already   in   use:   connect

**   BEGIN   NESTED   EXCEPTION   **  

java.net.BindException
MESSAGE:   Address   already   in   use:   connect

STACKTRACE:

java.net.BindException:   Address   already   in   use:   connect
  at   java.net.PlainSocketImpl.socketConnect(Native   Method)
  at   java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
  at   java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
  at   java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
  at   java.net.Socket.connect(Socket.java:426)
  at   java.net.Socket.connect(Socket.java:376)
  at   java.net.Socket. <init> (Socket.java:291)
  at   java.net.Socket. <init> (Socket.java:119)
  at   com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:124)
  at   com.mysql.jdbc.MysqlIO. <init> (MysqlIO.java:225)
  at   com.mysql.jdbc.Connection.createNewIO(Connection.java:1783)
  at   com.mysql.jdbc.Connection. <init> (Connection.java:450)
  at   com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
  at   java.sql.DriverManager.getConnection(DriverManager.java:512)
  at   java.sql.DriverManager.getConnection(DriverManager.java:193)
  at   org.apache.jsp.dw_xxzw_jsp._jspService(dw_xxzw_jsp.java:82)
  at   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
  at   javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
  at   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
  at   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
  at   javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
  at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
  at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
  at   org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  at   org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at   org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
  at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
  at   org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)


  at   org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
  at   org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
  at   org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
  at   org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at   org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
  at   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
  at   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
  at   org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
  at   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
  at   java.lang.Thread.run(Thread.java:536)


**   END   NESTED   EXCEPTION   **

  -----------------------------------------------------------------

是什么问题啊?怎么解决?

谢谢


[解决办法]
端口冲突

热点排行