You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by " JACA Hugo (Personal Externo)" <HJ...@bsg.com.ar> on 2003/04/02 18:49:53 UTC

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

Posted by James Williamson <ja...@nameonthe.net>.
>
> 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 <ja...@nameonthe.net>
> 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" <to...@johnturner.com>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > 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)
> >> <HJACA.IT-
> >> ECE@bsg.com.ar> 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: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: mod_webapp to connect Apache-Tomcat

Posted by John Turner <to...@johnturner.com>.
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 <ja...@nameonthe.net> 
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" <to...@johnturner.com>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> 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) 
>> <HJACA.IT-
>> ECE@bsg.com.ar> 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: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: mod_webapp to connect Apache-Tomcat

Posted by James Williamson <ja...@nameonthe.net>.
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" <to...@johnturner.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
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) <HJACA.IT-
> ECE@bsg.com.ar> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: mod_webapp to connect Apache-Tomcat

Posted by John Turner <to...@johnturner.com>.
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) <HJACA.IT- 
ECE@bsg.com.ar> 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org