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
10
votes
3 answers

How can I connect to Weblogic remotely using JConsole?

Which URL, port and weblogic server side settings do I need to use?
yazz.com
  • 57,320
  • 66
  • 234
  • 385
9
votes
1 answer

Where is JConsole in Leopard

does anyone knows where JConsole is Located in MacOSX (Leopard)?
gansodesoya
  • 303
  • 1
  • 3
  • 9
9
votes
10 answers

Local java processes are grayed when trying to connect via JMX

I'm running a number of java processes on a windows XP professional machine. When i attempt to connect to these processes via a local JConsole the processes are grayed out. However i can run the same processes on another machine and connect via a…
richs
  • 4,699
  • 10
  • 43
  • 56
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
  • 2,788
  • 7
  • 38
  • 74
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
  • 7,049
  • 6
  • 49
  • 68
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,486
  • 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,891
  • 15
  • 61
  • 82
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,795
  • 6
  • 56
  • 82
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
  • 11,982
  • 40
  • 122
  • 216
8
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
  • 97
  • 1
  • 1
  • 6
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
  • 66,414
  • 68
  • 253
  • 406
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
  • 7,740
  • 15
  • 75
  • 117
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
  • 222,824
  • 274
  • 634
  • 905
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
  • 16,447
  • 13
  • 69
  • 88
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
  • 25,013
  • 48
  • 144
  • 239
1 2
3
29 30