RE: mod_webapp to connect Apache-Tomcat
Have you tried changing WebAppConnection warp warp magiccubedesa:38008 to WebAppConnection warp warp 172.16.1.102:38008 Also, sometimes but not always it is usefull to explicity provide the address="172.16.1.102" attrubute in the Tomcat connector tag. While the connector is suppose to bind to all interfaces if the address is not provided, for sometimes it is useful to give it a nudge. This also ensures that you truly know what IP addressed you are binding to. All this assumes of coure that tomcat in on the same machine as apache. To state the obvious but always useful advice, it never hurts to shutdown tomcat and apache, wait 30 seconds and then start tomcat, wait 30 secs and then start apache. -Original Message- From: JACA Hugo (Personal Externo) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:00 AM To: '[EMAIL PROTECTED]' Subject: mod_webapp to connect Apache-Tomcat Hi, I need to connect Oracle Apache with Tomcat using mod_webapp and it doesn't work! We have other Apaches running with Tomcat using mod_jk and it works! I have Oracle9iAS running Oracle Portal with an intranet app http://intranet , and now we want to add an app running on Tomcat 4.0 using the same Apache 3.1.19. Oracle Apache needs mod_jserv for intranet app, so I can't use mod_jk. I follow the instructions on howto configure mod_webapp, it seems to be ok, but the jsp request are handled by Oracle Jserv, not Tomcat... If someone is working with the same scenario, please help me. Sun Solaris 2.8 Oracle9iAS with Apache 3.1.19 Tomcat 4.0 Config. files: server.xml httpd.conf: # end of original file... # Include the configuration files needed for jserv include "/soft/oracle9ias/Apache/Jserv/etc/jserv.conf" # Include the Oracle configuration file for custom settings include "/soft/oracle9ias/Apache/Apache/conf/oracle_apache.conf" # start of Apache-Tomcat config NameVirtualHost 172.16.1.102: ServerName intranet DocumentRoot /soft/oracle9ias/Apache/Apache/htdocs ServerName magiccubedesa DocumentRoot /opt/tomcat/jakarta-tomcat-4.0-c1/dist/webapps WebAppConnection warp warp magiccubedesa:38008 WebAppDeploy examples warp /examples/ WebAppDeploy magicCube warp /magicCube/ Thanks, Hugo. http://www.portalsociete.com Visítenos, lo estamos esperando. La información aquí contenida es confidencial y está dirigida solamente a las personas direccionadas en el mail. No debe ser considerada como recomendación de compra o venta de valores. Todo acceso no autorizado, uso, reproducción, o divulgación está prohibido. Ni SOCIETE GENERALE ni ninguna de sus subsidiarias o filiales asumirán responsabilidad ni obligación legal alguna por cualquier información incorrecta o alterada contenida en este mensaje. The information contained herein is confidential and is intended solely for the addressee(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mod_webapp to connect Apache-Tomcat
WebApp connector is working, if alone, but not running with Oracle Apache jserv at the same time on the same server... I need to have both jserv (used by Oracle Portal) and webapp (used to conect to Tomcat), and I'm not sure if it's posible. If I only use jserv, Oracle Portal works but connection with Tomcat not. If I only use webapp, connection with Tomcat works but Oracle Portal not. If I use both all jsp are handled by jserv, I can't find a directive to tell webapp to handle jsp like with JkMount (using jk), do you know if there's any way to do it ? Oracle Apache config includes lines like: ApJServAction .jsp /servlets/oracle.jsp.JspServlet in a such way that I can't restrict to a VirtualHost scope Thanks, From: PELOQUIN,JEFFREY (HP-Boise,ex1) Subject: RE: mod_webapp to connect Apache-Tomcat Date: Wed, 26 Mar 2003 06:45:26 -0800 Have you tried changing WebAppConnection warp warp magiccubedesa:38008 to WebAppConnection warp warp 172.16.1.102:38008 Also, sometimes but not always it is usefull to explicity provide the address="172.16.1.102" attrubute in the Tomcat connector tag. While the connector is suppose to bind to all interfaces if the address is not provided, for sometimes it is useful to give it a nudge. This also ensures that you truly know what IP addressed you are binding to. All this assumes of coure that tomcat in on the same machine as apache. To state the obvious but always useful advice, it never hurts to shutdown tomcat and apache, wait 30 seconds and then start tomcat, wait 30 secs and then start apache. http://www.portalsociete.com Visítenos, lo estamos esperando. La información aquí contenida es confidencial y está dirigida solamente a las personas direccionadas en el mail. No debe ser considerada como recomendación de compra o venta de valores. Todo acceso no autorizado, uso, reproducción, o divulgación está prohibido. Ni SOCIETE GENERALE ni ninguna de sus subsidiarias o filiales asumirán responsabilidad ni obligación legal alguna por cualquier información incorrecta o alterada contenida en este mensaje. The information contained herein is confidential and is intended solely for the addressee(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein.
Re: mod_webapp to connect Apache-Tomcat
The webapp connector (mod_webapp) cannot separate content based on URL. It sends EVERYTHING to Tomcat. That's one of its drawbacks, and why most people end up using JK or JK2. If you need to get particular with a URL, you will need JK or JK2. John On Wed, 2 Apr 2003 13:49:53 -0300, JACA Hugo (Personal Externo) wrote: WebApp connector is working, if alone, but not running with Oracle Apache jserv at the same time on the same server... I need to have both jserv (used by Oracle Portal) and webapp (used to conect to Tomcat), and I'm not sure if it's posible. If I only use jserv, Oracle Portal works but connection with Tomcat not. If I only use webapp, connection with Tomcat works but Oracle Portal not. If I use both all jsp are handled by jserv, I can't find a directive to tell webapp to handle jsp like with JkMount (using jk), do you know if there's any way to do it ? Oracle Apache config includes lines like: ApJServAction .jsp /servlets/oracle.jsp.JspServlet in a such way that I can't restrict to a VirtualHost scope Thanks, From: PELOQUIN,JEFFREY (HP-Boise,ex1) Subject: RE: mod_webapp to connect Apache-Tomcat Date: Wed, 26 Mar 2003 06:45:26 -0800 Have you tried changing WebAppConnection warp warp magiccubedesa:38008 to WebAppConnection warp warp 172.16.1.102:38008 Also, sometimes but not always it is usefull to explicity provide the address="172.16.1.102" attrubute in the Tomcat connector tag. While the connector is suppose to bind to all interfaces if the address is not provided, for sometimes it is useful to give it a nudge. This also ensures that you truly know what IP addressed you are binding to. All this assumes of coure that tomcat in on the same machine as apache. To state the obvious but always useful advice, it never hurts to shutdown tomcat and apache, wait 30 seconds and then start tomcat, wait 30 secs and then start apache. http://www.portalsociete.com Visítenos, lo estamos esperando. La información aquí contenida es confidencial y está dirigida solamente a las personas direccionadas en el mail. No debe ser considerada como recomendación de compra o venta de valores. Todo acceso no autorizado, uso, reproducción, o divulgación está prohibido. Ni SOCIETE GENERALE ni ninguna de sus subsidiarias o filiales asumirán responsabilidad ni obligación legal alguna por cualquier información incorrecta o alterada contenida en este mensaje. The information contained herein is confidential and is intended solely for the addressee(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_webapp to connect Apache-Tomcat
John, Hugo We've written a patch that introduces two new Directives, WebAppIgnore and WebAppMatch which allows you to do this. We've been using this for many months now for our clients who want to run php and .jsp's on the same account. If anyone's interested in it, please drop me an email. Regards, James Williamson www.nameonthe.net Tel: +44 208 7415453 Fax: + 44 208 7411615 - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 8:09 PM Subject: Re: mod_webapp to connect Apache-Tomcat > > The webapp connector (mod_webapp) cannot separate content based on URL. It > sends EVERYTHING to Tomcat. That's one of its drawbacks, and why most > people end up using JK or JK2. > > If you need to get particular with a URL, you will need JK or JK2. > > John > > On Wed, 2 Apr 2003 13:49:53 -0300, JACA Hugo (Personal Externo) [EMAIL PROTECTED]> wrote: > > > WebApp connector is working, if alone, but not running with Oracle Apache > > jserv at the same time on the same server... > > I need to have both jserv (used by Oracle Portal) and webapp (used to > > conect > > to Tomcat), and I'm not sure if it's posible. > > > > If I only use jserv, Oracle Portal works but connection with Tomcat not. > > If I only use webapp, connection with Tomcat works but Oracle Portal not. > > > > If I use both all jsp are handled by jserv, I can't find a directive to > > tell > > webapp to handle jsp like with JkMount (using jk), do you know if there's > > any way to do it ? > > > > Oracle Apache config includes lines like: > > ApJServAction .jsp /servlets/oracle.jsp.JspServlet > > in a such way that I can't restrict to a VirtualHost scope > > > > > > Thanks, > > > > > > > > > > > > > > From: PELOQUIN,JEFFREY (HP-Boise,ex1) Subject: RE: mod_webapp to > > connect Apache-Tomcat Date: Wed, 26 Mar 2003 06:45:26 -0800 > > > > Have you tried changing > > > > WebAppConnection warp warp magiccubedesa:38008 > > > > to > > > > WebAppConnection warp warp 172.16.1.102:38008 > > > > > > Also, sometimes but not always it is usefull to explicity provide the > > address="172.16.1.102" attrubute in the Tomcat connector tag. While the > > connector is suppose to bind to all interfaces if the address is not > > provided, for sometimes it is useful to give it a nudge. This also > > ensures > > that you truly know what IP addressed you are binding to. > > > > All this assumes of coure that tomcat in on the same machine as apache. > > > > > > To state the obvious but always useful advice, it never hurts to shutdown > > tomcat and apache, wait 30 seconds and then start tomcat, wait 30 secs > > and > > then start apache. > > > > > > > > > > http://www.portalsociete.com Visítenos, lo estamos esperando. > > > > > > La información aquí contenida es confidencial y está dirigida > > solamente a las personas direccionadas en el mail. > > No debe ser considerada como recomendación de compra o venta > > de valores. Todo acceso no autorizado, uso, reproducción, o > > divulgación está prohibido. > > Ni SOCIETE GENERALE ni ninguna de sus subsidiarias o filiales > > asumirán responsabilidad ni obligación legal alguna por cualquier > > información incorrecta o alterada contenida en este mensaje. > > > > The information contained herein is confidential and is intended > > solely for the addressee(s). It shall not be construed as a > > recommendation to buy or sell any security. Any unauthorized > > access, use, reproduction, disclosure or dissemination is prohibited. > > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > > shall assume any legal liability or responsibility for any incorrect, > > misleading or altered information contained herein. > > > > > > > > > > > > -- > Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_webapp to connect Apache-Tomcat
How about posting it to the CVS tree? Sounds like it is something that a lot of people would want. John On Thu, 3 Apr 2003 10:46:40 +0100, James Williamson <[EMAIL PROTECTED]> wrote: John, Hugo We've written a patch that introduces two new Directives, WebAppIgnore and WebAppMatch which allows you to do this. We've been using this for many months now for our clients who want to run php and .jsp's on the same account. If anyone's interested in it, please drop me an email. Regards, James Williamson www.nameonthe.net Tel: +44 208 7415453 Fax: + 44 208 7411615 - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 8:09 PM Subject: Re: mod_webapp to connect Apache-Tomcat The webapp connector (mod_webapp) cannot separate content based on URL. It sends EVERYTHING to Tomcat. That's one of its drawbacks, and why most people end up using JK or JK2. If you need to get particular with a URL, you will need JK or JK2. John On Wed, 2 Apr 2003 13:49:53 -0300, JACA Hugo (Personal Externo) [EMAIL PROTECTED]> wrote: > WebApp connector is working, if alone, but not running with Oracle Apache > jserv at the same time on the same server... > I need to have both jserv (used by Oracle Portal) and webapp (used to > conect > to Tomcat), and I'm not sure if it's posible. > > If I only use jserv, Oracle Portal works but connection with Tomcat not. > If I only use webapp, connection with Tomcat works but Oracle Portal not. > > If I use both all jsp are handled by jserv, I can't find a directive to > tell > webapp to handle jsp like with JkMount (using jk), do you know if there's > any way to do it ? > > Oracle Apache config includes lines like: > ApJServAction .jsp /servlets/oracle.jsp.JspServlet > in a such way that I can't restrict to a VirtualHost scope > > > Thanks, > > > ________ > > > > From: PELOQUIN,JEFFREY (HP-Boise,ex1) Subject: RE: mod_webapp to > connect Apache-Tomcat Date: Wed, 26 Mar 2003 06:45:26 -0800 > > Have you tried changing > > WebAppConnection warp warp magiccubedesa:38008 > > to > > WebAppConnection warp warp 172.16.1.102:38008 > > > Also, sometimes but not always it is usefull to explicity provide the > address="172.16.1.102" attrubute in the Tomcat connector tag. While the > connector is suppose to bind to all interfaces if the address is not > provided, for sometimes it is useful to give it a nudge. This also > ensures > that you truly know what IP addressed you are binding to. > > All this assumes of coure that tomcat in on the same machine as apache. > > > To state the obvious but always useful advice, it never hurts to shutdown > tomcat and apache, wait 30 seconds and then start tomcat, wait 30 secs > and > then start apache. > > > > > http://www.portalsociete.com Visítenos, lo estamos esperando. > > > La información aquí contenida es confidencial y está dirigida > solamente a las personas direccionadas en el mail. > No debe ser considerada como recomendación de compra o venta > de valores. Todo acceso no autorizado, uso, reproducción, o > divulgación está prohibido. > Ni SOCIETE GENERALE ni ninguna de sus subsidiarias o filiales > asumirán responsabilidad ni obligación legal alguna por cualquier > información incorrecta o alterada contenida en este mensaje. > > The information contained herein is confidential and is intended > solely for the addressee(s). It shall not be construed as a > recommendation to buy or sell any security. Any unauthorized > access, use, reproduction, disclosure or dissemination is prohibited. > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates > shall assume any legal liability or responsibility for any incorrect, > misleading or altered information contained herein. > > > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_webapp to connect Apache-Tomcat
> > How about posting it to the CVS tree? Sounds like it is something that a > lot of people would want. Will do, shall I just send the patch to the dev list? Regards, James Williamson www.nameonthe.net Tel: +44 208 7415453 Fax: + 44 208 7411615 > > John > > On Thu, 3 Apr 2003 10:46:40 +0100, James Williamson <[EMAIL PROTECTED]> > wrote: > > > John, Hugo > > > > We've written a patch that introduces two new Directives, WebAppIgnore > > and > > WebAppMatch which allows you to do this. We've been using this for many > > months > > now for our clients who want to run php and .jsp's on the same account. > > If > > anyone's > > interested in it, please drop me an email. > > > > Regards, > > > > James Williamson > > www.nameonthe.net > > Tel: +44 208 7415453 > > Fax: + 44 208 7411615 > > > > - Original Message ----- > > From: "John Turner" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Sent: Wednesday, April 02, 2003 8:09 PM > > Subject: Re: mod_webapp to connect Apache-Tomcat > > > > > >> > >> The webapp connector (mod_webapp) cannot separate content based on URL. > > It > >> sends EVERYTHING to Tomcat. That's one of its drawbacks, and why most > >> people end up using JK or JK2. > >> > >> If you need to get particular with a URL, you will need JK or JK2. > >> > >> John > >> > >> On Wed, 2 Apr 2003 13:49:53 -0300, JACA Hugo (Personal Externo) > >> >> [EMAIL PROTECTED]> wrote: > >> > >> > WebApp connector is working, if alone, but not running with Oracle > > Apache > >> > jserv at the same time on the same server... > >> > I need to have both jserv (used by Oracle Portal) and webapp (used to > >> > conect > >> > to Tomcat), and I'm not sure if it's posible. > >> > > >> > If I only use jserv, Oracle Portal works but connection with Tomcat > >> not. > >> > If I only use webapp, connection with Tomcat works but Oracle Portal > > not. > >> > > >> > If I use both all jsp are handled by jserv, I can't find a directive > >> to > >> > tell > >> > webapp to handle jsp like with JkMount (using jk), do you know if > > there's > >> > any way to do it ? > >> > > >> > Oracle Apache config includes lines like: > >> > ApJServAction .jsp /servlets/oracle.jsp.JspServlet > >> > in a such way that I can't restrict to a VirtualHost scope > >> > > >> > > >> > Thanks, > >> > > >> > > >> > > > > >> > > >> > > >> > > >> > From: PELOQUIN,JEFFREY (HP-Boise,ex1) Subject: RE: mod_webapp to > >> > connect Apache-Tomcat Date: Wed, 26 Mar 2003 06:45:26 -0800 > >> > > >> > Have you tried changing > >> > > >> > WebAppConnection warp warp magiccubedesa:38008 > >> > > >> > to > >> > > >> > WebAppConnection warp warp 172.16.1.102:38008 > >> > > >> > > >> > Also, sometimes but not always it is usefull to explicity provide the > >> > address="172.16.1.102" attrubute in the Tomcat connector tag. While > >> the > >> > connector is suppose to bind to all interfaces if the address is not > >> > provided, for sometimes it is useful to give it a nudge. This also > >> > ensures > >> > that you truly know what IP addressed you are binding to. > >> > > >> > All this assumes of coure that tomcat in on the same machine as > >> apache. > >> > > >> > > >> > To state the obvious but always useful advice, it never hurts to > > shutdown > >> > tomcat and apache, wait 30 seconds and then start tomcat, wait 30 secs > >> > and > >> > then start apache. > >> > > >> > > >> > > >> > > >> > http://www.portalsociete.com Visítenos, lo estamos esperando. > >> > > >> > > >> > La información aquí contenida es confidencial y está dirigida > >> > solamente a las personas direccionadas en el mail. > >> > No