You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jonathan Eric Miller <je...@uchicago.edu> on 2001/09/15 02:20:33 UTC
Possible to run Tomcat 4 as non-root user?
RELEASE-NOTES-4.0-B7.txt in Tomcat 4 mentions the following.
---------------------
Catalina New Features:
---------------------
Connectors - Refactored the startup code so that Catalina can run on port 80
(without being root) when started by JavaService or equivalent service
managers.
I'm wondering if there is further documentation on this somewhere?
Also, I'm wondering if anyone has any tips on how to get Tomcat running in a
chrooted environment? i.e. as far as figuring out which libraries and what
not are required.
Jon
Re: Possible to run Tomcat 4 as non-root user?
Posted by Pier Fumagalli <pi...@betaversion.org>.
"Jonathan Eric Miller" <je...@uchicago.edu> wrote:
> RELEASE-NOTES-4.0-B7.txt in Tomcat 4 mentions the following.
>
> ---------------------
> Catalina New Features:
> ---------------------
>
> Connectors - Refactored the startup code so that Catalina can run on port 80
> (without being root) when started by JavaService or equivalent service
> managers.
>
> I'm wondering if there is further documentation on this somewhere?
It's in CVS, repository jakarta-tomcat-4.0 under /service/... The sources
run perfectly on Solaris 8 and Darwin, we wanted to get also a Windows
integration before starting to build binaries (and that might involve also
some mergers with JSR-096).
> Also, I'm wondering if anyone has any tips on how to get Tomcat running in a
> chrooted environment? i.e. as far as figuring out which libraries and what
> not are required.
Never tried, but it should be possible... For both the Java command line,
and service code, the main JVM library is something like "libjvm.so", so
just do an ldd libjvm.so and see what are the dependancies...
When installing stuff CHROOTED usually I start copying the first binary (in
this case install the JVM) in the CHROOTED path, and then try to run it
until it doesn't complain anymore (copying libraries as you go)...
Pier