You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jan Labanowski <jk...@osc.edu> on 2001/08/22 15:48:27 UTC

Re: mod_jk solaris

On Wed, 22 Aug 2001, Huang Hai - ES/BJ wrote:

> Dear Sir,
> 
> I got the same problem. Anyone can help?
> 
> Apache 1.3.20
> Java 1.2.2
> Tomcat 3.2.3 src
> gcc
> 
> Thanks & Best Regards
> 
> Huang Hai - Enterprise Services
> Sun Microsystems China Limited
> Tel: +8610-68035588 Ext 28782
> Fax: +8610-68020020
> E-mail: Hai.Huang@sun.com


Try:

www.google.com

and enter:

mod_jk solaris


Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: jkl@osc.edu 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/


Q: Is it possible to connect to Tomcat on NT from mod_jk on Solaris/Apache?

Posted by Ben Kimball <bk...@home.com>.
I have Tomcat running on NT. I have Apache running on Solaris. I am trying to 
get mod_jk.so (on Solaris) to connect to Tomcat running on NT. (Not my idea - 
work wants me to try to get this to work)

However, it seems that the workers.properties file needs to be seen by both 
Tomcat itself and the mod_jk module, BUT the version of Tomcat on NT writes 
out workers.properties using Windows-style directory names (Drive letters and 
backslashes) which is meaningless to mod_jk on Solaris, as it does not grok 
drive letters and expects forward-slashes.

First, I don't quite understand why mod_jk needs to know about 
workers.properties - I would think it would just need to forward requests to 
Tomcat and it would figure it out. (Or does it? When I leave out the Apache 
directive for the location of the workers.properties file it refuses to 
start, so I assume it does)

Secondly, what exactly in the workers.properties file does mod_jk need to 
know? Can I perhaps point non-essential information to dummy directories (say 
/dev/null or something) and translate only the needed information to 
unix-directory format? Since once I get this going, it will only host this 
one application and the configuration will never change, I was hoping I could 
just do a one time translation to get the two to talk to each other.

Is there a way to do this, or is this just a silly thing to attempt?

Thanks!