RE: Apache 2.0.39 + Tomcat 4.0.4 (mod_jk2.dll) on Windows 2000
Yea, you don't need JkWorkersFile any longer for mod_jk2, or any of the other JK* commands. Check out this link: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg59593.html - Andrew -Original Message- From: Kevin Andryc [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:40 PM To: Tomcat Users List Subject: Apache 2.0.39 + Tomcat 4.0.4 (mod_jk2.dll) on Windows 2000 I can't seem to get them to work together. I have read archived posts but no one has been able to answer how to exactly set them up to work properly. I keep getting: Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a module not included in the server configuration Does anyone have any ideas or have some documentation. The documents on http://www.galatea.com/flashguides/ do not cover the mod_jk2.dll binary with the latest Apache. Thanks, Kevin Kevin Andryc Web Systems Engineer MISER http://www.umass.edu/miser/ Phone: (413)-545-3460 [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [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]
RE: Apache 2.0.39 + Tomcat 4.0.4 (mod_jk2.dll) on Windows 2000
4. Build jk2 from cvs (current builds wont work) Why? current nigthtly is a little outdated ( 2 weeks ) but should work.. This night i will replace nightlies .. Saludos , Ignacio J. Ortega -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Apache 2.0.39 + Tomcat 4.0.4 (mod_jk2.dll) on Windows 2000
0. Install Java 1.4 1. Install Tomcat 4.1.7 (like c:\tomcat4.1.7) 2. set the TOMCAT_HOME as system environment variable and reboot 3. Install Apache (2.0.39 min at somewhere like c:\apache2) 4. Build jk2 from cvs (current builds wont work) 5. copy tomcat-jni.jar to c:\tomcat4.1.7\bin 6. copy tomcat-jk2.jar to c:\tomcat4.1.7\server\lib 7. copy mod_jk2.dll to c:\apache2\modules 8. Find the directive ServerRoot c:/apache2 in the httpd.conf and move it before any LoadModule directive 9. Add the following to the httpd.conf LoadModule jk2_module modules/mod_jk2.dll 10. Use the attached workers2.proterties that has to be in the c:\apache2\conf (change the paths accordingly) 11. Use the attached jk2.properties and save to the c:\tomcat4.1.7\conf directory (change the paths accordingly). 12. Run Apache (It will start the tomcat inprocess) 13. Report any bugs (will be appreciated) MT. workers2.properties Description: Binary data jk2.properties Description: Binary data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Apache 2.0.39 + Tomcat 4.0.4 (mod_jk2.dll) on Windows 2000
I've noticed that most of these Apache / Tomcat / Mod_jk2 instructions get one to a point where http://localhost/examples will map to http://localhost:8080/examples And this is great, but what about introducing virtual hosts into the equation. Currently, I use VirtualHost in apache (httpd) to direct hostnames to specific directories. (I can merely use the machine name of my win2K box for this). How does one configure Apache to direct a virtual host to a specific WebApp? For example, the following workers2.properties entry: [uri:/ServerTest/*] alias=localhost info=default context context=/ServerTest debug=0 gets me to my ServerTest Web app from http://localhost/ServerTest, but how can I: 1) configure a webapp for a differently named context: (ie, http://localhost/examples -- http://localhost:8080/ServerTest 2) configure a webapp for the default context: (ie, http://localhost -- http://localhost:8080/ServerTest 3) configure a webapp for a virtualhost: (ie, http://mymachine -- http://localhost:8080/ServerTest If someone could suggest configs for these, it would be great Mladen Turk wrote: 0. Install Java 1.4 1. Install Tomcat 4.1.7 (like c:\tomcat4.1.7) 2. set the TOMCAT_HOME as system environment variable and reboot 3. Install Apache (2.0.39 min at somewhere like c:\apache2) 4. Build jk2 from cvs (current builds wont work) 5. copy tomcat-jni.jar to c:\tomcat4.1.7\bin 6. copy tomcat-jk2.jar to c:\tomcat4.1.7\server\lib 7. copy mod_jk2.dll to c:\apache2\modules 8. Find the directive ServerRoot c:/apache2 in the httpd.conf and move it before any LoadModule directive 9. Add the following to the httpd.conf LoadModule jk2_module modules/mod_jk2.dll 10. Use the attached workers2.proterties that has to be in the c:\apache2\conf (change the paths accordingly) 11. Use the attached jk2.properties and save to the c:\tomcat4.1.7\conf directory (change the paths accordingly). 12. Run Apache (It will start the tomcat inprocess) 13. Report any bugs (will be appreciated) MT. Name: workers2.properties workers2.propertiesType: unspecified type (application/octet-stream) Encoding: quoted-printable Name: jk2.properties jk2.propertiesType: unspecified type (application/octet-stream) Encoding: 7bit -- 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]