免费注册 查看新帖 |

Chinaunix

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

[Web] Tomcat5+Apache2整合的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-04 15:41 |只看该作者 |倒序浏览
环境
-rw-r--r--  1 root root  6034852 Dec  4  2007 apache-tomcat-5.5.25.tar.gz
-rw-r--r--  1 root root  6365535 Mar 28  2007 httpd-2.2.4.tar.gz
-rwxr--r--  1 root root 62678298 Aug 23 22:24 jdk-6-linux-i586.bin
-rw-r--r--  1 root root  1426003 Dec  4  2007 tomcat-connectors-1.2.25-src.tar.gz

apache install
./configure --prefix=/usr/local/apache2 --enable-module=most --enable-shared=max --enable-so
make
make install

/usr/local/apache2/bin/apachectl start   It's Work!!


tomcat install
mv apache-tomcat-5.5.25  /usr/local/tomcat
/usr/local/tomcat/bin/startup.sh       正常工作


connectors
tar -zxvf tomcat-connectors-1.2.25-src.tar.gz
第一次 我从网上看的  apache2 以上的服务器 用 --with-apxs2 于是
./configure --with-apxs2=/usr/local/apache2/bin/apxs
提示
no apache given
no netscape given
configure: error: Cannot find the WebServer

./configure --help  
发现根本没有 --with-apxs2  于是
./configure --with-apxs=/usr/local/apache2/bin/apxs
Ok
make
有警告
Warning!  dlname not found in /home/yaoyao/tomcat-connectors-1.2.25-src/native/apache-2.0/mod_jk.la.

make  install

有错误
Warning!  dlname not found in /usr/local/apache2/modules/mod_jk.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_jk.so
chmod: cannot access `/usr/local/apache2/modules/mod_jk.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make[1]: *** [install_dynamic] Error 1
make[1]: Leaving directory `/home/yaoyao/tomcat-connectors-1.2.25-src/native/apache-2.0'
make: *** [install-recursive] Error 1


请大家帮帮忙,为什么会这样????

论坛徽章:
0
2 [报告]
发表于 2007-12-07 10:17 |只看该作者
这个问题 怎么都只看 也不发表些意见呢?

论坛徽章:
0
3 [报告]
发表于 2007-12-09 15:06 |只看该作者

论坛徽章:
0
4 [报告]
发表于 2007-12-10 09:35 |只看该作者
等于没有说!
现在是出现了问题,不是不知道怎么做啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP