I have it configured so it works fine. I just had the two questions: Does giving it a shared memory file boost performance (or have any other advantages? Where does Apache find out the port mod_jk is using (in case I ever want to change it)?
On Monday 29 May 2006 12:45, Martin Gainty wrote: > > I assume you are implementing Tomcat 4/5? > in which case I would suggest looking at > http://tomcat.apache.org/connectors-doc/howto/workers.html > for configuring AJPv13 workers- > > M- > ********************************************************************* > This email message and any files transmitted with it contain confidential > information intended only for the person(s) to whom this email message is > addressed. If you have received this email message in error, please notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > > ----- Original Message ----- > From: "aladdin" <[EMAIL PROTECTED]> > To: <users@tomcat.apache.org> > Sent: Monday, May 29, 2006 12:09 PM > Subject: mod_jk: shm and performance, & which port? > > > >I have gotten mod_jk working connecting apache and tomcat, but the log has > >this > > error: > > > > [Mon May 29 11:27:16 2006] [5118:52288] [error] init_jk::mod_jk.c (2356): > > Initializing shm:/etc/apache2/logs/jk-runtime-status errno=2 > > > > I found that it is because I didn't give it a shared memory file. > > > > Will it help performance to give mod_jk this shared memory file? > > > > And, one other question: > > > > Tomcat's end of mod_jk knows which port to listen on because it's in the > > workers.properties. How > > does Apache's end know which port to use? Does it read the > > workers.properties file, too? It is > > specified in the JkWorkersFile directive to Apache, and I can't find > > anywhere else the port is > > specified on the Apache side. > > > > Thanks, > > anw > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]