[Bug 730259] Re: tomcat6-instance-create does not behave properly on setting a value less than 1024 for the control port

James Page 730259 at bugs.launchpad.net
Tue Mar 8 21:55:54 UTC 2011


Hi Abhinav

You should have received a warning from the tomcat6-create-instance
command when using ports below 1024 (see output below):

ubuntu at ip-172-19-1-2:~$ tomcat6-instance-create -p 1000 -c 8005 tomcat
You are about to create a Tomcat instance in directory 'tomcat'
Warning: ports below 1024 are reserved to the super-user.
Type <ENTER> to continue, <CTRL-C> to abort.

It is possible for non-root users to bind to ports below 1024 using the
authbind package (see man authbind for more details) - the main tomcat6
package has authbind as a dependency and can be configured to run on
ports below 1024 if required.

I expect a similar approach could be applied to user instances of
tomcat6 if required (but not recommended!)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
https://bugs.launchpad.net/bugs/730259

Title:
  tomcat6-instance-create does not behave properly on setting a value
  less than 1024 for the control port



More information about the Ubuntu-server-bugs mailing list