Re: invoke jmxproxy servlet using argument with a , is not a possible

2020-03-24 Thread Luis Rodríguez Fernández
Hello Arnaud, If jmxproxy does not work for you perhaps you can give a try to jolokia [1]. It accepts JSON POST requests [2] that can implement your scenario. The installation is quite straight-forward, simply deploy it as a .war or attach it as an agent to your JVM. Hope it helps, Luis [1

Re: invoke jmxproxy servlet using argument with a , is not a possible

2020-03-24 Thread Martin Grigorov
Hi, On Mon, Mar 23, 2020 at 7:08 PM Arnaud Yahoo wrote: > Hello > > I am trying to invoke a mbean through jmxproxy servlet. Arguments are > separated with , so when one argument itself is containing a coma, it > breaks the invocation. > > It seems there is no way to esca

invoke jmxproxy servlet using argument with a , is not a possible

2020-03-23 Thread Arnaud Yahoo
Hello I am trying to invoke a mbean through jmxproxy servlet. Arguments are separated with , so when one argument itself is containing a coma, it breaks the invocation. It seems there is no way to escape ,. For example trying to save a context configuration fails : curl -u user:pass -G

Re: Jmxproxy causes datasources exceptions.

2018-02-22 Thread Oliva
Problem was initialSize="0". Solution initialSize="1". -- Forwarded message - From: Oliva Date: mié., 21 feb. 2018 a las 12:47 Subject: Jmxproxy causes datasources exceptions. To: When I try "http://myserver:myport/manager/jmxproxy"; y get in c

Jmxproxy causes datasources exceptions.

2018-02-21 Thread Oliva
When I try "http://myserver:myport/manager/jmxproxy"; y get in catalina.out the same error for getting attributes like Schema, AutoCommit, Catalog, TransactionIsolation, Holdability and ReadOnly. Tomcat 8.5.28 with DBCP 2 factory datasources. Example from catalina.out for one attribu

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-10 Thread Christopher Schultz
dn't want to break something I didn't understand very well. > >> This exception is being thrown when I call "jmxproxy?qry" and >> let it list everything available via JMX. > >> Is it just a matter of modifying >> org/apache/catalina/load

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-10 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/03/2014 16:27, Christopher Schultz wrote: > Okay. Someone should tell Tomcat that it has been removed. +1. I guess you are volunteering :) > This exception is being thrown when I call "jmxproxy?qry" and let > it list every

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-10 Thread Christopher Schultz
I'm not able to access my Tomcat's JMX beans >>> remotely using jconsole, etc. and so I figured I'd try using >>> the jmxproxy servlet in the manager webapp. I've deployed the >>> manager webapp in the same way I've done in many other >>>

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-05 Thread Konstantin Kolinko
2014-03-06 1:40 GMT+04:00 Christopher Schultz : > > On 3/5/14, 4:20 PM, Christopher Schultz wrote: >> All, >> >> For some reason, I'm not able to access my Tomcat's JMX beans >> remotely using jconsole, etc. and so I figured I'd try using the &g

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/5/14, 4:20 PM, Christopher Schultz wrote: > All, > > For some reason, I'm not able to access my Tomcat's JMX beans > remotely using jconsole, etc. and so I figured I'd try using the > jmxproxy servlet in the

Problem with jmxproxy / Tomcat 8.0.3

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, For some reason, I'm not able to access my Tomcat's JMX beans remotely using jconsole, etc. and so I figured I'd try using the jmxproxy servlet in the manager webapp. I've deployed the manager webapp in the same way I&#

Re: Nagios plugin script for use with JMXProxy

2012-12-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Athanasios, On 11/28/12 11:23 AM, Athanasios Kostopoulos wrote: > On 28/11/12 17:19, Mark H. Wood wrote: >> On Tue, Nov 27, 2012 at 05:37:18PM -0500, Christopher Schultz >> wrote: >>> I have developed a Perl script that can be used with Nagios to >>>

Re: Nagios plugin script for use with JMXProxy

2012-11-28 Thread Athanasios Kostopoulos
On 28/11/12 17:19, Mark H. Wood wrote: On Tue, Nov 27, 2012 at 05:37:18PM -0500, Christopher Schultz wrote: I have developed a Perl script that can be used with Nagios to check on a Tomcat instance via the manager's JMXProxyServlet. Someone asked me to publish it, which I'm happy to do. I'm just

Re: Nagios plugin script for use with JMXProxy

2012-11-28 Thread Mark H. Wood
On Tue, Nov 27, 2012 at 05:37:18PM -0500, Christopher Schultz wrote: > I have developed a Perl script that can be used with Nagios to check > on a Tomcat instance via the manager's JMXProxyServlet. Someone asked > me to publish it, which I'm happy to do. I'm just wondering what the > best thing to

Re: Nagios plugin script for use with JMXProxy

2012-11-27 Thread Mark Eggers
On 11/27/2012 3:14 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 11/27/12 6:02 PM, Mark Eggers wrote: On 11/27/2012 2:37 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I have developed a Perl script that can be used

Re: Nagios plugin script for use with JMXProxy

2012-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 11/27/12 6:02 PM, Mark Eggers wrote: > First of all, thank you for this. I've been toying with a similar > idea (and plugging the entire mess into the Icenga remoting > script), but I've not had the chance. http://wiki.apache.org/tomcat/tool

Re: Nagios plugin script for use with JMXProxy

2012-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 11/27/12 6:02 PM, Mark Eggers wrote: > On 11/27/2012 2:37 PM, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> All, >> >> I have developed a Perl script that can be used with Nagios to >> check on a Tomcat i

Re: Nagios plugin script for use with JMXProxy

2012-11-27 Thread Mark Eggers
On 11/27/2012 2:37 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I have developed a Perl script that can be used with Nagios to check on a Tomcat instance via the manager's JMXProxyServlet. Someone asked me to publish it, which I'm happy to do. I'm just wonde

Nagios plugin script for use with JMXProxy

2012-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I have developed a Perl script that can be used with Nagios to check on a Tomcat instance via the manager's JMXProxyServlet. Someone asked me to publish it, which I'm happy to do. I'm just wondering what the best thing to do is. I see several op

Re: Problem with JMXProxy after upgrading from 6.0.29 to 7.0.26

2012-03-06 Thread hodgesz
This appears to be another variant of the following bug that was supposed to be fixed in 7.0.26. https://issues.apache.org/bugzilla/show_bug.cgi?id=52591 -- View this message in context: http://tomcat.10.n6.nabble.com/Problem-with-JMXProxy-after-upgrading-from-6-0-29-to-7-0-26

Problem with JMXProxy after upgrading from 6.0.29 to 7.0.26

2012-03-06 Thread hodgesz
Hi, We have been using the following two JMXProxy URLs for monitoring without issue in 6.0.29. http://localhost:8080/manager/jmxproxy/?qry=*:type=Executor,name=tomcatThreadPool OK - Number of results: 1 Name: Catalina:type=Executor,name=tomcatThreadPool modelerType

Re: Jmxproxy issue

2010-05-19 Thread Anurag Kapur
ded to the Tomcat process you get detailed memory information including Garbage collections stats on the jmxproxy servlet. Hope this helps. Regards Anurag -- Anurag Kapur Senior Associate - Technology, Sapient Corporation. +44 (0) 7

Re: Jmxproxy issue

2010-05-14 Thread Pid
On 14/05/2010 12:49, Honey Bajaj wrote: > > Thanks again for responding, both the servers have exactly similar following > configuration, and I am able to execute > /jmxproxy/?qry=java.lang:type=OperatingSystem query successfully on one (i.e. > getting the output) and for the o

RE: Jmxproxy issue

2010-05-14 Thread Honey Bajaj
Thanks again for responding, both the servers have exactly similar following configuration, and I am able to execute /jmxproxy/?qry=java.lang:type=OperatingSystem query successfully on one (i.e. getting the output) and for the other server the search string returns OK - Number of results: 0

Re: Jmxproxy issue

2010-05-14 Thread Konstantin Kolinko
2010/5/14 Pid : > On 14/05/2010 10:59, Honey Bajaj wrote: >> Hi All, >> >> I have enabled manager application on tomcat 5.5.9 added the required >> context and security options. >> I am able to logon to the manager application both the status and jmxproxy >

Re: Jmxproxy issue

2010-05-14 Thread Pid
On 14/05/2010 11:27, Honey Bajaj wrote: > Thanks for responding, upgrade is not a possibility at this moment. The same > version is working fine on few other environments and delivering the required > output using jmxproxy but on production its not able to display java.lang > spec

RE: Jmxproxy issue

2010-05-14 Thread Honey Bajaj
Thanks for responding, upgrade is not a possibility at this moment. The same version is working fine on few other environments and delivering the required output using jmxproxy but on production its not able to display java.lang specific queries. Any pointer towards how to troubleshoot would be

Re: Jmxproxy issue

2010-05-14 Thread Pid
On 14/05/2010 10:59, Honey Bajaj wrote: > Hi All, > > I have enabled manager application on tomcat 5.5.9 added the required context > and security options. > I am able to logon to the manager application both the status and jmxproxy > are accessible but jmxproxy didn

Jmxproxy issue

2010-05-14 Thread Honey Bajaj
Hi All, I have enabled manager application on tomcat 5.5.9 added the required context and security options. I am able to logon to the manager application both the status and jmxproxy are accessible but jmxproxy didn't contain any details related to java.lang:type (such as java.lang

Re: Issue with jmxproxy

2010-05-14 Thread Pid
ext > and security options. I am able to logon to the manager application both the > status and jmxproxy are accessible but jmxproxy didn't contain any details > related to java.lang:type (such as > java.lang:type=GarbageCollector,name=Copy=GarbageCollector,name=Copy

Issue with jmxproxy

2010-05-14 Thread Honey Bajaj
Hi All, I have enabled manager application on tomcat 5.5.9 added the required context and security options. I am able to logon to the manager application both the status and jmxproxy are accessible but jmxproxy didn't contain any details related to java.lang:type (such as java.lang

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liang, Liang Xiao Zhu wrote: | I would like to know if there is some way which I can monitoring of the | memory usage through of Tomcat. I mean, I have currently running a | Tomcat 6 server, and through that I want to kn

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Liang Xiao Zhu
Thanks for your answer!!! Christopher Schultz escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liang, Liang Xiao Zhu wrote: | I would like to know if there is some way which I can monitoring of the | memory usage through of Tomcat. I mean, I have currently running a | Tomcat 6 server, a

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Liang Xiao Zhu
Can anyone help me? Liang Xiao Zhu escribió: Hi, I would like to know if there is some way which I can monitoring of the memory usage through of Tomcat. I mean, I have currently running a Tomcat 6 server, and through that I want to know not only the memory usage of JVM also the memory usage

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Is there some kind of general source of information, or registry or | repository, where one could find [...] a list of already-developed add-on modules for Tomcat? Not really. Most of the Tomcat-specific stuff actually

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liang, Liang Xiao Zhu wrote: | I would like to know if there is some way which I can monitoring of the | memory usage through of Tomcat. I mean, I have currently running a | Tomcat 6 server, and through that I want to know not only the memory | usage

Re: Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread André Warnier
Hi. May I take the opportunity and ride on the question below, to ask : Is there some kind of general source of information, or registry or repository, where one could find the answer to the question below, but also get a list of already-developed add-on modules for Tomcat ? I mean, when I need

Jconsole or JMXPROXY monitoring memory usage of the system

2008-06-11 Thread Liang Xiao Zhu
Hi, I would like to know if there is some way which I can monitoring of the memory usage through of Tomcat. I mean, I have currently running a Tomcat 6 server, and through that I want to know not only the memory usage of JVM also the memory usage of the system. Thanks in advance ---

JMXProxy

2008-04-22 Thread Liang Xiao Zhu
Hi everyone, I want monitoring Tomcat applications below webapps. So I am using JMX for to do this. Exactly I am interested in the timing for every process, so I am using this http://localhost:port/manager/jmxproxy/?query=RequestProcessor for extract what I want, I am monitoring

Re: jmxproxy server management problem

2008-01-25 Thread Tim Funk
I just checked again - there is no way to invoke an action with the jmxproxy. Just set/get values. This can be done via JMX, just not the jmxproxy servlet. So if you allow tomcat to be monitored via a real JMX tool - you should be able to do this. -Tim Константин Шумай wrote: Tim, thanks

Re: jmxproxy server management problem

2008-01-25 Thread Константин Шумай
management tools or any other way. 2008/1/25, Tim Funk <[EMAIL PROTECTED]>: > > All you did was change the bean which contains the property. Now that > the port property is 8081. You need to stop the Connector and restart > it. I'm not sure if you can do this via the JMXProxy se

Re: jmxproxy server management problem

2008-01-25 Thread Tim Funk
All you did was change the bean which contains the property. Now that the port property is 8081. You need to stop the Connector and restart it. I'm not sure if you can do this via the JMXProxy servlet. (Or if you can - if there are any odd unexpected side effects) -Tim Константин Шумай

jmxproxy server management problem

2008-01-24 Thread Константин Шумай
Hello all, I've encountered interesting thing while working with Apache Tomcat 6.0.14. I have clear aim: to change running server port number using the remote application. There is an ability described in Tomcat documentation which provides administrative tools for server management. In particula

Re: Monitoring JVM using JMX + manager's jmxproxy

2007-03-22 Thread Nicholas Sushkin
On Thursday 22 March 2007 16:57, you wrote: > I am working on some plugins and templates for Nagios and Cacti to > monitor JVM on our tomcat servers It looks like MX4J project has a JMX over HTTP and HTTPS connector. http://mx4j.sourceforge.net/docs/ch05.html -- Nicholas Sushkin, Senior Softwar

Re: Monitoring JVM using JMX + manager's jmxproxy

2007-03-22 Thread Nicholas Sushkin
Jean-Sebastien, If you specify the actual bean name, you can get the attribute value. For example, http://hostname:8080/manager/jmxproxy/?get=java.lang:type=MemoryPool,name=Code%20Cache&att=Usage OK - Attribute get 'java.lang:type=MemoryPool,name=Code Cache

Monitoring JVM using JMX + manager's jmxproxy

2007-03-22 Thread Jean-Sebastien Pilon
Hello, I am working on some plugins and templates for Nagios and Cacti to monitor JVM on our tomcat servers I am seeking some help to understand how I can get only the Usage values off the following MBean query. http://hostname:8080/manager/jmxproxy/?qry=*%3Atype%3DMemoryPool%2Cname% 3DCode

JMXproxy and Jconsole

2007-01-30 Thread Matteo Turra
Is it possible connect jconsole with jmxproxy provided by tomcat manager? Thanks in advance, Matteo.

Modifications to JNDI environment from admin or jmxproxy not seen in application

2006-12-03 Thread Eric
Anybody have any ideas on this? I'm using tomcat 5.5.20 - Forwarded message from Eric <[EMAIL PROTECTED]> - Date: Fri, 1 Dec 2006 14:03:19 -0600 From: Eric <[EMAIL PROTECTED]> Subject: Modifications to JNDI environment from admin or jmxproxy not seen in appl

Modifications to JNDI environment from admin or jmxproxy not seen in application

2006-12-01 Thread Eric
When I change JNDI environment entries in the admin app or from the manager app's jmxproxy, those changes are not reflected in the Context I'm getting in my app when I do new InitialContext().lookup("java:comp/env/test") Since I'm doing that per-call in my webapp (and pri