1 2 3 4 5 6 7 8

Upgrading to 5.0 from 1.4.8

445 byte By ValaChicka at 2007-10-3 1:21:08
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 ...

jiro and FMA

376 byte By aneesh_kba at 2007-10-3 1:25:34
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 ...

java profiling

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

Which thread currently running?

444 byte By v_vishala at 2007-10-3 1:41:20
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 ...

JVM takes more RAM than defined in -Xmx param on solaris

14254 byte By Profiformera at 2007-10-3 1:42:52
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 ...

Failing to run JMX example

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

Switching from Tivoli JMX to JDK

56 byte By jackmalorna at 2007-10-3 1:50:01
Anyone know of any huge hurdles this would cause?

JMX RMI Connection in SSL Mode

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

-XX:+HeapDumpOnOutOfMemoryError only generates 1 snapshot?

347 byte By samueltoa at 2007-10-3 2:57:41
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 ...

Getting a native thread Id from JMX?

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

Error in compilation satge of java files

272 byte By srinath944a at 2007-10-3 3:15:51
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

http frontend for JMX

197 byte By markcitizena at 2007-10-3 3:17:08
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

jconsole no security manager exception (RMI classloader disabled)

555 byte By markcitizena at 2007-10-3 3:17:09
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 ...

How to use jvmstat 2.0?

479 byte By dheider76a at 2007-10-3 3:17:28
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 - ...

How to debug 'Program with Scanner' using JDB

312 byte By sunbin616a at 2007-10-3 3:22:00
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 ...

Hotspot JVM Errror related to libzip.so

17193 byte By Ajit_polarisa at 2007-10-3 3:25:31
## 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 ...

Maintaining states or session accross JMX invocations

325 byte By lalit_mangala at 2007-10-3 3:33:08
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 using JAVA

362 byte By VisionSuresha at 2007-10-3 3:42:16
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 using Java

373 byte By VisionSuresha at 2007-10-3 3:42:17
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 using Java

373 byte By VisionSuresha at 2007-10-3 3:42:18
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 ...

java application Launcher error

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

Versioning Problem

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

Defining MBeans as XML

182 byte By wsnyder6a at 2007-10-3 3:48:21
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

How to know the Port no where any process is running.

360 byte By srinath944a at 2007-10-3 3:50:38
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 ...

general question: how to interface JMX code with application code?

1998 byte By markcitizena at 2007-10-3 3:54:19
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 ...

unable to get JVMStats

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

jmap throws exception on java 1.4.2_12

1261 byte By ColPanica at 2007-10-3 4:04:10
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 ...

Java IDE's

414 byte By Thilian_Dampahalaa at 2007-10-3 4:09:35
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 ...

JConsole: Thread

378 byte By wolverinemya at 2007-10-3 4:11:08
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 ...

JMX : getter with parameter on dynamic mbeans

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

Free CVS server for Win XP ?

306 byte By mtarjoianua at 2007-10-3 4:13:00
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 ...

Monitoring the class loaders and

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

Logger.fine(), Logger.finest(), etc: what are they for?

1219 byte By chiralsoftware.neta at 2007-10-3 4:15:23
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 ...

JMX monitor / notification / attribute and my own object

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

ClasscastException when the return type is ArrayList in MXbean

1347 byte By Nitin_Goela at 2007-10-3 4:28:19
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 ...

Java 1.5 incompatible with 1.4?

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

JVM's Memory Usage

1665 byte By jeffwang8001a at 2007-10-3 4:55:39
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 ...

can't execute java from prompt command on xp. . .

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

jstack - error occurred during stack walking

1401 byte By jgouldinga at 2007-10-3 5:15:32
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 ...

not able see the Mbean(Simple Agent) while running example

305 byte By javaguru123456789a at 2007-10-3 5:20:06
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: ...

logging.properties

1081 byte By bashdrewa at 2007-10-3 5:23:45
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 ...

UNABLE TO COMPILE JAVA CODE

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

JMX Newbie class loading question.

2246 byte By martinspinksa at 2007-10-3 5:30:11
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 ...

mange MBeans from web page

311 byte By ElihuSmailsa at 2007-10-3 5:31:47
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 ...

How to implement user login and authorization

2369 byte By swmtgoeta at 2007-10-3 5:32:31
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 ...

How many package in Java 1.1?

49 byte By ltmloana at 2007-10-3 5:34:38
Do you know, How many package in Java 1.1?

What JMX is in reality ?

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

don't know Java VM running or not ? if yes , how to >

547 byte By umetjavaa at 2007-10-3 5:45:05
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 ...

Code behaving mysteriously - code snippets are skipped!!!

3837 byte By mADHURtANWANIa at 2007-10-3 5:45:34
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 = ...

jvmti - getThreadCpuTime

586 byte By skioppettoa at 2007-10-3 5:52:06
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 ...