JBOSS ajp connector  is org.mortbay.http.ajp.AJP13Listener

from jboss docs you will need to config jboss-service.xml
5.  In <jboss_home>/server/all/deploy/jbossweb.sar/META-INF/jboss-service.xml, 
edit the following:
-
Under the "Configure the Request Listeners" section, look for the add
listener call of "org.mortbay.http.SocketListener" and change the port
setting line to (8080 is the default):
<Set name="Port"><SystemProperty name="jetty.port" default="18080"/></Set>
-
Under the "Configure the Request Listeners" section, look for the add
listener call of "org.mortbay.http.ajp.AJP13Listener" and change the
port setting line to (8009 is the default):
<Set name="Port">18009</Set>
- Also the call "org.mortbay.http.ajp.AJP13Listener", change the port setting 
line to (443 is the default):
<Set name="confidentialPort">1443</Set>
For JBoss 3.2.0, do these steps (contributed by Anantha Krishnan V):
5.a In 
<jboss_home>/server/all/deploy/jbossweb-jetty.sar/META-INF/jboss-service.xml, 
edit the following:
- Do the same as above, since the .sar was renamed.
For JBoss 3.2.1 with Tomcat, do these steps:
5.b In 
<jboss_home>/server/all/deploy/jbossweb-tomcat.sar/META-INF/jboss-service.xml, 
edit the following:
-
Under the "Configure the Request Listeners" section, look for the add
listener call of "org.apache.coyote.tomcat4.CoyoteConnector" and change
the port setting line to (8080 is the default):
<!--
A HTTP/1.1 Connector on port 18080 --><Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"               
port="18080" minProcessors="3" maxProcessors="10"               
enableLookups="true" acceptCount="10" debug="0"               
connectionTimeout="20000" useURIValidationHack="false" />
 - Also the AJP 1.3 Connector, change the port setting line to (8009 and 8443 
are the defaults):
<!--
A AJP 1.3 Connector on port 18009 -->            <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"               
port="18009" minProcessors="5" maxProcessors="75"                
enableLookups="true" redirectPort="18443"               
acceptCount="10" debug="0" connectionTimeout="20000"               
useURIValidationHack="false"               
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
ajp13 configuration spec is located at
http://www.jboss.org/community/wiki/ConfigurePorts

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> From: dchristop...@pixion.com
> To: users@tomcat.apache.org
> Subject: /context not working -- mod_jk error: no match for /server-status
> Date: Thu, 27 Aug 2009 09:45:26 -0400
> 
> environment: Tomcat 6.0.18 under apache2 on Mac OS X Server 10.5  
> (Leopard).
> 
> I am using a mod_jk connector with JBoss.
> 
> I am having trouble getting context urls of the form website.my.com/ 
> myapplication honoured (or even localhost/myapplication).
> (Safari:File not found).I have googled  the error messages below but  
> can't find anything applicable to my setup.
> 
> The quick start guide at
> 
> http://tomcat.apache.org/connectors-doc/generic_howto/quick.html
> 
> gives a simple proof of concept for a connector setup (/examples").  
> However, this does not work,
> though I have followed the editing of the configuration files exactly  
> (using JKMount in the httpd.conf etc)
> 
> I get an error in mod_jk.log (set to debug level):
> 
> [Tue Aug 25 12:41:11.783 2009] [211:2688784416] [debug]  
> map_uri_to_worker_ext::jk_uri_worker_map.c (1036): (TEST) Attempting  
> to map URI '/server-status' from 5 maps
> [Tue Aug 25 12:41:11.783 2009] [211:2688784416] [debug]  
> map_uri_to_worker_ext::jk_uri_worker_map.c (1039): Initial match  
> value:for URI '/server-status' is -1.
> [Tue Aug 25 12:41:11.783 2009] [211:2688784416] [debug]  
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/ 
> examples/*=JBoss1' source 'JkMount'
> [Tue Aug 25 12:41:11.783 2009] [211:2688784416] [debug]  
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/ 
> servlet/*=JBoss1' source 'JkMount'
> [Tue Aug 25 12:41:11.783 2009] [211:2688784416] [debug]  
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/ 
> sample/*=JBoss1' source 'JkMount'
> [Tue Aug 25 12:41:11.784 2009] [211:2688784416] [debug]  
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/ 
> *.jsp=JBoss1' source 'JkMount'
> [Tue Aug 25 12:41:11.784 2009] [211:2688784416] [debug]  
> map_uri_to_worker_ext::jk_uri_worker_map.c (1047): Match value:for URI  
> '/server-status' is -1.
> [Tue Aug 25 12:41:11.784 2009] [211:2688784416] [debug]  
> jk_translate::mod_jk.c (3536): no match for /server-status found
> 
> Any help on how to diagnose what the seeming error is pointing to  
> would be much appreciated.
> 
> Dennis Christopher

_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1

Reply via email to