Hi Dennis,

Thank you for your reply.

My /mig/WEB-INF/web.xml follows:
-----------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
<servlet>
<servlet-name>HelloWorldExample</servlet-name>
<servlet-class>HelloWorldExample</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>HelloWorldExample</servlet-name>
<url-pattern>/HelloWorldExample/*</url-pattern>
</servlet-mapping>


<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
<welcome-file>
welcome.html
</welcome-file>
<welcome-file>
test.jsp
</welcome-file>
</welcome-file-list>
</web-app>
------------------------------------------------------------------------

Thanks!
From: "Dennis Cartier" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: Simple WAR on Apache + Tomcat + JBoss
Date: Fri, 14 Feb 2003 14:19:54 -0500

Please post your web.xml from the WEB-INF dir in mig.war

-----Original Message-----
From: Manoj Kithany [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Simple WAR on Apache + Tomcat + JBoss


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 '/mig/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: "Manoj Kithany" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Simple WAR on Apache + Tomcat + JBoss
>Date: Fri, 14 Feb 2003 15:29:11 +0000
>
>Hi:
>
>I have a simple WAR file 'mig.war' and want to see if that wokrs on
>Architecture - Apache + JBoss(Tomcat).
>
>I have my mig.war file in /jboss/server/default/deploy
>
>I have my mod_jk.so connector in /usr/local/apache/libexec directory
>
>My httpd.conf has following information at end:
>---------------------------------------------------------
>LoadModule jk_module libexec/mod_jk.so
>JkWorkersFile /jboss/catalina/conf/jk/workers.properties
>JkLogFile /usr/local/apache/logs/mod_jk.log
>JkLogLevel info
>
>JKMount /examples/servlet/* ajp13
>JKMount /examples/*.jsp ajp13
>
>JKMount /mig/servlet/* ajp13
>JKMount /mig/*.jsp 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
>-------------------------------------------------------
>
>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?
>
>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
>
>When I add Port 8080 as http://MY.IP.ADDR.ESS:8080/mig
>it works fine...
>
>How can I know if my Apache + Tomcat Integration is working fine and that
>Apache REDIRECTS my JSP/Servlets to Tomcat?
>
>
>
>Should I start my Jboss first or Apache first?
>
>THANK YOU ALL!
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to