Questions tagged [jconsole]

A Java debugging aid that redirects any System.{out,err} to a console window.

"Java Console" explains:

Java Console is a simple debugging aid that redirects any System.out and System.err to the console window. It is available for applets running with Java Plug-in and applications running with Java Web Start.

See also How do I enable and view the Java Console?

JConsole may also refer to the eponymous Java Virtual Machine monitoring tool.

450 questions
0
votes
1 answer

Can JConsole be used to monitor time required to execute particular methods for a web application?

After I connect to weblogic process through JConsole, I see some overall statistics but not the method-wise breakup of performance (time required for each method/class). Besides, as of now, I don't see how particular methods may be profiled using…
Sagar Aiya
  • 127
  • 3
  • 11
0
votes
0 answers

Monitoring c3p0 connections using Jconsole

Hi I am trying to monitor the connections opened by c3p0 using JConsole. I am following tutorial mentioned in http://amemon.wordpress.com/2007/07/15/monitoring-c3p0-using-jmxjconsole/ But when I open the jconsole under Mbeans tab I am not able to…
Rachit Agrawal
  • 685
  • 4
  • 13
  • 35
0
votes
1 answer

call jmx operation on a local running process

I have a java process on a linux server, which runs with this option: -Dcom.sun.management.jmxremote So I cannot just connect to this process via jconsole running on my local pc (because neither port nor -Dcom.sun.management.jmxremote.ssl=false…
javagirl
  • 1,635
  • 6
  • 27
  • 43
0
votes
1 answer

JMX Bean for few types of Requests

I want to show performance statistics for particular request type. When Controller class gets the HTTP Request from browser, it then marshals request xml in to a request object. From request object I can get request type. Is it possible to inject…
Himanshu Yadav
  • 13,315
  • 46
  • 162
  • 291
0
votes
0 answers

JConsole MBeans tab does not have "com.sun.management" node in left tree

My Environment is JBoss 5.1 (Jdk 1.5.x) on Windown 7 I have started JConsole from JDK 1.6 bin folder, it picked up the local running above JBoss app. To take heap dump as mentioned in jconsole docs, but, in the MBeans tab, I am not seeing…
Sridhar
  • 93
  • 1
  • 11
0
votes
1 answer

Preserve console log on navigation

I am building a plugin for Wordpress that saved custom data to a custom table every-time a user makes a new post. When I add data to a custom table in wordpress after the publish_post hook is called I am trying to echo the row ID in Chrome's…
Glen
  • 63
  • 6
0
votes
1 answer

Multi object monitor through JConsole

I am trying to monitor the objects of my application via JMX in JConsole. But in the JConsole i am not able to see the multiple objects of a same class. Here is my code: ApplicationCache cache1 = new ApplicationCache(); MBeanServer mbs =…
G.S
  • 10,413
  • 7
  • 36
  • 52
0
votes
1 answer

Jconsole randomly stops connecting

We have a jboss 7 instance running and hosting a web application. JMX remote has been turned on with username/password authentication and we are able to connect to it fine. Kindly not we are using Jboss/bin/jconsole.bat to connect. However at times…
Soumya
  • 1,054
  • 2
  • 16
  • 31
0
votes
1 answer

How to Query an id element across iFrames in firebug console

I want to query an id element using the document.getElementById('parameter'). But the id Element is in a chain of several nested iFrames dues to which the query return null value(P.S.:- all the iFrames are of the same domain) Is there any way by…
Vipin Verma
  • 5,330
  • 11
  • 50
  • 92
0
votes
2 answers

UsageMemory threashold in JConsole

I am looking into how to use JConsole to detect memory leaks. I see that in Memory Pool in my MBeans I can define UsageThreashold for my Tenured Generation. So if my application exceeds this threashold the heap memory becomes red in the Memory tab. …
Cratylus
  • 52,998
  • 69
  • 209
  • 339
0
votes
4 answers

can't connect to cassandra with jconsole

I have a cassandra installed on a remote server. The machine has 2 IPs - internal and external. In cassandra's jvm opts I have java.rmi.server.hostname set to the internal ip. nodetool connects just fine. However I'm not able to connect using…
shutyaev
  • 247
  • 1
  • 5
  • 12
0
votes
0 answers

Swing, AWT-EventQueue locked

In my swing application the whole application is hanging when invoking click at one of the nodes (only one). I used jconsole to investigate the problem a little bit more and what I see when invoking this "hanging event" in AWT-EventQueue-1…
Łukasz Rzeszotarski
  • 5,791
  • 6
  • 37
  • 68
0
votes
1 answer

jstack output - get tid for java Thread.getId

I had a look at existing questions on getting the thread id like java-thread-id-and-stack-trace . But I'm not able to figure out something that seemed simple. I want to make a JSP tool to stop a thread in Java. I know it's a bad idea in general but…
tgkprog
  • 4,493
  • 4
  • 41
  • 70
0
votes
1 answer

Caches node of Cassandra jconsole is not expandable

I have 1 node of Cassandra 1.1.2 installed on Linux, and I want to determine the size that every CF is occupying in the cache, and how many percents of every CF is in the cache (both for row cache and key cache) When I connecting to this node via…
Dani
  • 1
  • 1
0
votes
2 answers

Simple Swing program using ~200MB even when idle?

I know that the JVM is a hoarder but this is was a shock to me: 180MB usage on startup with netbean's very basic "Contact Editor" GUI with an addition of some basic generic instances? I didn't build a 1998 circa first person shooter game. I beg SO…
Tom
  • 9,275
  • 25
  • 89
  • 147
1 2 3
29
30