dbTalk Databases Forums  

Sequence Error in Berkeley DB 4.5.20

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


Discuss Sequence Error in Berkeley DB 4.5.20 in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
theschooligan@gmail.com
 
Posts: n/a

Default Sequence Error in Berkeley DB 4.5.20 - 01-03-2007 , 07:41 PM






Hello,

I'm getting an error when I try to open a new sequence using Berkeley
DB 4.5.20.

I tried compiling and running the provided Java example:
examples_java\src\db\SequenceExample.java

Here's the error that I received:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x02ee63ea, pid=268,
tid=3396
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode,
sharing)
# Problematic frame:
# C [libdb45.dll+0xa63ea]
#
# An error report file with more information is saved as
hs_err_pid268.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

I can provide the contents of the error report file if needed.

Note that I'm running this using Java jre1.5.0_10.

What might be causing this error? Any thoughts would be appreciated.

Thanks,
Patrick Johnson


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

Default Re: Sequence Error in Berkeley DB 4.5.20 - 01-03-2007 , 07:48 PM






Hi,

You should apply the patches available for the 4.5.20 release, and
rebuild the Berkeley DB library. There is a fix for creating sequences
created through the Java API.

Patches available here:
http://www.oracle.com/technology/pro...ch.4.5.20.html

The best place to post questions about Berkeley DB in the future is:
http://forums.oracle.com/forums/forum.jspa?forumID=271

Regards,
Alex


Reply With Quote
  #3  
Old   
theschooligan@gmail.com
 
Posts: n/a

Default Re: Sequence Error in Berkeley DB 4.5.20 - 01-04-2007 , 11:07 AM



Thanks for your help.

I'm running on Windows XP and don't have the tools to rebuild the
Berkeley DB library. Is this patch included in the latest release
build? Or is there another place where I can get the library with the
patch applied?

Thanks for the note about using the OTN forums for future questions.
I'll do that.

Thanks,
Patrick


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.