JavaVM Internal Error

160155 byte By brondsema at 2007-10-3 7:00:47
I've had two very similar unexpected internal errors on our production server in the past few weeks. The first was about 3 weeks ago, and the second was this afternoon. They're both the same internal error code and CompileTask. But I don't know what to look for in _jspService that would be ...

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6fd721, pid=5412, tid=206

514 byte By nilesh.kamania at 2007-10-3 7:02:28
HelloI got the below error while trying to run my program.## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6fd721, pid=5412, tid=2060## Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)# Problematic ...

HotSpot libc.so.6 error

14382 byte By hellmeta at 2007-10-3 7:05:30
our server has some important websites running on it,and it was runningood till a few weeks ago..From then, we have been facing this strange problem.and I have been unable to trace it in anyway, me being new to this..also, it seems to be crashing at around the same time everyday..(+-1/2hr)would ...

Java Program to List all running process of Win 2k OS

217 byte By AppSa at 2007-10-3 7:06:57
I want to write a simple command line Java Program to List all running process of Win 2k OS.Which class i can use to write this program. Has anybody done this before? Your Help Will be Appriciated

EXCEPTION_ACCESS_VIOLATION

912 byte By BassMan449a at 2007-10-3 7:09:03
I am trying to run a native method in the JNI with a dll I have written. The code in the dll compiles fine but I get this error when I attempt to run:EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1001ab15, pid=1244, tid=924## Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, ...

accepting dat from serial port and sending 0 ro 1 bit to the parallel port

256 byte By ShankarSonia at 2007-10-3 7:12:05
hi,i am developing an application which is used for controlling device (such as Fan or TV) from mobile device connected to the serial port and device connected to parallel port of the computer.can any one help me.....Waiting for reply.

Java 64-Bit VM seems to have 32 bit Heap limit on Win2K3 x64

1823 byte By ron.hennela at 2007-10-3 7:12:13
Help with Java 64-Bit VM and Win2k3 Server x64:The Class below fails with Exception in thread "main" java.lang.OutOfMemoryError: Java heap space when attempting to allocate HALF_G byte array.public class HeapTest {final static int TWO_G = 2048000000;final static int HALF_G = 512000000;public ...

Java Virtual Machine Launcher - Can't find Main Class - Program Will exit

45 byte By Sammya at 2007-10-3 7:24:51
how can I fix the above noted problem?

Generating header file

1631 byte By OiyeMagohaa at 2007-10-3 7:26:33
Hi Comrades! I have a problem generating a C/C++ header file from a class fileLook at this simple program:package com.mypkg;class DisplayResult{public static native int getValues();public static native String getName();public static void main(String[] args){new DisplayResult().getValues();new ...

An unexpected exception has been detected in native code outside the VM.

9757 byte By Coulieoa at 2007-10-3 7:26:45
Does anybody have any idea?An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d046cfeFunction name=Java_sun_java2d_loops_DefaultComponent_ShortIsomorphicCopyLibrary=C:\Program Files\Oracle\JInitiator ...

How to startsomething.sys

142 byte By valeraa at 2007-10-3 7:29:10
Hello everybody, I want to start *.sys file from windows\systen32\drivers is it possible to do from java programm ?Thanks

JVM crash during termination of COM DLL via JNI

2054 byte By jasonpolitesa at 2007-10-3 7:29:29
Hi folks,I have a curly problem with a JNI interface to a 3rd party COM DLL.My JNI (C++) class is simply a wrapper to methods in the COM DLL I need exposed to Java. The problem I have occurs when shutting down the COM DLL... but, I only get the problem when running the java app via an NT ...

How can I prevent memory leak after termination of application?

547 byte By PaulSheldonII_Screena at 2007-10-3 7:30:19
step 1.HashMap has data in it.step 2.GC never think it as a garbage because HashMap has data.step 3.Application is finished. Memory still has HashMap data?But right before the application is finished, I assigned HashMap = null.Now, the application is terminated? In this case, GC is also ...

synchronized class aClassname { in which situation?

426 byte By PaulSheldonII_Screena at 2007-10-3 7:33:19
What we say '"synchronized" can be placed in either method or object, I heard better use on method than object.Why?I've seen the code that was with methodsynchronized deposit() {}synchronized withdraw() { }but not with object.what would be in real-life implementation for putting synchronized ...

OutOfMemoryError when Eden space only 1/3 full

1087 byte By RGibsona at 2007-10-3 7:33:40
Hi,I've been reading up on the inner workings of the different GC algorithms and I thought I had a good handle on them all, but I'm a bit baffled with the behaviour I'm seeing. I'm running a server process on RH Linux, AMD 64-bit. The machine has 4G of physical memory and two processors. My ...

Calling legacy C Functions from Java

2621 byte By redsan74_javaa at 2007-10-3 7:34:38
hi,All the libraries are on the same path I mean current path where I am executing the existing c as well as my experimentations.OS = HP-UXExisting Functionality:I make a call to "int PE(char *pReport, char *pOutput)" in "parseexp.c" from "testexp.c".*************************** parseexp.c ...

Native Library placing in JDK

724 byte By damonha at 2007-10-3 7:36:34
Hi, In one of our applications we have a native library kdmjj.dll, that is contained in the bin directory of the app. This works fine and gets picked up if the customer copies the dll to $JAVA_HOME\jre\bin. This I take it is the default place to put native libraries so they get picked up by the ...

java 5.0u10 or mustang release date

105 byte By cranjoha at 2007-10-3 7:37:02
Does anyone know when will java 5.0 update 10 be available? Or when will mustang(1.6) be released?

A frustrating problem!

1031 byte By Scholesya at 2007-10-3 7:39:55
I first had this problem when trying to install a demo of Football manager 2007. I launched the installer and it started to look for the Java Virtual machine. The InstallShield Wizard gets about halfway up the progress bar and then gave me the error message:"could not utilize start class: ...

UseParallelOldGC and survivor spaces

1242 byte By D.Mikhailova at 2007-10-3 7:40:29
Hi!At http://forum.java.sun.com/thread.jspa?threadID=673271&tstart=285 is dicussed how to fix survivor ratio to 1 while using ParallelGC. However, when trying to fix survivor ratio to 3 using PrarallelOldGC, I've got the following problem:JVM options:-Xms1536m -Xmx1536m -XX:NewSize=704M ...

SNMP monitoring

362 byte By FabianTomea at 2007-10-3 7:41:40
Hi! I tried to config the snmp part of a JVM to check this from an standard SNMP application.i can't connect to the JVM, my acl file is not in use and when i tried to connect with a snmpwalk -v2c -c public localhost i receive a Timeout: No Response from localhostAny idea or link to follow and ...

Question about byte code instructions

574 byte By Sunny_Daya at 2007-10-3 7:44:26
Dear All,A method invocation (e.g., invokevirtual) needs its arguments to be prepared by the instructions above the method invocation instruction. As we know, some instructions pop objects out of the stack (eg, putfield), some instructions push objects onto the stack (eg, getfield), and some ...

VM errors

43018 byte By jordan.stewarta at 2007-10-3 7:44:55
I've been sent a couple of error files which were generated when a couple of processes crashed (one file for each process), and I don't really know what could be causing the issue. They both look to be database related, but the errors occur within libjvm.so. Is this a problem with the ...

Strange pause

1359 byte By j8chia at 2007-10-3 7:47:50
I have a pause in program for about 7 seconds.I noticed the following during the time frame in gc log and about the same time gap between preclean and remark.But note that the application time is only shown 0.0378640 seconds. Anyone has seen gc pause like this before? I searched the bug report ...

JVM Threads

86 byte By titogeoa at 2007-10-3 7:51:02
Is there a way to list all the threads in current instance of JVM...Tito

ClassLoader constraints changes in Java 6?

401 byte By Pakka-Pakkaa at 2007-10-3 7:51:50
The "Features and Enhancements" page lists "Class-loader constraints" as a feature/enhancement for Java 6, without providing details or a link: http://java.sun.com/javase/6/webnotes/features.html(near the bottom of the list)So, what was actually done? Code inspection/cleanup? Writing up an ...

About jvm

126 byte By rajesh1215@gmail.coma at 2007-10-3 7:52:31
I wants information about JVM.how JVM execute the .class and internal details about jvm.I want the block diagrams also.

JNI and DLL抯 that use COM

431 byte By MrRagea at 2007-10-3 7:56:20
I抳e got a project that is using an ActiveX/COM DLL (ATL_COM_DLL) in both the main app (JavaApp) and a DLL that is linked to the main app (JNI_ Driver). The JNI_Driver looks to have a clean destructor written but when its executing it causes the application to crash. I抦 wondering if because both ...

How to use JVM Parameters to change mappings of hostname and IP?

309 byte By machINea at 2007-10-3 7:57:20
OS: LinuxI do not have root account, and my account is not permitted to modify /etc/hosts. But I want to use particular mappings of hostname and IP, can I write a .txt file similiar to /etc/hosts containing my mappings and use JVM parameters to make JVM to look up my file instead of ...

how to do it?

239 byte By raja8nza at 2007-10-3 8:01:09
how to enable / disable JVM automatically in my client machine with his permission?"If it is not enabled I will ask him iam enabling JVM in ur machine.Any help, please? thanks in advanceregardsraja

which type Can I use instead of LPVOID at java code?

323 byte By ZeinabZa at 2007-10-3 8:01:10
HiI have a program in C which have a method that returns LPVOID, which avaluate jni type for LPVOID can I use in java code? I have some another native methods which must have LPVOID arguments as input. Is there any solution?please help me. It's very important for me.Thanks rrin ...

which type Can I use instead of LPVOID at java code?

323 byte By ZeinabZa at 2007-10-3 8:01:11
HiI have a program in C which have a method that returns LPVOID, which avaluate jni type for LPVOID can I use in java code? I have some another native methods which must have LPVOID arguments as input. Is there any solution?please help me. It's very important for me.Thanks rrin ...

Java vm creation crashes if max heap is set too big

1371 byte By akarantaa at 2007-10-3 8:01:36
I start the jvm from deep within a c / fortran app. If I give a "decent" max heap size w/ -Xmx option, everything is fine. However, the JNI_CreateJavaVM crashes w/ Unhandled exception at 0x060b766b (jvm.dll) in tnapa.exe: 0xC0000005: Access violation reading location 0x00000ff1. The violator ...

Error unexpected in java

353 byte By Uncle-Fraa at 2007-10-3 8:03:54
Hello people....Sorry for my bad english but i am ItalianI have a problem, when I start my server, (create for game server) generate this error of Java VM.[URL= http://imageshack.us][IMG] http://img55.imageshack.us/img55/9263/errorejavaov6.jpg[/IMG][/URL]Tanks for your helpMessage was edited by: ...

Application cause java core dump, how can i do?

8632 byte By johnnychana at 2007-10-3 8:05:45
HiIn the case, we're using JDK 1.4 and Hibernate on Aix 64 bit, but seems we've got lots of java core even occupied full hard space and cause application crashsystem info :JavaVersion is J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20051115 (SR3 + 94164 + 97403 + 97482) ...

OutOfMemoryError Prevention

2012 byte By Manu38100a at 2007-10-3 8:06:15
Hi all,I supposed this question has been asked undred times but i can't find an answer.Is ther one way to prevent OutOfMemoryError. My idea is to test the available free memory using Runtime.freeMemory() and compare if the result is less than one defined constant. But it does'n work. I don't ...

DLL methods

289 byte By Swapna_Ann_Jamesa at 2007-10-3 8:07:08
Hi,I have a dll which I need to use to make connections and retrieve data from DataStage Universe. I understand I can use JNI to use the dll. But how can I come to know what all methods the dll has?Any help would be appreciated.Thanks and regards,Swapna.

Monitoring a folder

390 byte By b_rajashekara at 2007-10-3 8:13:45
Hi Guys!i have strange requirement in one of project s where I need to monitor a folder. whenever a new file comes to that folder our program should be notified and execute accordingly by getting data from the file and insert into database.Can any one suggest how it can be handled apart from ...

Pls Help:Running it is not working a C executable from my Java Code

311 byte By selecaoa at 2007-10-3 8:14:29
I am working in UNIX enviornment and i want to run a C /C++ executable from my Java CodeI am using the following segment of code but{Runtime r = Runtime.getRuntime();r.exec("\Dektop\a.out")}But nothing is happening can you please help me , Its very ...

JNI Dll - java.library.path

585 byte By E10a at 2007-10-3 8:15:09
I developed and application which uses a dll to get data from windows registry, there is a dll located at a directory included in PATH environment variable. Ir works fine If I invoke it from and standalone application, but When I tested it from a Web App hosted in Tomcat, It throws a ...

Help building a wrapper

2930 byte By hockeymann44a at 2007-10-3 8:16:55
Hello all, I'm relaying what I understand from a gentleman that I am working with, so forgive me if I don't get all the information you might need to help me. Currently, I'm programming on a Garmin M5 that, provided with it, is a SDK called iQue. By what I understand, it's made to be used ...

Unexpected JVM crash

2029 byte By sreenathreddya at 2007-10-3 8:20:32
We are using java 1.4 and Jboss is running on Linux dual core system . We recently got a core dump , with out not much load on memory Can you let us know what could be the reason for this ?I see that a signal 10 is being raised showing that its generated in case of hardware fault Here is the ...

Exception in thread "main" java.lang.UnsatisfiedLinkError

1353 byte By Latchua at 2007-10-3 8:20:39
My program:public class Test {public static void main(String[] args) throws Exception{String libraryPath = System.getProperty("java.library.path");System.out.println(libraryPath);System.setProperty("java.library.path", libraryPath + ...

connect java and prolog

140 byte By gobayaa at 2007-10-3 8:20:40
i have logical backend with prolog and front end with java.some java variables must pass into prolog.how can i connect two languages.

Exchange of field info between Objects of same class

262 byte By pradeepgbhata at 2007-10-3 8:21:56
Hi, I am a beginner in Java and this question might seem trivial.....I just wanted to know if there is a way to exchange field information between 2 objects of same class. Any help/comment regarding this is appreciated.Thanks, Pradeep

Full GC again...

3673 byte By alexmma at 2007-10-3 8:22:19
Hi,I can not figure out what makes VM to run Full GC from time to time like in the listing below...Any ideas ?thanks,AlexJRE 1.5.0_06, Linux 2.6.9java -Xms300M -Xmx300M -XX:ThreadStackSize=100 -Xss100K -server -XX:NewSize=80M -XX:MaxNewSize=80M -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=80 ...

Major Java Problem - I'd appreciate quick help :)

6814 byte By K3zzeRa at 2007-10-3 8:26:49
Well, i load a program that i use called STS, and it closes after about 2seconds, and i get this error.## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7394fc, pid=2856, tid=2664## Java VM: Java HotSpot(TM) Client VM ...

How To Make Setup/exe file for Swing based Project

180 byte By PERFORMANCEa at 2007-10-3 8:28:07
hello everybody,i completed a swing project and i want to make its as a setup file so i installed in any computer, how this posiible.......... plz help its urgent....

EXCEPTION_ACCESS_VIOLATION

11714 byte By GoLuM83a at 2007-10-3 8:36:57
Hi i have an EJB in jboss, it use IIOP to conect a c# client its working but some times it crash with the followin error message can some one help me:## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10001a41, pid=4560, ...

EXCEPTION_ACCESS_VIOLATION Jni Wrapper

11696 byte By GoLuM83a at 2007-10-3 8:37:22
Hi i have an EJB in jboss, it use IIOP to conect a c# client its working but some times it crash with the followin error message can some one help me:## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10001a41, pid=4560, ...