-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

David,

On 6/20/14, 7:59 PM, David Kerber wrote:
> On 6/20/2014 6:19 PM, André Warnier wrote:
> 
> ...
> 
>>> Finally, if the Perl script isn't that complicated, you should 
>>> consider re-writing it in Java since you are using a Java
>>> application server. It will be much easier to deal with
>>> everything that way.
>>> 
>> 
>> Who said that the cgi-bin script was perl ? (not saying that it
>> isn't, but nobody said it was either). As it stands, whatever it
>> is, it is being run (at first) by perl. But if perl notice
>> another interpreter in the shebang line, it will happily cede its
>> turn.
>> 
>> Anyway, it raises the fundamental question of why go though all
>> the trouble to run a (possibly perl) cgi-bin script within Tomcat
>> ?
> 
> It sounds like the OP is trying to eliminate a layer (HTTPD) in
> his application without rewriting his scripts.  Seems like a
> reasonable goal to me.

Yeah, but doing CGI in httpd is dead simple. Doing in through Tomcat
is a pain in the neck. IMO any reasonable production application needs
to have at least 2 back-end application servers, so you need a proxy
no matter what. I suppose you could use a hw lb, but those things know
how to route stuff like CGI to some other server, too.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTpO1GAAoJEBzwKT+lPKRYrdQP/1c/SuiTF6o2HkgQh0CuH6TK
ndC0YjtSR2Gtmo2Ry7ynDjjPDfcNLcElv+n1Rpl/TWUFHLGJ4r3uvuSZ/ly91zXD
7/xvknjB+/l9yf+EYyJxx4XjV9O+q77Ae5V43pw+b4XzzK95NQ7x/ZS8A5dUW1yr
4mI8pc3ytgEVIOrQV93j+pCgDPTZWpJkZULqLB3QMm+XJwNmdytscSmjzte594qQ
TXNgGx6x+obSK6cPaVtAx5q9VfffpGMSS45869ZLBiT7CwubSBsSaBAFZWsYkg3p
HIxwmRt3on/rSSrtfYm0OlaECFwAOXd9nT5Oq6BE4VQUCSxp4Ao0nNYtOz+rU0Tz
km7CIAmsQwRTEeL9p8CYUJql/10vd35C4gghCGqYYCnJ/vDPvV/sdQwUaDjjJIbD
QOKrOGLPF5Clgf+1nx51urer/WtloWt7cb9/LWZjrVyNFGjvoOlCKzGXCSz5/q0N
KISYEFw3y9twyWLwz52vX+gmaThoKeMFwlH7HcCWQDp98zlLuXaaknIQHdGe9oW4
HEOUvRSPCVn9q0Dy4UB7wnkND8eYmkG3We9Rmbi9TVIxtxI8GEiQLFidnJqr1WWW
0XKP0xr9SE6KkFswSG/iFAK1ZfST+DbFksMl/IO6C/7WWzwbLnjC4PYkRl+SB6fG
sSnMUItaMZ40cdPRYEj+
=LOMA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to