1- About the Apache, I have no doubts that the mod_jk uses the file defined in JkWorkersFile directive. But, is that clear that Tomcat (4.1.x), I mean the CoyoteConnector, uses only and just only the workers.properties inside $TOMCAT_HOME/conf/? Or could it be in another place? I heard something about workers2.properties, another about conf/jk/workers.properties, I don't know if they were specific for apache or if the location can be defined.
I would like to clarify this issue, I mean, the correct file name and location of the configuration of the workers to CoyoteConnector that should be the same for Apj13Connector. 2- About the images, they are located inside WAR files in webapps of tomcat. I tried to use "JkAutoAlias /opt/tomcat/webapps" but apparently it isn't a known directive of mod_jk (probably only to mod_jk2). So, I thought that by default any request of a image inside a JkMount context should be handled by Apache in transparent way. It appears that I should have a two web applications, one with a dynamic content and another with the static, but it isn't like that, is it? thanks, Pedro Salazar. On Thu, 2003-01-16 at 17:50, Turner, John wrote: > > I can't explain those log messages. I do know that mod_jk uses a single > file called workers.properties. I believe, if you use the JkWorkersFile > command in httpd.conf, that you can tell mod_jk to use any file you like, > like my.properties. So, if you want to use jk2.properties, you probably > can. I only use mod_jk, and I can assure you I have no files named > jk2.properties. > > mod_jk2 is a completely different module. It takes different configuration > commands, it uses two files instead of one (or can use a single file if you > use JkUriSet in httpd.conf). > > So, the confusion can be clarified by you telling us which module you are > using: JK (mod_jk), or JK2 (mod_jk2). Then we can help you figure out your > configuration questions, if any. Otherwise we are just going in circles. > > Regarding your question about the images: where are the images located > relative to Apache and Tomcat? Does Tomcat have access to that directory? > Does Apache have access to that directory? More information is needed. > > John > > > > -----Original Message----- > > From: Pedro Salazar [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 16, 2003 12:29 PM > > To: Tomcat Users List > > Subject: RE: configure CoyoteConnector with mod_jk in tomcat 4.1.x > > > > > > Greetings, > > > > John, if what you said is right why is that happens: > > > > 1)when my tomcat starts, it logs a message saying the configuration is > > the jk.properties: > > 25984 [main] INFO http11.Http11Protocol - Starting Coyote HTTP/1.1 on > > port 8080 > > 26167 [main] INFO common.ChannelSocket - JK2: ajp13 listening on > > /0.0.0.0:8009 > > 26278 [main] INFO server.JkMain - Jk running ID=0 time=3/294 > > config=/opt/tomcat/conf/jk2.properties > > > > is it also using the workers.properties? (is this the name to use?) > > > > 2)and not touching in any apache configuration (pointing to tomcat's > > workers.properties), the Apj13Connector works just fine, but the > > CoyoteConnector doesn't log any message in log file! > > > > Could you figure why? > > > > thanks > > Pedro Salazar. > > > > PS. With my Apj13Connector (the only one I could put it to work yet), > > accessing the http://localhost/index.jsp (I have a mapping JkMount > > /*.jsp ajp13), the images don't appear in the default web page of > > tomcat. Why? > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
