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
4
votes
1 answer

Analyzing deadlock using Jconsole

I am running a simple program which causes deadlock. final String resource1 = "santanu"; final String resource2 = "sahoo"; System.out.println(Integer.toHexString(resource1.hashCode()) ); …
Santanu Sahoo
  • 1,137
  • 11
  • 29
4
votes
0 answers

How to control the ordering of operations in my MBean when viewed in JConsole or Java VisualVM

I see this question was posted under title "jconsole operation ordering", but didn't see any responses to it and couldn't add a comment as I am new. So posting this question again! I have an MBean with many operations and would want to present them…
spider
  • 41
  • 1
4
votes
3 answers

Can't have JConsole read Kafka JMX

So I have an EC2 server running Apache Kafka (testing). It has port 9111 for JMX and EC2 security setting changed to open the port. I am trying to run JConsole on my Mac to read JMX metrics of this server but I got "Secure Connection Failed"…
kee
  • 10,969
  • 24
  • 107
  • 168
4
votes
4 answers

JConsole alternative

Does there exists any JConsole alternative which i could bundle with my app ?
Oleksandr
  • 3,761
  • 8
  • 50
  • 80
4
votes
1 answer

JConsole Web Application

I need to have the information and operations of my MBeans in my applications and I need this to be as a web application. My app server is Weblogic 10.3.2 Actually I need an application which can do the things(only about MBeans) like JConsole…
Neron
  • 1,500
  • 7
  • 30
  • 52
4
votes
1 answer

How to make custom Java/JavaFX console?

It's necessary to make a custom console. I have the following code: public class Console extends OutputStream{ private Console(ResourceBundle resourceBundle) throws IOException { FXMLLoader loader = new…
Eugene
  • 1,037
  • 4
  • 20
  • 34
4
votes
3 answers

How to reconnect jconsole on connection lost

I am doing load test for my project, when i tried to use jconsole to monitor when the server is restarted connection is getting lost is there any solution for this? Thanks
user1955010
  • 111
  • 1
  • 6
4
votes
2 answers

Running a java process with remote management enabled

I am trying to run a java process and enable remote connections using jconsole. I add the following parameters to the command line (before the main class): -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.…
Omry Yadan
  • 31,280
  • 18
  • 64
  • 87
4
votes
3 answers

Is there CLI version of jconsole?

I am looking for jvm performance tools which have features: Running in background. Collect memory and thread information. Generate performance data in readable text format, which is easily consumed by cmd like grep, awk, sort and so on. In short…
turtledove
  • 25,464
  • 3
  • 23
  • 20
4
votes
1 answer

JVM options -Xms and -Xmx are ignored

I have an application running on a browser (IE if it matters) on a not yet activated windows (if that matters). I have set the environment variables in the JVM control panel to be -Xms5m -Xmx5m (I have also done -Xms16m and -Xmx16m). When I run the…
Jason Zhu
  • 2,194
  • 3
  • 23
  • 27
3
votes
1 answer

Accessing Websphere 7 MBeans using Sun JConsole

How do I access Websphere 7 MBeans using Sun's JConsole?
helios
  • 2,603
  • 4
  • 21
  • 26
3
votes
0 answers

How to launch jconsole from Ubuntu 18.04 on Windows 10 WSL

I am trying to launch jconsole on Ubuntu 18.04 installed on WSL(Windows 10). But it is just hanging there, like waiting for another input or argument. /usr/lib/jvm/java-8-openjdk-amd64/bin$ ls -lrt jconsole -rwxr-xr-x 1 root root 6336 Apr 16 02:48…
jumping_monkey
  • 5,941
  • 2
  • 43
  • 58
3
votes
0 answers

Is it possible to run JConsole from Oracle's Server JRE 10?

The special Server JRE variant provided by Oracle used to include a runnable .jar distribution of the monitoring tool JConsole. As of version 10 (and I believe also since 9 already) this is not contained in the package anymore. Is it still possible…
ambwa
  • 81
  • 4
3
votes
0 answers

JMX JBoss non-JRMP server at remote endpoint

JConsole is failing remote connection to JBoss JMX. As understood JMX is enabled by default in JBoss 6.4, using the management-native port, as per below config standalone-full.xml
Nic
  • 61
  • 1
  • 1
  • 5
3
votes
0 answers

Non-Java JMX client

Is it possible to create a JMX client that doesn't run on the JVM? From my understanding JMX is a protocol on top of other protocols (like RMI) so it should be possible to create a C or Go client. Any reason why this hasn't been done? I am aware of…
Andrejs
  • 26,885
  • 12
  • 107
  • 96