起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1565|回复: 3

[处理中1] tomcat运行时出错

[复制链接]

23

主题

74

帖子

130

积分

初级会员

Rank: 2

积分
130
QQ
发表于 2016-9-11 01:38:49 | 显示全部楼层 |阅读模式
我开发第一个最简单的HELLO WORD页面时出现的:
新建一个空白的 index.w 时,再tomcat 会出现如下错误

九月 11, 2016 1:36:17 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory app-builder
九月 11, 2016 1:36:18 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory app-template
九月 11, 2016 1:36:18 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
九月 11, 2016 1:36:18 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
九月 11, 2016 1:36:18 上午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
九月 11, 2016 1:36:18 上午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
九月 11, 2016 1:36:18 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
九月 11, 2016 1:36:18 上午 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:549)
        at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:565)
        at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:207)
        at org.apache.catalina.connector.Connector.start(Connector.java:1197)
        at org.apache.catalina.core.StandardService.start(StandardService.java:540)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at java.net.ServerSocket.<init>(ServerSocket.java:181)
        at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
        ... 12 more

九月 11, 2016 1:36:18 上午 org.apache.catalina.core.StandardService start
严重: Failed to start connector [Connector[HTTP/1.1-8080]]
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080
        at org.apache.catalina.connector.Connector.start(Connector.java:1204)
        at org.apache.catalina.core.StandardService.start(StandardService.java:540)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

九月 11, 2016 1:36:18 上午 org.apache.jk.common.ChannelSocket init
信息: Port busy 8009 java.net.BindException: Address already in use: JVM_Bind
九月 11, 2016 1:36:18 上午 org.apache.jk.common.ChannelSocket init
严重: Can't find free port 8009 8009
九月 11, 2016 1:36:18 上午 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/13  config=null
九月 11, 2016 1:36:18 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3032 ms
九月 11, 2016 1:36:18 上午 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:406)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:676)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:628)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

九月 11, 2016 1:36:18 上午 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8080
九月 11, 2016 1:36:19 上午 org.apache.catalina.core.StandardService stop
信息: Stopping service Catalina
九月 11, 2016 1:36:19 上午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextDestroyed()
九月 11, 2016 1:36:19 上午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextDestroyed()
九月 11, 2016 1:36:20 上午 org.apache.coyote.http11.Http11Protocol destroy
信息: Stopping Coyote HTTP/1.1 on http-8080
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

23

主题

74

帖子

130

积分

初级会员

Rank: 2

积分
130
QQ
 楼主| 发表于 2016-9-11 15:59:42 | 显示全部楼层
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:406)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:676)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:628)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
回复 支持 反对

使用道具 举报

23

主题

74

帖子

130

积分

初级会员

Rank: 2

积分
130
QQ
 楼主| 发表于 2016-9-11 16:00:09 | 显示全部楼层
bootstrap  经常有这种错误提示,是什么意思啊
回复 支持 反对

使用道具 举报

1

主题

3232

帖子

1174

积分

金牌会员

Rank: 6Rank: 6

积分
1174
QQ
发表于 2016-9-12 13:46:06 | 显示全部楼层
看一下是不是端口被占用了,8080端口  另外bootstrap  是一个前端框架,wex5 集成这个框架,为了更好更快的开发
在问题解决后,希望大家可以吧解决方法也分享一下,这样可以让更多的X5开发者共同进步,谢谢大家的知识共享
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-24 21:38 , Processed in 0.088733 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表