内蒙古java团队

j2se,j2ee开发组
posts - 139, comments - 212, trackbacks - 0, articles - 65
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

片段:
12:56:47,046 ERROR [Http11Protocol] Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind /127.0.0.1:8080
 at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:504)
 at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
 at org.apache.catalina.connector.Connector.initialize(Connector.java:1029)
 at org.apache.catalina.core.StandardService.initialize(StandardService.java:683)
 at org.apache.catalina.core.StandardService.init(StandardService.java:695)
 at org.apache.catalina.core.StandardService.start(StandardService.java:510)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:736)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:572)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


需要更改:jboss5\server\default\deploy\jbossweb.sar\server.xml下的端口号
<Service name="jboss.web">

      <!-- A HTTP/1.1 Connector on port 8080 -->
      <Connector protocol="HTTP/1.1" port="8881" address="${jboss.bind.address}"
               connectionTimeout="20000" redirectPort="8443" />

这里改为8881


只有注册用户登录后才能发表评论。


网站导航: