免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4235 | 回复: 4
打印 上一主题 下一主题

求助:tomcat 启动后报错!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-01 12:38 |只看该作者 |倒序浏览
tomcat5.5用JK整合apache2.2在RH9下一启动就在catalina.out发现下面信息.

找了好久没解决!!!

请大家帮忙看看.是JSP的程序问题还是tomcat的设置问题?

要怎么解决?


Jun 1, 2006 11:58:05 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jun 1, 2006 11:58:06 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jun 1, 2006 11:58:07 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jun 1, 2006 11:58:07 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
Jun 1, 2006 11:58:16 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_06/jre/lib/i386/client:/usr/java/jdk1.5.0_06/jre/lib/i386
Jun 1, 2006 11:58:17 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 1, 2006 11:58:17 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1035 ms
Jun 1, 2006 11:58:17 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 1, 2006 11:58:17 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
Jun 1, 2006 11:58:17 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 1, 2006 11:58:21 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 1, 2006 11:58:24 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 1, 2006 11:58:24 AM org.apache.catalina.connector.MapperListener registerEngine
WARNING: Unknown default host: localhost
Jun 1, 2006 11:58:24 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jun 1, 2006 11:58:24 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/29  config=null
Jun 1, 2006 11:58:24 AM org.apache.catalina.connector.MapperListener registerEngine
WARNING: Unknown default host: localhost
Jun 1, 2006 11:58:25 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jun 1, 2006 11:58:25 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8096 ms
Jun 1, 2006 12:09:20 PM org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:51
        at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:112)
        at org.apache.jk.core.MsgContext.action(MsgContext.java:293)
        at org.apache.coyote.Response.action(Response.java:182)
        at org.apache.coyote.Response.finish(Response.java:304)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:204)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Jun 1, 2006 12:09:20 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
Jun 1, 2006 12:09:21 PM org.apache.jk.core.MsgContext action

论坛徽章:
0
2 [报告]
发表于 2006-06-01 21:40 |只看该作者
没人回答?自己顶一下.

我自己做了测试:

如果直接通过8080端口访问就不出现异常.

可见是Jk2的问题.但就是不知怎么解决.

论坛徽章:
0
3 [报告]
发表于 2007-11-07 09:00 |只看该作者
我的也是这个问题,查看google后,按别人的方法:修改了apache2 和tomcat的连接数也没有用。。。期待高手解答

论坛徽章:
0
4 [报告]
发表于 2007-11-08 00:23 |只看该作者
JK is an obsolete solution. Using apache mod_proxy module to complete the communication between Apache2 and Tomcat is recommended.


Best regards.

论坛徽章:
0
5 [报告]
发表于 2007-11-08 08:42 |只看该作者
有可能是80端口被其它的服务占用了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP