Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6236813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:54:43+00:00 2026-05-24T10:54:43+00:00

I have a BerkeleyDB database with a .tld extension (eBay Turbolister file). Linux command

  • 0

I have a BerkeleyDB database with a .tld extension (eBay Turbolister file). Linux command ‘file’ confirms this is a BerkeleyDB database.

I am following the tutorial at http://download.oracle.com/docs/cd/E17277_02/html/collections/tutorial/opendbenvironment.html.

The com.sleepycat.je.Environment constructor accepts a directory, not a file. Reading a little, I found this directory is supposed to contain the database file and other files such as logs.

My question is: how do I specify the filename of the database to open – or does the database file need to have a specific filename? Second, does the file need to be in its own dir?


Some complimentary information to the answer below I found after browsing the API JavaDoc:

com.sleepycat.je.Environment has the following method that accepts a filename:

public Database openDatabase(Transaction txn,
                             String databaseName,
                             DatabaseConfig dbConfig)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:54:44+00:00Added an answer on May 24, 2026 at 10:54 am

    The tutorial you mentioned is for the Java Edition of Berkeley DB. Are you sure that your database file is created with the Java Edition?

    The native version of Berkeley DB has also a Java binding but uses the native libraries. Maybe this fits better?

    Included in the native version are command line tools like db_stat and db_verify. You can use these tools to check your file without the need to write a program.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the database /home/panayk/Desktop/panag_3/panag_3.tld: $ db_verify /home/panayk/Desktop/panag_3/panag_3.tld Verification of /home/panayk/Desktop/panag_3/panag_3.tld succeeded. BerkeleyDB refuses
I have a set of Berkeley DB files on my Linux file system that
Have some dates in my local Oracle 11g database that are in this format:
Well i have a berkeleydb file and i wish to parse it with php.
Possible Duplicate: Reading binary file from URLConnection Now I have a URL: ( http://elsa.berkeley.edu/~saez/TabFig2005prel.xls
I'm using BerkeleyDB to develop a small app. And I have a question about
I have a berkeley db file (*.bdb) which is created by the C implementation(python
I need a fast, reliable and memory-efficient key--value database for Linux. My keys are
I'm building OpenLDAP on a RHEL 5; I used instructions found at http://www.linux.com/archive/feature/113607 .
I have started playing around with Berkeley DB. This one is really interesting, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.