-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Willie,

On 10/3/12 4:38 PM, Peloquin, Willie wrote:
> Sorry to disturb the list with this question, but I have been
> looking for the answer online. I know that I can control the Tomcat
> Manager using text or JMX.

Technically, you aren't controlling the Tomcat Manager via JMX.
Instead, you can invoke operations on JMX beans -- some of which can
affect the manager just because it happens to be a webapp. The manager
webapp can also perform some operations like deploy, start, stop, etc.
on webapps.

> http://10.60.28.90:8081/manager/text/list will provide me a list of
> web services and some status.
> 
> I read the sections on JMX, but I do not have a clue on the
> operations. To quote the Tomcat 7.0 documentation, "For you to
> really understand the JMX Proxy Servlet, you should have a general
> understanding of JMX. If you don't know what JMX is, then prepare
> to be confused."

I think you have become confused.

> My goal is to be able to start, stop and restart web services 
> programmatically.

Okay, no problem.

> I know that I could send http packets in a stream to the web
> server, but I feel that web sites are for user interaction. I would
> like to have some type of API.

You *are* using an API: it's just based upon HTTP. You can send
messages via HTTP just like you would call methods on an object (some
OO languages like Objective C even call method calls "messages").

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBtxeUACgkQ9CaO5/Lv0PBu9ACgsUkq4AEV97lJEeEKvP7MBjO5
Cj8An2JABxRllV3DFfcVvB8rS1Ezu4zo
=evTq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to