redhat9.0下APACHE2.X与TOMCAT整合问题,很怪异

xiaoming851 2003-10-24 06:22:17
WebApp: Error 404
(File: /usr/local/jakarta-tomcat-connectors-4.1.27-src/webapp/lib/wa_request.c Line: 205)

--------------------------------------------------------------------------------
Web-application not yet deployed


就是这样的错误,不过我在编译support/buildconf.sh的时候,./configure --with-apxs 编译不过去,按照安装说明,安装了devel-2.0.40-8.i386.rpm包也不行,最后只好使用./configure --with-apxs=/usr/local/apache/bin/apxs的参数可以编译过去
httpd.conf与server.xml的配置都设置了,通过8080端口可以访问,但是整合后的APACHE却不能访问,哭求大家帮助啊~~~
...全文
6 点赞 收藏 5
写回复
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaoming851 2003-10-27
特把平台搭建过程写出:
tomcat+apache for linux

jakarta-tomcat-connectors-jk-1.2-src-current.tar.gz
jakarta-tomcat-4.1.27
apache2.0.43



#make mod_jk.so

cd conn*/jk/native
./buildconf.sh
./configure --with-apxs=/usr/local/apache/bin/apxs
make
cp apache-2.0/mod_jk.so /usr/local/apache/modules/



#edition tomcat.conf

LoadModule jk_module modules/mod_jk.so
#AddModule /usr/local/apache/modules/mod_jk.c
JkWorkersFile /usr/local/apache/conf/jk2.properties
JkLogFile /usr/local/tomcat/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /examples/servlet/* worker1
JkMount /examples/*.jsp worker1



#edition jk2.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



#edition httpd.conf
#add lines
Include /usr/local/apache/conf/tomcat.conf
回复
xiaoming851 2003-10-26
多方查找资料,问题已经解决
Apache2.0.43 + tomcat-4.1.27 + jakarta-tomcat-connectors-jk-1.2.5-src
终于解决,自己给自己加分
回复
www203 2003-10-25
、、、、、、、、,,,,,,,,
回复
xiaoming851 2003-10-24
?????????
回复
xiaoming851 2003-10-24
难道真的没人知道么?
回复
发动态
发帖子
Web 开发
创建于2007-09-28

7.9w+

社区成员

Java Web 开发
申请成为版主
社区公告
暂无公告