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

JConsole not connecting to java process

When I start JConsole it identifies my java process(local) but it is not able to connect to it. Connection Failed: Retry? The connection to 17424 did not succeed. Would you like to try again? Selecting connect again gives the same error(17424 is…
Aniket Thakur
  • 66,731
  • 38
  • 279
  • 289
3
votes
0 answers

Remote Accessing MBeans deployed on JBoss AS 7.1.3

I have deployed MBeans in JBoss AS 7.1.3. updated standalone.xml for management connector interfaces. The document http://middlewaremagic.com/jboss/?tag=jconsole says to add systems-propeties org.apache.tomcat.util.ENABLE_MODELER to enable remote…
Nageswara Rao
  • 954
  • 1
  • 10
  • 32
3
votes
1 answer

How to encrypt passwords for JConsole's password file

I am using the JConsole to access my application MBeans and i use the the password.properties file. But as per the Sun's specification this file contains passwords in clear text formats only.…
EclipseGuru
  • 1,047
  • 3
  • 14
  • 16
3
votes
1 answer

"Error setting operation panel" jconsole in a

When I connect to JConsole I get the following error message in a pop op box. Error setting operation panel: and here is one of my class which is a POJO. I do not know how this POJO can cause this error, and what should I do to get rid of it.
Sanyifejű
  • 2,610
  • 10
  • 46
  • 73
3
votes
4 answers

connecting jconsole to linux box connection failed

I am new to linux and just deployed a java program to run on a linux server. I tried to connect from my windows machine to the linux box with jconsole and got an error. Connection Failed: non-JRMP server at remote endpoint I searched online and…
vbNewbie
  • 3,291
  • 15
  • 71
  • 155
3
votes
5 answers

NPE in JBossWS on JBoss 4.2.2 with jmxremote enabled

I am trying to set up JBoss 4.2.2 and JConsole for remote monitoring. As per many of the how-to's I have found on the web to do this you need to enable jmxremote by setting the following options in run.conf. (I realize the other two opts disable…
Jeremy
  • 2,870
  • 3
  • 23
  • 31
3
votes
1 answer

java runtime.freememory() not matching with jconsole output

I was going through a weird problem. I have multiple JVMs running and I need to get the memory usage details of them. when I get the details by Runtime.getFreeMemory() and compare it to jconsole output there is a huge difference. what might be the…
AVI
  • 41
  • 1
3
votes
4 answers

how can I get the History of an object or trace an Object

I have a requirement, where support in my application a lot of processing is happening, at some point of time an exception occrured, due to an object. Now I would like to know the whole history of that object. I mean whatever happened with that…
user1448281
  • 89
  • 1
  • 5
3
votes
1 answer

Can't make MXBean to connect to database through JConsole

I just hope if there is somebody who have seen and resolved this problem. I have a MBean and a MXBean classes. Both are using the same service class to get access to the database through a DAO class. I am using spring 3.0 to initialized those…
Tuan
  • 249
  • 1
  • 2
  • 4
3
votes
1 answer

Handshake failure when using jconsole with ssl

I am trying to connect to an application remotely using jconsole. Without SSL my configuration works with no issues. I have created a public key on the server I wish to access: sudo keytool -keystore broker.ks -alias broker -genkey -keyalg RSA I…
mogronalol
  • 2,946
  • 8
  • 38
  • 56
3
votes
0 answers

Java - How to read user input from BeanShell's JConsole?

I'm trying to create a simple console and I found this: Create a "Command" Console I decided to try it out and it seems perfect for my need. Only problem is, I can't seem to get the user input from the user because the BufferedReader is blocked. I'm…
FljpFl0p
  • 348
  • 1
  • 2
  • 10
2
votes
1 answer

Output non-utf8 symbols to console

I am writing very simple console application in Java. The problem is that I need to ouput cyrillic and estonian non-utf8 symbols to console, but in Windows I get bunch of strange symbols and in MacOsX I get only ???? instead of something more…
Jevgeni Smirnov
  • 3,787
  • 5
  • 33
  • 50
2
votes
2 answers

Can't connect to weblogic server remotely using JConsole

I need to monitor a weblogic server running on a remote machine using JConsole. Just for now, while I'm trying I'm testing everything on my machine, that is I'm trying to make it work remotely on my machine, when this works I will make the necessary…
Sam
  • 21
  • 1
  • 1
  • 2
2
votes
1 answer

Monitoring Tomcat via JConsole in a local setting

I've been trying to monitor a locally running Tomcat via JConsole. I, of course, added -Dcom.sun.management.jmxremote to the CATALINA_OPTS variable in catalina.bat, but when starting JConsole, I couldn't find the process in the process list. After…
Jonathan
  • 2,698
  • 24
  • 37
2
votes
1 answer

my producer and consumer are not readable on Kafka using JMX

I set the Kafka on my localhost and then read the broker side using JVM and port 1999 but whatever I tried I can't reach my consumer or producer. I am able to connect to port 9092 and read MBean on jconsole but I can't send any query to it using the…
Raqun Bob
  • 156
  • 1
  • 12