Hello,
I'm planning to do a heap dump with jmap jdk1.5 tool on a production weblogic (10) instance.
Actually there are 3 EAR (perhaps more, don't really know i don't have access) deployed on this weblogic instance.
Someone told me "weblogic creates a JVM for each EAR"
Can someone confirm this?
With jmap i need the jvm pid as paramete...
Hello All...
Whenever a class is loaded, what are stored in the heap and what are stored in the stack ?
Also where does the threads reside ?
Thanks in advance...
...
Hi SO,
I'd like to generate sequence diagrams with EA. I set up a build script, the debug section looks like this:
jre=C:\Program Files\Java\jdk1.6.0_20,-Djava.class.path=C:\path\to\my\app
When I try to debug it (which is needed for the diagram generation), I get the following message:
Failed to load C:\Program Files\Java\jdk1...
Hi
I m working on a client-server program, where there is no test at all.
When i try to do some test with two server, it's look like both server is connected to the same database. I think the reason is some bad use of static field.
So i wonder, is there a way to start two VM in a junit test?
...
I need a way to uniquely and permanently identify an instance of the JVM from within Java code running in that JVM.
That is, if I have two JVMs running at the same time on the same machine, each is distinguishable.
It is also distinguishable from running JVMs on other machines and from future executions on the same machine even if the...
How do I set the maximal jvm-memory without adding an extra batch-script to my Programm.
Answer is provided below.
...
Are SAFE levels supported in JRuby? If not, is there other ways of safely running user supplied code in server?
...
Does every execution of java command start a separate JVM?
...
How can I enable or disable a maven profile based on whether the VM that is executing maven is a 32 bit or a 64 bit JVM? I tried this:
<activation>
<os>
<arch>x86</arch>
</os>
</activation>
or amd64 respectively to detect a 32/64 bit VM, but this fails on a 32 bit VM running on a 64 bit Windows as it activates the 64 bit...
Not sure if this would be better suited for ServerFault, but since I am not an admin but a developer I figured I would try SO.
We've been struggling to keep our multi-server configuration stable for quite some time now. At the end of last month we were running under CF 7.0.2 on a two servers setup (one instance each). At that point we...
Java's jar file format builds off of the zip file format, and supports compression of the class files inside it. When and how does the JVM decide which class files to uncompress and pull out of the jars on its classpath? Is the process dynamic and done at runtime as classes are needed, or are they all uncompressed up front before the pro...
This is the update that just came out this week (2010-05-18)
Somebody moved my cheese. It appears that laf.jar is Look And Feel, so probably not a big deal for my java development. Eclipse got mad about the missing jar, and furthermore thinks the 1.6.0 VM disappeared, which it didn't. Had to redefine the VM library within eclipse and ...
Hi,
I am facing a weird problem when using MicroSoft JVM to run my Applet. I have an AWT panel with 4 textfields which is added to a dialog box. Everything goes fine until I enter a decimal value into the textfield and close the dialog box. When i reopen the dialog box the textfield inside the panel with all the decimal digits (entered...
I have a problem with a java application. Using a 64bit JVM (1.60.0_20) under windows server 2008 r2 (64bit), the application hangs at 2GB allocated memory, it will not go beyond that mark even after changing the JVM settings to allocate more (-Xmx5000m); this is on an EC2 instance with 7.5GB available memory.
...
In a JVM the memory is split into Method Area ,Stack ,Heap , Temp and Registry . what is String Local Memory ? Does this exists ? If so when does it gets allocated or assigned ?
Appropriate Usage of this ?
Thanks
...
Hello, Im using SCO OpenServer 5.0.7 operating system.
My JVM is version 1.4 and also I have 1.5
When I'm trying to input a character in range 0x80 - 0x9f in GUI Text field, my JVM loads the CPU up to 100%, and the only way to stop It is to kill the jvm process.
When I input character in same range in java console application, It is al...
I'm seeing the following symptoms on an application's GC log file with the Concurrent Mark-Sweep collector:
4031.248: [CMS-concurrent-preclean-start]
4031.250: [CMS-concurrent-preclean: 0.002/0.002 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
4031.250: [CMS-concurrent-abortable-preclean-start]
CMS: abort preclean due to time 4036...
In Java, array is a class and extends Object. I am curious to know about this special array class. I don't find the class definition anywhere. Doing a getClass().getName() gives strange result.
String[] array = new String[]{"one","two"};
System.out.println(array.getClass().getName()); // prints [Ljava.lang.String;
I want to understand...
hi all,
I want to stop JVM for some time after some minutes JVM should run its execution from that point. Is that possible in Java?
Or I want to run my some part of code in diffrent JVM instance?
...
We have an open beta of an app which occasionally causes the heapspace to overflow. The JVM reacts by going on a permanent vacation.
To analyze this I would like to peek into the memory at the point where it failed. Java does not want me to do this. The process is still in memory but it doesn't seem to be recognized as a java process.
...