免费注册 查看新帖 |

Chinaunix

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

[Web] 按照精华 整合apache2和tomcat5遇到问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-10-15 21:56 |只看该作者 |倒序浏览
redhat9, jdk1.4。

编译安装apache2完成,在ie里面可以看到“您要得不是这个吧”的页面。

binary安装tomcat5完成,8080端口可以看到小猫。

在make安装JK2的时候遇到一个问题,在/usr/local/apache/conf里面看不到那个workers2.properties,后来我就在解压的安装文件里面拷了一个过去。
我按找精华里面的一个帖子,按部就班,该做的都做了。
然后启动apache,不启动tomcat,http://xxx.xxx.xxx.xx,ie里面显示tomcat没有启动的那个报错页面。表明整合基本上成功了。
但是启动tomcat之后,再在地址栏键入http://xxx.xxx.xxx.xx,出现长时间的等待,而同时http://xxx.xxx.xxx.xx:8080还可以显示小猫。

请问这是怎么回事?需要改tomcat还是apache?

请各位过来人给个意见,先谢谢了。

论坛徽章:
0
2 [报告]
发表于 2005-10-15 21:58 |只看该作者

按照精华 整合apache2和tomcat5遇到问题

问一句,在tomcat里面应该怎么修改那个server.xml?我一点都没改。
是不是这里有问题?有谁能贴一个正确地配置出来么?谢谢了。

论坛徽章:
0
3 [报告]
发表于 2005-10-16 00:32 |只看该作者

按照精华 整合apache2和tomcat5遇到问题

长时间不相应是因为超时定义为0了,我改为10000后,10秒后显示:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmater@xxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


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

Apache/2.0.55 (Unix) mod_jk2/2.0.2 Server at 61.129.117.71 Port 80
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP