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.

439 questions
9
votes
1 answer

Building a JMXConnectorServer that handles SSL

It is well document how the default JMX Connector can be configured to handle TLS/SSL secured connections from JMX clients such as JConsole, e.g. -Dcom.sun.management.jmxremote.port=6789 \ -Dcom.sun.management.jmxremote.authenticate=false…
Martin Cowie
  • 3,208
  • 6
  • 36
  • 71
9
votes
3 answers

How to get csv data used to create graphs in Jconsole

newbie here. I have a java application and I am working on to monitor that java application. I come to know about the java monitoring and management control using 'JConsole'. It giving a very detailed graphical information about the running java…
Space
  • 6,637
  • 6
  • 43
  • 68
9
votes
1 answer

jconsole error during jrmp connection establishment nested exception is : java.io.EOFException

I am trying to monitor a remote process using jconsole and this was the command I used jconsole -debug localhost:4080 And this is the stack trace that I get java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception…
amrk7
  • 1,144
  • 4
  • 13
  • 29
8
votes
1 answer

Where is JConsole in Leopard

does anyone knows where JConsole is Located in MacOSX (Leopard)?
gansodesoya
  • 183
  • 1
  • 1
  • 9
8
votes
2 answers

Is enabling JConsole remote monitoring affect system performance in production?

Oracle/Sun says its fine as long as you don't run it locally on production box? http://download.oracle.com/javase/1.5.0/docs/guide/management/jconsole.html Note: Using jconsole to monitor a local application is useful for development and…
chinto
  • 1,436
  • 17
  • 27
8
votes
1 answer

ManagementFactory.getPlatformMBeanServer() vs MBeanServerFactory.createMBeanServer()

Can anyone please clarify what the differences are between the two? The Javadoc is really obscure for my proper understanding. One thing I have noticed is if I use ManagementFactory.getPlatformMBeanServer() to register my MBeans, I can view them in…
His
  • 5,412
  • 13
  • 50
  • 73
8
votes
1 answer

How does JConsole decide what order to use JMX keys to render a tree?

When viewing JMX beans in JConsole it renders all the beans under a given domain part as a hierarchy. (JVisualVM has the same behaviour with the JConsole MBeans plugin.) I realise that JMX object names are not hierarchical, but nevertheless JConsole…
dty
  • 18,132
  • 6
  • 51
  • 78
8
votes
3 answers

Can Java's JConsole be used to automatically configure memory?

I am studying about Java JMX and JConsole. I am curious about the memory management abilities of JConsole. For example, there is a "Perform GC" button in the Memory tab : Suppose I have simple Java app that eats up memory, something like this…
Caffeinated
  • 10,270
  • 37
  • 107
  • 197
8
votes
2 answers

Disabling Local JMX Connections on JVM

We are writing a java program which keeps a password in memory. Unfortunately, the user can easily use jconsole or jmap to create a heap dump file and open it to find the password. I think jconsole connects jvm using local sockets. I wanna know, is…
mohsen
8
votes
2 answers

How do you pull up the java console in OpenSUSE or Ubuntu?

I'm working on a java applet, and I was wondering where the heck System.out was going in Ubuntu/OpenSUSE. In windows, I just pull up jconsole, but I've not found this in Ubuntu/OpenSUSE. Thanks.
Stefan Kendall
  • 61,898
  • 63
  • 233
  • 391
7
votes
0 answers

Connect JConsole to GlassFish server running on Docker behind a NAT server

My infrastructure is architected this way (on AWS): |NAT| <--> |ServerA| <--> |DockerContainer| <--> |GlassFish4.0| ServerA has a Docker container running Glassfish version 4.0 ServerA has internet access thru NAT server. To connect to ServerA I've…
dazito
  • 6,832
  • 11
  • 63
  • 107
7
votes
4 answers

How do I create a thread dump via JMX?

I have a Tomcat running as a Windows Service, and those are known not to work well with jstack. jconsole is working well, on the other hand, and I can see stacks of individual threads (I'm connecting to "localhost:port" to access it). How can I use…
ripper234
  • 202,011
  • 255
  • 600
  • 878
7
votes
2 answers

CompositeData has no keys() method?

I'm using JMX to save some diagnostic information from a remote process. Looking at the interface in jconsole shows that the return type is CompositeData (the data actually comes back as CompositeDataSupport). I want to output all the key/value…
Luke Quinane
  • 15,732
  • 13
  • 64
  • 87
7
votes
6 answers

JConsole location in Linux

I am trying to run jconsole from my machine but I can't find the location of the .sh . I have tried finding it in different directories and setting JAVA_HOME to the jdk. $which java /usr/bin/java $java -version java version "1.7.0_51" OpenJDK…
M2201
  • 87
  • 1
  • 1
  • 6
6
votes
2 answers

How do I use Jconsole to connect to EC2?

I am running Jconsole on my macbook and trying to connect to a linux terminal on ec2 that does not have graphics(only command line access). I run my code like this: java -jar program.jar -Dcom.sun.management.jmxremote…
Lostsoul
  • 21,503
  • 39
  • 122
  • 205
1 2
3
29 30