Re: Standalone Tomcat on port 80 without root privileges

2002-08-04 Thread Leos Urban

Ralph,
thank you very much for tip.

Solution of my problem is in two lines in file /etc/sysconfig/ipchains
(Linux RH 7.3 box):
-I input --proto TCP --dport 80 -j REDIRECT 8080
-I input --proto TCP --dport 443 -j REDIRECT 8443
and then restart ipchains (/etc/init.d/ipchains restart).

Now I have tomcat-only website with SSL support, executed as tomcat4 user
(non-root), with listening on port 80 (443). Management of this site is
easy.
I dont need to experiment with mod_jk and other Apache-related things.
Our server is small I hope that performance will not be so poor (on static
pages).
Thanks.
Leos

// index: linux ipchains port forward apache 80 tomcat 8080 root privilege

- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 02, 2002 10:25 AM
Subject: AW: Standalone Tomcat on port 80 without root privileges


Some ideas:
- Use a proxy that redirects all requests on port 80 to 8080.
- Use nat and map port 80 to 8080 (port forwarding)

 -Ursprngliche Nachricht-
 Von: Leos Urban [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 2. August 2002 09:53
 An: [EMAIL PROTECTED]
 Betreff: Standalone Tomcat on port 80 without root privileges

 How to run tomcat JSPs and servlets on Linux on port 80 without root
 privileges?


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Standalone Tomcat on port 80 without root privileges

2002-08-03 Thread Leos Urban

Seriously, why not use Apache with a connector...
Because there is many problems.

I tested it. I has standard installation of Tomcat and Webapps from RPM
(full edition). I dont know how to generate jkconf data as described in
HOWTO. There is use parameter jkconf when start tomcat. Where? I tested
add this parameter to /etc/init.d/tomcat4 (= wrong parametr), to dtomcat4
(=no Class found),  to tomcat4.conf (= nothing was generated).

I looked for mod_webapp - it looks easily than mod_jk - but on Jakarta
Apache website I didnt found any mod_webapp package (only empty directory
tree) and pointer to CVS, where is only source code...

Leos


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Standalone Tomcat on port 80 without root privileges

2002-08-02 Thread Leos Urban

Hello,
How to run tomcat JSPs and servlets on Linux on port 80 without root
privileges?

I want to run Tomcat4 without Apache on my Redhat 7.3 Linux server. Tomcat 4
is installed from rpm and run as tomcat4 user. I changed port setting to
port 80 (http) and 443 (https) in server.xml to listen on standard ports.
But tomcat does not start on new ports. I mean that problem is in tomcat4
user. But I don't want change user to root for security reasons. Is here
some way or only one solution is Apache? Does exist some way how to run
tomcat as root and run servlets and JPS as some nobody user?

I know that I can run tomcat with security parameter but root is root :-((

Thank you very much,
Leos


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: Standalone Tomcat on port 80 without root privileges

2002-08-02 Thread Ralph Einfeldt

Some ideas:
- Use a proxy that redirects all requests on port 80 to 8080.
- Use nat and map port 80 to 8080 (port forwarding)

 -Ursprngliche Nachricht-
 Von: Leos Urban [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 2. August 2002 09:53
 An: [EMAIL PROTECTED]
 Betreff: Standalone Tomcat on port 80 without root privileges
 
 How to run tomcat JSPs and servlets on Linux on port 80 without root
 privileges?
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Standalone Tomcat on port 80 without root privileges

2002-08-02 Thread andre . powroznik

Use Windows, especially Millenium :-)

Seriously, why not use Apache with a connector...

Andr

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: 02 August 2002 10:25
To: Tomcat Users List
Subject: AW: Standalone Tomcat on port 80 without root privileges


Some ideas:
- Use a proxy that redirects all requests on port 80 to 8080.
- Use nat and map port 80 to 8080 (port forwarding)

 -Ursprngliche Nachricht-
 Von: Leos Urban [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 2. August 2002 09:53
 An: [EMAIL PROTECTED]
 Betreff: Standalone Tomcat on port 80 without root privileges
 
 How to run tomcat JSPs and servlets on Linux on port 80 without root
 privileges?
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

 DISCLAIMER  
This e-mail and any attachments thereto may contain information 
which is confidential and/or protected by intellectual property 
rights and are intended for the sole use of the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, 
total or partial reproduction, communication or distribution in any form) 
by persons other than the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either 
by telephone or by e-mail and delete the material from any computer. 
Thank you for your cooperation.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]