httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Kithany" <manojkithany...@hotmail.com>
Subject [users@httpd] RE:Simple WAR on Apache + Tomcat + JBoss
Date Fri, 14 Feb 2003 16:59:00 GMT
Thank You Martin for your reply.

I checked the mod_jk.log file and found following...
--------------------------------------------------------------------
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/mig/'
[Fri Feb 14 09:44:47 2003]  [jk_uri_worker_map.c 
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 
->/mig/
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/mig/'
[Fri Feb 14 09:44:51 2003]  [jk_uri_worker_map.c 
(502)]:jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 
->/mig/
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/migration/test.jsp'
[Fri Feb 14 09:52:43 2003]  [jk_uri_worker_map.c 
(558)]:jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 
->*.jsp

---------------------------------------------------------------------

>From the LOG file above it seems that INTEGRATION is successful.... BUT when 
I access http://MY.IP.ADDR.ESS/mig/test.jsp it shows FOLLOWING ERROR on 
BROWSER:--
-----------------------------------------------------------------
Forbidden
You don't have permission to access /mig/test.jsp on this server
-------------------------------------------------------------------

Any guideline on this is appreciated!


>From: "Martin Vilcans" <martin@jadestone.se>
>Reply-To: users@httpd.apache.org
>To: <users@httpd.apache.org>
>Subject: RE: [users@httpd] Simple WAR on Apache + Tomcat + JBoss
>Date: Fri, 14 Feb 2003 17:36:55 +0100
>
>I'm no mod_jk expert, but I've got it working, so perhaps I can help.
>
> > JKMount /examples/servlet/* ajp13
> > JKMount /examples/*.jsp ajp13
> >
> > JKMount /mig/servlet/* ajp13
> > JKMount /mig/*.jsp ajp13
> > JKMount /mig/* ajp13
>
>I don't use wildcards in my configuration, and it works for me. Instead of
>the above, try:
>
>JKMount /examples ajp13
>JKMount /mig ajp13
>
> > ---------------------------------------------------------
> >
> > My workers.properties file contains
> > ---------------------------------------------------------
> > workers.tomcat_home=/jboss/catalina
> > workers.java_home=/usr/java130
> > ps=/
> >
> > worker.list=ajp13
> > worker.ajp13.port=8009
> > worker.ajp13.host=MY.IP.ADDR.ESS
> > worker.ajp13.type=ajp13
>
>The last four lines look exactly like my config, except that I use 
>localhost
>as host.
>
> > -------------------------------------------------------
> >
> > My tomcat4-service.xml file has following:
> > -------------------------------------------------------
> > <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> > port="8009" minProcessors="5" maxProcessors="75" acceptCount="10"
> > debug="1"/>
> > ------------------------------------------------------
> >
> > By the way why should Port be 8009...? should it be 8080?
>
>Yes, AJP13 normally uses port 8009.
>
> >
> > Can anyone see if the above process is proper?
> >
> > When I try http://MY.IP.ADDR.ESS on my browser, it shows my
> > Welcome Apache
> > Page...which shows Apache is working fine.
> >
> > Later when I try http://MY.IP.ADDR.ESS/mig is says Page Not Found Error
>
>Have you tried http://MY.IP.ADDR.ESS/mig/ (with the trailing slash)?
>
> > When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig
> > it works fine...
>
>That's good. It shows Tomcat is running.
>
> > How can I know if my Apache + Tomcat Integration is working fine and 
>that
> > Apache REDIRECTS my JSP/Servlets to Tomcat?
>
>You'll know when http://MY.IP.ADDR.ESS/mig works.
>
> > Should I start my Jboss first or Apache first?
>
>JBoss, as Apache will show error messages if JBoss isn't up when you try to
>access JBoss through Apache. On the other hand, if Apache is down, you 
>won't
>see any pages at all.
>
>Martin

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message