Re: JMX on IBM Midrange?
"James H. H. Lampert via JAVA400-L" <[email protected]> Thu, 16 Oct 2025 08:40:10 -0700
| Newsgroups | gmane.comp.lang.as400.java |
|---|---|
| Message-ID | <[email protected]> |
On 10/16/25 7:16 AM, Jack Woehr wrote: > "What are you actually trying to do with JMX, James?" asks this > fellow who has done JMX on IBM i. Dear Jack: As it happens, I managed to dope out the basics myself, by the end of the day, yesterday. What I'm attempting to do is use JMX to turn webapp contexts on and off in a Tomcat server, from a command line, rather than through the "manager" context. I managed to get jmxterm working on our cloud box (where I have a "guinea-pig" Tomcat server running), and managed, with a fair amount of trial-and-error, to dope out which bean has the "start" and "stop" operations for a given context. It might be useful to be able to script all of what I've so far only been able to do manually (i.e., open a QShell session, open a connection to the Tomcat server, and then start and stop a given context). More specifics about the situation will follow off-List. -- JHHL -- This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/java400-l.