dbTalk Databases Forums  

JVM Crash with DBXML

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss JVM Crash with DBXML in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default JVM Crash with DBXML - 07-19-2006 , 05:35 PM






I have a pretty simple DBXML Java program that is really just doing a
query against a dbxml database. The problem is if I put this query in a
loop - it will work correctly for a little while and then completely
crash the JVM.

I have not been able to even begin to debug this problem.

The program works fine on one system and then exhibits this behaviour
on another similar system.

The systems are running Windows XP - with at least a gig of memory.

I have been working with George Feinberg from Oracle - but I just
wanted to see if anyone else out there has had problems with DBXML
crashing the JVM.

This program is supposed to be part of a web app - and DBXML was
crashing Tomcat. I have subsequently repackaged the program as a
standlone app and I am still having problems.

Thanks for any leads...
--Dan Galewsky


Reply With Quote
  #2  
Old   
Minxian
 
Posts: n/a

Default Re: JVM Crash with DBXML - 07-22-2006 , 08:19 AM






I met the same problem. After some tries. I can avoid the clash of the
JVM. HOW TO:
1. download the source code from http://www.sleepycat.com
2. download 4 patch files
3. apply the patch to source code.
4. fire up your VC++ compiler and compile the source.
5. There will be debug version and release version of the files which
are under bin and bin/debug directory.
6. copy the bin/debug/* files to the directory where you installed the
dbxml to override the files. NOTE: I only am successful when I use
debug version of DLL.

It's just my experience, but I am away from JVM clash and can continue
my tasks.

Good lucky!



dgalewsky (AT) gmail (DOT) com wrote:
Quote:
I have a pretty simple DBXML Java program that is really just doing a
query against a dbxml database. The problem is if I put this query in a
loop - it will work correctly for a little while and then completely
crash the JVM.

I have not been able to even begin to debug this problem.

The program works fine on one system and then exhibits this behaviour
on another similar system.

The systems are running Windows XP - with at least a gig of memory.

I have been working with George Feinberg from Oracle - but I just
wanted to see if anyone else out there has had problems with DBXML
crashing the JVM.

This program is supposed to be part of a web app - and DBXML was
crashing Tomcat. I have subsequently repackaged the program as a
standlone app and I am still having problems.

Thanks for any leads...
--Dan Galewsky


Reply With Quote
  #3  
Old   
Rupert Woodman
 
Posts: n/a

Default Re: JVM Crash with DBXML - 07-24-2006 , 05:49 AM




I had similar problems.
I made some changes to the code, including no longer executing a checkpoint
and a java garbage collection, and they disappeared. I've not put the
checkpointing and GC code back in yet, tho I plan to, to see if that brings
the problem back.

<dgalewsky (AT) gmail (DOT) com> wrote

Quote:
I have a pretty simple DBXML Java program that is really just doing a
query against a dbxml database. The problem is if I put this query in a
loop - it will work correctly for a little while and then completely
crash the JVM.

I have not been able to even begin to debug this problem.

The program works fine on one system and then exhibits this behaviour
on another similar system.

The systems are running Windows XP - with at least a gig of memory.

I have been working with George Feinberg from Oracle - but I just
wanted to see if anyone else out there has had problems with DBXML
crashing the JVM.

This program is supposed to be part of a web app - and DBXML was
crashing Tomcat. I have subsequently repackaged the program as a
standlone app and I am still having problems.

Thanks for any leads...
--Dan Galewsky




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.