Hello,I am trying to get SSL client side authentication working with JMX. Unfortunately the documentation is bit a vague on this particular issue. Can someone point me in the right direction? I'm not particularly knowledgable about SSL. I don't know if the CN or alias are suppossed to ...
Can JMX Notifications have priorities? If yes then how can we set them? I could not find any material about this on the net.
457 byte By
EmboMana at 2007-11-26 20:52:29
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp says that the-XX:OnError="<cmd args>;<cmd args>"option runs "user-defined commands on fatal error".What is considered a "fatal error"? Are OutOfMemoryErrors included in this category? (So that if I set -XX:OnError, I ...
582 byte By
kodella at 2007-11-26 20:58:38
I've been using jmap to create the memory histogram for an application and I get output that lists [C, [B, [D, [F, [I and [J for some of the class names. I know that these are arrays of some type, possibly of primitives. Is there some explanation some place of what these types are?I've ...
hi !! I have a Web_Application Loaded on Web Server... Now I want to Monitor it... i.e. Finding RunTime Information for that application like : Memory Utilisation, Live Thread Info. and Other. How could I achieve this Through JMX? Thanks... in Advance. Note : I dont have source-code of the ...
1107 byte By
ssyretta at 2007-11-26 21:04:14
Hello,Our production linux server was running jdk1.5.0_06 for several months (tomcat 55 servlet applications). We run jmap -heap on each jvm from a cron job throught the day to capture statistics. Last night we upgraded to jdk1.5.0_11 and everything works fine except jmap. It sometimes attaches ...
431 byte By
colbya at 2007-11-26 21:07:39
Hi,I'm researching JMX technology for our Enterprise-wide monitoring needs.I've got a good understanding of how to create jmx connections and instrument resources for monitoring in a 1-to-1 jmx client to application scenario.However, I need to manage (and collect notification alerts) from ...
787 byte By
docwarea at 2007-11-26 21:25:20
Hi,Our customer runs a Tomcat 4.1 in a JDK 1.4.2 on Windows 2K.Frequently (once a day) Tomcat seems to hang and the Java process consumed all CPU. We did a thread dump and identified the Thread named "VM Thread" as the cause. Here is the snippet from the thread dump."VM Thread" prio=5 ...
373 byte By
docwarea at 2007-11-26 21:25:49
Hi,I know how to connect to a Tomcat 5 started as an application.But how to connect to a Tomcat 5 started as a service on WinXP?I edited the <tomcat>\bin\service.bat and added the "-Dcom.sun.management.jmxremote" option to the JVMOptions. But when I start JConsole I can't see the Tomcat ...
Hello friends,I am New to this forum. I need a help. I am using windows XP. I want to use the package javax.comm. I downloaded the api for this but I dont know how to install this and use..... Please Help Me....
4098 byte By
hiwaa at 2007-11-26 21:33:19
Please help!Here's the exception. My system is Linux Fedora Core 3, and,java version "1.6.0"Java(TM) SE Runtime Environment (build 1.6.0-b105)Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)[~]# jconsoleException in thread "AWT-EventQueue-0" java.lang.NullPointerExceptionat ...
hi,i santanu need help of the people of this forum on developing the project on generation of computer science department .input- the number of teacher,no of class rooms,no of classes rae specified output-- the time table is generated witha the help of programi got a largr project which is ...
302 byte By
chnada at 2007-11-26 21:53:59
Hi, can i manage an existing java object with OpenMBean? if yes how to connect them ( for ModeMBean it's setManagedResource but for OpenMBean)? How can i send a notification from a generated ModelMBean ?(should i change my java object to impement NotificationBroadcasterSupport ...
2174 byte By
chnada at 2007-11-26 21:55:18
hello, i want an authentification and this is my code , it hasn't any problem in compiling , the problem is in execution : everybody can access without putting a password , it is like i did not put an authentification conditionpublic class ok {public static void main(String[] args) throws ...
744 byte By
mtedonea at 2007-11-26 21:59:44
Hi, I noticed that if I create a MBeanServer asMBeanServer server = MBeanServerFactory.createMBeanServer();I can't see my mbean into the jconsole, even when passing the -Dcom.sun.management.jmxremote property, but I'd see it with an adaptor registered with the MBean server. In order to see ...
hijconsole in jdk 6 can save the memory graph in a cvs-filedoes anyone know in which unit the first column (time) is in?something indicates that the time is continuing - that is not reset after vm startan example is '39160.488723' - when the vm has run for a few minutesexcel eats the column ...
Hello, I had a difficulty getting remote manegement exaple work with jconsole.I follow the guidence of: http://java.sun.com/developer/technicalArticles/J2SE/jmx.htmlWorking with HTTP adaptor going fine,Tring to invoke example with jconsole.exe produces exception (the situation happens unsing jre ...
Hi All, I have a login application using JSP Struts and Spring. XML is used in the backend to validate the username/password.This is working fine. Now I need to change the backend from xml to RMI object that should be able to set the value on an JMX MBean deployed on a separate JBOSS server. ...
Hi all I am new to JMX and trying to understand the concepts here.I read what is JMX (manages/monitors the application)Today let say, I have already web based application. I already monitor and manage what I need. So why would I want JMX?If using JMX , I can manage and monitor, then why would I ...
We are facing the JVM core dump issue on weblogic 9.0 application server. We are using Java HotSpot(TM) Server VM (1.5.0_04-b05 mixed mode) JVM. The application is deployed on SUN Solaris box with 4 CPU and 16GB of RAM. No other software and application is working on the machine. We are using ...
Hello all,I liked jconsole very much. What i want to do is access all functionality of jconsole from os shell (command line) up to now i have two options.1] Write new Jconsole like JMX client program which will talk to Mbean server.2]or write something which will talk to jconsole and give me ...
973 byte By
Shawn@@a at 2007-11-26 22:36:21
Querying attribute values from some MBean are very easy such as : AvailableObject mbeanObjectName = new ObjectName("java.lang:type=OperatingSystem");Object attribute = _mbsc.getAttribute(mbeanObjectName, "AvailableProcessors");My question is... Is there an easy way to query values such ...
Hi , I am facing an exception when trying to connect to RMI. java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub.Need jmxRemote.jar to solve this.Where can I get the file.Thanks is advance
I have a web app, From with in the web app, I would talk JMX to some other process.Now the question are1) DO I need to store the one/same JMX connection and use that for all the requests. if so, how do I store it.a) Using a singleton object or 2) Store the JMX connection object in the servlet ...
Hi All,I want to monitor request response time of static and dynanic content like html ,jsp from webserver to web application server and also want to monitor status of webserver startup and shutdown.In whole i have to develop a custom plugin for web application server.Please help me out ...
Hello,Is there a way to set up multiple connections in jConsole, assign them a logical name and save this so that the next time the console is used, ti remembers the servers it connected to?Cheers
I am getting an error while trying to query MBeans:<Mar 27, 2007 4:27:32 AM MDT> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>ERROR: Tue Mar 27 04:27:32 MDT 2007MBeanHome being refreshed ...
225 byte By
Rockoa at 2007-11-26 23:44:42
Hello!I would like to get some information in windows about processor load and temperature, fan rotational speed, etc. Is it possible, to do this with java code, without using Java Native Interface?thanks
Hi everyone,I implemented an application using JMX support offered by mx4j. Now I have to switch from java 1.4 to java 1.5... my code must be compatible with the two JVM.Does anyone know how to obtain this result?Thank you very much all in advanceDiego
1978 byte By
Samantha at 2007-11-26 23:46:45
Hi, I tried to analyze how my tomcat was behaving by printing out the different memory behaviours as follows:localhostMEMORY TYPE: Code CacheUsed: 4 mbCommitted: 4 mbMax: 48 mbMEMORY TYPE: PS Eden SpaceUsed: 25 mbCommitted: 33 mbMax: 54 mbMEMORY TYPE: PS Survivor SpaceUsed: 0 mbCommitted: 1 ...
I am running the 64-bit version of 1.5.0_11-b03 on Solaris 8. I have the -XX:+HeapDumpOnOutOfMemoryError option set on, and recently, our production system experienced an OutOfMemory Error. So now I have a 1.8 G .hprof file. HAT will not read the file, regardless of what options I use with it, ...
355 byte By
ot6a at 2007-11-26 23:49:23
Hi All, Is there any specific issue with JPS Tool in Java 6 update 1? I just installed Java 6 the other day and I tried to run jps to get specific pid to monitor however it's showing nothing.The last one that I use which worked is Java 5 Update 9. I'm not really sure whether this is problem ...
656 byte By
LanceJa at 2007-11-26 23:51:14
HiWhen usingRuntime.getRuntime().addShutdownHook(new Thread() { public void run() {doOrderlyShutdown(true); }});is there any way to determine more information on why we have a shutdown? What could I do in doOrderlyShutdown to determine more information on why the JVM has to terminate (e.g. ...
600 byte By
Samantha at 2007-11-26 23:53:54
Hi,I was looking at the jconsole memory monitoring and managing tool and found that isUsageThresholdSupported() for the edenspace is true, but what I understand from http://java.sun.com/javase/6/docs/technotes/guides/management/mxbeans.htmlis that it should be false. Can you please let me know ...
278 byte By
arra at 2007-11-26 23:59:03
Hi ,I want to monitor more than one MBean servers through a single client. For example : to broadcast a notification to all the servers from a single client, or some thing like that.Can any one suggest me the solution for this?Thanks a lot!Ash
433 byte By
Samantha at 2007-11-27 0:01:05
Hi,Can Somebody please let me know if permgen space and eden space of the memory behave the same way. I mean eden space keeps growing till the used space reaches the max committed space. does permgen space behave the same way? if not is there a way I can reclaim the permgen space, the eden ...
I am having problem with the installation of Java SE 1.6 on my pc.I downloaded Java SE 1.6 and installed it. But some reasons I had to deletethem some files. Now I wanna download and install again but the problem is, I can'tuninstall the previous one!I tried through add/remove programe but ...
1841 byte By
PDQa at 2007-11-27 0:28:22
Hi folks,I've spent a lot of time in the HPUX environment, but now I'm working in Solaris mostly.Unfortunately, we are having a problem with a java application that is hard to pin-point.Do you know of any Sun tools available to instrument, and or monitor a java application and tell us where ...
Hi all,I'm relatively new to profiling, so I am in need of guidance! Here's the scenario:We currently have JVM instances running on several servers. I want to gather information about the JVMs, such as initial memory footprints, what parameters are used for JVM startup, are the JVMs running ...
278 byte By
laasyaca at 2007-11-27 0:30:55
I have an application using sun JDMK implementation which is running fine in java 1.3 As I go to java 1.4, the RMI connector server is not running, the state goes to OFFLINE. I don't see any exception except that the server doesn't stay alive. Any idea on the problem ?
263 byte By
filipea at 2007-11-27 0:34:09
Hi!Can you give me some tips in the following:I want to restrict the time a user can use an application for 45 days. However, the user can cheat this by changing the system clock. How can I overcome this problem?Any ideas?Filipe
5007 byte By
chrisAa at 2007-11-27 0:38:18
I am deploying a java app on an 8-core (32 simultaneous threads) Sun Fire T2000 Server running Solaris 10 and have some questions about tuning the app and the JVM for this platform.One thing that I have noticed is that the JVM starts up with 43 threads right out of the box. Is it normal for the ...
698 byte By
arra at 2007-11-27 0:42:10
HI All...I want to connect to more than one MBean servers through a single JMX Client. To be more particular, I want to invoke a function (exposed to the client for management ) only once, and want all the functions with the same name, belonging to other MBeans, to be invoked...Can anyone clue ...
Hi, using rmiconnector..made the listener unique by adding a unique handbackobject. and add a listener in each server. but when I invoke the bean method (which creates the notification), only 1 listener is getting notified? when i do getnotificationInfo I do see only 1 listener. this I tried ...
I have a system which is very performance critical, therefore, I would not want to attach any large profiling tool which would hurt its performance. I only need one very simple information, on requested, which is the amount of free memory availble from total.Is there a resource efficient way to ...
132 byte By
chnada at 2007-11-27 0:59:46
hi,i want to expose a matrix (with a dynamique length ), in my openmbean. can somoene give me an exemple.thanks
All,I was trying to execute jstatd from my linux machine, but I got this exception:[user@localhost jdk1.5.0_05]$ bin/jstatd -J-Djava.security.policy=jstatd.all.policyCould not contact registryConnection refused to host: 67.15.129.30; nested exception is:java.net.ConnectException: Connection ...
714 byte By
fazaia at 2007-11-27 1:07:46
hi!i try to execute *.java using the command line java *.classusually i find this error Exception in thread "main" java.lang.NoClassDefFoundError: workspace/freespace/os/class.the compilation is done correctly(no error).the class os exit and it is correctly specifiedi 'am using eclipse3.2java ...
Hi there,I am quite new in java. Recently i found that jconsole can manage & monitor the system resource during the run of java application.My question here is I kept getting the error "Connection failed" when I tried to remote monitor my application resource usage by using jmx client - ...
HI allI have build a jconsole like tool which is text base means it gives all info about jvms in text format now i want two things to be done1: list the jvms or java programs running on the local machine as jconsole does.2: given the ip of computer i want to know which jvms or java programs are ...