SunQuest
           Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old July 16th, 2001, 09:39 AM
incubus incubus is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: London, UK
Posts: 0 incubus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Help with forcing protocal to ajp13

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

Reply With Quote
  #2  
Old July 17th, 2001, 10:12 AM
rsal rsal is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Winnipeg, Canada
Posts: 10 rsal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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....

Reply With Quote
  #3  
Old July 19th, 2001, 03:46 AM
incubus incubus is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: London, UK
Posts: 0 incubus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Rick,

Thanks for your help - I now have a working Apache/Tomcat using ajp13....

Many Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Help with forcing protocal to ajp13


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway