You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Aleksey Tsalolikhin <at...@earthlink.net> on 2000/12/14 08:16:01 UTC

Binding to IP? (Tomcat 3.2)

Dear all,

	Is there any way to get Tomcat to bind to a particular
socket, rather than just a port? 

	We're running Tomcat as stand-alone web server (load
testing of our application showed it ran faster under 
stand-alone Tomcat than with Apache+mod_jserv), with the
HTTP connector bound to port 80.

	Additionally, load testing shows that after about
45 users, response time starts going up more steeply.
However vmstat shows the box isn't CPU or memory starved,
so I suspect the bottleneck is in the application or in
Tomcat.

	I'd like to run multiple instances of stand-alone
Tomcat on this one server, for example, one bound to
10.0.0.1:80, another to 10.0.0.2:80, and so on, to get
the most out of our hardware.

	Can Tomcat 3.2.1 do this?  I'm running it on
Solaris 2.6 with Sun JDK 1.2.2.

Yours truly,
Aleksey Tsalolikhin
UNIX System Administrator