JVM error on windows 2003 server, tomcat server shutdown

8069 byte By tayotsa at 2007-10-3 3:45:16
hi im new in this tomcat server, im trying to fix a problem where, whenever there are many user access the site, tomcat server will shutdown. and these are the following error.An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION ...

Java 6 (Mustang) GA Release

264 byte By kyleba at 2007-10-3 3:48:23
Does anyone know when the Java 6 GA release is scheduled, if at all? I looked at the JSR but it appears they haven't gotten there yet. We have a 1.3 application, which I would really like to rewrite. I read that 1.3 will be EOL upon this release of Java 6.

Problem With Loading the jars

467 byte By Bankurua at 2007-10-3 3:50:45
Hello Experts, I am facing a problem with loading classes. i have written one application which is running on server.in that application want to use certain jars(Classes)and those jars anmes andclasses inside the jars are same.based on the condition i want to callcorresponding class.can any one ...

An unexpected error has been detected by HotSpot Virtual Machine

871 byte By JavaBarua at 2007-10-3 3:51:15
Hi All,Appreciate if someone knows of this error. I try to run my JBOSS app server but aborted with this error. I'm using Linux on HP Integrity rx2620 machine.Thanks# An unexpected error has been detected by HotSpot Virtual Machine:## SIGSEGV (0xb) at pc=0x43e5f6a5, pid=3560, tid=1383402416## ...

j-Interop: DCOM Access without JNI.

649 byte By vikram.roopchanda at 2007-10-3 3:51:21
For anyone interested: j-Interop implements DCOM wire protocol (MSRPC) to enable development of Pure Bi-Directional, Non-Native, Java applications which can interoperate with any COM component.The implementation itself is purely in Java and does not use JNI to provide native access,thus being ...

Frequent VM Crashes

10672 byte By theShticka at 2007-10-3 3:55:51
The JVM on my computer crashes alot. (Meaning, I almost never get to keep my programs running for more than an hour unless I'm not using them while they run. Frequently the crash will occur while my programs, Eclipse/NetBeans are starting up.) Originally I noticed the problem using Eclipse, ...

JVM using too much CPU % on unix machine

386 byte By aeona at 2007-10-3 3:56:25
I have a server application coded in java. On the windows machine it uses 0.0% cpu when it is empty and waiting for new users.When trying it on a unix server, starting up the application makes the cpu go up to something like 80%, then *slowly* dropping down towards something like 7%.Why is ...

Strange performance issue

1051 byte By JudgeJa at 2007-10-3 3:57:07
Hi,I've been programming Java professionally for 10 years and I've seen som weird sh*t over the years, but this one takes the cake:I have a huge complex application that does all kinds of funny stuff with doubles. In a specific test case, one method is called ~3000 times and covers 25% of ...

can't follow heap allocatin

476 byte By tbaessle123a at 2007-10-3 3:57:57
hello, hope my english skills are enough for understanding... :-)Problem / Configuration:JVM 1.3.1_01 - -Xms2048 / Tomcat 4.0.6 / SunOS 5.8 (don't want discuss about this configuration - i know it's not a good buildup, but not changeable at the moment)during a request of an file (PDF) with ...

System.nanoTime()

628 byte By Imagictv01a at 2007-10-3 3:58:22
I am having a problem with System.nanoTime() using jdk 1.5.0_06 running Solaris 9 on a SunFire V240. The method call only returns an accuracy of 10 milliseconds. I realize there is an unsupported/ not recommended setting in the etc/system file that you can change but I wouldn't think this ...

list of virtual machine arguments

450 byte By arunmp25a at 2007-10-3 3:59:13
Can any one post the list of virtual machine argumentswhile browsing the net i found two arguments-noasyncgc : used to disable garbage collection Deprecated-prof[<file>] : Outputs profiling data to a file called java.prof this gives me a message as Dumping CPU usage in old prof format ... ...

usage of DLL (or .so) file with JNI

522 byte By wardena at 2007-10-3 4:03:40
Hello,I have read the example at http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jniexamp.htmlbut I have one problem.If I understood this example well, then I have to have access to the header file of my DLL file.My problem is that I only have a compiled version of dll file ...

OS and JVM time difference

596 byte By rich_art28a at 2007-10-3 4:04:03
Hi,I have a bit of problem with my production server today. Just happened to notice that there is 42secs difference between my OS time (running on HP-UX) and JVM time (represented by my apps).A simple comparison using Java code in JSP and Unix's date command, shows there is 42 seconds gap. The ...

Reducing -Xss on Solaris

821 byte By lyaffea at 2007-10-3 4:05:38
When running on Solaris the default thread stack size is 512K.This limits the number of threads per process. In thoery a 32bit Java process may open up to around 6000 threads (3GB/512K)In fact in my tests I found that by default a Java process on Solaris can open around 3800 before receiving ...

hs_error_pid help

12522 byte By d.silvaa at 2007-10-3 4:08:33
wen i play runescape it closes by itself then i get this error## An unexpected error has been detected by HotSpot Virtual Machine:## Internal Error (415353454D424C45523F491418160E43505001A5), pid=3420, tid=4052## Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode) T H R E A D Current ...

mortgeage calculator help

3976 byte By sdf-1a at 2007-10-3 4:09:42
Here is my code for the mortgage calculator. Please look over it and tell me where I am going wrong. The third and last lines is where I get my errors tell, what is needed.import java.io.*;import static java.lang.Math.*;public class keyin.java //Class for input streams into your code <'{' ...

Are all local variables indexed consecutively?

894 byte By Sunny_Daya at 2007-10-3 4:09:57
Dear All,In JVM, each frame contains an array of variables addressed by indexing. I am wondering if all local variables must be stored consecutively in the array. For example, is it possible for this scenario to happen: The length of the local variable array is 10, and a compiler translates 3 ...

JVM:Uses

222 byte By Absaar_haqa at 2007-10-3 4:10:53
Hi,Ok I know JVM provides a base through which Java works on any platform.But I need to know what is the actual use of JVM apart from converting our programs to byte code.I want to know what JVM really do in and out

problem with calling DLL function!

824 byte By tamria at 2007-10-3 4:11:17
I have a activeX object - file1.dll file, I want to load this dll on my java bean with jni.I have so problem:when I loaded library whith System.loadLibrary it doesn't work, bat in c++ it works, I recognized that problem was in dll file. I make new newfile.dll on c++ , which calls this old ...

NEW to JNI..

373 byte By shay_tea at 2007-10-3 4:12:26
I try'd the example of JNI Creating an DLL from a some C files..and it's work'd fineIn my case in need to use JNI on API written in C that i gotthe files that i have are some H files and one LIB filewhat sould i do ..i must load an DLL file ,can i load the LIB file.dont know what to ...

Windows OLECHAR to Java String conversion

1206 byte By jasonpolitesa at 2007-10-3 4:15:43
Hello all,I have one of those issues no-one wants. I have some JNI code used to interface with a C++ COM object on a Windows platform.The COMponent exposes a particular method which demands a reference to a OLECHAR array with a fixed length.The documentation for the COMponent does not specify ...

NEED BIG HELP PLEASE!!!!!

735 byte By Fyobla at 2007-10-3 4:17:38
ok this is whats happend my ISP is with NTL and i went on holiday and forgot to pay the bill so when i got back i was cut off but i paid the bill and got put back on i was on the 1MB boardband and i tryed to play runescape but when i open it all it dose is stay at LOADING GAME ENGINE and after ...

HotSpot Error when closing shell

755 byte By NMBa at 2007-10-3 4:19:43
DOES ANYONE KNOWS WHAT THAT ERROR MEANS?IT ACCURED WHEN I'M CLOSSING A SHELL2 THAT ANOTHER SHELL OPENED (ONLY SHELL2 WAS SUPPOSED TO CLOSE, BUT INSTEAD BOTH OF THEM ARE, AND I GET THIS ERROR)## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION ...

JVM Internals best book

163 byte By mikeg1za at 2007-10-3 4:19:52
Hi,There are several books that deal with JVM. All are fairly expensive.Any recommendation for the better choice?Thanks,-Michael

UnsatisfiedLinkError

1569 byte By radonea at 2007-10-3 4:21:18
I have native app that is linked as: gcc -g -Wall esdrec.c -o esdrec -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -L/usr/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0Now I want to use some parts as native method in my app - so I ...

JVM , JRE , JDK

42 byte By AHKReddya at 2007-10-3 4:21:38
what are exactly Jdk , JVM, and JRE

SAX and JNI

2113 byte By matthewa at 2007-10-3 4:28:45
I'm having problems using Java classes from C. I've managed to trace the problem as far as the SAX parser, but I have no idea why there's a problem at all. With the -verbose:jni option on, there's a message: "Unable to read from file" and then the JVM stops (crashes actually.)I create a VM ...

JVM and Software qualities

414 byte By kris82a at 2007-10-3 4:30:15
Hello all, i was wondering if anyone could redirect me to the appropriate material. i am working on a paper where i was making a research if JVM is scalable, evolvable(in the sense new layers can be added), if the jvm can be easily modified. I guess this is confusing but i can post with some ...

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

7247 byte By surya_reddysa at 2007-10-3 4:32:26
I got This Exception when i tried to run the applet which inturns interact with the javascripts.. Is it a Problem of IE ?An unexpected exception has been detected in native code outside the VM.Unexpected Signal : unknown exception code occurred at PC=0x7c59bc3fFunction ...

jvm monior

162 byte By rajisheva at 2007-10-3 4:32:36
our webapplication running with java1.4.2,tomcat 5 and apache with mod_jk connector. is there any tool available for the live view of the heap size of jvm?

problem loading shared library under linux

676 byte By AntonioFabio82a at 2007-10-3 4:33:28
I'm trying to get working a simple helloWorld program from the sun jni tutorial.I use gcc-4.0. I've compiled HelloWorld.c with:gcc -c HelloWorld.c -I/opt/jdk1.5.0_08/include -I/opt/jdk1.5.0_08/include/linux -fPIC and linked with:gcc -shared -Wl -o libhello.so HelloWorld.oBut when running the ...

UnsatisfiedLinkError when loading native libraries in Linux

2798 byte By pipegeeka at 2007-10-3 4:34:08
Hi, folks.I'm currently in the process of writing a Java wrapper for a c++ library, which is in turn associated with a driver for a particular I/O card (none of which is important). The problem I'm running into is as follows:There are three shared objects that need to be loaded: one which ...

An unexpected error has been detected by HotSpot Virtual Machine

19749 byte By jeanaa at 2007-10-3 4:34:57
I'm sorry if this is a lame question, but I'm a bit confused about what Java Hotspot is, exactly. It is just a pasrt of the Java code that is used for writing/running Java applications (such as games) - or is it a client/host remote computer application? This error log unexpectedly appeard on ...

Unreferenced objects not getting collected

2034 byte By JohnFisha at 2007-10-3 4:36:13
Hi guys. I have a memory hungry application and I have run into serious problems lately (exceeded heap size etc).What happens is that there is an algorithm that runs continuously (every x minutes) in 10 separate threads. Actually each thread contains a variation of the algorithm. Thread access ...

JNI JFileChooser exception

3386 byte By MattFranklin1a at 2007-10-3 4:37:08
I am using JNI to provide swing gui's for my C++ application. My evironment is Visual C++.NET 2003, Java 1.5.0_08. Every now and again it falls over for no apparent reason. It seems to be associated with awt events but happens at random locations at random times. My C++ app is single threaded ...

CIGBUS Occurred ...why

115 byte By Indranil.Sarkara at 2007-10-3 4:39:31
I am getting an error " Full Thread Dump" and jvm crashes. Why this is happening and how I would handle it ?

Outof Memory Error

273 byte By sheelatta at 2007-10-3 4:39:59
I am working in weblogic,when ever the power goes off,the domain is not working.when i starts the server,i am gettingOut of Memory ErrorNo stack trace availableso pls tell me how to come out of this problem.thanks in advance

Will final referenced objects be garbage collected just like other objects?

725 byte By Suo_alexa at 2007-10-3 4:45:15
Hi all,I have just finished spoting some memory leaks in my system; in which it seems that the objects pointed by final references seems not garbage collected (or not as efficiently as other objects).So may I ask 1. Will the final references themself be recycled when getting out of the ...

Full Thread Dump...Deadlock occured in the code

1993 byte By Indranil.Sarkara at 2007-10-3 4:46:43
The following code generates error saying the following description:ERROR Start:SIGBUS occured.Full thread dump:"main" (TID:0x66c9360, sys_thread_t:0x7ad4f10, taskId:0x7ae447c state:runnable name:tJmain, stack_base:0x7ae447c, stack_high:0x1080 stack_size:19696) prio=5"Finalizer thread" ...

Hotspot Crash Tablet PC

5650 byte By JonWondera at 2007-10-3 4:47:29
I am currently writting a large system that is designed for tablet PCs and non-tablet laptops that have a wacom tablet interface.We are using Installshield to install the program onto machines. Currently, the program installs fine on non-tablet pcs, everything runs and all the drawing ...

jdk 1.5.0_06 memory lead

357 byte By myra21424@hotmail.coma at 2007-10-3 4:49:54
now we change the jdk from 1.4.1_02 to 1.5.0_06. And our app has 8 jvm. Before , each jvm would not take much memory , by using prstat -a , we can see each jvm occupy RSS=92M max. But after changing to 1.50_06, each JVM will exceed 100M by using command prstat -a to check the RSS. We can not ...

Class not found in VC6?

1852 byte By AllenZhua at 2007-10-3 4:55:59
Yesterday, under the VC6 & JDK1.5.0_06 environment I tested JNI, encountered the following problems. After compiling & linking, executed "M_env->FindClass in m_cls = ( "htmlparser_test/Demo"); " the return value m_cls = Null.However, if I remove the code of method pageParser(), ...

An unexpected error has been detected by HotSpot Virtual Machine

43672 byte By kioyaa at 2007-10-3 4:57:15
Hello AllPlease help us!"An unexpected error has been detected by HotSpot Virtual Machine" error was happened on our server.We serve online application to our customers by Tomcat & JVMOur server's spec:HP ProLiant DL360 Dual Xeon 3.00GHz-1MB/800MHz Mem.4GBSoftware:Red Hat Enterprise Linux ...

JVM max heap size

1129 byte By bombaa at 2007-10-3 4:59:16
Hi,JVMs have a max heap memory size. I thought until recently that this was limited by the type of addresses supported by jvm / os / hardware - for example 32-bit or 64-bit. So that for a 32-bit JVM the max heap size is 2^32 ~ 3 GB. Now I have heard that some JVMs can actually have a much ...

does GetDirectBufferAddress return an aligned void*

490 byte By p7ea at 2007-10-3 5:04:12
Hi,Lets say I call java.nio.ByteBuffer.allocateDirect(10000) in the JVM, and then with a native function, pass both the ByteBuffer object and its size to the JNI library that uses it. Then the JNI library calls GetDirectBufferAddress to get the beginning void* address of this buffer.My question ...

SetByteArrayRegion Behavior

562 byte By jheddingsa at 2007-10-3 5:04:25
I was wondering if someone could help me understand this better...I have a large amount of memory generated in a C++ application that I want to make available to my JVM. I'm currently using SetByteArrayRegion() to get the data into my Java object, however I believe that this is making a copy ...

applet fails to connect behind isa server 2004

6407 byte By josky.jaraa at 2007-10-3 5:05:38
hi, for security I have to activate authentication on Isa server 2004 and under this configuration the applet can't connect here is the log:NETg Learning Studio (Web) 3.1.8.8Copyright ?1997-2005 Thomson NETg, a division of Thomson Learning, Inc. All rights reserved.java.vendor = Sun ...

Setting JVM options

1150 byte By Jevelopera at 2007-10-3 5:10:52
Hi All,Thank you for any reply on this topic.I have a problem with JVM on my Virtual hosting where i have 470 megs of ram available in total.when i type java -version in command line, i get Cannot allocate ...memoryCannot start the java virtual machine,.... blah blahjust 2 lines, you get the ...

50 java applications

735 byte By lowmema at 2007-10-3 5:12:09
In my application I need to run 50 jars from a NT service (Windows 2003 server - Sun Java 1.5).I found that each jar application uses to much memory (say 20 MB virtual memory).Applications problem?I tried with a simpler app:public class testJVM {public static void main(String[] args) ...

Is -Xss really a valid solution for StackOverflowError

349 byte By Trushanta at 2007-10-3 5:17:16
hiI have a deep recurrsion in my program which on specfying no jvm arguments throws a StackOverflowError. But on specifiying -Xss30m, my application does not throw the error but when i see the results page of my application a large set of entries are missing.Why does this happen ...can i get a ...