There are some compatilibility issues with this upgrade pertaining to xml stuff that my company uses. Notes say to download org.apache.xalan classes but I'm unsure how to do that. I have downloaded a xalan.jar file but this does not fix the problem. Compiler in Eclipse says that the object ...
recently i found a document about jiro and FMA(Federated Management Architecture). The i tried to know more about jiro but all the links to jiro is forwarded to jini. Is jiro outdated? FMA apis are still available for download. If there is anyone who can tell about this plz help me? still jiro ...
330 byte By
jugpa at 2007-10-3 1:27:34
Are there any easy way of profiling a java code.Other than doing like this...Run the java prof:java -prof:Proffile1.prof MyClassThen examine the generated code(Proffile1.prof ) line by lineAccording count,callee,caller,timeWhat are the ways of improving the profiling ...
hi,in my application i am facing out of memory error. I observed through 'windows task manager' that memory usage of the tomcat is continuosly increasing though the application is left idle. this usage is going up by 4kb per 5 sec. I want to know which threads are running in the backgound ...
Hi all,We have a problem on production installation of our product on Solaris paltfroms: jvm takes more (much more) RAM than defined in -Xmx param and without any OutOfMemory exceptions. (how itt possible at all ?)The only JNI call in application is SAP interface connector, but application uses ...
3256 byte By
Ejika at 2007-10-3 1:48:12
Hi ,I am trying to run JMX example from http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/connectors.htmlThis example contains connection between a server and a client based on RMI.Part of the code in the server is:// Create an RMI connector server//echo("\nCreate an RMI connector ...
Anyone know of any huge hurdles this would cause?
530 byte By
JMXa at 2007-10-3 2:50:04
I am using tomcats JMX Server.I have enabled it to run in SSL mode by setting -Dcom.sun.management.jmxremote.port=9000 \-Dcom.sun.management.jmxremote.authenticate=false \-Dcom.sun.management.jmxremote.ssl=true \-Dcom.sun.management.jmxremote.ssl.need.client.auth=true \in tomcat's start-up ...
I'm testing with -XX:+HeapDumpOnOutOfMemoryError, it seems like it would only dump the heap once on the first OutOfMemoryError and would not dump it again.Is there an option to force it to dump again? I was hoping to use a piece of code to artificially trigger an OutOfMemoryError to get heap ...
507 byte By
Ian_Fora at 2007-10-3 3:04:56
(by mistake I originally posted this to Java Programming forum, my apologies for cross-posting)I am trying to match the native and java threads in Hotspot VM - this is easy when I have the text of the VM thread dump, as for each thread the VM dumps both its Java id (tid=xxx) and native thread ...
Hi allWhenever i m trying to compile java files i m getting this error .I have no idea how to go about fixing this issue. Can any one help me out with this.Error occurred during initialization of VMCould not reserve enough space for object heap
Hi,I'd like to embed the JMX output in my admin web app. Is there an http formatter or something similar available for JMX in public domain?Thank you for your help,Mark
Hi,I'm using JConsole to connect to an MBean I deployed in Sun app server. When I try to inspect an attribute of the MBean I get UnmarshalException, caused by ClassNotFound exception, caused by RMI classloader disabled, caused by no security manager error.I think JConsole is trying to download ...
Hello,To analyze an OutOfMemory exception (Out of swap space?) on a production platform I would like to use the jvmstat 2.0 tool on my development platform to check whether there is a memory leak on my application or not.My application runs on: - Sun Solaris 9 - Tomcat 4.1.29 - Apache 1.3.31 - ...
Hi,My program is unable to proceed to the breakpoint because there is a scanner class in the way.JDB only recognise all my inputs as commands. So i basically cannot type in anything for the scanner to take in.Is there anyway to solve this problem? Is JDB compatible for Scanner ...
## An unexpected error has been detected by HotSpot Virtual Machine:## SIGSEGV (0xb) at pc=0xfe7a2db4, pid=5116, tid=1## Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b02 mixed mode)# Problematic frame:# C [libzip.so+0x2db4]#This is the error that we are encountering evry now and then. Could ...
I am invoking an operation which performs a database query. At each invocation a new resultSet is formed. Is there a way to maintain a session kind of a thing in JMX invocations, so that I can use the same rs for different invocations.( I am new to JMX terminoloy... I hope I am not absurdly ...
BacNet Protocol Support====================My application uses Real-Time devices. Hence I prefer to use Bacnet protocol for monitoring.But I don't have any idea about Java's support about Bacnet.Let me know if we have any support in Java.You can very well send a mail to ...
BacNet Protocol Support====================My application uses Real-Time devices. Hence I prefer to use BacNet protocol for monitoring via Remote.But I don't have any idea about Java's support about Bacnet.Let me know if we have any support in Java.You can very well send a mail to ...
BacNet Protocol Support====================My application uses Real-Time devices. Hence I prefer to use BacNet protocol for monitoring via Remote.But I don't have any idea about Java's support about Bacnet.Let me know if we have any support in Java.You can very well send a mail to ...
479 byte By
Dodona at 2007-10-3 3:45:11
I have installed jdk 1.5.0 Update 7 on Windows 2000 Server successfully. I have set the PATH correctly. There was no previous version of java installed. I am able to compile my source file successfully. But when I try to launch the application using 'java' from the command line, it raises an ...
446 byte By
Dodona at 2007-10-3 3:45:27
Dear AllI have installed jdk 1.5.0_07 first and then Java EE 5. My Core Java Programs compile successfully while java application launcher gives exception as UnsupportedClassVersionError. Additionally, the command : "javac -version" shows the correct version whereas the command : "java ...
Hello,Not sure if this is out of scope of the JMX spec - but is it possible to define MBeans with XML and register them into the MBeanServer?Thanks!--Bill
Hi allI have jdk1.6 on my local machine and jdk 1.4 in my production environment. I want to use jconsole to be able to keep a watch on the java processes running in the production environment. Can anybody tell me how should i proceed in using the jconsole so that i can monitor this remote ...
Hello,Thank you for answering my questions in my other thread. It makes sense that remote invocation (like access from JConsole) would need class definitions to be available for classes imported from the server. Also, using standard Java classes is a valid point.Still, I'm now puzzled on how ...
3451 byte By
vopatela at 2007-10-3 3:59:03
I am running a stand-alone Java client code using JMX on Websphere App Server 6.0.2. It returns me null value for JVMStats object. The code is as follows. Please let me know what could be the problem.Thanks,Vishal***********************************************************************import ...
I've been trying out the backported jmap and heap dump functionality on java 1.4.2_12 but I've run into a problem. Whenever I run jmap I get output similar to this:alpine: /> /usr/j2se/bin/jmap -histo 1369Attaching to process ID 1369, please wait...Debugger attached successfully.Server ...
In netBeans IDE it is posible to edit/create gui forms with out having any knoledge about layout managers. Does that mean that programmers need not improve and learn much about swing gui components and layout managers here after?.........If that is the case whats to be done when creating an ...
When using JConsole to monitor the Java application, I noticed that there is total of 8000 started threads, 66 peak threads and 34 live threads.The 8000 started threads is what I concern now... does this telling me something wrong with the application? How can I find out which are the threads ...
758 byte By
jadtna at 2007-10-3 4:11:46
Hi,I have a getter with a parameter on my mbean (dynamic)(ex getPoolSizeForConnextion (String connexionId)).In first, I thinks to use the invoke method in dynamic Mbeans, but in the sun specification for JMX 1.2 it s written : "it is forbidden in 1.2", what is the best way to use when getter ...
Hello everyone,I just found about CVS and we want to try using it. I searched the web for more information and I am really confused now.I use Eclipse and I saw that it has a CVS client.Is there a free CVS server for Windows XP? If yes, can you give me the link?Thank ...
911 byte By
chitalea at 2007-10-3 4:13:59
Hello,I know that the ClassLoadingMXBean allows monitoring of the number of classes loaded in the JVM. However what I want to do is to monitor the exact Class loader that loaded the class. Basically I want to report the toString() method or some other attributes of ClassLoader's instance and ...
I did a locate logging.properties on my system. I edited every single logging.properties file I could find to set the level to FINEST. And yet none of my logger.fine() statements ever log anything. Are these even implemented? I haven't looked at Sun's Java sourcecode to see. Is there a way to ...
512 byte By
jadtna at 2007-10-3 4:28:01
Hi,I m beginning in JMX, In all exemples I found, it s always simple type (int String ...)1)What object can be supervised? Can i have a Mbean like :MyMbean{mycompagny.datas.MyObject o; public mycompagny.datas.MyObject getX(){return o}public void setX(mycompagny.datas.MyObject o ){this.o = ...
Hi,I am new to JMX. I am writing Config MX bean. I am getting ClassCastException when calling the getKeys() method of my Config mbean whose return type is java.util.ArrayList. In my program I was trying to call the getKeys() method of my mbean which is throwing me the following ...
395 byte By
jeff17a at 2007-10-3 4:42:39
I'm trying to monitor a J2EE app server that's running in a 1.4 JVM. If my program runs in 1.4, it's fine. If I run my program in a 1.5 JVM I get the following:java.io.InvalidClassException: javax.management.ObjectNameThe serialVersionUID's are different.Is there anything I can do to run my ...
Hi, every oneI'm running jboss on Windows2003, and I'm trying to monitor the memory usageof JVM. But, I encouter a problem:when I use JMX, I got the following information:- operating system -arch : x86avail processors : 4os name : Windows 2003os version : 5.2- threads -thread num : 111daemon ...
1466 byte By
Sonecaa at 2007-10-3 5:09:56
hello!that's the following: I'm trying to execute "java Teste.class "from prompt command and it throws:Exceptio in thread "main" java.lang.NoClassDefFoundError in thread main. The Teste.java file is compiled finely using"javac Teste.java" My enviroment variables are cofigured this way:NAME: ...
Trying to use jstack to debug a deadlock on Solaris 8, using jdk/jre 1.5.0-08, I get the following error on stderr:$ sudo -u apache jstack 17453 > stackAttaching to process ID 17453, please wait...Debugger attached successfully.Client compiler detected.JVM version is ...
hi,I am new to JMX.while i am running the example simpeagent in http://java.sun.com/developer/technicalArticles/J2SE/jmx.html.Not able to see the Mbean from jconole.I am using JDK1.5Please helpThanks in advanceRameshMessage was edited by: ...
hi,i used a message-driven bean for logging. logs are generated quite well. i am explicitly defining the FileHandler and Formatter in my MDB code. but i decided to use the default logging.properites file in the jre/lib directory and commented out my FileHandler and Formatter in my code. i ...
1834 byte By
asumotoa at 2007-10-3 5:28:44
I have previous version of java jdk1.4.2_07 and i already uninstall it. Now i installed the jdk1.5.0_08 version and it is installed successfully. I also already set the class path as C:\Program Files\Java\jdk1.5.0_08\bin in environmental variables. My OS is Windows XP SP2. Problem occured when ...
Hi I'm new-ish to JMX so I thought that this forum would be a good place to post this question.I'm attempting to build a modular system using JMX, where the MBean server is started using a main(args[]) class. My aim is to put all the custom mbeans in separate JAR files (in a lib folder) that ...
I would like to manage my MBeans from a web page. What are my options? Seems like I remember a while ago being able to manage MBeans using an JMX based-HTTP connector.I know I could write all the code myself to use Servlets/JSP/JSF..etc, but I am looking for something already ...
Hello all,I would like to have MBeanServers registered in a lookup service (ORB, works already) and I would like to allow MBean methods to be called depending on the user that logs in to the client application (all users may get status information, only admins may stop the system).I have ...
49 byte By
ltmloana at 2007-10-3 5:34:38
Do you know, How many package in Java 1.1?
598 byte By
KayouMTa at 2007-10-3 5:44:41
Hi,I'm working on a very complex software project design. For my project, a monitoring tool will be crucial ; that's why I'm trying to understand what JMX is. But, I did not find any document explaining what JMX is in reality.I have three crucial questions :1) What JMX is in reality ? Do ...
Hello please help to mei have install linux-sun-jdk1.4 , and when I start to install programm which is workin under Java it shows :%./install_ZXNM01V2.3.6d_Unix.binPreparing to install...Extracting the installation resources from the installer archive...Configuring the installer for this ...
Hi, I've written a code snippet which used JDBC, RMI along with core java APIs to do some processing of an email. The snippet is outlined below : (i'm sorry I cannot paste the actual code here)public boolean executeServer() {ArrayList<MessageDetails> unProcessedMsgs = ...
hi,I'm a student from the university of catania and I'm trying to build a little vm monitor application. My first target is to get some informations about the use of cpu for all the threads running in the virtual machine.I'm using JVMTI library and I've built a little agent but I get some ...