回文章列表
作者Seasonny.bbs@ptt.cc (曉風殘月‥), 信區: 386bsd
標題Re: [問題] Tomcat5.5
時間批踢踢實業 (Sun Dec 3 14:16:33 2006)
轉信站: GIBBS!ccnews.ncku!news2!Spring!ctu-gate!ctu-reader!news.nctu!ptt
Origin: sally.csie.ntu.edu.tw

※ 引述《chinsan.bbs@bbs.ilc.edu.tw (萌生退意)》之銘言:
: ※ 引述《Seasonny.bbs@ptt.cc (曉風殘月‥)》之銘言:
: > 謝謝各位 謝啦!! JDK抓到了
: > 不過還是很困惑 為什麼沒tomcatctl之類的cammand
: 現在大多的 daemon 都改用 rc script 方式,來做 start/stop/restart 之類的動作了
: 打 grep timcatctl /usr/ports/UPDATING 看看
 :P 謝謝你提供這份資料

 我想請問一下 找了一下資料 tomcat 需要與apache做整合
 http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html

 /usr/local/etc/apache/httpd.conf

 /usr/ports/www/mod_jk-apache2

安裝完成後 照著他的說明

Make sure mod_jk.so is enabled in %%APACHEETCDIR%%/httpd.conf and
mod_jk is configured.  Have a look at
%%APACHEETCDIR%%/mod_jk.conf.sample for an example.


1.取消註解 LoadModule jk_module         libexec/apache/mod_jk.so

好像還有 AddModule jk_module.c 這行
但我沒看到 我就自己加入,恩..

Invalid command 'AddModule', perhaps misspelled or defined by a module not
included in the server configuration

其他的設定應該都有設...

1. mod_jk.conf
2. workers.properties
3. add mod_jk.log file

暫時把註解掉 去跑看看

Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.

改了Tomcat server.xml 的port也是 @___@

可能是什麼原因阿?? 謝謝!

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 210.60.11.253
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻