Closing Environment so that a new EnvImpl is created.

Hi,
We need to reopen the environment to a new set of log files in the file system. We use BDB inside a JVM running our app. We treat BDB local to one JVM process.
I searched this community and looks like the only way is to close and reopen.
We reference a single environment from many places, and this prevents the formation of a new EnvImpl which comes from a pool.
I am in a siutation where in I do not have control over when the env is referenced or given up to get a fixed reference count.
Is there a way to reopen an env such that a new EnvImpl is created? That is forceClose or something like that?
Thanks,
Aditya.

I am not sure I understand the question completely. I think you are saying that JE is running on a JVM and many threads create Environment objects for the same envHome directory. The situation is that some of the treads do not close the Environment.  The functionality you would like is to be able to make the existing Environment objects not functional and a call to create an Environment be able to access the DB.  I don't know of a way to provide this functionality using the Environment object. If possible the Environment should be opened once and be used by multiple treads.

Similar Messages

  • (Bug report) When creating a new bookmark folder from the address bar right star drop down menu, sometimes a separate previously titled folder is automatically retitled to the new folder's name at the same time that the new folder is created.

    I had seen duplicate folders before, but only now just realized when they were being created (during the procedure I just described).

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • When I open firefox, tabs open that describe new firefox features

    Today, when I opened firefox for the first time and every time since then, I have clicked on the firefox icon and several different tabs open. Each one includes information about different things that are "new" to firefox such as WOT, google chrome, etc. I have closed each one, I have closed all at once, I have tried disabling them. Nothing has worked, every time I open firefox again, those 5 or 6 tabs open again.

    You can check if you have an user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.
    *http://kb.mozillazine.org/browser.sessionstore.resume_session_once
    *http://kb.mozillazine.org/about:config
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Multiple_profile_files_created
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

  • WebService in a closed environment?

    I am writing a concept for connecting applications to a central application. The interfaces will be both inbound and outbound. The "classic" way would be data exchange by cvs-files and writing shell scripts.
    However, are there any reasons to use WebServices in that straightforward closed environment?
    Mirko

    Mark P1,
    From http://www.apple.com/airport the specifications are:
    Environmental requirements
    Operating temperature: 32° to 95° F (0° to 35° C)
    Storage temperature: -13° to 140° F ( -25° to 60° C)
    Relative humidity (operational): 20% to 80%
    Relative humidity (storage): 10% to 90%
    Maximum operating altitude: 10,000 feet
    Maximum storage altitude: 15,000 feet
    Regards,
    Chris

  • After closing [window X] then opening new/different [window Y] from 'library' etc (Y) opens normally with undesired 'tab' of (X) Intentional? If so, adjustable and how??

    After closing [window X] then opening new/different [window Y] from 'library' etc> (Y) opens normally with undesired 'tab' of (X)> Intentional? If so, adjustable and how??

    If you click on the bottom library what is the file path that is  displayed?
    Try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Mt. Lion from the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • My firefox, after update to 37.0.2 is closing everytime I open a new tab

    Hello,
    My firefox, after update to 37.0.2 is closing everytime I open a new tab.
    I started with a new profile and have the same problem.
    I formated my HD and instaled everything again, and I still have the same problem
    Regards,
    Cristal

    You can check for issues with the new tab page setting.
    See this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites
    You can check the <b>browser.newtab.url</b> pref on the <b>about:config</b> page and set that pref to your preferred new tab page.
    * the default new tab page with the tiles is <b>about:newtab</b>
    * the default home page is <b>about:home</b>
    * for a blank page you can use <b>about:blank</b>
    The browser.newtabpage.enabled pref should be set to true to use the page set via browser.newtab.url as the new tab page.
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • Finally closed then performed cpr on new neighbor

    What an ordeal. I'm sick with stomach problems right now, so this will be without all the details. We closed on Friday & started moving in. I heard blood-curdling screams from a neighbor's yard, so I ran over & found a woman holding her unconscious toddler in the pool & begging for help. I pulled the little girl out, drained some water out, & began chest compressions, gave breaths, more compressions, more draining as needed, more compressions. More people started rushing up & I was pushed aside as another neighbor came to take over. Total havoc. I'm a traumatized mess. The little girl has remained unresponsive on a ventilator in critical condition ever since. Edit to update: little Paisely passed away two days later on Sunday, August 2nd. I haven't seen her family again yet because we've been living away from the house. Second & also distressing is that our new home has a thick layer of creosote all over the entire crawlspace as a termite treatment. The house is reeking of mothballs (the smell of creosote) because it's been closed up for over a month with no ventilation. I felt sick after spending the night breathing it & ended up grabbing the kid, 3 cats, & bird to go back to the apartment. We're hiring 2 professionals to determine if we need to pay several thousands to wrap it all, which I think we do. The inspector did tell us about the creosote, but he only mentioned how awesome it was against termites, no mention of the noxious off-gassing that occurs in hot weather. My daughter (11) & I are pondering where to go when everything is removed from the apartment tomorrow. Should we stay with my sister 40 minutes away from our new house, or should we go back to the house & just keep the windows open alllllllllll the time for ventilation until it either airs completely out or we get the crawl space encapsulated? We moved to a small town where our next door neighbors never lock their doors & leave the keys in their vehicles. We might be safe with only screened windows for a few weeks, right? Alright, so there you have it. This has been a crazy few days. For those wanting to send thoughts & prayers for the little girl, her name is Paisley.  
    Edit to update: 4 home inspectors, an exterminator, & an environmental specialist (who tests air quality) have all assured us the fumes are from the house being shut tight in the heat for over a month & having extensive wood flooring with poly. The kiddo, animals & I stayed with my sister for a few days & came back to a much better situation. The environmental specialist told us we may need to seal around entry pipes in the crawl space with expanding foam & a full suit with respirator if we still catch whiffs in rooms with water, which we do, so that's gonna happen. She also recommended a crawl space ventilation system instead of encapsulation if we continue smelling the creosote. I'm really glad we didn't contact a lawyer & cancel the deal, because this house is solid.

    Revelate wrote:
    Wow, not even sure what to say LTC; as if getting a mortgage wasn't traumatic enough. Thoughts and prayers both to your family and Paisley's, utterly horrific experience.  Serious props to you though in that situation, I wouldn't have reacted anywhere close to as well.  Thanks, Revelate-- that was my Girl Scout training from 30 years ago kicking in! Can you believe it? No training since. pfarro1 wrote:
    First off... Congrats! on the house. CPR on a kid is no joke so good job there.The creosote will definitely diminish over time, especially once you open things up a bit. And it is heat reactive, so they are almost certainly right. Open the house up with a couple box fans pointed out in nearby windows and one at the door to the crawl. Just a few hours will dissapate it significantly. I remember the very same thing at the house we moved into as kids. the whole basement reeked when we moved in, my mom was freaking out... couple days later you couldn't even notice it. right about the same time of year, we moved in in mid august. by the time it cooled a bit in september even in the crawlspace it was barely noticable. Best of luck and again, congrats Yep, you're right, Pfarro! My husband ran the whole house fan a few times (I love that thing!!) & has kept the a/c going at a comfy 76 & it's much better today, my second day back in the house. I updated the original post with more details.

  • I used to have an application in my iPhone 4 and 4s that captures business card and creates its content to my contacts. Its no longer working with my i5. Can you recommend me a new apps for this same function

    I used to have an application in my iPhone 4 and 4s that captures business card and creates its content to my contacts. Its no longer working with my i5. Can you recommend me a new apps for this same function

    Try CardMunch it works well for me

  • Tried to open a file I created in Numbers a while ago which I modified on 11/4/13 and got a message that I needed a newer version of Numbers.  When I went to the Mac App Store it shows that the new version is already installed.  Any suggestions?

    Tried to open a file I created in Numbers a while ago, which I modified on 11/4/13, and got a message that I needed a newer version of Numbers.  When I went to the Mac App Store it shows that the new version is already installed and there doesn't seem to be a way to reinstall it.  When I checked "About Numbers" on my MacBook it shows "Numbers '09 version 2.3".  Any suggestions as to how I can get the new version installed?

    Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there.

  • My iPhone 4s says that my software version 5.0.1 is up to date.  Why am I not receiving the notification that the new update is available for me to download?

    I have an iPhone 4s, not jailbroken.   I was able to update to 5.0.1 when it came out last year.  When 5.1.1 came out, I noticed that I never received the
    notification that a new update was available.  I updated my 2 ipads and my wife's iphone 4.  I didn't bother looking into it, since I didn't feel the need to update to 5.1.1.  Now I want to update to ios 6, but when I go to Settings > General > Software Update.  It checks for updates , but still shows me that my 5.0.1 is up to date.  I plug into itunes and check for update there and it still indicates that 5.0.1. is up to date as well. 
    Does anyone know what this is happening and how I can update to ios 6?
    Thanks for the input.

    muneer86 wrote:
    hi, i have iphone 4s with version 5.1.1(9B206). im unable to update the version to ios 6? if im updating my phone in middle it says this an error occur while updating . can anyone help me to update my phone to latest version?
    Follow the instructions that were already given in this discussion.

  • TS3212 I receive a massage that a new version of ITunes was available (11.1.4). I proceeded to update, the download went ok but when installing the Message "Service 'Apple Mobile Device' failed to start, verify that you have sufficient Privileges to start

    I receive a massage that a new version of ITunes was available (11.1.4). I proceeded to update, the download went ok but when installing the Message “Service ’Apple Mobile Device’ failed to start, verify that you have sufficient Privileges to start system Services”
    On pressing retry I got the same message.
    On pressing Ignore, I got the message “ITunes was not installed correctly, please reinstall ITunes – Error 7 – (windows error 126)
    I reinstalled with the same error messages and the same results.
    I uninstalled existing and reinstalled from scratch and the same error messages again.
    I try to repair and at the end it said it had installed correctly – but when it tried to start I got the message “This application has failed to start because MSVCR80.dll was not found. Reinstalling the application may fix the problem” I now get the same message when I first start the computer but when I press ok I receive ““ITunes was not installed correctly; please reinstall ITunes – Error 7 – (windows error 126)” again.
    It appears the update has not only corrupted the operating system (Xp Pro SP3) of my computer but I have no backups to my IPhone, my wife’s IPhone or the three others phones that use my computer.
    I hope you can advise me how to recover my backups

    Hi Iss9243,
    Welcome to the Support Communities!
    You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue.  Hope it helps ....
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Judy

  • My screen continually freezes up.  I've tried closing all apps that are openfreezby double clicking on the home button and closing them. I have held down on the home button and start button simultaneously and it still freezes. Can someone out the help me?

    MY screen continually freezes up. I've tried closing all apps that are open and have held down the home button and start button simultaneously but neither helped. Can someone out there help me?

    Well the next couple of things to try would be to reset all settings, and if that doesn't help, it's probably time to restore the iOS software.
    Settings>General>Reset>Reset all settings. That will take all settings on the iPad back to factory defaults. It will not delete anything and you will not lose any data, but you will have to enter all settings again ...WiFi passwords, enable Siri, select your wallpaper, adjust brightness, turn on location services and set privacy settings, etc, etc.
    You can read about restoring the software here.
    iTunes: Restoring iOS software - Support - Apple
    Should you decide to restore the iOS, it is extremely important that you back up first so that you can restore from the backup and then sync with iTunes afterward in order to restore all content back to the iPad. It is all covered in the kb article.
    If you do not sync with iTunes, then I assume that you backup with iCloud. In that case you can erase the device in Settings>General>Reset>Erase all content and settings. Once again, backing up with I loud is I,operative before you do this so that you can restore from the iCloud backup after you erase the iPad and start over again with activation.
    You should read this first before you restore from either backup.
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    This is a must read before you erase the iPad should you decide to go that route.
    iOS: Understanding 'Erase All Content and Settings' - Support - Apple

  • I downloaded a program to be able to open docx diles and now every time I try to open one there are endless new tabs that read "new Tab" scrollomig across the top of the screen. How do I make it stop?

    I had an old version of office so I tried to install a free download that will allow me to open docx files. Now when I try to open one and endless stream of tabs that say "New Tab" scrolls across the top of the page. How do I make it stop. I already went and got office 2010 but it is still doing it. It does not do it if I use Internet Exployer for the browser.

    See [[Firefox keeps opening many tabs or windows]]

  • I want to change my apple id, but I am told that the new email add is already linked to an account?

    I changed email addresses some time ago, and I thought that I had updated my Apple Account. When I tried to log in with the new email addy, I got a message that this emaill addy had not been set up as an account yet. So I cancelled that message, went into my account witht the old email addy, and proceded to follow the necessary steps to change my ID.
    I then received a message that the new email addy was already attached to an account.   ???????????????   I tried the new email again, but it still wants me to set up new account (ie reenter all my information). How do I get my new email addy cleared from the system so I can use it on my current account?

    THe email address you want to use may be set as the recovery email for another account.   That would prevent you from using it, until you remove it from that account.

  • It seems that the new version of iPhoto will no longer share photos between computers on the same network. Can anyone confirm this?

    It seems that the new version of iPhoto will no longer share photos between computers on the same network. Can anyone confirm this?

    lovinmymac wrote:
    I have "automatically create previews" in the preferences UNCHECKED. Why is Aperture creating previews? For the screen image?
    You might also need to turn Preview generation off for any existing Projects. Select the Project in the Projects pane and use the cog button at the top of the pane to uncheck 'Maintain Previews For Project'.
    Ian

Maybe you are looking for

  • How  can use a variable in the folowing code?

    How  can use a variable 'W_ROWNUM2' in the folowing code? MOVE '1' TO CNT. LOOP AT L_T_PM2.               CONCATENATE '0' CNT INTO W_ROWNUM2.CONDENSE W_ROWNUM2.                CONCATENATE 'F110V-VARI'W_ROWNUM2'(01)' INTO FLD2.     perform  DYNPRO_FIE

  • Problems burning a workout video for it to work on my dvd player? help

    I've just purchased ripped in 30 days by Jillian Michaels and I thought that I could burn it to a dvd and then watch it my tv but its not working. Any suggestions?

  • Accessing Soap header in webservices

    Hi, My webservice needs to read a soap header "locale" and do some processing based on this soap header. I understand the concept of handlers..but anywhere I see examples, the handler handles it and returns the data back. My requirement is that once

  • SONY VAIO PHONE!

    Hi! Anyone heard of a Sony Vaio phone that would obviously run on Microsoft's latest, windows phone 8 OS? What do you think of this phone? This would be a nice complement to Sony's VAIO range of laptops and hybrids if ever this will be conceptualized

  • BO 5.1 : Broadcast Agent Refreshing .rep Problem

    Hi, We still work with BO 5.1. Actually we have a problem with The Broadcast Agent. All days, At the same time, All the jobs seems to be running but all failed with the "Maximum Duration" fixed to 5400 s. But normally, the reports takes < 1mn to refr