How to let two programs access the same BDB data

I want to use two programs to access data in one BDB database, but get this error
multiple databases specified but not supported by file
db open failed:Invalid argument
I do not know how to deal with it.....
anyone can help?
thank you first

Hello,
Can you clarify a bit more as to what you are doing?
A message like:
multiple databases specified but not supported by file
open: Invalid argument
is expected when you are incorrectly creating multiple databases
within a single physical file.
The details are at:
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am/opensub.html
http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/db_open.html
It is possible to contain multiple databases in a single physical file
but the application has to follow some steps in order to do that.
For example you can not attempt to open a second database in a file that
was not initially created using a database name. Doing will generate
the error you posted.
Thanks,
Sandra

Similar Messages

  • Can two users access the same bootcamp (win os) instance?

    We are two users who are using our imac and we both have own user names in mac os. I created a bootcamp partition with windows xp on it. Can both users access the same partition and create their own user spaces within xp?
    Will that work also if we use Parallel or virtual box? (access the same user data as in boot camp?)
    I would like to have the option for each user to access their windows data either through bootcamp or through the virtual tool.
    Message was edited by: gss2
    Message was edited by: gss2

    gss2 wrote:
    What do you mean Virtual box it will not run on its own partition? I have a virtual box running on my desktop and it runs just fine ...own partition?? I don't understand.
    Running on its own partition means that the installed OS has its own formatted portion (partition) of the hard drive. A virtual machine does not have its own partition. It creates a virtual partition (a file on the computer) that simulates a file system (partition). So Virtual Box, or any other virtualization software, does not run Windows, or any other OS in its own partition.

  • How to run two query  in the same preparedStatement

    Hi all,
    Please tell me how to run two queries in the same preparedStatement object ?
    In my module I have to run two queries and I don't want to make two methods for running two different queries.
    I just want to call this method for both of my queries.
    methodName(long param)
    Connection conn=null;
    PreparedStatement pstmt=null;
    //////////////// some coding
    Please Help !
    Thanks in advance
    amitindia

        public void foo()
            Connection connection = null;
            PreparedStatement stmt = null;
            try {
                connection = ...get from pool...;
                stmt = connection.prepareStatement("...");
                ...fetch results...;
                stmt.close();
                stmt = null; // So the finally statement works if there is an exception
                stmt = connection.prepareStatement("...");
                ...fetch results...;
            } finally {
                if (stmt != null) ..close it...;
                if (connection != null) ..return it to pool...;
        }

  • How to get two parameters in the same line of selection screen?

    hello
    i need to get my selection csreen like bellow.
    r1 radiobuttion  -some space --p1 parameter
    i should not get the parameter in the next line of  radiobuttion.
    how to get two parameters in the same line of selection screen?

    hi....
    modify the following code
    it will work
    SELECTION-SCREEN BEGIN OF BLOCK SL1 WITH FRAME TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(15) TEXT-001
                     FOR FIELD P1.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS : P1 TYPE   C USER-COMMAND R2 RADIOBUTTON GROUP R2 DEFAULT 'X',
      P2 TYPE SCARR-CARRNAME,
      P3 TYPE CHAR1 RADIOBUTTON GROUP R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK SL1.

  • HOW TO PUT TWO PANNEL IN THE SAME PAGE

    HI ALL
    I NEED TO KNOW HOW TO PUT TWO PANNEL IN THE SAME PAGE TO FULLY UTILIZE FULL PAGE AREA BECAUSE THE PANNEL WIDTH IS TOO SMALL , SO I WANT TO MAKE THE PAPER CONTAIN TO PANNELS VERTICALLY.
    THANK YOU

    So Barb,
    I like to use multiple desktops and move back and forth between then using gestures. At the moment I have 5 open: Chrome, Firefox, Safari, Photoshop CS 6 and a desktop. I use "gestures" to navigate between them:
    Mac Basics: Multi-Touch gestures - Apple Support
    and I use Mission Control (F3) to move the various desktops around in the order I want them.
    Mac Basics: Mission Control - Apple Support
    So say I'm searching for a photo to open in CS 6, I find it on the open desktop then hit select "open" in CS 6 and go to that folder in the select pane.
    Even right now I'm typing this in Safari and "gesturing" back to Chrome where I did the search about multi touch and mission control. I drag copy the URL there  and gestured back here to paste the URL into this text.
    If you did a lot of photo searches, I set professional clients of mine in Chicago up with dual monitors (In this case you'd have an external monitor on extended desktop.). So all you need to do is just glance over at the second monitor slide your cursor over there open stuff up find your photo and go back to Photoshop and open it up.
    Hope this helps.

  • How to write two item in the same line?

    In the smartforms,how to write two item in the same line?
    eg
    1   *************                                    2  *****************
    3  **************                                   4  ******************
    5  ***************
    Anyone got any idea to do this.
    Thanks in advance

    Hi,
    In the smartform the main windows is 20cm.I use the table output my data.Because the output is two item in same line,I define two rows in the table line type.
    Question:
    Should I define the table width 20cm?
    In the main area of table , should I define two folders and each of folder include a line? The second item I had already defined as Append Directly,but the item 1 and item 2 don't in the same line.
    Regards

  • Can I use one GBIP-Interface with two programs at the same time?

    Hi, I have one PCI-GBIP-controller with multiple instruments installed. Now I want to use these instruments with two differents programs at the same time.
    E.g.: program 1 uses GPIB0::1 and GPIB0::3
    and program 2 uses GPIB0::4 and GPIB0::7
    Is this possible??
    When I have tried to do this, I always got timeout errors..
    Thanx in advance.
    Philipp

    Hi,
    You shouldn't have any problems accessing different devices from different programs using the same interface. I even used the two VIs to communicate with the same device. Although not the best approach, VISA didn't return any errors.
    DiegoF.

  • How to connect two iMacs to the same FCE project?

    Hello All,
    Right now I have an iMac that is about 1 year old. I'm about to purchase another iMac. What I want to do is run FCE on both and work on the same video project on both. Is this possible?
    So the idea would be that I one person A could color correct and person B could edit and perform other functions on the second iMac. Can you hook them up by firewire and do this or is this beyond what you can do with FCE and two iMacs?
    Thanks for your help.
    Mike

    Hello Michael,
    First, you will need two fully licensed copies of FCE, one for each iMac. Each license allows you to install FCE on 1 Apple desktop + 1 Apple laptop as long as you own both computers and do not use FCE on both at the same time. But it *does not* allow you to install it on 2 Apple desktop computers (eg iMacs).
    Second, in order for two people on different computers to access the same project, you would have to store all the media & scratch files in a common location, and set up each copy of FCE to access the files from that location. The problems with this approach are 1) FCE cannot do this over a network, 2) you cannot connect an external FW drive to both computers at the same time, 3) FCE prefers that your FCE Project file(s) be on your system HD.
    You could use an external FW drive to store your media & scratch files; then connect the FW drive to the computer that is going to work on the project - but not to 2 computers at the same time. You will still have to copy the FCE project file between the two iMacs each time you swap from one to the other for editing.

  • How to put two files with the same name into the same folder?

    How can I put two files with the same name and the same extention into the same directory?
    Is this even possible?
    Thanks in advance. 

    Are you sure? I would be very surprised if that was the case.
    How does the computer/filing system differentiate the files, if not by their names?
    How do you tell the computer which one you want? (On the command line.)

  • Can two people access the same online number at th...

    Me and my dad share the same online number for friends and colleagues to call us, but it seems that the calls that come through to me are ad-hoc whilst my dad gets every call on his system.  I just wondered if this is because 2 systems are trying to access the same online number?
    Thanks

    Enter the SN where?

  • How to use two ipods on the same computer

    I have one laptop with four user accounts.  Until now we've had only one ipod that synchs with the iTunes library in Dad's account.  Now daughter has an iPod, but want to use access the same music and playlists as Dad uses, at least for now.  Do we synch the Daughter's ipod in Dad's account, just like we did with the first iPod?

    You would need to sync in Dad's account to access Dad's iTunes Library. However, if she has loaded her iPod with the music she wants from Dad's iTunes Library, then she can continue to play the music even if she has her own Apple ID and separate user account on the same computer. She just will not be able to add new music from Dad's iTunes Library unless she uses Dad's Apple ID.
    iDevices are single-user devices, so for daughter to have her own Apple ID and iTunes Library, then she has to have her own user account on the computer.
    If it's more convenient to have on iTunes Library shared by all, then make no changes. iTunes knows that every connected device is different by the name you give the device, like "Daughters iPod" as an example.

  • How to insert  two queries in the same workbook in new BI 7.0 Bex web analy

    Hi
    Can you please advise how to insert multiple queries in the same workbook in BI 7.0 web analyser.
    Sarah

    Hi,
    You need to switch to design mode (BEx Analyser Menu - Design Toolbar - Design Mode). For each query that you want to embed, insert an analysis grid item in the workbook. Link each analysis grid to its corresponding data provider (query).
    Hope this helps.
    Regards,
    Rajkandula

  • How to make two portals share the same UME?

    Hi all,
    Can anybody share some information about how to make two portals share same UME? Is it possible? Thanks.
    B.R.

    Hi Lee,
    Its very much possible for 2 portals to make use of one datasource for UME.
    Lets assume for a scenario sake we are using an LDAP server as the UME for portals environment...so you would simple need to point for the UME's to the LDAP datasource.
    If you have something in particular do post back
    Thanks,
    GLM

  • How to run two icalenders on the same computer?

    How can i run two separate icalenders on the same computer? I have my own icalender with work, home, etc, and it's totally full. I am now running an artists collective and will publish the collectives icalender on the web. I don't, however, want to mix what will be a pretty busy calender with my own already too full one. Is it possible to run two totally separate calenders on the same computer?
    macbook   Mac OS X (10.4.8)  

    trsv,
    Welcome to Apple Discussions.
    Create two Groups...
    Calendar 1:
    Work
    Home
    etc
    Calendar 2:
    Collective Calendar
    You can then switch which groups you wish to display by activating/deactivating the check mark in the Calendar source window.
    That will also allow you to selectively publish the Collective Calendar.
    ;~)

  • How to play two videos at the same time

    Hi everyone!
    Ok, so what I'm trying to do is basically play two videos, which are already saved on the computer, at the same time. I can get one video to play, but when i try to start another it just displays a blank screen.
    import javax.swing.*;
    import javax.media.*;
    import java.awt.*;
    import javax.media.protocol.*;
    public class TwoVideoTest {
         public static void main(String[]args) {
         MediaLocator locator1 = null;
         MediaLocator locator2 = null;
         try {
         locator1 = new MediaLocator("file:/C:/truck1.mpg");
         locator2 = new MediaLocator("file:/C:/truck2.mpg");
         } catch(Exception e) {
         System.out.println("COULNDT CREATE LOCATORS IN MAIN TEST CLASS");
                          System.exit(-1);
         Player player1 = null;
         Player player2 = null;
                     try {
          player1 = Manager.createRealizedPlayer(locator1);
         player2 = Manager.createRealizedPlayer(locator2);
                      } catch(Exception e) {
              System.exit(0);
         JFrame frame = new JFrame();
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JPanel panel1 = new JPanel();
       JPanel panel2 = new JPanel();
        panel1.add(player1.getVisualComponent());
       frame.getContentPane().add(panel1);
       frame.setSize(new Dimension(500,500));     
       frame.setVisible(true);
       player1.start();
       player2.start();
    }

    HELLO AGAIN! I guess i post too soon....
    So i modified my code and now the videos play together. Threads, sigh.
    But the audio that comes with the video doesn't appear to be starting at the same time. And this problem I ASSURE you i have no clue how to handle. And yes i know, the two video audios will overlap, but this a test for heavens sake!
    Anyways, heres the modified code in case it will help anyone
    import javax.swing.*;
    import javax.media.*;
    import java.awt.*;
    import javax.media.protocol.*;
    public class Video implements Runnable{
         String url;
         MediaLocator locator;
         Player player;
         JPanel panel;
         public Video (String url,JPanel panel) {
              this.url = url;
              try {
                   locator = new MediaLocator(url);
                   player = Manager.createRealizedPlayer(locator);     
                   panel.add(player.getVisualComponent());
                   player.start();
              } catch (Exception e) {
                   System.out.println("ERROR CREATING MEDIALOCATOR");
                   System.exit(-1);
         public void run() {
              try {
              Thread.sleep(100);
              } catch(Exception e) {}
         public static void main(String[]args) {
            JFrame frame = new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel panel1 = new JPanel();
              JPanel panel2 = new JPanel();
              panel1.setPreferredSize(new Dimension(100,100));
              panel2.setPreferredSize(new Dimension(100,100));
              Thread thread1 = new Thread(new Video("file:/C:/truck1.mpg",panel1));
              Thread thread2 = new Thread(new Video("file:/C:/truck2.mpg",panel2));
              frame.getContentPane().add(panel1);
              frame.getContentPane().add(panel2);
              frame.setSize(new Dimension(500,500));     
              frame.setVisible(true);
              thread1.start();
              thread2.start();
         

Maybe you are looking for

  • Upload free goods material from existing material

    HI MM Gurus, Please teach me how to upload free goods material. MAterial already existing. For example i bought a 3 box of ballpen and I got 1 box for free. HOw will I upload 1 box of ballpen without cost? I want to upload a different material one wi

  • TAX Calculation in SD

    Dear SAP Gurus, In the Tax calculation procedure TAXINJ we maintain the Condition Types (JES4 Say!) We then define the TAX Codes with the calcutaion Tax Condtion type has Access MWST ( Country /Tax Code) Now in the SD We define the same condtion type

  • Question about Note 886102 - Empty the delta queue of the connected SAP source systems

    Dear expert I'm doing the system refresh from ECC PRD to QAS using the hot backup of PRD Before i start the database restore i was told to do the following step since this ECC has connection with one BW system -----------------------Step ------------

  • External Table - FIELDS TERMINATED BY

    BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod PL/SQL Release 10.2.0.5.0 - Production CORE     10.2.0.5.0     Production TNS for Linux: Version 10.2.0.5.0 - Production NLSRTL Version 10.2.0.5.0 - Production Sample: CREATE TAB

  • JScrollpane with custom panel where part of it shouldn't scroll

    Hi! I'm building an application where in one of my views I have a sequence diagram where communication is shown graphically. Right now I have a custom panel for this inside a JScrollPane. One detail that I'm thinking about changing is that the "actor