1 2 3 4 5 6 7 8

-Xcheck:JNI

290 byte By StephenChunga at 2007-10-2 20:29:19
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

Error when trying to execute .class file.

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

What is meant by JMX

27 byte By redwina at 2007-10-2 20:32:53
What is meant by JMX

accessing S.M.A.R.T Technology with java

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

Monitoring Services, Service Dependencies

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

Odd classes in my heap

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

JMX in proffiler

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

Using jconsole to login to JMX server over the network

1314 byte By msp1960ADa at 2007-10-2 21:15:48
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 ...

Enabling JMX agent programmatically

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

JMX Implementation In WAS

3428 byte By vishal.sarayaa at 2007-10-2 21:24:08
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 ...

JMX information

192 byte By vishal.sarayaa at 2007-10-2 21:24:11
Hi,Plz can anyone provide me information to create a Admin Client for WAS Admin Services which includes JMX implementation.thnx in advance

How to find all of the MBeans in a particular domain

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

running jconsole with jdk 1.4.2

353 byte By Massive.Boissona at 2007-10-2 21:42:25
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 ...

Configuring external applications with java.

283 byte By Rookie_95a at 2007-10-2 21:43:38
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

using CompositeData

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

facing problem with jar

511 byte By rahed_bda at 2007-10-2 21:49:15
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 ...

unable to remote debug in eclipse

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

Trace and Timestamp all UI Events?

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

Problem understanding JMX

660 byte By nirav1983a at 2007-10-2 22:05:03
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 ...

-Dcom.sun.management.jmxremote.ssl=true breaks SSL

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

Finding JDK1.4 methods in the source

357 byte By screenjavaa at 2007-10-2 22:25:43
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 ...

jconsole classpath

53 byte By jevans123a at 2007-10-2 22:28:30
How do I add jar files to jconsoles classpath?

Problems with invoking MBean operations

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

Java 5 update 6 bluescreen with firefox + during deinstallation of java

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

JMX RMI connection via ssh

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.

Network Management

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

Newbie (Java)

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

java to ASP parsing Or object access

399 byte By jini4javaa at 2007-10-2 23:05:04
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 ...

Web Serivce Monitoring

364 byte By AllenSchezara at 2007-10-2 23:17:44
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 ...

java.lang.NoClassDefFoundError: java/lang/StringBuilder

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 - Part of which jar

286 byte By funUnderSuna at 2007-10-2 23:23:58
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?

MD5 && jdk 1.5

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

Timing and scheduling.

890 byte By MichaelCoucka at 2007-10-2 23:37:28
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 ...

jmap and jstack error: sun.jvm.hotspot.debugger.NoSuchSymbolException

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

jmap & jhat sources?

153 byte By Pakka-Pakkaa at 2007-10-3 0:00:48
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?

Monitoring run time and JVM usage for a Java program

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

Help me understand Java footprint

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

javac.exe

337 byte By jjdevine1984a at 2007-10-3 0:24:33
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 ...

Knowing remaining space in a pdf

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

Local connector cost

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

What is latest version of JMX that can be used in J2EE 1.4?

124 byte By er_mandeep_btecha at 2007-10-3 0:34:07
Hi Friends,JMX 1.2 or higher.Please reply as earlier as possible.It is urgent. Thanks Bye

Failed to connect to remote VM. Connection refused

203 byte By Adi_Azara at 2007-10-3 0:37:04
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 ?

Help java debugger error:no Connectors loaded

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

jre of running application

308 byte By pieterrra at 2007-10-3 0:47:57
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 ...

debuggin jvm crash

71 byte By searchandresearcha at 2007-10-3 0:48:08
how to debug a jvm crash? any tools and/or techniques available?

Error Invoking MBeans with String Array parameters

1461 byte By keyboardsamuraia at 2007-10-3 0:48:36
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()}; ...

jdb fails to connect to running java application over sockets

1820 byte By Th.Maucha at 2007-10-3 0:55:19
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 ...> ...

What is the meaning of 'Unknown: thread_state' when using -Xprof?

1039 byte By tzaeschkea at 2007-10-3 1:01:44
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 ...

JConsole tabs greyed

227 byte By analau1234a at 2007-10-3 1:02:50
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?

jconsole can't access MBeans in windows XP

418 byte By aneesh_kba at 2007-10-3 1:19:56
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 ...