Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D99D1DD9F for ; Tue, 2 Oct 2012 14:02:23 +0000 (UTC) Received: (qmail 58005 invoked by uid 500); 2 Oct 2012 14:02:20 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57861 invoked by uid 500); 2 Oct 2012 14:02:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57850 invoked by uid 99); 2 Oct 2012 14:02:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 14:02:19 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [4.79.116.89] (HELO smtp.drs-ts.com) (4.79.116.89) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 14:02:11 +0000 X-ASG-Debug-ID: 1349186510-032e3c0f24135b40001-PXi1IZ Received: from ts-exchange.ts.drs.master (ts-exchange.ts.drs.master [10.60.10.15]) by smtp.drs-ts.com with ESMTP id fLHDw17gqOGqjDVT for ; Tue, 02 Oct 2012 10:01:50 -0400 (EDT) X-Barracuda-Envelope-From: wpeloquin@drs-ts.com X-ASG-Whitelist: Client X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Programatically Controlling Tomcat 7 Date: Tue, 2 Oct 2012 10:01:48 -0400 X-ASG-Orig-Subj: Programatically Controlling Tomcat 7 Message-ID: <68E510AB14436B40B9AB93D0E89419A901A132B5@ts-exchange.ts.drs.master> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Programatically Controlling Tomcat 7 Thread-Index: Ac2f2rleAiN+OpXKQxujxp441IHVKwAyriyA References: From: "Peloquin, Willie" To: "Tomcat Users List" X-Barracuda-Connect: ts-exchange.ts.drs.master[10.60.10.15] X-Barracuda-Start-Time: 1349186510 X-Barracuda-URL: http://4.79.116.89:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at drs-ts.com Hello, 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.=20 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." My goal is to be able to start, stop and restart web services programmatically. 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. Thank you in advance for any advice and guidance. FWIW: I am a fairly new JAVA developer, and I am even more of a novice with web services and Tomcat. Willie NOTICE: This e-mail transmission (and/or the attachments accompanying it) m= ay contain confidential or proprietary information belonging to DRS Technol= ogies or the sender. The information is only for the use of the intended re= cipient. If you are not the intended recipient you are hereby notified that= any disclosure, copying, distribution or the taking of any action in relia= nce on the contents of this information is strictly prohibited. Any unautho= rized interception of this transmission is illegal under the law. If you ha= ve received this transmission in error, please promptly notify the sender b= y reply e-mail, and then destroy all copies of the transmission. "This (document/presentation) may contain technical data as defined in the = International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of t= his material is restricted by the Arms Export Control Act (22 U.S.C. 2751 e= t seq.) and may not be exported to foreign persons without prior written ap= proval from the U.S. Department of State." --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org