Peers,I came across the some parameters that can be used to trouble-shoot / validate JNI calls. -Xcheck:JNI and one anotherAppreciate if anyone can tell me the exact syntax of these parametersand whether these parameters apply to JVM 1.4.2_11Thanks
301 byte By
colea at 2007-10-2 20:30:58
Hello,I downloaded jdk 1.5 from the official java website and have installed it properly. I tried compyling my java program and it gets compilde. But when I try to execute it I keep getting the error "Exception in thread "main" java.lang.NoClassDef Found Error". Please help me ...
27 byte By
redwina at 2007-10-2 20:32:53
What is meant by JMX
614 byte By
tinnya at 2007-10-2 20:35:23
HiI was wondering if any body had any experience (in Java) with accessing hard drive S.M.A.R.T information. http://www.ariolic.com/activesmart/smart-technology.htmlI抦 interested in writing some software that can monitor the health of a servers hardware (for a small website I run at home). I hope ...
1215 byte By
holschea at 2007-10-2 20:43:00
Hi all,I'm looking for a general solution to the following (I suppose rather common) problem:Our system depends on a lot of services/ressources like the network/internet connectivity, sql database, other hosts, web services, file servers, JMS Queues etc. Obviously it is possible that one or ...
501 byte By
Balavaa at 2007-10-2 21:10:31
Using a custom profiler agent I dumped the contents of our JVMs heap, I was surprised to find some odd named classes consuming a lot of memory, the figures are in bytes:B = 29580000D = 29737104long = 30810800byte = 30935192I = 36687024C = 56404104S = 62654920int = 74356440char = 77453728My ...
280 byte By
JDigesta at 2007-10-2 21:12:08
I using Jboss profiler by the way , I try to understand the concept of JMXis that jbocs-profiler-noAOP.sar is an remote management application?and the Mbean is Native profiler.I try to imagine to understand what is JMX ..any suggest ?thks
Good day.I have a JMX instrumented app on HostA that I would like to access using jconsole on Host B. I invoke my JMX instrumented app using <pre>java -Dcom.sun.management.jmxremote -Dcom.sun.management.config.file=my.management.properties ...</pre> where my.management.properties ...
988 byte By
angerera at 2007-10-2 21:21:21
As stated in all documentation, enabling the JMX Management agent isdoneduring startup using <code>-Dcom.sun.management.jmxremote</code>within the java command.I am trying to do this sometime within the java code itself using thefollowing code:<code>MBeanServer server = ...
Hi,I am getting the following error when i am trying to run my client applicationwhich will access the WAS Admin Services.The jars which i have included in the classpath are admin.jar,wsexception.jar and jmxc.jar. com.ibm.websphere.management.exception.ConnectorException: ADMC0017E: Could not ...
Hi,Plz can anyone provide me information to create a Admin Client for WAS Admin Services which includes JMX implementation.thnx in advance
541 byte By
sasdava at 2007-10-2 21:36:25
My code is connecting to my WebLogic 8.1 server without a problem and I can get all of the MBeans running in it. What I'd like to do is retrieve a subset for a particular Domain.Right now I'm using:rmbs = (MBeanServer) ctx.lookup(weblogic.management.RemoteMBeanServer.JNDI_NAME);Set set = ...
Hi,I need to run jconsole, but project I am working on uses 1.4.2.Does anyone have any ideas/hints/links....?Thanks in advance,--MBPS my only idea is to install jse 5 and run my app in 1.4.2 but use jconsole from 5. But I am not sure if that would work, being that the app I want to monitor is ...
hi allI would like to know that if their is any way of Configuring external applications with java.what my requirement is that i have to scan the files to be uploaded in java application and before storing them i have to scan them using antivirus software.thanks
227 byte By
vgena at 2007-10-2 21:49:14
Hello All,I am trying to expose data using Complex Data. I have encountered that JMX consoles do not allow to edit such properties. Has anybody encountered the same thing or I am missing something?Thank you
hi is there any one who can help me immediately?I have developed an application previously, using jbuilder9 and jdk1.4. but now i am using jbuilder2006. and jdk1.5. after developing the application i have tried to build executable file and my executable file runs without any problem but the jar ...
303 byte By
REGJAVAa at 2007-10-2 21:50:30
Hello All,I am unable to remotely debug a Jboss application in eclipse.I was able to debug the same until yesterday I am getting error message "Transport error, error code = -1" while trying to debug.I also tried restarting eclipse and jboss ...
527 byte By
mqna at 2007-10-2 21:58:34
I am interested in starting a tracer (like the extensible java profiler) with any java swing app and obtaining a log of all UI events that happened in the session.eventually I'd like to create a pretty gantt chart that shows JInternalFrames opening and closing, and UI events like JButton ...
Hi guys,I have a problem understanding JMX. Suppose I have an aplication which I want to make manageable using JMX. So I create an MBean with the properties. Do I then explicitly have to run a separate program that will register it? Sound a little silly, cause if I have a web application, then ...
427 byte By
steffi3a at 2007-10-2 22:19:17
So I have an application that uses SSL and it works fine unlessI tried to enable SSL JMX.What side effects to SSL does Sun's JMX server in Java 5.0 have?The error isjavax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: ...
Hi,I am having a set of source java files which are developed under jdk 1.4. I need to deploy these source files in to Websphere5.0 which supports only jdk 1.3. Now i need to figure out from my java source where are all places jdk 1.4 methods used and what are they?Is there any way to find out ...
How do I add jar files to jconsoles classpath?
1976 byte By
zzzza at 2007-10-2 22:31:06
I抦 really desperate for help in this matter ?I抦 at a total loss as to what is wrong? I would definitely appreciate any help!I抦 trying to invoke an MBean operation in my code. I抦 using a standard MBean and the MBean has been registered on the MBean server. Specifically, I抦 having problems ...
965 byte By
_Mr.Mr_a at 2007-10-2 22:38:07
Hi,I have a resisting problem on xp sp2 which really makes me almost go mad. However, you Java experts are my last hope before I go.Since the update from Java 5 update 2 to update 6 I have bluescreens. First time it happened after surfing on a java-based website with firefox when I closed ...
200 byte By
iwonga at 2007-10-2 22:39:14
My Jconsole running on M1 (47.X.Y.Z) but JMX connector port is opened on M2 (10X.Y.Z). The third machine M3 has sshd installed. How to configure M3 so that M1 JConsole can connect to M2 via M3.
598 byte By
sijojoya at 2007-10-2 22:45:55
SirI want to do a project on NETWORK MGMT .I like to develop a S/W which holds the following features.1. Lan MonitoringNo. of users logged inLogin name,type, time detailsDisplay details when a user logout & Login.2. Remote Desktop CapturingWant to view Desktops of other computers logged in ...
174 byte By
SujitKMa at 2007-10-2 23:02:36
HiMy doubt is How do i look about the Debugging and Profiling APIs.Could some give me an tutorial for example in the sun site.Regards,Sujit
Hi all,I am trying to parse an ASP page from outside the web server or IIS itself using java.Is there any open source API available for this purpose. Say for instance, DOM or SAX for parsing XML.Or is there any object access mechanism like CORBA- ORB or RMI toaccess ASP objects?Any java ...
Can I use JMX to monitore my web service?What I would like to know:1. How much memory required only by the WS app?2. How much CPU time is it using?My Web service runs inside axis/tomcat/apache httpd (all software from apache foundation).I would like to know:Will it show what I ...
1266 byte By
keivana at 2007-10-2 23:18:21
Dear all, Hello. I am running a J2EE project. My server is orion 2.0.7. Right after I login I encounter the following error:500 Internal Server Errorjava.lang.NoClassDefFoundError: java/lang/StringBuilderat com.bipc.Users.checkUser(Users.java:149)at ...
java.lang.management is a part of which jar? I have to use JDK 1.4.x. I want to get the jar that contains java.lang.management classes.Which jar and which URL points to the download for this jar? Also, what are are good links to develp JMX application in WSAD 5.1x?
341 byte By
keivana at 2007-10-2 23:27:38
I already installed oracle 10-g. The classpath now is jdk 1.4.2. I must change with jdk 1.5 in order to compile some of my codes. I also will be glad if someone could let me know of MD5 which I would like to make a java file frolm and then compile it. It sounds serious to me.How may I do so. ...
Hi,I need to schedule jobs, and don't want to use Quartz, I would rather use the standard JMX timing service. I don't seem to be able to find any good documentation with nice examples that I can adopt.I have some vanilla code that registers a Timer object with the MBean server, then you add ...
2129 byte By
Borjaba at 2007-10-2 23:54:03
Hi,We are finding some problems using an application on a Tomcat 5.5 server and we want to discover which class is causing an OutOfMemoryException. I seems that jmap could help us whith the task but it fails with the following error:<i>jps11988 Bootstrap12616 Jps jmap 11988Attaching to ...
1) Are the jhat (mustang version) sources available? (the old version used to be at a java.net project)2) Is the source for jmap available?
512 byte By
deppe12a at 2007-10-3 0:01:08
Hello,I have a java program that parses XML files using a Sax parser. I want to monitor the JVM usage and the length time the program runs.What is the best way to do this? I need to collect some data based on the size of the file I抦 parsing so I know gauge how it will perform with larger files. ...
630 byte By
scropa at 2007-10-3 0:04:08
I'm trying to account for every bit of memory allocated by a java process on a redhat enterprise edition 3 box. I'm having some trouble.A simple HelloWorld program will come up with a VSS size of 300+M on my RHEL3 WS linux system. I'm trying to understand what that 300M is. Its not heap, ...
This is probably a stupid question but when i try to use the javac.exe tool from the command line in msdos, it wont work because part of the javac directory is "program files" (i.e. when i call the command is "c:\program files\jdk\javac *.java"), and it doesn't like the space in the folder ...
666 byte By
Usbana at 2007-10-3 0:26:33
I need to know how many lines are empty in a pdf file that my program is creating.The idea is that I read some data from a file. The amount of data is everytime different, varying from one page to twenty. I build a pdf file with this data and also i have to add some tables inside. The problem ...
155 byte By
scropa at 2007-10-3 0:32:32
Whats the cost of -Dcom.sun.management.jmxremote? Does this Connector type use RMI/serialization? I'm looking at using MBeans from within my own VM
Hi Friends,JMX 1.2 or higher.Please reply as earlier as possible.It is urgent. Thanks Bye
Hi ,When I try to run eclipse debugger, I am getting the error:Failed to connect to remote VM. Connection refusedI tried to debug remote java application.any thoughts ?
641 byte By
hbhanua at 2007-10-3 0:43:54
I am new user of Java and JEdit. I have installed Java 2 SE Kit 5.0 and JEdit 4.2 with Java Debugger 1.4 on WINDOWS XPI could compile the file sucessfully.I get the following error while I use the debug option with JEdit.Can some please tell how to set up the debug options in JEdit?In ...
Hello,is there any way to see wich jre (and other context info) a running application is using. For example, i want to see wich jre my lotus notes is using.Why? I've done some changes to classpath when installing other java programs and expirience some ...
how to debug a jvm crash? any tools and/or techniques available?
Hi,I am trying to invoke an MBean which has parameter which is of Array Type. for eg:-TestMBean with method as public String method1(String[] param);Currently the code in the client isString[] param = {"element1","element2"};Object[] arg1 = {param};String[] arg2 = {arg1.getClass().getName()}; ...
I'm trying to use jdb to connect to a running instance of a java program.If I use dt_shmem:> java -agentlib:jdwp=transport=dt_shmem,address=shmem,server=y,suspend=n JDBTest>jdb -attach shmemSet uncaught java.lang.ThrowableSet deferred uncaught java.lang.ThrowableInitializing jdb ...> ...
I'm trying to find a performance bottleneck in my java application.Between 30% and 60% of the execution time are always in "Unknown: thread_state":E.g. (excerpt): Thread-local ticks: 0.2%35 Blocked (of total) 0.0%2 Class loader 0.0%3 Compilation 38.6% 5521 Unknown: thread_state Flat profile of ...
When I start the JMX agent programatically in code, I can connect to the agent via JConsole but I can't see any of the tabs (Summary, Memory, Threads. . etc) except the MBeans tab. How do I get those other tabs to show?
I developed a sample Mbean and started in windowsXP. when i started jconsole it is not showing any java process. but the same code runs in linux fine. The jconsole in the windows xp can access the MBeans running in Linux . My temp dir is in FAT32. I tried to acees the MBeans running in windows ...