Problem when open the Java Berkeley DB

I use the Java Berkeley DB version: I - 6.2.31.jar

-My database has about 4 GB of info.

-J' use a replication environment (but now I'm currently pointing the - nodeHost and - helperHost on the same IP and port)

-J' uses a StoredSortedMap to store key/value information. (duplicates sorted is set to true)

I use the database correctly for a while.
Normally, I open the database and close several times.

There are enough disc, and I've already tested in different HDs, (even with a SSD)

By chance, I got the error below, it is not more ppossible to open the database:

com.sleepycat.je.EnvironmentFailureException: (EJ 6.2.31) problem out to create the files: E:\data\database/je.info UNEXPECTED_EXCEPTION: Unexpected Exception internal, can have side effects.

at com.sleepycat.je.EnvironmentFailureException.unexpectedException(EnvironmentFailureException.java:330)

at com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1484)

to com.sleepycat.je.dbi.EnvironmentImpl. < init > (EnvironmentImpl.java:474)

to 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)

to com.sleepycat.je.Environment. < init > (Environment.java:232)

to com.sleepycat.je.Environment. < init > (Environment.java:188)

to com.sleepycat.je.rep.ReplicatedEnvironment. < init > (ReplicatedEnvironment.java:573)

to com.sleepycat.je.rep.ReplicatedEnvironment. < init > (ReplicatedEnvironment.java:443)

to com.sleepycat.je.rep.ReplicatedEnvironment. < init > (ReplicatedEnvironment.java:507)

Caused by: java.io.IOException: could not obtain lock for E:\data\database je.info

at java.util.logging.FileHandler.openFiles(FileHandler.java:422)

to java.util.logging.FileHandler. < init > (FileHandler.java:394)

to com.sleepycat.je.util.FileHandler. < init > (FileHandler.java:85)

at com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1478)

... 24 more

Sorry for the long delay before responding. Unfortunately, there is a bug where forum e-mail notifications stop working from time to time.

This line shows the problem:

Caused by: java.io.IOException: could not obtain lock for E:\data\database/je.info

je.info.N files contain monitoring logging. I use java.util.logging for this. The N at the end of the file name is assigned by java.util.logging and it runs from 0 to 9. What can happen is that you ran the names of the log files, or maybe the file is not closed properly (sounds like you're on Windows). Try to move all the files in je.info. * the environment directory and then open again the environment.

-mark

Tags: Database

Similar Questions

  • Facing problem when opening the Form Builder 10 g

    Hi Experts,

    I am facing below error while opening one of the forms developed in the 10g form builder. My laptop's operating system is Windows 7.

    Oracle Forms Designer has stopped working

    Windows can check online for a solution to the problem.

    -> Check online for a solution and close the program
    -> close the program


    Please provide advice or solutions to resolve the above error.

    Thanks in advance

    Meher Irk says:
    Hi Experts,

    I am facing below error while opening one of the forms developed in the 10g form builder. My laptop's operating system is Windows 7.

    Oracle Forms Designer has stopped working

    Windows can check online for a solution to the problem.

    ---> Check online for a solution and close the program
    ---> close the program

    Try this...
    Open form builder.
    Connect to the database.
    Now, open the form.

    I hope this works...

  • Error: Could not find the com.sun.deploy.ControlPanel of the main class when tried to open the Java Control Panel

    Original title: could not open the Java Control Panel

    I just downloaded a new update of Java 6 and it doesn't work. I use Java to view charts & graphs of changes in the stock market & it works with applications that I used before, but not for that I started to use after the new update has been installed.

    I tried to fix it by clicking on the Java Control Panel & I get this message:

    Class main com.sun.deploy.ControlPanel is not found

    How can I fix?

    Hi Chris240560,

    Try to Uninstall and reinstall java and check the result.

    For further assistance, we recommend you to make contact with The team of Support of Java for better assistance.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • PAVILION 15: BLACK SCREEN WHEN OPENING THE LID ON WAKE UP

    THE LAP TOP SHOWS A BLACK SCREEN WHEN OPENING THE LID.

    THE SCREEN WORKS WELL WHEN PUT ON, BUT ON CLOSING THE LID FOR A WHILE AND RE OPENING STARTING THE ENGINE AND THE LIGHTS FLASH BUT THE SCREEN IS BLACK.

    TO RETRIEVE THE SCREEN POWER BUTTON MUST BE PUSHED AND WHEN FLASHING JUST AGAIN PUSHED THE SCREEN THEN WAKES UP.

    THIS FIRST STARTED WINDOWS 10 CHARGE BUT WHE I GO BACK TO THE FACTORY SETTINGS AND WHICH IS 8.1

    I TRIED TO REMOVE THE BATTERY TO RESET AND REMOVE AND REPLACE MEMORY CARDS AS SUGGESTED BY SOME SITES I RELOADED ALSO BIOS AND I STILL HAVE THE PROBLEM.

    I WOULD BE VERY GREATFUL FOR ANY HELP.

    Hi @lily-springer,.

    Thank you for your update.

    I am pleased that now when you close the lid, it does nothing.

    You don't have the possibility to contact the HP support for assistance. They can access your system remotely to help overcome the difficulties.

    Contact HP to Contact HP Support assistance

    Good luck!

  • "Windows Media Player has encountered a problem when burning the file to disk"?

    "I ENCOUNTERD CE WHEN BURNING YEAR MP3 AUDIO CD AND NOW I wanted TO KNOW WHY IT WON'T WORK THAT IS THE CODE POPPING up" Windows Media Player has encountered a problem when burning the file to disk ' WHAT CAN BE THE PROBLEM

    Hello MactabardX,

    I try and remove Windows Media Player and then reinstall it.
    Uninstalling and reinstalling Windows Media Player:
    Step 1.
    Uninstalling Windows Media Player:
    1. go to start and in the search type "Turn Windows willing or not.
    2. click on "Turn Windows features on or off".
    3. search for multimedia and uncheck the brand in the face of Windows Media Player.
    4 restart the computer
     
    Step 2.
    Reinstall Windows Media Player:
    1. go to start and in the search type "Turn Windows willing or not.
    2. click on "Turn Windows features on or off".
    3. find the multimedia functions and place a check mark in front of the Windows Media Player.
    4 restart the computer.

    If you encounter problems with Windows Media Player, try to use the Troubleshoot utility to see if that fixes the problem.

    Open the troubleshooting Windows Media Player settings Troubleshooter by clicking the Start button, then Control Panel. In the search box, type troubleshooting, and then click Troubleshooting. Click View all, and then click the Windows Media Player settings.

    If the size of the .wmv files is too large, it can cause Windows Media Player to stop working.

    I try and remove videos from Windows Media Player library and test to see if the size of the files could be a problem.

    If please reply back and let us know if these steps helps.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • When I want to burn a CD in Windows Media Player, it shows "Windows Media Player has encountered a problem when burning the file to disk". What's wrong? How to fix?

    When I want to burn a CD in Windows Media Player, it shows "Windows Media Player has encountered a problem when burning the file to disk".    What's wrong? How to fix?

    I tried several times to remove the selection to burn and create a new a new but it keep "Windows Media Player has encountered a problem when burning the file to delivery" appears what should I do?   What problem is it?

    Hello

    1. what file format you are trying to burn?

    2. have you made changes on the computer recently?

    3. What is the security software installed on the computer?

    If it's something you downloaded, it may be copy protected by DRM, in which case you may not burn it to a CD or DVD.

    Here are a few things to try:

    1. make sure that the disc is clean.

    2. try a different brand of blank discs.

    3. stop all other programs that are running.

    4. make sure that the hard drive does not use disk compression.

    I suggest that you follow these steps and check if they help to solve the problem.

    Method 1:

    Try to use the Troubleshoot utility to see if that solves the problem.

    a. open the troubleshooting Windows Media Player settings Troubleshooter by clicking the Start button, then Control Panel.

    (b) in the search box, type "convenience store" and then click Troubleshooting.

    c. click on show all and then click the Windows Media Player settings.

    Method 2:

    Select a recording speed (write) more slow for the CD burner.

    Change settings for burning a CD or DVD in Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows7/change-settings-for-burning-a-CD-or-DVD-in-Windows-Media-Player

    Method 3:

    If you have any third-party burning software, I suggest you temporarily Uninstall it and then try to burn the disc using Windows Media Player.

    Note: Reinstall the software after the trial.

    Method 4:

    Temporarily disable all programs that could activate themselves, while burning is in progress, such as screensavers or anti-virus programs.

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-Firewall-on-or-off
    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Run the computer without antivirus software or firewall is a potential threat to the computer; Be sure to activate security software after completing the troubleshooting steps and after identifying the problem.

    I hope this helps.

  • Message received when openning the Adobe Premiere elements 12 'not possible to initialize the services online' what should I do?

    Hello

    How can I solve this problem?

    Message received when openning the Adobe Premiere elements 12 'not possible to initialize the services online' what should I do?

    Thanks in advence

    FL

    FLOureiro

    What operating system is running your 12 items first? Have you updated to 12 to 12.1 update using Help Menu/implementation of an open project? If this isn't the case, please do.

    For your immediate problem, did you update Online Services in the preferences?

    Where are you in the program when you get the message "failed to initialize the services online.

    You are in a country outside of the USA?

    There are some online services that are simply not available outside the United States.

    Please check and review and then, based on your details, we will consider what then.

    Thank you.

    RTA

  • Windows media player has encountered a problem when downloading the file. for additional assistance, click web help.

    Original title: unable to audio stream.

    Unable to audio stream, "windows media player has encountered a problem when downloading the file.  for further assistance, click web help' web help does not work, clicking web help does nothing (no response from program... a lot of negative response from me) stuck with the big pass... vista 64 bit... a lemon from the getgo... problem after problem...

    Hi Joseph,

    What is the file format of the file you are trying to download?

    This problem normally occurs when the Media player could not play the file downloaded or not supported.

    Method 1:

    Step 1: Here is the list of the formats supported by Windows Media player file:

    Information on the types of media files that supports Windows Media Player:

    http://support.Microsoft.com/kb/316992

    Note: See if the file format is in this list, if it is not there, you may need a third-party codec that can read the file.

    Step 2: For more information about codecs, see article given:

    Codecs: Frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows-Vista/codecs-frequently-asked-questions

    Warning: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Method 2:

    I also suggest you to run the Windows media player Fixit:

    Solve the problems of Windows Media Player video and other media or library

    http://support.Microsoft.com/mats/windows_media_player_diagnostic

    Hope this information helps.

  • Windows Media Player has encountered a problem when downloading the file

    Original title: Windows Media Player does not work

    What this means: Windows Media Player has encountered a problem when downloading the file? and what do I do about it?

    Johnny: What are your exact measurements that lead to the error message?

    Temporary compensation Internet filed and the Cookies Internet Explorer could help.

  • I am a new user. The trial version ch &amp; LR have been donloaded 2 fair days and he was attuned to the monthly plan. However, when open the LR, there all the same show PS with one day left and trial version with 29 days. Please please advise and would l

    I am a new user. The trial version ch & LR were uploaded 2 days ago and just joined the monthly plan. However, when open the LR, there all the same show PS with one day left and trial version with 29 days. Please please Advisor and would like to know if other apps like bridge etc. are included in the plan. Thank you very much.

    Troubleshooting FAQ: What should I do if I have a subscription, but my application acts as if I had a trial?

  • I downloaded creative cloud with CC Photoshop, Premiere Pro CS6 and DC Acrobat install however Premiere Pro does not open. When open the button is on the other app, the first Pro app said only "up-to-date". If I click this, nothing happens?

    I downloaded creative cloud with CC Photoshop, Premiere Pro CS6 and DC Acrobat install however Premiere Pro does not open. When open the button is on the other app, the first Pro app said only "up-to-date". If I click this, nothing happens?Capture.PNG

    check your directory program files adobe > first pro cs6 > first pro.exe file.

    (restart the cc app will probably also work.)

  • I've just updated to version 4 of ADE and now I'm having problems to open the books of examination of NetGalley

    I've just updated to version 4 of ADE and now I'm having problems to open the books of NetGalley review on it. I didn't have this problem before and now I get a message that says "permit to make mistake. "License Server Communication problem: E_AUTH_BAD_DEVICE_KEY_OR_PKCS12 ' I really need this resolved as soon as POSSIBLE that my comments have a date limit.

    Problem.jpg

    For this problem, you must Deauthorize and reauthorize the ADAM.

    Follow the steps below: (note you must know your current permission user id and password)

    Windows:

    Click Start > run.

    Open, type regedit in the text box and press ENTER. The Registry Editor opens.

    In the left pane of the registry editor, find the following registry key:

    HKEY_CURRENT_USER\Software\Adobe\Adept

    Right click on the key to the follower, and then choose Remove.

    In the dialog box confirm the key deletion, click OK.

    Your permission is removed.

    ADE will be cancelled now.

    Now allow ADE new.

  • Installation of the Photoshot 13 elements. error message: "this is a problem when extracting the files. Check the amount of space available on your computer and the rights to write to the destination folder. I have 1.38 TB of free space and total control

    I try to install photoshop elements 13, that I bought and downloaded from Amazon. When I try to install it I get the following error message: "this is a problem when extracting the files. Check the amount of space available on your computer and the rights to write to the destination folder. I administrar 1.38 TB of free space and total control.

    Charles please do not remove the installation files in the Program Files directory.  I recommend to extract the installation to your downloads folder or your desktop files.  Once installation files are extracted, you can then run the installation program to install Photoshop elements 13.

  • loadjava error when opening the file:-fix java.io.FileNotFound of Exception

    Dear,
    I have Oracle 11 GR 2 on Windows 2008r2. I have a very strange question while trying to load ordinary Java source. I get the error that loadjava cannot open the file. I use the following command to load:
    %ORACLE_HOME%\dbhome_1\BIN\loadjava -thin -user ORAMQ/***@localhost:1521:DEVAR -verbose -fileout %C:\temp\loadjava-9-MQReasonCodeResolver.java.log C:\src\MQReasonCodeResolver.java –resolve
    -----

    I got the following error in the file details:
    arguments: '-user' 'ORAMQ/***@localhost:1521:DEVAR' '-thin' '-verbose' '-fileout' 'C:\temp\loadjava-9-MQReasonCodeResolver.java.log' 'C:\src\MQReasonCodeResolver.java' '–resolve' 
    creating : source MQReasonCodeResolver
    loading  : source MQReasonCodeResolver
    Error while opening file: –resolve
        Exception java.io.FileNotFoundException: –resolve (The system cannot find the file specified)
    creating :  –resolve
    The following operations failed
         –resolve: opening file
    -----
    The code is very simple and has no problem:
    import java.lang.reflect.Field;
    
    public class MQReasonCodeResolver
    {
        public MQReasonCodeResolver()
        {
        }
    
        public static final String MQ_EXCEPTION_CLASS = "com.ibm.mq.MQException";
    
        public static final String RC_FIELD_PREFIX = "MQRC_";
    
        public static final String RC_VALUE_FIELD = "reasonCode";
    
        public static String resolve( Exception mqex )
        {
            if ( !canResolve( mqex ) )
                return mqex.getClass().toString() + mqex.getMessage();
    
            Class class1 = mqex.getClass();
            try
            {
                Field field = class1.getField( RC_VALUE_FIELD );
                Object key = field.get( mqex );
                Field[] fields = class1.getFields();
                for ( int i = 0; i < fields.length; i++ )
                {
                    Field ff = fields;
    String name = ff.getName();
    if ( name.startsWith( RC_FIELD_PREFIX ) && ff.get( null ).equals( key ) )
    {
    return mqex.getMessage() + " " + name;
    }
    }
    }
    catch ( Exception ex )
    {
    }
    return "unknown";
    }

    public static boolean canResolve( Exception exx )
    {
    Class class1 = exx.getClass();
    while ( Exception.class.isAssignableFrom( class1 ) )
    {
    if ( MQ_EXCEPTION_CLASS.equals( class1.getName() ) )
    return true;
    class1 = class1.getSuperclass();
    }
    return false;
    }

    }
    I load other classes and no issue, even jar files, I don't know what is the problem with this file? Also, it is strange is creating class and loading it has no issue, but the issue comes when resolve.
    
    Can anyone help?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    Hello:
    Put your - solve the flag at the beginning of the argument list.
    Last arguments should be files to download by loadjava.
    Best regards, Marcelo.

  • The address is not valid problem when opening new tab

    opening of firefox (I crash usually close under Task Manager), it reloads all tabs as it should.
    But when you open a new tab, I get "the address is not valid.
    I tried all the parameters of the start of the blank home page and latest opening option.
    I have tried all suggestions in other markets, reset... Subject: config
    I wish it had a document giving detailed information for all parameters
    When on the topic: config and search newtab, the only user adjustment (not default) is
    browser.newtabpage.storageVersion; 1 and I tried 0,1,2,3,4,5 restart no change even between the two.
    Have been re-intall, reset, safe mode, nothing works
    the tab works normally after the error, which means that I can start typing in the address bar and even complete works of auto... I restarted just fz and he did a 27.0.1 update
    that did not fix it either... I'm bored of the default page of fx that has recent photos.


Maybe you are looking for