Thank you Adam!

1-  eepers! Okay, that was overlooked! Changed that. ^.^

2- Not everything is secure (https). SSL is configured outside of the 
httpd.conf file for security reasons and defined in conf.d/someotherfile.conf, 
with conf.d being included (see previous post)

3- context files are located in their respective directories within catalin 
home (/tomcat_home/conf/Catalina/mydomain1.com  et al)
I followed option #2 of 
http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html




Okay, fixed the virtual Host:
    JkMount /*.jsp tomcat
    JkMount /servlet/* tomcat

Restarted, yet Apache is still not handing off to TC. The TC serves up my 
webapps fine when standalone (either as 80 or 8080).

Should the localhost property in workers.properties be changed to the IP (or 
domain name) of the designated webapp? 

IE:
/somedirectory/worker.properties
   worker.list=tomcat
   worker.tomcat.host=localhost   change "localhost" to "123.234.345.1" or 
"mydomain.com"???
   worker.tomcat.port=8009
   worker.tomcat.type=ajp13




~LZM~






-----Original Message-----
From: Adam Gordon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 26, 2008 12:39 PM
To: Tomcat Users List
Subject: Re: Apache/Tomcat - mod_jk issues

Lessie-

Sorry to hear you're having trouble.  We use Apache/Tomcat in the same 
way and assuming your snippets are reasonably complete I've noticed some 
issues that may or may not be helping to cause problems:

1.  First and foremost, your worker list defines the worker name as 
"tomcat" yet in your J/K mount in your VirtualHost you say "ajp13" as 
the worker name.  I.e., "JkMount /*.jsp ajp13" should be "JkMount /*.jsp 
tomcat".

2.  While I've not used the redirectPort attribute on the Connector 
element, I'm assuming you are redirecting everything to HTTPS.  If this 
is the case, I'm curious as to why you don't define either 
SSLCertificateFile or SSLCertificateKeyFile in your VirtualHost.  We 
have to to ensure the right certificate is served up with the right IP 
since we don't have a site domain certificate.

3.  I don't see them but I'm also assuming that each of your webapps 
have their own Context defined in the META-INF directory.

That's all I noticed after a quick glance, but the biggie is #1.  Let us 
know how it goes.

--adam

 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.1/1299 - Release Date: 2/26/2008 9:08 
AM
 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to