Sorry, running tomcat6-instance-create as root, solved the issue. But I
believe, it should have displayed an error that I need to run the server
as root in order to bind to a port less than 1024, rather than stupidly
say "server started".

** Changed in: tomcat6 (Ubuntu)
       Status: New => Invalid

** Description changed:

  Binary package hint: tomcat6
  
  On specifying any value less than 1024 for the -c option of 
tomcat6-instance-create, the server instance does not work as expected. It gets 
configured and gets started, but pages won't load in the browser.
  For example, on running
- $tomcat6-instance-create -c 1001 -p 8001 ~/my_tomcat 
+ $tomcat6-instance-create -c 1001 -p 8001 ~/my_tomcat
  
- It configures the instance properly, with the specified port values also 
appearing in ~/my_tomcat/conf/server.xml . The server also starts successfully. 
But, I cannot access  http://localhost:8001/  
- On opening it, in the browser, the browser simply says "Page not found" . 
+ It configures the instance properly, with the specified port values also 
appearing in ~/my_tomcat/conf/server.xml . The server also starts successfully. 
But, I cannot access  http://localhost:8001/
+ On opening it, in the browser, the browser simply says "Page not found" .
  
  There is no problem in shutting down the server. This behaviour is
  occuring for any values less than 1024 for the control port.
  
  And, on specifying a value greater than 1024 for -c , it does not cause
  any such problems.
  
  I have following configuration:
  Ubuntu 10.10
  tomcat6-user 6.0.28-2ubuntu1.1
  tomcat6 6.0.28-2ubuntu1.1
  Architecture: x86

** Changed in: tomcat6 (Ubuntu)
       Status: Invalid => New

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to