Problem when open the Java Berkeley DB

I'm using the Java Berkeley DB version: je-6.2.31.jar
- My database has about 4 GB of info.
- I use a Replicated Environment (but now I'm currently pointing the -nodeHost and -helperHost to the same IP and port)
- I'm using a StoredSortedMap to store some key/value info. (sorted duplicates is set to true)
I use the database correctly for some time.
Normaly I open the database and close many times;
There is enough disk, and I already tested it in different HDs, (even with a SSD)
I casually receive the bellow error, it's not more possible to open the data base:
com.sleepycat.je.EnvironmentFailureException: (JE 6.2.31) Problem creating output files in: E:\data\database/je.info UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects.
  at com.sleepycat.je.EnvironmentFailureException.unexpectedException(EnvironmentFailureException.java:330)
  at com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1484)
  at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:474)
  at com.sleepycat.je.rep.impl.RepImpl.<init>(RepImpl.java:267)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
  at com.sleepycat.je.dbi.DbEnvPool.loadRepImpl(DbEnvPool.java:242)
  at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:178)
  at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:251)
  at com.sleepycat.je.Environment.<init>(Environment.java:232)
  at com.sleepycat.je.Environment.<init>(Environment.java:188)
  at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:573)
  at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:443)
  at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:507)
Caused by: java.io.IOException: Couldn't get lock for E:\data\database/je.info
  at java.util.logging.FileHandler.openFiles(FileHandler.java:422)
  at java.util.logging.FileHandler.<init>(FileHandler.java:394)
  at com.sleepycat.je.util.FileHandler.<init>(FileHandler.java:85)
  at com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1478)
  ... 24 more

I got the same behavior again:
I open and close the DB many times about 50 times.
OBS: I interrupt the java process abruptly not by API.
I think this is not a reason to get the files easily corrupted...
com.sleepycat.je.EnvironmentFailureException: (JE 6.2.31) Problem creating output files in: E:\data\database/je.info UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects.
  at com.sleepycat.je.EnvironmentFailureException.unexpectedException(EnvironmentFailureException.java:330)
  at com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1484)
  at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:474)
  at com.sleepycat.je.rep.impl.RepImpl.<init>(RepImpl.java:267)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
  at com.sleepycat.je.dbi.DbEnvPool.loadRepImpl(DbEnvPool.java:242)
  at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:178)
  at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:251)
  at com.sleepycat.je.Environment.<init>(Environment.java:232)
  at com.sleepycat.je.Environment.<init>(Environment.java:188)
  at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:573)
  at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:443)
  at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:507)
Caused by: java.io.IOException: Couldn't get lock for E:\data\database/je.info
  at java.util.logging.FileHandler.openFiles(FileHandler.java:422)
  at java.util.logging.FileHandler.<init>(FileHandler.java:394)
  at com.sleepycat.je.util.FileHandler.<init>(FileHandler.java:85)
  at com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1478)
  ... 24 more

Similar Messages

  • Problem when opening the database

    Hi,
    OracleVersin:10.2.0.1
    OperatingSystem:linux
    When i restart my server and trying to start the database it is not starting .And it is throwing the following error.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  838860800 bytes
    Fixed Size                  1222144 bytes
    Variable Size             213912064 bytes
    Database Buffers          616562688 bytes
    Redo Buffers                7163904 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
    ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'
    SQL> alter database archivelog;
    alter database archivelog
    ERROR at line 1:
    ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
    SQL> shut immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area  838860800 bytes
    Fixed Size                  1222144 bytes
    Variable Size             213912064 bytes
    Database Buffers          616562688 bytes
    Redo Buffers                7163904 bytes
    Database mounted.
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
    ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'please help me

    Hi,
    Here is the output of the logfile
    tarting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      processes                = 300
      __shared_pool_size       = 205520896
      __large_pool_size        = 0
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      sga_target               = 838860800
      control_files            = /u01/app/oracle/oradata/VSMIG/control01.ctl, /u01/app/oracle/oradata/VSMIG/control02.ctl, /u01/app/oracle/oradata/VSMIG/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 620756992
      compatible               = 10.2.0.1.0
      db_file_multiblock_read_count= 16
      db_recovery_file_dest    = /u01/app/oracle/flash_recovery_area
      db_recovery_file_dest_size= 2147483648
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=VSMIGXDB)
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/oracle/admin/VSMIG/bdump
      user_dump_dest           = /u01/app/oracle/admin/VSMIG/udump
      core_dump_dest           = /u01/app/oracle/admin/VSMIG/cdump
      audit_file_dest          = /u01/app/oracle/admin/VSMIG/adump
      db_name                  = VSMIG
      open_cursors             = 300
      pga_aggregate_target     = 201326592
    PMON started with pid=2, OS id=3205
    PSP0 started with pid=3, OS id=3207
    MMAN started with pid=4, OS id=3209
    DBW0 started with pid=5, OS id=3212
    LGWR started with pid=6, OS id=3214
    CKPT started with pid=7, OS id=3216
    SMON started with pid=8, OS id=3218
    RECO started with pid=9, OS id=3220
    CJQ0 started with pid=10, OS id=3222
    MMON started with pid=11, OS id=3224
    Wed Nov 11 16:41:56 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=3226
    Wed Nov 11 16:41:56 2009
    starting up 1 shared server(s) ...
    Wed Nov 11 16:41:56 2009
    ALTER DATABASE   MOUNT
    Wed Nov 11 16:42:00 2009
    Setting recovery target incarnation to 3
    Wed Nov 11 16:42:00 2009
    Successful mount of redo thread 1, with mount id 1073552788
    Wed Nov 11 16:42:00 2009
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE   MOUNT
    Wed Nov 11 16:42:07 2009
    alter database open
    Wed Nov 11 16:42:07 2009
    Errors in file /u01/app/oracle/admin/VSMIG/bdump/vsmig_dbw0_3212.trc:
    ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
    ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'
    ORA-27086: unable to lock file - already in use
    Linux Error: 11: Resource temporarily unavailable
    Additional information: 8
    Wed Nov 11 16:42:07 2009
    Errors in file /u01/app/oracle/admin/VSMIG/bdump/vsmig_dbw0_3212.trc:
    ORA-01157: cannot identify/lock data file 13 - see DBWR trace file
    ORA-01110: data file 13: '/u06/oradata/APAYPROD_90616.dbf'
    ORA-27086: unable to lock file - already in use
    Linux Error: 11: Resource temporarily unavailable
    Additional information: 8
    ORA-1157 signalled during: alter database open...
    Wed Nov 11 16:57:00 2009
    db_recovery_file_dest_size of 2048 MB is 75.04% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.

  • How to solve the problem when opening program illustrator cs6 ERROR: 16 It is WINDOWS 8.1 / 64 BIT help please

    how to solve the problem when opening program illustrator cs6
    ERROR: 16
    It is WINDOWS 8.1 / 64 BIT
    help please

    Thanks, Jeff! The file Adobe Setup Error.log contains the following information:
    02/14/14 07:20:26:474 | [INFO] |  | OOBE | DE |  |  |  | 8860 | DEVersion: 5.0.0.0
    02/14/14 07:20:26:475 | [INFO] |  | OOBE | DE |  |  |  | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    ::START TIMER:: [Total Timer]
    CHECK: Single instance running
    CHECK : Credentials
    Load Deployment File
    CHECK : Another Native OS installer already running
    Create Required Folders
    Assuming uninstall mode
    Lookup for master payload
    [    8860] Fri Feb 14 07:20:26 2014 ERROR
    DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    :: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    Please search the above error/warning string(s) to find when the error occurred.
    These errors resulted in installer Exit Code mentioned below.
    Exit Code: 33 - The product is not installed, cannot uninstall.
    Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ...

  • I have a problem when updated the new release of iphoto version(11 jun 2012). After that I cannot open any photo libraries and program is error.

    I have a problem when updated the new release of iphoto version(11 jun 2012). After that I cannot open any photo libraries and program is error. I must to force quit iphoto window. There are any fixed bug update.

    If you have no photos:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and start.
    Regards
    TD

  • Hello. I have a new Computer and import my mediathek with an externe storage. When opened the new Mediethek in front of every song there is a explanation mark: original song could not been found. I try everything. Whats the Problem??

    Hello. I have a new Computer and import my mediathek with an externe storage. When opened the new Mediethek in front of every song there is a explanation mark: original song could not been found. I try everything. Whats the Problem??

    But it seems the OP has a setup where the media is on the external drive, and the library files are on the internal. This is what I refer to as a split library, Migrating such from one computer to another is not straightforward. Often iTunes will have some definite idea about where the files should live, and updating the setting of the media folder won't change that. If it requires a drive letter change that is usually not too hard, but sometimes there is another preference file that needs tweaking to indicate which of the old & new layouts for the library is being used. In more extreme cases I have a script for automatically making track by track repairs.
    tt2

  • I have a problem when opening a profile on Facebook. when I open the main page and facebook all ok but when I try to open your Firefox profile my block! what the problem ????? before me it was happening but now when I installed Firefox 4

    I have a problem when opening a profile on Facebook. when I open the main page and facebook all ok but when I try to open your Firefox profile my block! what the problem ????? before me it was happening but now when I installed Firefox 4

    WiFi signals get stronger the closer the machine is to the router and the less interference/blocking of the signal like via walls with metal in them or of thick concrete.
    Since the signal emanates outwards in a sphere, your supposed to place the wireless router in a central location in the building so it covers all areas.
    The power of the router also has a affect, if your router is old or something not that powerful like a Airport Express, it doesn't have the ability to filter out other signals or enough punch to get through walls etc. or cover a large area as effectively.
    If you buy/have a powerful router of newer make and have issues where there is metal in the walls or thick concrete, then you can buy something like OpenMesh and by using Ethernet cables from the back of the router, extend the WiFi signal into other rooms and areas past the blockage.
    https://www.open-mesh.com/

  • I have a problem when opening author book samples in iPad they dont open at the first page,

    i have a problem when opening author book samples in iPad they dont open at the first page, they open further in, can you explain what i need to do to correct this , Ron Ritter

    Book? I thought you said sample?
    Not sure how that is possible, sorry.
    How many users out of the total downloaded are having this issue?

  • Problem in opening the file

    I have a file I have problems in opening the file
    The file exists in this link
    http://www.multiupload.com/ZOQT6RW8PK
    When I open the file shows the following messages
    I used All Adobe Reader versions, But no avail
    I need a quick solution
    Waiting for your reply

    You may contact the support of the creator of this plugin.

  • Noise when opening the screen in MacBook Pro 17 Unibody

    Hello, I am noticing that when opening the screen, the hinge does like a noise.
    He is similar to, clack! It does right when being in the form of L, upwards and downwards.
    Some idea that it can be?
    Thanks

    I had the same problem with my Macbook Pro as well, what I did was that i opened the screen as far as it could go and kept there for a few seconds, and when I closed and reopened the screen it never did it again, never made the that clicking noise again. Try it out and see if it works for you. Take care and best of luck

  • When opening the Calendar app, I am greeted with a box that says "This calendar can not be refreshed."  After clicking on "OK" another box pops up saying "The server responded with an error."  How can I get rid of these?

    When opening the Calendar app, I am greeted with a box that says "This calendar can not be refreshed," and after clicking ok there is another box saying "The server responded with an error."  How do I get rid of this.  The calendar functions all right, but just have to close both of those boxes after doing any action in the calendar app.

    Please take each of the following steps that you haven't already tried, until the problem is resolved. Back up all databefore making any changes.
    Step 1
    From the Calendar menu bar, select
    Calendar ▹ Preferences ▹ Accounts
    Choose the affected account from the list on the left and uncheck the box marked
    Enable this account
    Then check the box again. Test.
    Step 2
    Make a note of the account settings, then delete the account and add it back with the same settings.
    Step 3
    If you can't add the account, the settings may be invalid. Verify them. How you do that depends on what kind of account it is. If it's a Google calendar and you've activated 2-step verification, you need to generate an application-specific password in your Google account and enter it in place of your old password.
    Step 4
    Quit Calendar. Triple-click the line below on this page to select it:  
    ~/Library/Calendars/Calendar Cache  
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a file named "Calendar Cache" selected.
    Move the selected file to the Trash. There may be one or two other files in the same folder with names that begin in "Calendar Cache". If so, delete those files too.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Problem of openning the queries.

    Dear experts,
    I have a problem in openning the existant queries.
    The BEX analyse shows the infomation as "No entry" when i tried to open a query.
    And then i did some tests. I found that
    when i delete a query, (ex:
    Name: BtoB: Search for the new materials
    Technical Name: BPS_Test_V001.)
    And I then open another query and modify it and to save it again as
    (BtoB: Search the new materials
    Technical Name: BPS_Test_V001) . The system allow me to save it like that(i changed a bit the query's name). But after i close it, i could not open it again.
    Did anybody also meet such problem? And why?
    Thanks

    Hi,
    we have been facing such kind of issues that were caused by technical names / descriptions that were too long. Please try to save with short description / technical name, maybe you can now open your queries. This issue can be fixed with some additional .dll...
    Best regards,
    Björn

  • I can't open the JAVA webstart in WinXP (JSDK1.5.0beta2)

    When I click in javaws.exe the program opens the "Java application cache viewer" but does not load the Java Web Start.
    Someone know if it is a know bug or if is just of my own system?

    Sorry, was to caught up with the Java Control Panel issue...
    Okay, the confusion is that with 1.5.0 b2, the Application Manager that you were used to got replaced with the Java Application Cache Viewer
    ( downloaded items are said to be cached on the local computer hence the name)...
    If you look at the View menu, you can look at all downloaded item, or just applications, applets and so on...
    If you look at the Application menu, you can Launch the selected application Online or Offline...
    the Java Application Cache Viewer will have most of the things that the Application Manager had, the ones that the Viewer do not are now in the Java Control Panel...
    Check your documentation for more details...
    Remember, it 1.5 so thing are bound to change, so look at the Readme(s), the What's New and all other documentation to find out what has changes and what new features are available...
    - MaxxDmg...
    - ' He who never sleeps... '

  • FM GUI_UPLOAD gives PC036 "Error when opening the download file".

    Dear all
    I'm having a problem with a particular PC.
    A program which calls FM GUI_UPLOAD gives the error PC036 "Error when opening the download file".
    The file we are trying to upload is a text file, with tab delimiter.
    If the same user executes the same program from another PCs, it works fine.
    If another user executes the program in the "problematic" PC, it gives the error.
    So, the problem is PC-related.
    I checked SAP GUI Codepage, and was the same as other PCs.
    I cheched regional configuration, and was also the same as other PCs.
    The operating  system is Windows XP, and the SAP GUI version is 7.10,  File version 7100.2.7.3077, Build 967944 , Patch level 7.
    SAP version is ECC6.
    I searched across forums, SAP note, and the web, but I couldn't find anything.
    I would be grateful if someone could give me ideas.
    Thanks in advance
    Jordi

    Hello. The user accounts are have same privilegies (like both are "Power users")? Also the file system are the same in both PC NTFS or FAT32 (today i'm find FAT32 in enterprise ) If NTFS may be some Domain politics are not allow to save file correctly, or space are not enough....Try check this first...Regards.

  • When opening the program LR 5 encounters an error when reading from it's preview cache.

    When opening the program LR 5 encounters an error when reading from it's preview cache. It says it will correct the problem when it re opens. Why does this happen and how do I correct it?

    It means there is an issue with the preview cache.
    If it persists after closing and re-opening Lightroom then you will need to delete the preview folder.
    There is no permanent harm and Lightroom will regenerate the previews on an asneeded basis or the whole image collection if you ask it.
    The previews folder exists in the Lightroom folder and has the name "Your catalog name PREVIEW.LRDATA".
    Make sure it is the the correct folder before deleting it.
    Tony Jay

  • Error occured when open the Analyzer (SAP BW 3.x)

    Dear expert,
    I' m still new in BW. I'm having a problem to open the Analyzer (SAP BW 3.x). When I tried to open, it pop up the error message : " windows cannot find 'C:\Program Files\Common Files\SAP Shared\BW\sapbex.xla.". Below is the specs:
    SAP GUI :  version 710
    ECC Version : SAP NetWeaver 7.0
    BW Version : SAP BW 7.01
    Please help me...I'm stuck and unable to start with my report development.
    Thanks & Regards,
    -SYahida-

    I think the file location has been changed. Or you are using the old Bex login pad. Try to check the Bex installation location in your machine. Or you can try to start from windows (start) menu of the system.

Maybe you are looking for