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

2011-03-06 Thread Abhinav Upadhyay
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

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

2011-03-06 Thread Abhinav Upadhyay
Changed the bug report. It should at least give a warning before starting the server, that without root privileges it won't be able to serve pages. (Running server as root is not such a good idea, but in case someone wants to ). ** Description changed: Binary package hint: tomcat6 On

[Bug 707405] Re: tomcat6-instance-create should allow -c -1

2011-03-07 Thread Abhinav Upadhyay
I have modified the tomcat6-instance-create to accept -1 as a value of the -c option. Now, if a user specifies -1 as a value for the -c option, the server will get configured and instantiated properly, but the user will be given a warning that he will have to kill the server manually. I have

[Bug 707405] Re: tomcat6-instance-create should allow -c -1

2011-03-07 Thread Abhinav Upadhyay
** Changed in: tomcat6 (Ubuntu) Status: Triaged = In Progress -- 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/707405 Title: tomcat6-instance-create should allow -c -1 --

[Bug 707405] Re: tomcat6-instance-create should allow -c -1

2011-03-07 Thread Abhinav Upadhyay
** Changed in: tomcat6 (Ubuntu) Assignee: (unassigned) = Abhinav Upadhyay (er-abhinav-upadhyay) -- 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/707405 Title: tomcat6-instance

[Bug 707405] Re: tomcat6-instance-create should allow -c -1

2011-03-07 Thread Abhinav Upadhyay
Using a regex test to verify the port numbers as suggest by Clint Byrum and Barry during their review of the previous patch. ** Patch added: bugfix-707405-rev-34.diff https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/707405/+attachment/1893145/+files/bugfix-707405-rev-34.diff -- You

[Bug 297675] Re: Eclipse can't find catalina.policy and bootstrap.jar where it expects them

2011-03-10 Thread Abhinav Upadhyay
I created a user instance of tomcat6 using tomcat6-instance-create When I try to configure in Eclipse, it complains that lib/jasper-el.jar not found. I can overcome this by creating a symbolic link to /usr/share/tomcat6/lib in my user instance directory. Next, when I try to start the server, it

[Bug 297675] Re: Eclipse can't find catalina.policy and bootstrap.jar where it expects them

2011-03-10 Thread Abhinav Upadhyay
I am working on it. I will modify the tomcat6-instance-create script to create necessary symlinks, so that eclipse can be configured properly for setting up tomcat in its development environment. ** Changed in: tomcat6 (Ubuntu) Assignee: (unassigned) = Abhinav Upadhyay (er-abhinav-upadhyay

[Bug 297675] Re: Eclipse can't find catalina.policy and bootstrap.jar where it expects them

2011-03-10 Thread Abhinav Upadhyay
** Changed in: tomcat6 (Ubuntu) Status: Triaged = In Progress -- 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/297675 Title: Eclipse can't find catalina.policy and

[Bug 297675] Re: Eclipse can't find catalina.policy and bootstrap.jar where it expects them

2011-03-11 Thread Abhinav Upadhyay
I added a few lines to tomcat6-instance-create, so that it will setup symlinks for the files which Eclipse expects to be present inside the server directories. It should now be possible to setup tomcat inside Eclipse for development purposes without any additional work. ** Patch added:

[Bug 297675] Re: Eclipse can't find catalina.policy and bootstrap.jar where it expects them

2011-03-11 Thread Abhinav Upadhyay
As Thierry pointed out in his review of the previous patch, that tomcat6-user does not come with catalina.policy file, making it difficult to configure with eclipse for development purposes, and it also rendered my previous patch useless. Therefore I updated the last patch, so that tomcat6-user