免费注册 查看新帖 |

Chinaunix

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

[Web] 关于apache和tomcat整合问题,等待中........ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-21 17:01 |只看该作者 |倒序浏览
系统:redflag v4
         apache 1.3
         tomcat 4
         tomcat-connectors1.2

全部编译成功,在httpd.conf中加入
LoadModule jk_module            libexec/mod_jk.so

#Declare the module for <IfModule directive>;
#AddModule mod_jk.c

# Where to find workers.properties
JkWorkersFile /apache/conf/workers.properties

# Where to put jk logs
JkLogFile /apache/logs/mod_jk.log

# Set the jk log level [debug/error/info]
JkLogLevel info

# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"

# Send servlet for context /examples to worker named worker1
JkMount /www/web/itts/*.jsp worker1
JkMount /www/web/itts/*.jsp ajp13
# Send JSPs for context /examples to worker named worker1
JkMount /www/web/itls worker1


workers.properties文件内容
# Define 1 real worker using ajp13
worker.list=worker1  

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13  
worker.worker1.host=localhost  
worker.worker1.port=8009  
worker.worker1.lbfactor=50  
worker.worker1.cachesize=10  
worker.worker1.cache_timeout=600  
worker.worker1.socket_keepalive=1  
worker.worker1.socket_timeout=300

但是还是无法解析jsp,求助中。。。。。
还要做什么呀!!!!!!!!!

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
2 [报告]
发表于 2004-10-24 09:05 |只看该作者

关于apache和tomcat整合问题,等待中........

过几天我有时间了,把这个给写出来。

其实都很简单的。
首先,apache,tomcat 都可以独立访问了么?
如果不能,后面的就勉谈了。

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
3 [报告]
发表于 2004-10-24 09:07 |只看该作者

关于apache和tomcat整合问题,等待中........

你去jakarta.apache.org看看connecter的jk的jk2的文档
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP