- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Berkeley DB Java Edition
Operating System - OpenVMS
1819925
Members
3276
Online
109607
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 11:32 PM
08-18-2005 11:32 PM
Berkeley DB Java Edition
I get the following error when running the SimpleExample. It creates the db files in xxx$java:[000000.test]
00000000.JDB;1 JE.LCK;1
com.sleepycat.je.log.LogFileNotFoundException: Couldn't open file /xxx$java/te
st/00000000.jdb: /xxx$java/test/00000000.jdb (file currently locked by another
user)
at com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java)
at com.sleepycat.je.log.FileManager.truncateLog(FileManager.java)
at com.sleepycat.je.log.LastFileReader.setEndOfFile(LastFileReader.java)
at com.sleepycat.je.recovery.RecoveryManager.findEndOfLog(RecoveryManage
r.java)
at com.sleepycat.je.recovery.RecoveryManager.recover(RecoveryManager.jav
a)
at com.sleepycat.je.dbi.EnvironmentImpl.(EnvironmentImpl.java)
at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java)
at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java)
at com.sleepycat.je.Environment.(Environment.java)
at SimpleExample.SimpleExample.run(SimpleExample.java)
at SimpleExample.SimpleExample.main(SimpleExample.java)
00000000.JDB;1 JE.LCK;1
com.sleepycat.je.log.LogFileNotFoundException: Couldn't open file /xxx$java/te
st/00000000.jdb: /xxx$java/test/00000000.jdb (file currently locked by another
user)
at com.sleepycat.je.log.FileManager.makeFileHandle(FileManager.java)
at com.sleepycat.je.log.FileManager.truncateLog(FileManager.java)
at com.sleepycat.je.log.LastFileReader.setEndOfFile(LastFileReader.java)
at com.sleepycat.je.recovery.RecoveryManager.findEndOfLog(RecoveryManage
r.java)
at com.sleepycat.je.recovery.RecoveryManager.recover(RecoveryManager.jav
a)
at com.sleepycat.je.dbi.EnvironmentImpl.
at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java)
at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java)
at com.sleepycat.je.Environment.
at SimpleExample.SimpleExample.run(SimpleExample.java)
at SimpleExample.SimpleExample.main(SimpleExample.java)
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2005 01:12 AM
08-20-2005 01:12 AM
Re: Berkeley DB Java Edition
I will recreate this thread under a different header. The problem is no with BDBJE but with the OpenVMS JVM.
Using the following will solve this problem
$ define DECC$efs_case_preserve true
$ define DECC$efs_case_special true
$ define DECC$efs_charset true
$ define JAVA$FILE_OPEN_MODE 3
OR
$define DECC$FILE_SHARING ENABLED
However I get an alternate error
com.sleepycat.je.RunRecoveryException: com.sleepycat.je.DatabaseException: Could
n't open file ./00000000.jdb: com.sleepycat.je.RunRecoveryException: IOException
caught: java.io.IOException: bad file number
Using the following will solve this problem
$ define DECC$efs_case_preserve true
$ define DECC$efs_case_special true
$ define DECC$efs_charset true
$ define JAVA$FILE_OPEN_MODE 3
OR
$define DECC$FILE_SHARING ENABLED
However I get an alternate error
com.sleepycat.je.RunRecoveryException: com.sleepycat.je.DatabaseException: Could
n't open file ./00000000.jdb: com.sleepycat.je.RunRecoveryException: IOException
caught: java.io.IOException: bad file number
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP