Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread Faheem Mitha
On Tue, 17 Apr 2007, Faheem Mitha wrote: On Tue, 17 Apr 2007, Faheem Mitha wrote: On Tue, 17 Apr 2007, David Smith wrote: Ahhh the joy of *nix operating systems. Way back in the distant past of unix systems, someone decided it was a bad idea to allow any user on the system to bind to th

Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread Faheem Mitha
On Tue, 17 Apr 2007, Faheem Mitha wrote: On Tue, 17 Apr 2007, David Smith wrote: Ahhh the joy of *nix operating systems. Way back in the distant past of unix systems, someone decided it was a bad idea to allow any user on the system to bind to the well known low ports (1 - 1024) where of

Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread Faheem Mitha
On Tue, 17 Apr 2007, Paul Singleton wrote: David Smith wrote: Ahhh the joy of *nix operating systems. Way back in the distant past of unix systems, someone decided it was a bad idea to allow any user on the system to bind to the well known low ports (1 - 1024) where officially sanctioned s

Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread Faheem Mitha
On Tue, 17 Apr 2007, David Smith wrote: Ahhh the joy of *nix operating systems. Way back in the distant past of unix systems, someone decided it was a bad idea to allow any user on the system to bind to the well known low ports (1 - 1024) where officially sanctioned services (POP, SMTP, FTP

Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread Faheem Mitha
On Tue, 17 Apr 2007, Erik Melkersson wrote: Are you starting it as non-root? Only root has the ability to bind to ports <1024. I expect this is the problem. The process is running as user tomcat5.5. Faheem. ---

Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread Paul Singleton
David Smith wrote: Ahhh the joy of *nix operating systems. Way back in the distant past of unix systems, someone decided it was a bad idea to allow any user on the system to bind to the well known low ports (1 - 1024) where officially sanctioned services (POP, SMTP, FTP, etc., ...) should be.

Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread David Smith
Ahhh the joy of *nix operating systems. Way back in the distant past of unix systems, someone decided it was a bad idea to allow any user on the system to bind to the well known low ports (1 - 1024) where officially sanctioned services (POP, SMTP, FTP, etc., ...) should be. A great idea excep

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Erik Melkersson
Are you starting it as non-root? Only root has the ability to bind to ports <1024. Regards /Erik Melkersson Faheem Mitha wrote: Hi, I can now get tomcat to run an ssl connector at port 8443 (Debian default), but doesn't work if I try to run it at 443. The log says: Apr 17, 2007 12:31:19 A

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Faheem Mitha
Hi, I can now get tomcat to run an ssl connector at port 8443 (Debian default), but doesn't work if I try to run it at 443. The log says: Apr 17, 2007 12:31:19 AM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: service.getName(): "Catalina"; Protocol

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Faheem, Faheem Mitha wrote: > I have earlier heard references made to the tomcat connector. Just to > be clear, is this a separate piece of software or part of tomcat? All connectors all come bundled with Tomcat. It looks like the HTTP connector is

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Faheem Mitha
On Mon, 16 Apr 2007, David Smith wrote: If you add the address attribute to your tomcat connectors in server.xml, tomcat will bind specifically to those interfaces. See http://tomcat.apache.org/tomcat-5.5-doc/config/http.html for documentation on this. --David Hi, Thanks to David and o

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Markus Schönhaber
Faheem Mitha wrote: > I have a machine on which I want to run both apache (2.2) and tomcat (5.5) > simultaneously and independently, both at port 443. > > To be more precise, say I have a machine with the two IP names > > foo.org and bar.org Your machine propably has two IP addresses. How many na

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread David Smith
If you add the address attribute to your tomcat connectors in server.xml, tomcat will bind specifically to those interfaces. See http://tomcat.apache.org/tomcat-5.5-doc/config/http.html for documentation on this. --David Faheem Mitha wrote: Hello everyone, I have a machine on which I wan

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Martin Gainty
OTECTED]> To: Cc: "Thomas B Kepler" <[EMAIL PROTECTED]> Sent: Monday, April 16, 2007 3:22 PM Subject: running tomcat on a particular network interface and a particular port Hello everyone, I have a machine on which I want to run both apache (2.2) and tomcat (5.5) simult

running tomcat on a particular network interface and a particular port

2007-04-16 Thread Faheem Mitha
Hello everyone, I have a machine on which I want to run both apache (2.2) and tomcat (5.5) simultaneously and independently, both at port 443. To be more precise, say I have a machine with the two IP names foo.org and bar.org Then I want to run apache at foo.org:443, and tomcat at bar.org:4