Debian LinuxPentium 4 2.81024 Ramjava version "1.5.0_09"Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode)The Java Server crash after from Begin or after 1-2 hoursim user to java server no develope and no have ...
Hi All,I am a new-comer to the world of JMX. After I had gone through some part of it, I wondered are there any alternatives to JMX..Please let me know if there are any.
383 byte By
tg_KGa at 2007-10-3 10:13:06
I have found jdk1.5.0_09 in two locations on my harddrive. (I must have intalled it twice by accident!)One is in its own folder called "C:\jdk1.5.0_09" and the other is in the "C:\Program Files\Java\jdk1.5.0_09" folder.Both appear to be installed and expanded into all of the subfolders.How do I ...
There is a brief discussion of automatic code downloading in the JMX Best Practices document ( http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/best-practices.jsp#mozTocId348704), but not enough to actually implement it.Would someone be kind enough to point me to some ...
1310 byte By
EmboMana at 2007-10-3 10:19:22
Hi,I've been playing around a bit with jps, and I see some special behavior on Windows OSes:When I start jps from another java program, by using Runtime.exec() etc., and "unset" (setting "TMP=") the TMP environment variable in the new process, jps fails with a NullPointerException:Exception in ...
Hi all,I can successffully attach notification listeners with no filter to remote mbeans, however if I try to specify a filter I get a ClassNotFoundException because of the unavailability of the security manager (and thus the RMI class loader is disabled).My application run with the following ...
hi i am trying to run weblogic server in jdk 1.4.2_10with the heap settings-XX:NewSize=192m -XX:MaxNewSize=192m -XX:SurvivorRatio=8 -Xms1280m -Xmx1280m -XX:MaxPermSize=256m -serverthere is long pause in the gc how to avoid this
I'm testing our application on a linux machine. When I tested the exact same load on our solaris, it runs fine. When I test it on our linux machine, we have memory leak issues. Since the code is not changed between the two, I'm hoping it is a configuration issue between the jdk on linux vs ...
884 byte By
vsunooa at 2007-10-3 10:31:13
Dear All, We have an application that uses Sun's Toolkit for printing documents. The application firsts generates an image and then creates a document that has the image embedded within it. Once this is done the application uses the graphics.drawString method for printing the document on a ...
323 byte By
juckkya at 2007-10-3 10:42:54
I am using JConsole to monitor my application, but would like to tweak the UI slightly. ie when viewing threads you are unable to maximize the stack trace or resize the thread name panel.I know the source code is available, but was wondering how straight forward it is to make the changes and ...
I have jdk1.6.0 installed on my machine with jre1.6.0 when i am running any application its process is running default java.exe java.exe in Task Manager.How to change the java.exe name to java1.exe .
what is the code for making my computer shutdown.. because im planning to make autoshutdow program! in windows platform!thanks
3905 byte By
fallousa at 2007-10-3 11:05:12
Error: 500 Unable to compile class for JSP what actually this kind of problems since my server produce this messsageJSWDK WebServer Version 1.0.1Loaded configuration from: file:C:\jswdk-1.0.1\webserver.xmlendpoint created: localhost/127.0.0.1:8080com.sun.jsp.runtime.JspServlet: initScratch dir ...
3953 byte By
csgan97a at 2007-10-3 11:07:48
Application server registered intermittent slowness in getting database connection from javax.sql.DataSource. Based on the following JMX value, the application servers still haven抰 reached the threshold. Its identified the slowness was due to application server performing validation (select ...
3953 byte By
csgan97a at 2007-10-3 11:07:49
Application server registered intermittent slowness in getting database connection from javax.sql.DataSource. Based on the following JMX value, the application servers still haven抰 reached the threshold. Its identified the slowness was due to application server performing validation (select ...
1548 byte By
csgan97a at 2007-10-3 11:07:55
Application server jvm intermittently crashed but due to the feature in SUN JES 8.1 ur2 the application server will auto restarts the service. Most of the JVM crashes were due to memory corruption.The following are SUN findings:1)Multithreading issue that causes 2 threads writing on the same ...
1548 byte By
csgan97a at 2007-10-3 11:07:56
Application server jvm intermittently crashed but due to the feature in SUN JES 8.1 ur2 the application server will auto restarts the service. Most of the JVM crashes were due to memory corruption.The following are SUN findings:1)Multithreading issue that causes 2 threads writing on the same ...
Hi all,I would like to expose components of a distributed architecture in a single point: say, for example, node A, B and C collect data/statistics, but I don't want to open 3 jconsole connections, eventually becausethe management application knows only about node A.How can I achieve my ...
I have a server process that I want to monitor in a web page. I would like to display some Operating System information on the web page for my server. I can view the information from my server in jconsole, but I cannot figure out how to get some of the same information in the web page. When I ...
Hello,I'd like to provide in my application the same functionnality as in JConsole.When you start jconsole, in the "local" tab, you can see every local agent. I'd like to do the same to be able to get every MBeanServer that run on my machine.Do you have any idea on how to do that in java 1.5 ...
This is my first comment ever posted to this forum and I've a limited knowledge of JVM so please don't hesitate to make any corrections necessary to the following analysis. PROBLEMSeldom but regularly the Java application that I've to support throws java.lang.OutOfMemoryError. Example of the ...
Hi,The MXBean specification, in the Type Mapping Rules section does not explicitly state the behaviour when the Java Type (J) is some OpenType.For example, one could have an MXBean subclass an existing class having an OpenType as a method return type.Thanks
Hello All,I have a scenario, where i want to do the configuration and management inside JBoss through JMX. That is fine but my requirement is to have a smart and user friendly user interface for configuring the properties and JMX console does not fit the purpose. I have created a rich client ...
Hi,Can any one answer my question.As part of my application performance testing one of the container in my application using more memory.(Java Based Application).This application is on solaris platform. When the application started this container normally uses 400 MB. When the load increases on ...
209 byte By
robmarsa at 2007-10-3 11:27:18
Error : Invalid path, \bin\javac.exe -classpath "D:" -d D: D:\Volcano.java" Process completed.-the Volcano is my java file ...... used only to test the jCreator when i installed it.
655 byte By
jerka at 2007-10-3 11:28:09
Hello, sorry for a new topic, I know that this question may have been answered a thousand times but I cant find a solution and I'm in a hurry.I am currently on Windows XP, I installed jdk (so i have jdk1.5.0_10 and jre1.5.0_10), and I added to the Path: C:\Program Files\Java\jdk1.5.0_10\bin ...
Hi all,I have a simple model mbean to expose, however from the jconsole I can see only the attribute names, not their values (everything works fine from the agent):/** * This is the class to expose */public class ModelSample {private boolean started;private int changes;public ModelSample() ...
423 byte By
dandua at 2007-10-3 11:32:54
Hi folks,I am getting this error when i use jprofiler for profiling a swing application.Exception in thread "main" java.lang.noclassdeffounderror: javax/help/helpsetexceptionCould someone let me know teh way to resolve this problem / jar file which will have this class.Is there any better open ...
479 byte By
sivasaia at 2007-10-3 11:37:00
hi,I am trying to compile exiting code,i need jar for following classes.can one help where i can get these jars.-import sun.management.FileSystem;import javax.xml.XMLConstants;import javax.xml.namespace.NamespaceContext;import javax.xml.xpath.XPath;import javax.xml.xpath.XPathConstants;import ...
I am running a backend process written in java and it is to bedeployed in Unix/Linux. This process is started through passingarguments to main() method. Now the problem is when this process isstarted by running shell script file (.sh file) same as .bat file inwindows, the complete package name ...
10481 byte By
KHazraa at 2007-10-3 11:42:43
Hi ,I am trying to implement SSL with JMX. I took the example of Luis Miguel Alventosa to see how it works. I imported all the classes, password a access properties file. When I am able to start the MyApp server in the example. But when I am trying to run MyClient, it is giving me the following ...
662 byte By
SHLa at 2007-10-3 11:44:24
I have to check the current java application running at any instance.if we consider there are 2 java programs , say "abc" and "xyz" running at the particular time . i want to obtain the name of the application that are being executed programmatically ( in this case i should be able to get that ...
919 byte By
miekea at 2007-10-3 11:49:31
I'm using jhat (bundled with Mustang) to analyze a Heap dump that I got as a result of one of our servers running out of memory.When I try run the tool I get the following error:...Dump file created Mon Dec 04 07:39:41 PST 2006Snapshot read, resolving...Resolving 9471029 objects...Chasing ...
hi,i have installed the JDK1.5_10 on solaris box;set the path, ld_library_path and classpath to 1.5i ran jmap <pid> command to connect to a 1.4 JVM and got the following error:Attaching to process ID 8322, please wait...Exception in thread "main" java.lang.RuntimeException: field "_mc_vs" ...
298 byte By
tamria at 2007-10-3 11:51:34
I have jdk1.5. use double and sometimes something strange happens. Forexample when I have variable double d=4.00, java in db(ms.sql server2000) writes 3.9999999, or when d=2.45 ,in db writed 2.449999999.it happens sometimes,not everytimes.why? what is wrong? is it java's
659 byte By
jxxea at 2007-10-3 11:53:47
HiMy application server is using JDK1.4.2_05, and had been doing well until we upgraded memory from 700M to 1.4G. Ironically, the error message is "OutOfMemory" Exception as followingException java.lang.OutOfMemoryError: requested 131072000 bytes for GrET* in ...
Anyone know how to determine the hostname/ip of the person executing a JMX function?
Hello.I don't know if it's the rigth forum for posting this question, neverthless, I need to get some memory heap information... But not only the "total" given by Runtime.totalMemory(): I want to get the allocated memory into "eden", "survivor", "tenured", and "perm" spaces. Just like in the ...
522 byte By
adaifa at 2007-10-3 11:58:16
Hi,I'm currently installing a SAP Netweaver Server on a Windows Server 2003/X64 (Intel Xeon CPUs).The server requires a JDK 64 bit with minimum version 1.4.2_09. Version 1.5.0_00 and higher are not supported by SAP.I have searched on the J2SE 1.4.2 download page and I haven't found any ...
505 byte By
RobinMa at 2007-10-3 11:58:42
Hi everyone,I have a JMX-enabled web application running on a JBoss-4.0.2. I've created my own MBeanServer and an RMIConnector.When i connect with JConsole from JDK 5 or other management console (JManage, MC4J,...) there is no problem. When I use JConsole of JDK6 on the other hand, then I ...
147 byte By
jxxea at 2007-10-3 12:00:19
Hi-Xrunhprof is too expensive for cpu cycles, is there another way to find which object eat up all my memory?Thanksj2xe
439 byte By
dataone at 2007-11-26 12:03:14
Hello,Can I use Jconsole on my local machine to monitor java applications running on a remote server (shared hosting) for which X11 forwarding has been disabled? JDK 1.5 is installed on the remote server.If this is possible, how do i set it up?NB: the remote server is a linux box, with apache ...
http://java.sun.com/developer/technicalArticles/Intl/USDST/Have a query regarding the information in the above URL.I am using JDK1.4.2_08 and JDK1.4.2_04 in my application ..Will my applications have any impacts due to day-Light saving time change ?Thanks in ...
90 byte By
RUPa at 2007-11-26 12:25:27
Can anyone help me with pointers to tools to analyze the ascii output of jmap -heap
Ciao It's my task to analyze large Weblogic log-filesin order to search for Threads and Exceptions.Could you recommend me a tool?I use Samurai but it's taking too long and crashesthe computer....Thanks a lot!Starki
492 byte By
qabia at 2007-11-26 12:36:23
The new JDK 6 instrumentation API mentions the possiblity for "Starting Agents After VM Startup". Unfortunately it isn't very specific: "The system class loader [..] must support a mechanism to add an agent JAR file to the system class path."Can anybody provide me with a working example of how ...
2474 byte By
luskabga at 2007-11-26 12:39:34
hello,i have a jmx agent code:...MBeanServer mbs= ManagementFactory.getPlatformMBeanServer();String domain = mbs.getDefaultDomain();ObjectName name = new ObjectName(domain+":type=Test");TestMBean mbean= new Test();mbs.registerMBean(mbean, name);JMXServiceURL url= new ...
hi,we are running into an issue using the jmap -permstat option on WL server instance to gather stats with the following sizes of JVM memory:used = 300MB.total = 846 MBhas any one encountered issue with jmap failing with out of memory?is there any options avaialble to increase the memory ...
331 byte By
Mizua at 2007-11-26 12:56:23
Does anyone know if there is a free SNMP-to-JMX bridge which makes it easy for tools like http://cacti.net/ to poll statistics about particular MBeans which expose int/long-type attributes.I know JBoss offers such a solution but I would like to use something that doesn't require an application ...
Can anyone tell me how I can remotely connect to the platform MBeans of a JVM running on a networked client. In the <JRE_Home>/lib/management/management.properties on the client machine I set the following properties ...