Re: mod_jk2 logic check
I went through with your advice and it really removed the extra information from my files. The location directive works, but it maps the root of tomcat to the /ccpd directory and my configuration in workers2.properties file is ignored. What I really want is the /, root of ccpd.foo.edu to map the tomcat context ccpd httpd2.conf Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location workers2.properties [uri:ccpd.foo.edu/*] info=ccpd context=/ccpd Here's my vhost configuration: # Winter Session VHost VirtualHost 192.168.222.169 ServerAdmin [EMAIL PROTECTED] ServerName ccpd.foo.edu DocumentRoot /home/httpd/servers/ccpd.foo.edu/html Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location DirectoryIndex index.html index.php3 ErrorLog /home/httpd/servers/logs/ccpd.foo.edut-error_log CustomLog /home/httpd/servers/logs/ccpd.foo.edu-access_log.combined combined /VirtualHost - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk2 logic check
Do you know if there is anything that explains the syntax of JkUriSet? This shows how to set a worker, but I still need to tell it what context to hook to. The way I read this is /ccpd is a directory that apache maps as http://ccpd.foo.edu/ccpd Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location Thanks --Rick Quinton McCombs wrote: -Original Message- From: Richard Anderson [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:11 PM To: Tomcat List Subject: mod_jk2 logic check I have apache 2.0.43 and tomcat 4.1.24. I've set up mod_jk2. Here is my understanding of how things should work. I need this logic double check. My webapp is locate in webapps/ccpd I restart tomcat and/or tomcat automaticly finds the webapp ccpd and maps a default contect to it. context=/ccpd In the apache2 httpd2.conf file the following is inserted: ###Load mod_jk2 and relate file LoadModule jk2_module modules/mod_jk2.so Include /etc/httpd2/conf/jk2.properties No. You do not include the jk2.properties file into your httpd.conf file. As long as your jk2.properties file is found under ${serverRoot}/conf, it will read it. You can manually set the location of the config file and a few other directives using the JkSet directive. I also set the virtual host up so apache recognizes it. From there I configure the workers2.properties file: [uri:ccpd.foo.edu/*] info=ccpd context=/ccpd From what I understand now that i have set these all in place. Everything now should work just fine. Anything that runs off of ccpd.foo.edu will not map directly to my tomcat4 context. I could not figure out what context and servlet path were meant to be used for. It did not seem to matter what combinations I tried, I could not seem to map servlet requests to a virtual host in jk2.properties. I was able to use the JkUriSet directive in httpd.conf to perform the mapping. You might run into a problem here if you have multiple virtual hosts mapping the same path... In your virtual host configuration, you do something like this: Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location Is this correct? Maybe the problem is elsewhere. What's the best way to diagnose this? Thanks you for help. --Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mod_jk2 logic check
No. The docs say that anything you can set in the properties file can be set in httpd.conf. You might try JkUriSet context /xxx. -Original Message- From: Richard Anderson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2003 11:03 AM To: Tomcat Users List Subject: Re: mod_jk2 logic check Do you know if there is anything that explains the syntax of JkUriSet? This shows how to set a worker, but I still need to tell it what context to hook to. The way I read this is /ccpd is a directory that apache maps as http://ccpd.foo.edu/ccpd Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location Thanks --Rick Quinton McCombs wrote: -Original Message- From: Richard Anderson [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:11 PM To: Tomcat List Subject: mod_jk2 logic check I have apache 2.0.43 and tomcat 4.1.24. I've set up mod_jk2. Here is my understanding of how things should work. I need this logic double check. My webapp is locate in webapps/ccpd I restart tomcat and/or tomcat automaticly finds the webapp ccpd and maps a default contect to it. context=/ccpd In the apache2 httpd2.conf file the following is inserted: ###Load mod_jk2 and relate file LoadModule jk2_module modules/mod_jk2.so Include /etc/httpd2/conf/jk2.properties No. You do not include the jk2.properties file into your httpd.conf file. As long as your jk2.properties file is found under ${serverRoot}/conf, it will read it. You can manually set the location of the config file and a few other directives using the JkSet directive. I also set the virtual host up so apache recognizes it. From there I configure the workers2.properties file: [uri:ccpd.foo.edu/*] info=ccpd context=/ccpd From what I understand now that i have set these all in place. Everything now should work just fine. Anything that runs off of ccpd.foo.edu will not map directly to my tomcat4 context. I could not figure out what context and servlet path were meant to be used for. It did not seem to matter what combinations I tried, I could not seem to map servlet requests to a virtual host in jk2.properties. I was able to use the JkUriSet directive in httpd.conf to perform the mapping. You might run into a problem here if you have multiple virtual hosts mapping the same path... In your virtual host configuration, you do something like this: Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location Is this correct? Maybe the problem is elsewhere. What's the best way to diagnose this? Thanks you for help. --Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk2 logic check
Quinton McCombs wrote: No. The docs say that anything you can set in the properties file can be set in httpd.conf. You might try JkUriSet context /xxx. That does work. When I check the /jkstatus it shows up but the desired action doesn't happen or hasn't happened yet. --Rick -Original Message- From: Richard Anderson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2003 11:03 AM To: Tomcat Users List Subject: Re: mod_jk2 logic check Do you know if there is anything that explains the syntax of JkUriSet? This shows how to set a worker, but I still need to tell it what context to hook to. The way I read this is /ccpd is a directory that apache maps as http://ccpd.foo.edu/ccpd Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location Thanks --Rick Quinton McCombs wrote: -Original Message- From: Richard Anderson [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:11 PM To: Tomcat List Subject: mod_jk2 logic check I have apache 2.0.43 and tomcat 4.1.24. I've set up mod_jk2. Here is my understanding of how things should work. I need this logic double check. My webapp is locate in webapps/ccpd I restart tomcat and/or tomcat automaticly finds the webapp ccpd and maps a default contect to it. context=/ccpd In the apache2 httpd2.conf file the following is inserted: ###Load mod_jk2 and relate file LoadModule jk2_module modules/mod_jk2.so Include /etc/httpd2/conf/jk2.properties No. You do not include the jk2.properties file into your httpd.conf file. As long as your jk2.properties file is found under ${serverRoot}/conf, it will read it. You can manually set the location of the config file and a few other directives using the JkSet directive. I also set the virtual host up so apache recognizes it. From there I configure the workers2.properties file: [uri:ccpd.foo.edu/*] info=ccpd context=/ccpd From what I understand now that i have set these all in place. Everything now should work just fine. Anything that runs off of ccpd.foo.edu will not map directly to my tomcat4 context. I could not figure out what context and servlet path were meant to be used for. It did not seem to matter what combinations I tried, I could not seem to map servlet requests to a virtual host in jk2.properties. I was able to use the JkUriSet directive in httpd.conf to perform the mapping. You might run into a problem here if you have multiple virtual hosts mapping the same path... In your virtual host configuration, you do something like this: Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location Is this correct? Maybe the problem is elsewhere. What's the best way to diagnose this? Thanks you for help. --Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mod_jk2 logic check
-Original Message- From: Richard Anderson [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:11 PM To: Tomcat List Subject: mod_jk2 logic check I have apache 2.0.43 and tomcat 4.1.24. I've set up mod_jk2. Here is my understanding of how things should work. I need this logic double check. My webapp is locate in webapps/ccpd I restart tomcat and/or tomcat automaticly finds the webapp ccpd and maps a default contect to it. context=/ccpd In the apache2 httpd2.conf file the following is inserted: ###Load mod_jk2 and relate file LoadModule jk2_module modules/mod_jk2.so Include /etc/httpd2/conf/jk2.properties No. You do not include the jk2.properties file into your httpd.conf file. As long as your jk2.properties file is found under ${serverRoot}/conf, it will read it. You can manually set the location of the config file and a few other directives using the JkSet directive. I also set the virtual host up so apache recognizes it. From there I configure the workers2.properties file: [uri:ccpd.foo.edu/*] info=ccpd context=/ccpd From what I understand now that i have set these all in place. Everything now should work just fine. Anything that runs off of ccpd.foo.edu will not map directly to my tomcat4 context. I could not figure out what context and servlet path were meant to be used for. It did not seem to matter what combinations I tried, I could not seem to map servlet requests to a virtual host in jk2.properties. I was able to use the JkUriSet directive in httpd.conf to perform the mapping. You might run into a problem here if you have multiple virtual hosts mapping the same path... In your virtual host configuration, you do something like this: Location /ccpd JkUriSet worker ajp13:localhost:8009 /Location Is this correct? Maybe the problem is elsewhere. What's the best way to diagnose this? Thanks you for help. --Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk2 logic check
I have apache 2.0.43 and tomcat 4.1.24. I've set up mod_jk2. Here is my understanding of how things should work. I need this logic double check. My webapp is locate in webapps/ccpd I restart tomcat and/or tomcat automaticly finds the webapp ccpd and maps a default contect to it. context=/ccpd In the apache2 httpd2.conf file the following is inserted: ###Load mod_jk2 and relate file LoadModule jk2_module modules/mod_jk2.so Include /etc/httpd2/conf/jk2.properties I also set the virtual host up so apache recognizes it. From there I configure the workers2.properties file: [uri:ccpd.foo.edu/*] info=ccpd context=/ccpd From what I understand now that i have set these all in place. Everything now should work just fine. Anything that runs off of ccpd.foo.edu will not map directly to my tomcat4 context. Is this correct? Maybe the problem is elsewhere. What's the best way to diagnose this? Thanks you for help. --Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]