1 2 3 4 5 6 7 8

JMX and SSL

486 byte By geoffgalitza at 2007-11-26 20:48:43
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 ...

JMX Notifications and priorities.

131 byte By AUTOMATONa at 2007-11-26 20:51:35
Can JMX Notifications have priorities? If yes then how can we set them? I could not find any material about this on the net.

Fatal errors and the -XX:OnError= option in the HotSpot VM

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 ...

jmap histogram and [C [B [D [F [I and [J

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 ...

Getting RunTime Information!!!

438 byte By Rishikesh_Bhawsara at 2007-11-26 21:00:54
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 ...

jmap -heap not working after jvm upgrade

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 ...

Collecting Notifications from multiple servers and applications

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 ...

hanging thread "VM Thread"

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 ...

JConsole and Tomcat service - how?

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 ...

Help In Installing a API

232 byte By Sakthirajesh.Na at 2007-11-26 21:28:39
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....

jconsole doesn't launch emitting NPE

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 ...

time table generation of computer science department

510 byte By santybanty20a at 2007-11-26 21:42:12
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 ...

[newbie question] some question about MBean and notification

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 ...

authentification question

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 ...

[newbie] Creating MBeanServer differently

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 ...

jconsole in jdk 6: save memory graph; what unit is time column?

473 byte By aksel.schmidta at 2007-11-26 22:06:30
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 ...

Geting remote management example work with 1.5 jconsol.exe

3454 byte By KIRPICH79a at 2007-11-26 22:14:11
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 ...

JMX RMI Plugin

381 byte By coolguyza at 2007-11-26 22:14:40
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. ...

When should I use JMX

416 byte By vpalkondaa at 2007-11-26 22:19:59
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 ...

JVM Core Dump on weblogic 9.0

20976 byte By Rahul-javaa at 2007-11-26 22:22:59
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 ...

Want to bypass GUI of jconsole

384 byte By JforJavaa at 2007-11-26 22:30:36
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 ...

Programatically Querying Values from Garbage Collector Manager MBean

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 ...

jmxremote.jar file needed

259 byte By coolguyza at 2007-11-26 22:41:15
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

connection pool for JMX?

480 byte By vpalkondaa at 2007-11-26 22:53:42
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 ...

Monitoring Request and Request response time

366 byte By prash@77a at 2007-11-26 22:55:12
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 ...

JDK's Monitoring & Troubleshooting Tools - jConsole - Connections History

217 byte By ThierryTheVikinga at 2007-11-26 23:19:54
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

JMX - Error while trying to query mbean

835 byte By saurabh81a at 2007-11-26 23:28:26
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 ...

call native windows functions with java

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

porting mx4j from java 1.4 to java 1.5

294 byte By DiegoCarzanigaa at 2007-11-26 23:45:02
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

Eden Space reclaim

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 ...

.hprof file

858 byte By gmhollera at 2007-11-26 23:46:54
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, ...

JPS Tool in Java 6 update 1

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 ...

JVM Shutdown Hooks - reason for shutdown

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. ...

need explanation on isUsageThresholdSupported() in jconsole

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 ...

A single client to control many servers

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

Perm Space reclaim

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 ...

problem with installation

689 byte By Sabbir_Hossaina at 2007-11-27 0:26:03
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 ...

What kind of java monitoring tools are vailable for v1.4.2_11?

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 ...

New to Profiling

599 byte By CupOfJoea at 2007-11-27 0:29:12
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 ...

RMI Connector Server not running in java 1.4

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 ?

how to prevent users from cheating apps with expiration dates

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

Tuning Java App on an 8-core Sun Fire T2000 Server

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 ...

Managing more than one MBean server through a single JMX Client.

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 ...

notifications not reaching all registered listeners

707 byte By aphulamba at 2007-11-27 0:56:49
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 ...

Simple JVM memory info for JRE 1.4.2

385 byte By girafffea at 2007-11-27 0:56:57
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 ...

Matrix openmbean

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

cannot start jstatd

1337 byte By ag2uki@yahoo.co.uka at 2007-11-27 1:01:46
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 ...

running program.java

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 ...

Connection failed when using jconsole

1032 byte By Kawablancaa at 2007-11-27 1:37:35
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 - ...

which java programs are running on local machine and remote machine ?

408 byte By JforJavaa at 2007-11-27 1:38:09
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 ...