1 2 3 4 5 6 7 8

"Exception occurred trying to invoke the getter"

7636 byte By octoberdaniela at 2007-11-27 11:50:30
I'm getting a RuntimeOperationsException when I perform a certain query on the latest Glassfish server.The following:conn.queryMBeans(new ObjectName("com.sun.appserv:host=*,path=/*,type=Manager"), null);Gives me:javax.management.RuntimeOperationsException: Exception occurred trying to invoke the ...

Error: Management agent class failed : sun/management/snmp/util/MibLogger

364 byte By cheetah@a at 2007-11-27 11:31:44
Keep getting this error when trying to execute the following,/opt/java/jdk1.5.0_08/bin>./java -Dcom.sun.management.jmxremoteError: Management agent class failed : sun/management/snmp/util/MibLoggerThis problem surface after the Unix adminstrator did an SUSE OS patch.Please advise if someone knows ...

deploy mbean in weblogic 8.1?

182 byte By sachin@a at 2007-11-27 11:24:38
<p>how to deploy mbean in weblogic ?</p><p>what are the changes need to make in config.xml . </p><p>How to access mbean from client side.</p><p>thanks in advance.</p><p>Sachin >></p>

JMXMP w/ TLS

1616 byte By blaine.simpsona at 2007-11-27 11:15:51
Some years ago, I ran JMXMP with TLS using the jmx remote RI. It was very easy to set up.Now I want to do the same thing, but want to use J2SE 1.5 as much as possible. According to the latest jmx remote RI docs, I should be able to use JMXMP by just adding the jmxremote_optional.jar to my Java 1.5 ...

JMX implementation In Apache HTTPD server

259 byte By LifeLearnera at 2007-11-27 11:15:19
<p>I need help in configuring a httpd server for JMX. Specifically, I would like to monitor app and system statics the same way one can use JMX Attributes in Weblogic. </p><p>Also, does JMX expose system stats such as CPU, Memory Utilzation?</p><p>Thanks.</p>

JMX notification alternatives

3468 byte By Toxica at 2007-11-27 11:14:59
Hello, I had the inital idea to implement an alarm system using jmx notifications. From my interpretation this generates alot of code clutter in every class looking to send alarms. Even the base class of javax.management.Notification has a minimal constructor requiring a local variable ...

Can I register my own MBean by JVM built-in MBeans?

328 byte By dash_huana at 2007-11-27 10:54:48
Hi!I'm looking for a way to run my own MBean with JVM, just like how the JVM built-in MBeans run in JVM (you don't have to call them in your java program, but only set the JVM parameter -Dcom.sun.management.jmxremote). Is there a mechanism to register my own MBean by the built-in MBeans?Thank ...

Problem connecting JDK1.5 JMX server with JDK1.6 client

4261 byte By dannyju@yahooa at 2007-11-27 10:51:41
I have a JMX client application running on JDK1.6 and trying to connect to a JMX server running on Weblogic 9.2 server with JDK1.5.0_06.An exception was thrown on client side when processing return from JMX server, the most relevant exception seems to be:Caused by: java.rmi.UnmarshalException: ...

(beginner) return types of an MBean

1662 byte By garedunorda at 2007-11-27 10:48:54
I have an MBean interface which looks like this:interface MyMBean{Host getHost( String name );}interface Host{Integer getId();// ... other methods}On the server side, the implementation definesclass HostImpl implements Host{...}class MyMBeanImpl implements MyMBean{public Host getHost( String name ...

JMXMPConnectorServer stops accepting after AccessControlException

1502 byte By j.w.sa at 2007-11-27 10:42:38
Hi,I have an application managed by JMX using the JMXMP connector (Java 1.5). I am restricting which hosts are allowed to manage this application by using java.net.SocketPermission entires in a security policy file.Attempting to connect to the application from a host which does not have the allowed ...

JProfiler on Console

209 byte By Ahmadysa at 2007-11-27 10:42:00
<p>Hi,</p><p>I need to install and run JProfiler on a console environment to act as the server for remote profiling, is this possible? (Console thing)</p><p>and if it is, how could it be done?</p><p>Thanks</p>

sending notification from MDB to MBean

337 byte By ajethaliaa at 2007-11-27 10:35:04
HiIs there a way I can send a notification to an MBean from an MDB? I have a MessageDrivenBean that is listening to a queue. Any message on the queue need to be fwded to the MBean.MBean and the MDB, both are in a jboss sar. The version used is 4.2.0 with java 6.Any direction would be great. Thanks ...

Javadoc isn't including methods in generated HTML

16480 byte By ScottS.a at 2007-11-27 10:26:35
When I run javadoc on the class below, the HTML pages being generated don't include the methods I've written. Can anyone tell me what I'm doing wrong? Note that this source code was actually generated by a decompiler, as I somehow managed to lose the original source code I wrote. Thanks.import ...

JVM hangs then resumes

11485 byte By JNovice.classa at 2007-11-27 10:20:53
***I POSTED THIS BEFORE BUT I THINK I PUT IT IN THE WRONG FORUM***Hello,I am running a java process standalone (no EJB container / servlet container or anything), just a standalone JVM. The process is run via a shell script whcih executes it in the background then exits (leaving JAVA running). The ...

JMX and JBOSS quetion

156 byte By Danza at 2007-11-27 10:19:30
<p>i can get the MBean's name attribute name type descrep in JBOSS but i cannot get the Value of MBean's Attribute. Who can tell me how to get it.....</p>

Dynamic vs Model MBeans

273 byte By OGBa at 2007-11-27 10:02:58
I'm having trouble understanding what features and advantages Model MBeans are offering compared to Dynamic MBeans? I would appreciate any examples of use.Also, there aren't any problems with combining several types of MBeans in the same application, right?

JMX and JDK 1.4

239 byte By OGBa at 2007-11-27 10:02:25
Am I able to use JMX in my application that builds on JDK 1.4? Porting it to 1.5 or later is not really an option at this time. Downloading a couple of JAR files and packing them with my application is not a problem if that helps...

jps on windows 2003

162 byte By AviralNilesha at 2007-11-27 9:45:03
I have a java app running as windows service on windows 2003. I have java 1.5_10. when i run jps i don't see that process in the list. Need help urgently.

why HtmlAdaptor is so slow

724 byte By BEANSa at 2007-11-27 9:44:11
version; JDMK5, JDK5Serverside codehtmlAdaptor = new HtmlAdaptorServer();htmlAdaptor.setPort(8082);ObjectName htmlAdaptorObjectName = null;HIBServer.MBeanSvr.registerMBean(htmlAdaptor, htmlAdaptorObjectName);HIBHtml4CmdParser htmlParser = new HIBHtml4CmdParser();ObjectName parserObjName = ...

what is the latest version of JMS, JMXTOOLS, JTDS and JWSDP

220 byte By mdrafia at 2007-11-27 9:42:56
Anyone please help me in knowing and downloading the latest jar files for the JMS, JMX tools, JTDS and JWSDP....Please help me in this regard...Thank you...Message was edited by: mdrafi

KeyAlreadyExistsException

813 byte By michele81a at 2007-11-27 9:40:30
Hi all,I'm using a Open MBean and I have some CompositeDataSupport objects whose itemValues (the last constructor argument) could differ only because of an element, i.e.Object[] itemValues1 = {"type1", 0.d, 0.d, 0.d};Object[] itemValues2 = {"type2", 0.d, 0.d, 0.d};The problem is that when I ...

Enterprise monitoring using JMX

1337 byte By pmelicia at 2007-11-27 9:36:18
Hello,So, my company has a lot of J2EE/Tomcat servers running on java 1.6. I'm trying to find a way to monitor them all via JMX from a centralized system, which would be accessible to multiple users (web based, ideally). Based on my understanding of JMX, it should be possible to extract the ...

Jconsole tab debugging

305 byte By MultiCorea at 2007-11-27 9:34:45
Does anyone having any suggestions on how to try and debug a plugin tab for jconsole ? I'd like to try and do this from eclipse if possible, the problem is due to having supply the jar file with jconsole instead of class files from eclipse .any suggestions would be much ...

Using JConsole in combination with SNMP

1324 byte By WillemTijma at 2007-11-27 9:07:12
I have created a simple agent (using version 5 JDK) to handle an MBean. Within this agent I have created two adapters; an HTML and SNMP adapter. The HTML adapter is working fine via the browser (i can execute the operations on the MBean). Question is; Can I use JConsole to connect to the SNMP ...

Tracking size of object in JVM

74 byte By BabuSundarama at 2007-11-27 9:04:55
Hi How do i find out which objects are taking memory in JVM.

Starting / stopping a context using JMX with Tomcat

824 byte By syg6a at 2007-11-27 8:58:53
Hello,Tomcat 6 (as well as 5) has built-in support for JMX for administering Tomcat servers. I would like to be able to start and stop a context on a given host.I've been going about it like this:I create a JMXServiceURL, create a JMXConnector and with it I create a MBeanServerConnection ...

Unable to install JDK 1.4.2 - JNLP file is not recognised.

292 byte By spartan757a at 2007-11-27 8:58:04
Hello Friends, I try to install JDK 1.4.2_08. the JNLP file type is not recognized by my system. I have windows XP professional. but its fine with 1.6x JDK. but I need to install 1.4.2_08 for using SAP Netweaver platform.Ur help wud be gr8ful.Cheers,Senthil

Possible causes for memory leak in Java and Tomcat

128 byte By khifaa at 2007-11-27 8:41:19
I would like to enquire what are the typical mistakes done by programmers that will cause memory leak in Java and Tomcat.

Can JConsole data be retrieved.

823 byte By DeadAntsa at 2007-11-27 8:35:19
I have my servers running for 3 days and I had enabled JConsole setting before I started my servers.Question 1If I open the JConsole Window now, can JConsole give me the memory usage graph of the past 3 days. Or, does it show only the memory usage form current time onwards.I have noticed that ...

[ask] package

149 byte By v-va at 2007-11-27 8:13:54
where i can found this packagesunw.admin.snmp.*;i need JMAPI class where i can find it. any one reply me i beg you please

jconsole connection trouble. Port redirection?

13983 byte By _lauria at 2007-11-27 8:09:56
Hello!I have a strange issue with jconsole and my JMX enabled daemon. It used to work fine until sysadmin in datacenter placed out machine behind a kind of firewall (cisco accesslist or something like that).After that remote connection between jconsole and server no longer can be ...

How to get a core dump on Windows NT?

456 byte By khan_maqboola at 2007-11-27 7:34:41
The java process is running as a NT service, so I think I can't use the ctrl+break option.I need to have this dump generated both on demand and also when the JVM crashes?I have used IBM's core dump analyzer to analyze the core dumps generated by Websphere's JVM. Would this work for a Sun JVM ...

java.lang.ClassCastException: com.sun.jndi.rmi.registry.RegistryContext

1519 byte By NIkon_DSLa at 2007-11-27 7:34:26
Hello all.I'm new at JMX and trying to use it in our systemThe code looks like that//create serverJMXServiceURL addr = new JMXServiceURL("rmi", "127.0.0.1", port);RMIConnectorServer connector = new RMIConnectorServer(addr, null, server);JMXHelper.registerMBeanOrAdapter(server, ...

JMX with Kerberos

207 byte By syntern@sch.bme.hua at 2007-11-27 7:31:59
Hello,Is there any example how we could secure the JMX management and monitoring with Kerberos based authentication? At least what steps are required to achieve this?Thanks,Istvan

SSLHandshakeException with jconsole

2856 byte By DieselDavea at 2007-11-27 7:28:43
I am trying to get JMX over SSL to work with a standalone server java app using jconsole as the client. I am configuring JMX via a file specified with the com.sun.management.config.file system property on the command line.I have it working fine without SSL, but with SSL enabled ...

MBean required to get the Memory Usage of Specific Appln. in jboss,weblogic

236 byte By Jay.Jambaa at 2007-11-27 7:09:53
Hie ,I want to know the specific Mbean name or the Domain under which i can get the "Memory usage" or such critical attributes of specific application in jboss and in weblogic application Server.Thanks

Using OpenType class

739 byte By kaouaa at 2007-11-27 7:09:52
Hi,I've created an MBean, i've put it in a first project (A) and put its implementation in a second one (B).I have access to the methods thanks to the interface from project A in the following way :MBeanServerConnection conn = connectToJMXServer();CachesMBean caches = ...

Console messsages

1723 byte By Valasua at 2007-11-27 7:05:02
I would like to suppress the following messages appearing in the console.How to do that?--Jun 11, 2007 1:38:05 PM ClientCommunicatorAdmin restartWARNING: Failed to restart: java.net.ConnectException: Connection refused: connectJun 11, 2007 1:38:06 PM ClientIntermediary closeINFO: ...

run GC remote

68 byte By chnada at 2007-11-27 7:02:43
can i run GC from my jconsole when i connect to it an remote?

how to start GC logs?

1480 byte By bhaarat_javaa at 2007-11-27 6:59:38
helloi was reading this article http://www.jivesoftware.com/jive/entry.jspa?externalID=701and i wanted to track my GC logs. we start our jvm using this script. can someone please tell me what arguments would i need to and how i would edit this script to start the JVM in verbose mode or start GC ...

I'm desperate :( cannot track memory leak.

1249 byte By kipodusha at 2007-11-27 6:54:35
Hello.Maybe someone can help me on this because I have tried already everything.Basically we have an application that after running about for 3 weeks it reaches a state of "Out of Memory Error" and stops functioning. I tried to compare dumps of JMAP tracking out every day that passes but ...

I'm desperate :( cannot track memory leak.

1251 byte By kipodusha at 2007-11-27 6:54:34
Hello.Maybe someone can help me on this because I have tried already everything.Basically we have an application that after running about for 3 weeks it reaches a state of "Out of Memory Error" and stops functioning. I tried to compare dumps of JMAP tracking out every day that passes but ...

Could not map vmid to user Name

395 byte By leostar_10a at 2007-11-27 6:53:30
Hi Guys,I am running jdk1.5.0_06 on Linux. I have added the system property com.sun.management.jmxremote for my Java Application, but when I run jconsole <pid> it gives me the error:Unable to attach to 25837: Could not map vmid to user Namehere 25837 is the PID of my Java Application. I ...

A higher level of JMX Notification

2296 byte By -._marco_.-a at 2007-11-27 6:51:58
Hi everybody.While JMX has a great way of communication towards the MBeans through the use of high level interfaces, the notification mechanism is only available through a pre-determined interface (the NotificatioListener) that support only the passage of some pre-determined information such as ...

Proper use of JVM XMs and XMx settings

206 byte By damionsteena at 2007-11-27 6:51:54
I've configured Tomcat to run with -XMs1024m -XMx1024m, and am interested to know GC performs when the -XMs and XMx are the same value.Would it generally be better to have a lower -xms value?

How do u read the hs_err_pid<pid>.log file

11744 byte By adarsh227a at 2007-11-27 6:44:46
Hi,When using hprof or any profiling tool, the hotspot vm crashes and generates the following file. How do we read this file or make any sense of it. Is there any utility, etc..We are using hotspot jvm 1.4.2_12. Any help will be appreciated. BTW here is the latest hs file. ## An unexpected ...

Jconsole throws java.lang.OutOfMemoryError: Java heap space

449 byte By Antsa at 2007-11-27 6:28:41
Hi Guys, I need a great help from all of you. i am using jconsole to monitor my java application memory.After some 5 days of continuous monitoring through jconsole, i got a "java.lang.OutOfMemoryError: Java heap space" in command line and no progress after that(because of out of memory error). ...

Changing timeouts on both the Client and Server side..

1023 byte By detaylsa at 2007-11-27 6:23:46
Hi!I am having trouble figuring out how to change the timeout that occurs when a server vanishes and the client, which has not yet been sent a JMXConnectionNotification, unwittingly executes a method such as mbsc.queryNames().My code can currently wait as long as 120 seconds before a ...

JDK 6 on Red Hat keeps hanging

305 byte By Jamwaa at 2007-11-27 6:18:21
Hi. I have installed j2sdk6.0 on my Red Hat Linux 9.0 box. However, applications that I run (for instance my prevoius applications and NetBeans 5.5) hung unexplained in the middle of use. There is no error report and I have to kill java and start all over again. Is this an incompatibility ...

NoSuchMethodError

82 byte By helpme@fasta at 2007-11-27 6:13:04
i found NoSuchMethodErrorfor each classcan some body help me?