flighttop 回復于:2005-03-10 02:20:11 |
Several products, such as Blackboard Learning System, is built on this model. It is very good. Thanks! |
斜月三星 回復于:2005-03-10 11:44:29 |
太感謝了,我正在發愁這個問題呢!用別的方法不行??戳撕芏辔恼铝?。一會兒我就去試一試。另外,Apache怎么升級呢?我怕影響里面的設置,沒敢動。 |
嘻哈標明 回復于:2005-03-11 14:08:02 |
運行到./configure --with-apxs2=/usr/sbin/apxs --with-jni --with-apr-lib=/usr/lib 時為何出configure: error: Invalid location for apxs: '/usr/sbin/apxs'
呢? |
wolfg 回復于:2005-03-11 15:28:42 |
[quote:3ca1f3fecf="嘻哈標明"]運行到./configure --with-apxs2=/usr/sbin/apxs --with-jni --with-apr-lib=/usr/lib 時為何出configure: error: Invalid location for apxs: '/usr/sbin/apxs'
呢?[/quote:3ca1f3fecf]你的apxs不在/usr/sbin/下吧 |
wolfg 回復于:2005-03-11 15:29:50 |
[b:8891894ec0]JK2 is officially unsupported![/b:8891894ec0]
http://jakarta.apache.org/tomcat/connectors-doc/ JK2 has been put in maintainer mode and no further development will take place. The reason for shutting down JK2 development was the lack of developers interest. Other reason was lack of users interest in adopting JK2, caused by configuration complexity when compared to JK. JK2 will have it's successor within core Apache2.1/2.2 distribution. We have developed new proxy_ajp that is an addition to the mod_proxy and uses Tomcat's AJP protocol stack. It is developped in httpd-2.1 and integrated in it. We have also developed a new proxy_balancer module for load balancing http and ajp protocol stacks. |
嘻哈標明 回復于:2005-03-11 20:26:58 |
[quote:48570fad0a="wolfg"]愕腶pxs不在/usr/sbin/下吧[/quote:48570fad0a]
不 好意思,寫錯了,現在我改為 ./configure --with-apxs2=/usr/java/httpd2/bin/apxs --with-java-home=/usr/java/j2sdk1.4.2_07 還是出錯啊。。。如下: checking for mkdir... /bin/mkdir no apxs given need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl configure: error: can't locate libapr [root@localhost native2]# |
嘻哈標明 回復于:2005-03-14 23:57:57 |
上面這步已經自己解決,找不到LIBAPE。在本站查了相關文章得知需安裝libapr和libaprutil。但已經安裝了又出了個問題,我完成根據樓上所說的做,到修改server/apache2/Makefile 后 mark就出現了下面的錯,/usr/bin/ld: cannot find -ldb-4.1
collect2: ld returned 1 exit status make[1]: *** [../../../build/jk2/apache2/libjkjni.la] 錯誤 1 make[1]: Leaving directory `/root/www/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2' make: *** [jk2-build] 錯誤 1 [root@localhost native2]# 。。。。應該又少了ldb,這個是啥 文件,在哪下載呢? |
嘻哈標明 回復于:2005-03-15 01:16:23 |
ldb-4.1,,,我改成了4.2就可以過了。 http://1.2.3.4/jsp-examples/
http://1.2.3.4/status/ 也都能訪問。只不過不配置還不好?,F在比如說http://localhost/jsp-examples/index.jsp能正常訪問,但http://localhost/jsp-examples/index.htm不能訪問。我還在找原因。 |
擋泥板 回復于:2005-03-15 10:49:46 |
我的老是不成功,提示我:configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util |
vulcan 回復于:2005-03-15 14:54:57 |
我在運行到connector 的make這步時有如下的錯誤libtool: link: `../../../build/jk2/apache2/jk_channel_apr_socket.lo' is not a valid libtool object
make[1]: *** [../../../build/jk2/apache2/mod_jk2.la] Error 1 make[1]: Leaving directory `/usr/local/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2' make: *** [jk2-build] Error 1 哪錯了 ??? |
vulcan 回復于:2005-03-15 15:09:56 |
我在做到vi makefile 之后的make那步出現了下面的問題libtool: link: `../../../build/jk2/apache2/jk_channel_apr_socket.lo' is not a valid libtool object
make[1]: *** [../../../build/jk2/apache2/mod_jk2.la] Error 1 make[1]: Leaving directory `/usr/local/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2' make: *** [jk2-build] Error 1 為什么? |
嘻哈標明 回復于:2005-03-15 16:35:04 |
我現在重新安裝了FC3了出錯也和樓上的一樣。希望高手出手幫助。謝謝 |
vulcan 回復于:2005-03-15 20:56:29 |
把以前的安裝刪掉重來好像就行了,我想可能的原應是我前面幾步沒有完全按照文檔來。 |
嘻哈標明 回復于:2005-03-15 21:37:25 |
我是照抄了(當然有些路徑是要改的),系統都重新安裝了N次,我都有些擔心硬盤會受不了呢? |
li2002 回復于:2005-04-19 16:55:46 |
出現問題??!
我是按照樓主的步驟做的。做 http://xxx/status/ 有正常信息 在做 http://xxx/jsp-examples/ 或 http://xxx/jsp-examples/index.jsp 都出錯(503錯) Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. 請問是什么沒做??? 我的jk2-connect沒改make也正常的。 |
li2002 回復于:2005-04-19 17:21:55 |
知道了,原來tomcat有個默認端口8080被我系統用作代理端口了,把它改成其他的就行了。
終于看到了成功的畫面了。哈哈~~~~ |
yxg0512 回復于:2005-04-20 14:24:53 |
no apxs given
need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl building connector for "apache-2.0" checking checking for apache13...... not provided checking checking for apache20...... not provided checking checking for iis...... not provided checking checking for iPlanet...... not provided checking for tomcat33 location... not provided checking for tomcat40 location... not provided checking for tomcat41 location... not provided checking for JDK location (please wait)... checking Try to guess JDK location... configure: error: can't locate a valid JDK location |
yxg0512 回復于:2005-04-25 13:37:59 |
[quote:fca61c5c92="li2002"]知道了,原來tomcat有個默認端口8080被我系統用作代理端口了,把它改成其他的就行了。
終于看到了成功的畫面了。哈哈~~~~[/quote:fca61c5c92] 兄弟 在哪里改的? 我也出現跟你同樣的情況了 :( |
er 回復于:2005-04-27 18:46:27 |
整了一天沒成功,搜到這段話,真是暈
[quote:11fc65fa1c]在整合的過程中要注意的是,由于apache、mod_jk2均依賴于apr,所以三者的版本要注意匹配,不要一味求新,不然很容易出現“undefined symbol:apr_socket_send”之類的錯誤。如果是安裝了redhat9和fedora自帶的apache,mod_jk2用2.0.2的版本編譯就好,用2.0.4的版本編譯會有問題。[/quote:11fc65fa1c] |
原文轉自:http://www.anti-gravitydesign.com