I never use ant, only because it is unfamiliar to me.
I believe that the standard configure, make, make install works, except that with RH 8 and RH Apache 2.0.40 you need to explicitly declare the location of apxs top configure. I'm just saying this from memory, I don't use either, so I could have it wrong.
John
On Wed, 02 Jul 2003 19:00:53 +0100, Yishay Mor <[EMAIL PROTECTED]> wrote:
I tried building it. Maybe I got it wrong - I was using the ant scripts, and got into deep mud. I saw a posting somewhere that you have to us e the native make scripts, and tweak them a bit to work.
John Turner wrote:
Actually, there was a post on this last week. Check the archives. RH's munged Apache requires some sort of tweak to the OS that will effect the scoreboard when using JK2.
I don't use JK, RH 8, nor RH's Apache, so I didn't really pay attention to what the solution was. It was definitely within the last two weeks.
The alternative is to just build JK from source and use that...it would probably be a lot less hassle.
John
On Wed, 2 Jul 2003 13:41:22 -0400 (EDT), Eric J. Pinnell <[EMAIL PROTECTED]> wrote:
I think JkSet config.file needs a full path. You can't short cut it like
you can with a LoadModule.
JkSet config.file /path/to/apache/conf/workers2.properties.
I think right now it's not seeing your config file.
Dunno... try it.
-e
On Wed, 2 Jul 2003, Yishay Mor wrote:
I've read the thread(s), gone through the jakarta docs, read a dozen how-tos, still no go.
Platform:
========
* RedHat 8, with its -
* custom Apache (2.0.4 w/ modifications?)
* Tomcat 4.1
* mod_jk2 binaries for RH from http://www.jpackage.org/rpm.php?id=1133
Situation: ======= Tomcat works, on 8080 (although the admin app is bogus, but that's on another thread) Apache identifies mod_jk2, but then fails on [error] shm.init(): No file [error] jk2_init() Can't find child 3993 in scoreboard
I've actually managed to hook them up using ProxyPass, but that's too crude a hack to satisfy me,
Analysis ====== If I could get the shm to work, my life will be given back to me.
I've cut & paste relevant sections of our config files on the admin wiki:
http://www.weblabs.eu.com/cgi-bin/wiki.pl?AdminPage/Scratch
Here's a summary: -------- httpd.conf: --------------- LoadModule jk2_module modules/mod_jk2.so JkSet config.file conf/workers2.properties
-------- jk2.properties: ----------- handler.list=channelSocket,request channelSocket.port=8009 shm.file=/etc/httpd/logs/jk2.shm
------- workers2.properties: ----- [shm] file=/etc/httpd/logs/shm.file size=1048576
# Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=localhost
# define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009
# Uri mapping [uri:*.jsp] worker=ajp13:localhost:8009
# Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp worker=ajp13:localhost:8009
------- server.xml: ------------
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8009" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="200000" useURIValidationHack="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- Define an AJP 1.3 Connector on port 8007 -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8007" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
------ error.log ------------
[error] shm.init(): No file [error] jk2_init() Can't find child 3993 in scoreboard [error] shm.init(): No file [error] mod_jk child init 1 -2 [error] jk2_init() Can't find child 3994 in scoreboard : [error] mod_jk child init 1 -2 [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations
- Yishay
-- ********************************************************************** Yishay Mor http://ioewebserver.ioe.ac.uk/ioe/cms/get.asp?cid=4381&4381_0=7303 [EMAIL PROTECTED] Ph +44(0)20 7612 6963 F +44(0)20 7612 6964 AIM,Yahoo: yishaym; Jabber: [EMAIL PROTECTED]; ICQ: 179772099
If this helped you, please take the time to rate the value of this post:
http://svcs.affero.net/rm.php?r=yishaym
**********************************************************************
celebrating 100 years of excellence in education
www.ioe.ac.uk/centenary
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]