Hi Jake,

The admin context and manager context I created using admintool with
http://localhost:8080/admin don't have privileged attribute set. Thus I
can't start http://test.tlg.ca:8080/manager or
http://test.tlg.ca:8080/admin. I am sure this tag caused the problem because
if I put this tag in and restart the application server, it will work.

I used the manager application a lot. In both Tomcat 4 and 5, I can use
http://localhost:8080/manager/list
http://localhost:8080/manager/start?path=/abc
http://localhost:8080/manager/stop?path=/abc
http://localhost:8080/manager/reload?path=/abc
instead of using http://localhost:8080/manager/html/list. I think the
servlet mapping for different versions may be different. Thus we may be
using different versions but this should have no relationship to my problem.
Thanks a lot.

Have a good day.

Best regards,
Sheng


-----Original Message-----
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: May 17, 2004 4:32 PM
To: Tomcat Users List
Subject: RE: Does Tomcat 5 supports stop/start/reload server through
admin tool ?


Quoting Sheng Huang <[EMAIL PROTECTED]>:

> Hi Jake,
> 
> Thanks a lot for your reply. However, I am going to create the context of
> the new manager application for the new host (e.g. test.tlg.ca). But the
> manager context created in http://localhost:8080/admin won't be
initialized
> correctly without the privileged attribute.
> 

I don't understand what you are saying here?  The manager and admin apps
have to
be marked as privileged.  Are you saying you don't what to do that?  I can't
help you much there.  Please explain more if you want more help.

> And on my machine, to access the manager application, I need to use
> http://localhost:8080/manager/list instead of
> http://localhost:8080/manager/html/list. Hope this won't be the problem.
> 

I don't understand this either.  The URL of the GUI is manager/html/list.
In
fact, anything done with the GUI *has* to have the "/html" in there unless
you
hack the servlet mappings.  If you don't want the GUI, such as when you
access
the manager app via the Catalina Ant tasks, then you can leave out the
"/html".

Beyond that, I'm a bit lost as to what you are trying to do.

Jake

> Could you give me more ideas? Thank you very much.
> 
> Best regards,
> Sheng
> 
> -----Original Message-----
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: May 17, 2004 3:08 PM
> To: Tomcat Users List
> Subject: Re: Does Tomcat 5 supports stop/start/reload server through
> admintool ?
> 
> 
> Quoting Sheng Huang <[EMAIL PROTECTED]>:
> 
> > Does anyone know whether Tomcat 5 supports stop/start server through a
GUI
> > tool? Or can I reload all the contexts in all hosts through a GUI
> interface?
> >
> 
> Look at the manager app:
> 
> http://localhost:8080/manager/html/list
> 
> You'll have to set up a user in tomcat-users.xml with the role of
"manager"
> before you do this.  Then log in with that user at the URL above.
> 
> Jake
> 
> 
> > Best regards,
> > Sheng
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to