tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Tomcat causes Apache to hang. Any ideas?
Date Thu, 26 Aug 2004 19:04:11 GMT

Hola,

>Sorry, this is a shared server, and he wants his site available on port
>80.

Tomcat standalone can run on port 80 without running as root by using
jsvc (from commons-daemon).  There are examples and more information on
this configuration at
http://jakarta.apache.org/tomcat/faq/security.html#jsvcExample.

>reason we hand everything off, is because he has his application hosted
>inside a directory (ie: ~/public_html/appdir) but wants it to be
>available to users as http://www.domainname.com/whatever.jsp instead of
>http://www.domainname.com/appdir/whatever.jsp.

You can configure Tomcat to have a Context whose docbase is
~/public_html/appdir but whose path is "" (the empty string, not null or
"/").

>He also wants to use PHP
>on his main domain for forums or some such, once we get him to move his
>application out of appdir and into his website root.

This is the deal breaker I think, for a commercial organization anyways.
While you can use PHP on Tomcat, the performance is apparently not good
enough for a large scale installation.  See
http://wiki.apache.org/jakarta-tomcat/UsingPhp for how to do this
anyways.

>I already have. This exact same setup worked flawlessly under RH 7.3
and
>RH 9.0

Actually, I meant a non-Linux platform.  But even your results so far
suggest an RHEL-specific issue.  Maybe try LD_ASSUME_KERNEL=2.2.5
instead of 2.4?  I remember people having success with that in the past.

>With that said however, I compiled tomcat under RH 7.3 and copied
>everything over. The JDK stayed the same throughout though. Could this
>be the problem? Should I recompile Tomcat? I *have* recompiled mod_jk
on
>the new system though.

The connectors are more important.  Recompiling Tomcat is not needed
IMHO, including not needed in the first place for RH 7.3 (you could have
just downloaded the binary).  But I'm not a Linux expert.

Yoav



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


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


Mime
View raw message