|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I am running Win NT4.0 with Apache 1.3.20 and Tomcat 3.2.2. As a redirector between Apache and Tomcat, I am using mod_jk rather than JServ.
I am attempting to force the default protocol redirector from Apache to Tomcat to be ajp13, rather than the usual ajp12. An extract from uriworkermap.properties-auto, show that I'm failing miserably...... ################################################################### # Auto generated configuration. Dated: Mon Jul 16 14:02:13 GMT 2001 ################################################################### # # Default worker to be used through our mappings # default.worker=ajp12 # # Root context mounts for Tomcat # /servlet/*=$(default.worker) /*.jsp=$(default.worker) Can anyone help? Many Thanks |
|
#2
|
|||
|
|||
|
Do you have:
<RequestInterceptor className="org.apache.tomcat.modules.server.Ajp13Interceptor" port="8009"/> in your server.xml file? If not, put it in there. You will also have to add something like: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /otherworker/*.jsp remoteworker into the mod_jk.conf file that you included into apache's httpd.conf That would map any request that ends in .jsp or begins with /servlet to the ajp13 worker. You can also use the JKMount directive in the Virtual Host section of httpd.conf. Hope that helps.... |
|
#3
|
|||
|
|||
|
Rick,
Thanks for your help - I now have a working Apache/Tomcat using ajp13.... Many Thanks ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Help with forcing protocal to ajp13 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|