On 07/05/2010 18:20, Timothy J Schumacher wrote:
>> I would like to give some test application users ability to start &
>> restart
>> the tomcat server but not the entire admin / manager interface.
> 
> Actually this is possible in linux at least, though be very wary... 

No, it's clearly not.
You can't keep the admin app up, if the server is down.

> one
> can shell out of java and call things using nohup with run in the
> background (trailing &) or use setsid(), after that the new process is
> not connected to tomcat so it could restart tomcat.  I have done this
> and it works, though it's more academic and I wouldn't recommend writing
> things like that :)

You can shoot yourself in the foot too, if you have adequate medical
insurance.


p


> -Tim
> 
> 
> testwreq wreq wrote:
>> I entered the following line <user name="ad" password="pw"
>> roles="admin,manager" /> in tomcat-users.xm file. I can login to the
>> admin
>> http://localhost:8080/admin/ and application manager
>> http://localhost:8080/manager/html
>>
>> I would like to give some test application users ability to start &
>> restart
>> the tomcat server but not the entire admin / manager interface. Is it
>> possible to configure this?
>>
>> I am told that when the application (jsp/servelet code) changes,
>> tomcat has
>> to restart to clear the old cache. Is it true?
>>
>> My tomcat version is 5.5.23
>>
>> thanks, vm
>>
>>
>> On Fri, May 7, 2010 at 9:59 AM, Caldarale, Charles R <
>> chuck.caldar...@unisys.com> wrote:
>>
>>  
>>>> From: testwreq wreq [mailto:testw...@gmail.com]
>>>> Subject: tomcat administration
>>>>
>>>> I have a new installation of tomcat on centos. My $CATALINA_HOME is
>>>> /usr/share/tomcat5 and tomcat is running.
>>>>       
>>> Care to tell us the *exact* version of Tomcat you installed?  And how
>>> you
>>> installed it?  (Is it a 3rd-party repackaged version, or a real one from
>>> tomcat.apache.org?)
>>>
>>>    
>>>> http://localhost:8080 brings up the tomcat page & one of the option is
>>>> "Administration".
>>>>       
>>> That looks like it comes from a defunct 5.0.x version, which has not
>>> been
>>> supported for quite some time now.  Install a current Tomcat from
>>> tomcat.apache.org and try again.
>>>
>>>    
>>>> I would like to use this web interface and even give
>>>> some of the test webapp users ability to restart tomcat.
>>>>       
>>> That's not going to happen, at least not via internal manipulation of
>>> Tomcat.
>>>
>>>  - Chuck
>>>
>>>
>>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>>> MATERIAL and is thus for use only by the intended recipient. If you
>>> received
>>> this in error, please contact the sender and delete the e-mail and its
>>> attachments from all computers.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>>     
>>
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to