PLease help: High Volume database hitting limits

Hi,
I am using Berkeley DB to store real time ticks for market data. To give you an idea of the amount of data...
- I get roughly 15000 ticks/sec on an average
- by the end of the day the database file grows upto 50GB.
My system configuration is...
$ uname -a
Linux gritsbox.rsi.com 2.6.18-92.1.17.el5 #1 SMP Wed Oct 22 04:19:38 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
- Quad core 1.6 Ghz
- 4GB RAM
- I have set the Berkeley db cache to 2GB and I am using the BTREE access method.
I started out using one database to store everything and it works well for 3/4th of the trading day. However, Db:puts increasingly start to take longer and towards the end of the day the delay is so high that I start loosing ticks. I figured that this could be because of BTREE trying to rebalance a heavy tree on every PUT (is this correct?)
I then decided to open 10000 (yeah!!!) databases in the environment, 1 for each symbol(ticker) that i am subscribed to. my idea behind this was that balancing a much smaller tree would be faster for Berkeley DB. However when i run the code, i get a "Db::open: Cannot allocate memory" error after opening just 300 something databases.
Any suggestions would be much appreciated!
thanks
Nishant

Hi Bogdan, thanks for your reply. below is the response to your questions...
1) I havent written code to sort the records. I assume BTREE is storing them sorted.
2) This is a multi-threaded application
3) I have to access the database on demand. Other processes would set the curser to the last value in each database and return its value.
4) the 50GB file is created in my old approach where I was using one database to store everything. today I was trying to open 1 database for each symbol/ticker (so around 10000 databases) that resulted in the "Could not allocate memory" error. In the old approach a new 50GB file was created everyday.
5) This is the only code that writes to the database...
     //Now write the values to DB
     stringstream ss_key_;
     ss_key_ << bsid_ << time_;
     string s_val = "{" + ss_val_.str() + "\"d\":\"d\"}";     //adding a dummy key to take care of the last comma
     Dbt key((char *)ss_key_.str().c_str(), 25);     //BSID + Time
     Dbt value((char *)s_val.c_str(), s_val.length()+1);
     try {
          dbs_[1]->put(NULL, &key, &value, 0);
} catch (DbException &e) {
cout << "Error: " << e.what() << std::endl;
6) u_int32_t envFlags      = DB_CREATE | DB_INIT_MPOOL | DB_INIT_TXN | DB_INIT_LOCK | DB_THREAD;
u_int32_t dbFlags      = DB_CREATE | DB_THREAD;
7) No, I am not managing the cache.
I appreciate you taking the time to help me out.
thanks
Nishant

Similar Messages

  • Please help to acess database in minisap 4.6 d

    hi all sap masters please help me.
    i have installed the minisap 4.6d system in the windows 200 prof os.
    i had the following problem in my minisa access.
    while Displaying table contents with transactions SE11 or SE16
    gives an error "No changes on SAP objects allowed".
    while Accessing the logical database F1S gives a syntax error because the
    include DBF1SF01 is missing.
    so i have used the mbspatch1 that comes with the cd.
    i have copied the mbscorr0104200 file in the directory '<MBS_DIR>\trans\tmp' as mentioned.
    and i have followed the steps as follows.but i have the same problem.please have a look at the
    process below and hel me to make it work roerly.
    this roblem is really eating me a lot and since many in this forum are sap master,thought
    you all can help me please.
    C:\>cd mbs
    C:\MBS>dbenv.cmd
    C:\MBS>REM Setting environment for db connect to MBS
    C:\MBS>set dbms_type=mss
    C:\MBS>set DIR_LIBRARY=.
    C:\MBS>set MSSQL_DBNAME=MBS
    C:\MBS>cd trans\tmp
    C:\MBS\TRANS\TMP>r3trans -i mbscorr01042000
    'R3TRANS' is not recognized as an internal or external command,
    operable program or batch file.
    hope there was some problem here only,but to continue i have pasted the r3trans in the folder C:\MBS\TRANS\TMP
    C:\MBS\TRANS\TMP>r3trans -i mbscorr01042000
    This is R3TRANS version 6.05 (release 46D - 04.10.00 - 09:16:00).
    2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
    R3TRANS finished (0012).
    then i have done the generate program step .
    (4) Generate programs:
         - Logon as user BCUSER to the MBS system.
         - Start transaction SE38.
         - Enter the program 'SAPLSTRD' and select 'Program -> Generate'.
         - Enter the program 'SAPDBF1S' and select 'Program -> Generate'.
    while generating the second program i got the error Accessing the logical database F1S gives a
    syntax error because the include DBF1SF01 is missing.
    hope somebody could have got the same problem.so please help me with your experience.iam new to this
    minisap problems.
    again all the roblem of acessing the tables exit even after doing the steps.
    hope i have explained my problem very clearly.
    please find where i went wrong or suggest some help to acess the datadase tables with the minisap cd.

    all webas downloads (ABAP, java)
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
    webas 6.40 ABAP server
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/b2918eea-0601-0010-6284-e6cb7eee4399 [original link is broken]
    SAP gui
    https://www.sdn.sap.com/irj/sdn/softwaredownload?download=ftp://ftp.sap.com/pub/sdn/devkits/netweaver/abap/50072743_4.zip&df=0
    Regards
    Raja

  • Please Help - Highly Unusual AddressBook Behavior

    I'm having a really strange problem with Apple's address book that I was hoping somebody could give me a hand with.
    For some reason, every time I open the address book app, no application window opens, though I do see the 'address book' app menu appear in the finder's menu bar. The only way I can get the address book application to appear is by going to the 'Window' menu and choosing the menu option 'Address Book'.
    Doing so does cause the app's main window to appear, however the problem that occurs at this point is that it doesn't allow me to click anything on the window (meaning I cannot select any of my contacts because clicking doesn't highlight them or do anything).
    In tinkering with it a bit, I've discovered that the only way I can actually select anything (and thereby even use the address book) is do the following:
    -- Choose 'address book' from the 'window' menu, wait for the un-clickable window to appear, then drag the lower right-hand corner of the window to resize the apps main window... Doing so causes the address book window to appear all white (as if it has frozen and is about to force quit itself ~ +though it's not frozen+);
    -- Then I press Cmd+W to close the white window;
    -- Finally, I then if I go to the 'window' menu one more time and choose 'address book', it hides the white address book window from view, and selecting it a second time immediately afterwards, brings the address book window to the front again and I can now click on it and use it normally...
    As I stated in my post I realize that this is a highly unusual phenomenon and I really don't expect anyone here have an answer for what the heck is going on!
    I have done the following troubleshooting steps to try to fix the issue myself, and nothing has worked:
    -- I've trashed the address book preference file
    -- I've temporarily disabled MobileMe & Google Contacts Syncing (which are both normally enabled)
    -- I've used Disk Utility repair permissions
    -- I've used Cocktail to run a battery of maintanence techniques (such as emptying caches, running daily weekly and monthly cron scripts, cycling logs, etc...)
    -- I have of course restarted several times,
    -- And I've tried restoring an old exported 'Address Book Archive' file
    Needless to say, nothing has fixed my problem!!
    I would be beyond grateful if anyone could help me out with this issue, as I've run out of options here...
    Any suggestions would be greatly appreciated... thanks for your help!

    Create a new account, name it "test" and see how your AddressBook works in that User acct? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account.
    If the problem is present in the test account also, then it is systemwide. In this case try repairing this with the 10.5.5 Combo Update This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    If the problem does not appear in the test account try starting in "Safe Mode" (It will take a bit more time to startup because it runs a directory check first).
    If that works go to System Preferences >> Accounts >> Login Items and remove them. Boot normally and test. If there are still problems, go to ~(yourHome)/Library/Contextual Menu Items and move whatever is there to the desktop. Then do the same with /Library/Contextual Menu Items. Lastly, try moving /Users/Home)/Library/Fonts to your desktop and restarting.
    Log out/in or restart, if that sorts it start putting items back one at a time until you find the culprit.
    Let us know.
    -mj

  • Urgent problem! please help. high speed digitizer, channel switch time too long!

    Dear all NI high speed digitizer experts:
     I post a question concerning the two-channel configuration using NI5154 digitizer (see Need help to configure a two-channel acquisition using NI5154 ).
     As we need to do some measurement using NI5154 very soon so purchase a DAQ board as suggested by Efrain is not a option for our coming experiment. So I try to configure the NI5154 a two channel acquisition. I configure the NI5154 to count pulse in two channels. Our experimental setup will send pulse to channel 0 for 400 ms and then stop. 100 ms later pulses from other source will be send to channel 1 for 2 s.  I thought the 100ms dead time in our setup would be long enough for the digitizer to switch from channel 0 to channel 1. But after some test I found the digitizer takes more time to switch between channels. 
    I made a test vi (NISCOPE-Timing.vi) just for count how many ms it takes for the digitizer to switch between channels. In the attached vi, if you run for only one channel one loop takes about 20 ms in my pc. If you run for two channels it takes about 130 ms for one loop. If you just run one channel twice the loop time is about 40 ms (I mean stop a channel and then restart the that channel).
    I don't understand why it takes so long to switch from channel 0 to channel 1.  As I tested the niScope Commit.vi consumes a lot of time for the second channel. Is there any way to avoid this? We can not extend the 100ms long dead time of out set up so I must get rid of this problem. 
    Solved!
    Go to Solution.
    Attachments:
    NiSCOPE-Timing.vi ‏34 KB

    Hi Lixin,
    There are a couple of different options that you may try. The first, which it sounds like you may not prefer, is to use the TRIG line on the 5154 and somehow find a way to route both sets of pulses to that line. You can either somehow connect both lines to the one input or use some sort of external switch since the signals will not come in at the same time.
    Unfortunately, what you re seeing in terms of the time it takes the board to reconfigure itself for a different trigger channel and re-inititiate is due to the settling time that is necessary for the board to be able to fully reach its specifications. The majority of settling usually occurs pretty quickly, but the board will wait for some time to get the best possible performance in terms of specs. If you are okay with reducing this settling time (and very slightly diminish the specified performance), then you can use an internal scope property to set the max settling time.
    I have attached a .rc file which must be placed in the LabVIEW directory for niScope to enable use of this property node. Please place the file in your ...\Program Files\National Instruments\<LabVIEW 2009>\instr.lib\niScope directory. Once the file is in that directory, restart LabVIEW, and you should be able to see a new category in the niScope Property Node tree titled "Internal". Under that category, you will have the Max Settling Time property, which gives the driver a maximum amount of time (in seconds) to wait for settling before beginning a new acquisition. Add this new property to your first property node at the beginning of your program. I tested this out with a value of 50 ms and found that my initiate went from ~125 ms to ~53 ms or so after reconfiguring the trigger channel and re-initiating.
    Hope this helps!
    Daniel S.
    National Instruments
    Attachments:
    niScopeMaxSettling.zip ‏1 KB

  • Please Help: Problem - Combining database fields in a text object

    Hello
    Thank you for viewing my thread and any helpful feedback you may provide. I am having trouble with the "Combining database fields in a text object" tutorial in the Help under: Quick Start\Quick Start for new users\Combining database fields in a text object.
    After following the steps and previewing, I see the last name, first name stacked on top of each other in preview and design view. I don't know why this is happening. Can anyone point me in the right direction so the text is displayed the same way as it is in the Help?
    Thanks
    M

    Hi, 
    I don't think the field is actually in the text object but just stacked on top of it. 
    When you double-click on the text object, you the cursor should be inside it now.  Is the database field in there?  If not, then you can drag and drop it into the text object where you want it to go. 
    You will know if it's going in because the edit cursor will show you where in the text object it will drop. 
    The other way to do it is to drop the database field on the report somewhere and copy it to the clipboard and paste it into the text object. 
    Good luck,
    Brian

  • Please help with this Database Connection error

    Hi,
    there is an asp application related to Invoices that uses RDO object concept to connect to the database. Backend is oracle 10g. Application works fine in retrieving data from several tables except for one part of the application. Here the application needs to display the details of the Invoice once the user puts a checkmark beside the invoice number. The code works in a loop to display each invoice selected.
    Problem is that it works upto about 15 continuous selections and after that it displays this error.
    error '800a9c42'
    IM006: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    This occurs on a line which contains a function that is used to get data from the resultset, which inturn should run a query.
    I tried to increase the timeout for the ODBC connection but to no avail. It uses a DSN connection with Microsoft odbc oracle driver.
    Can any one suggest please?
    Many thanks
    Sri

    Look at http://support.microsoft.com/kb/q264012/
    It is a known issue in MDAC, with an easy solution.

  • Please help me in Database designing like "Legacy" family tree

    I want to design a database like Leagacy System(Family Tree). So any one can give me the database if you have or give me your Idea about the tables needed.

    If wanna keep this simple, you can have 2 tables at least, one is the actual information (Names, Classification, ...etc) and the other is a lookup (Dictionary) table which contains the Classification information that need to be looked up.

  • Please help with Configuring Database Security Store

    Here's the error i get....
    Any ideas?
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Info: Data source is: opss-DBDS
    WLS ManagedService is not up running. Fall back to use system properties for con
    figuration.
    Info: DB JDBC driver: oracle.jdbc.OracleDriver
    Info: DB JDBC URL: jdbc:oracle:thin:@localhost:1521/idgov
    Connected:oracle.jdbc.driver.T4CConnection@21bce8d
    Disconnect:oracle.jdbc.driver.T4CConnection@21bce8d
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvide
    r". OpenJPA will not be used.
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkSe
    rviceSetup - done
    Aug 13, 2013 8:47:47 PM oracle.security.jps.internal.config.ldap.LdapCredStoreSe
    rviceConfigurator schemaCompatibleHandler
    INFO: Credential store schema upgrade not required. Store Schema version 11.1.1.
    6.0 is compatible to the seed schema version 11.1.1.4.0
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkSe
    rviceSchema - Store schema has been seeded completely
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  updateS
    erviceConfiguration - done
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  seedSch
    emaAndCreateDIT - failed JPS-10000: There was an internal error in the policy st
    ore.
    Exception in thread "Main Thread" java.lang.RuntimeException: JPS-10000: There w
    as an internal error in the policy store.
    oracle.security.jps.internal.api.common.JpsCredentialStoreLdapNodeCreationExcept
    ion: JPS-10000: There was an internal error in the policy store.
            at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
    ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:303)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:114)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.runConfiguration(LdapServiceEnabler.java:448)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureCredentialStoreService(LdapServiceEnabler.java:233)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureSecurityServices(LdapServiceEnabler.java:171)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.main(LdapServiceEnabler.java:129)
    Caused by: oracle.security.jps.service.policystore.PolicyStoreConnectivityExcept
    ion: JPS-10000: There was an internal error in the policy store.
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.handl
    eRollbackException(JpsDBDataManager.java:1345)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
    nalCommitTxn(JpsDBDataManager.java:1508)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransactionInDoAs(JpsDBDataManager.java:1475)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransaction(JpsDBDataManager.java:1466)
            at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
    ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:296)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:113)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.runConfiguration(LdapServiceEnabler.java:447)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureCredentialStoreService(LdapServiceEnabler.java:232)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureSecurityServices(LdapServiceEnabler.java:170)
            ... 1 more
    Caused by: javax.persistence.RollbackException: Exception [EclipseLink-4002] (Ec
    lipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.ex
    ceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001
    : unique constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
    Error Code: 1
    Call: INSERT INTO JPS_DN (ENTRYID, PARENTDN, RDN) VALUES (?, ?, ?)
            bind => [3 parameters bound]
    Query: InsertObjectQuery(EntryId=11437:rdn=cn=credentialstore:pdn=cn=jpsroot,cn=
    jpscontext,cn=iam,: JpsStore Entry={[EntryId = 11437:Attribute RowId = 45348
    dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot, EntryId = 11437:Attribu
    te RowId = 45349
    objectclass = top, EntryId = 11437:Attribute RowId = 45350
    objectclass = orclContainer, EntryId = 11437:Attribute RowId = 45351
    cn = CredentialStore]})
            at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
    l.commitInternal(EntityTransactionImpl.java:102)
            at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
    l.commit(EntityTransactionImpl.java:63)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager$8.run
    (JpsDBDataManager.java:1488)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
    nalCommitTxn(JpsDBDataManager.java:1492)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransactionInDoAs(JpsDBDataManager.java:1476)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransaction(JpsDBDataManager.java:1466)
            at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
    ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:297)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:114)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.runConfiguration(LdapServiceEnabler.java:448)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureCredentialStoreService(LdapServiceEnabler.java:233)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureSecurityServices(LdapServiceEnabler.java:171)
            ... 1 more
    Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v2
    0111018-r10243): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001
    : unique constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
    Error Code: 1
    Call: INSERT INTO JPS_DN (ENTRYID, PARENTDN, RDN) VALUES (?, ?, ?)
            bind => [3 parameters bound]
    Query: InsertObjectQuery(EntryId=11437:rdn=cn=credentialstore:pdn=cn=jpsroot,cn=
    jpscontext,cn=iam,: JpsStore Entry={[EntryId = 11437:Attribute RowId = 45348
    dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot, EntryId = 11437:Attribu
    te RowId = 45349
    objectclass = top, EntryId = 11437:Attribute RowId = 45350
    objectclass = orclContainer, EntryId = 11437:Attribute RowId = 45351
    cn = CredentialStore]})
            at org.eclipse.persistence.exceptions.DatabaseException.sqlException(Dat
    abaseException.java:324)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
    uteDirectNoSelect(DatabaseAccessor.java:840)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
    uteNoSelect(DatabaseAccessor.java:906)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basi
    cExecuteCall(DatabaseAccessor.java:592)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
    uteCall(DatabaseAccessor.java:535)
            at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecut
    eCall(AbstractSession.java:1717)
            at org.eclipse.persistence.sessions.server.ClientSession.executeCall(Cli
    entSession.java:253)
            at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
    .executeCall(DatasourceCallQueryMechanism.java:207)
            at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
    .executeCall(DatasourceCallQueryMechanism.java:193)
            at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
    .insertObject(DatasourceCallQueryMechanism.java:342)
            at org.eclipse.persistence.internal.queries.StatementQueryMechanism.inse
    rtObject(StatementQueryMechanism.java:162)
            at org.eclipse.persistence.internal.queries.StatementQueryMechanism.inse
    rtObject(StatementQueryMechanism.java:177)
            at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.inser
    tObjectForWrite(DatabaseQueryMechanism.java:472)
            at org.eclipse.persistence.queries.InsertObjectQuery.executeCommit(Inser
    tObjectQuery.java:80)
            at org.eclipse.persistence.queries.InsertObjectQuery.executeCommitWithCh
    angeSet(InsertObjectQuery.java:90)
            at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.execu
    teWriteWithChangeSet(DatabaseQueryMechanism.java:287)
            at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery
    (WriteObjectQuery.java:58)
            at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.j
    ava:844)
            at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(Dat
    abaseQuery.java:743)
            at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitO
    fWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:108)
            at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitO
    fWork(ObjectLevelModifyQuery.java:85)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExec
    uteQuery(UnitOfWorkImpl.java:2871)
            at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
    y(AbstractSession.java:1516)
            at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
    y(AbstractSession.java:1498)
            at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
    y(AbstractSession.java:1449)
            at org.eclipse.persistence.internal.sessions.CommitManager.commitNewObje
    ctsForClassWithChangeSet(CommitManager.java:224)
            at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObje
    ctsForClassWithChangeSet(CommitManager.java:191)
            at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObje
    ctsWithChangeSet(CommitManager.java:136)
            at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObj
    ectsWithChangeSet(AbstractSession.java:3799)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToData
    base(UnitOfWorkImpl.java:1415)
            at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.c
    ommitToDatabase(RepeatableWriteUnitOfWork.java:636)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToData
    baseWithChangeSet(UnitOfWorkImpl.java:1505)
            at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.c
    ommitRootUnitOfWork(RepeatableWriteUnitOfWork.java:267)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitAndRes
    ume(UnitOfWorkImpl.java:1143)
            at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
    l.commitInternal(EntityTransactionImpl.java:84)
            at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
    l.commit(EntityTransactionImpl.java:63)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager$8.run
    (JpsDBDataManager.java:1487)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
    nalCommitTxn(JpsDBDataManager.java:1492)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransactionInDoAs(JpsDBDataManager.java:1475)
            at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
    tTransaction(JpsDBDataManager.java:1466)
            at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
    ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:296)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:113)
            at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
    ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.runConfiguration(LdapServiceEnabler.java:447)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureCredentialStoreService(LdapServiceEnabler.java:232)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.configureSecurityServices(LdapServiceEnabler.java:170)
            ... 1 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique
    constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
            at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
    java:207)
            at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedSta
    tement.java:1044)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1329)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:3593)
            at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
    edStatement.java:3674)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(Oracl
    ePreparedStatementWrapper.java:1354)
            at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
    uteDirectNoSelect(DatabaseAccessor.java:831)
            ... 45 more
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.throwExceptionWithStackTrace(LdapServiceEnabler.java:145)
            at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
    ler.main(LdapServiceEnabler.java:137)
    Error: Failed to initialize security store.
    Error: Create operation has failed.
    C:\Oracle\IDGMiddleware\oracle_common\common\bin>

    Try to configure the policy store with different ID (highlighted in the below command)
    ./wlst.sh <Oracle_IDM1_Home>/common/tools/configureSecurityStore.py -d <WLS_Domain>/OAM_domain -c IAM -p <Password> -m create
    OR
    Reinstall the RCU and try to configure the policy store.

  • Missing organs - please help.

    I'm experiencing odd behavior with Logic Express and the organ set (specifically) what I believe is the tonewheel organ set).
    I have been using the organ set (selected from the I/O/Garageband/Tonewheel Organ in the inspector) and have also saved a few of my adjustments to a channel strip setting.
    Anyhow, I opened a project and created a new software instrument track. Selected the organ I wanted, but the sound will not play.I am recording midi from my keyboard as I'm getting a Region with notes played. I can also switch to another instrument and it's working and plays my entered data.
    I also tried opening my saved channel strip organ and nothing. I opened up Garageband and it's the same thing... everything works except no organ.
    Here's the weirdest part... I opened up some old projects with organ tracks. The organ tracks play with the correct sound. But if I Record Enable and try to play some notes... same thing.
    So my organ file is obviously having some sort of issue. No error messages, although I was fiddling around for a while and did get one -41.
    Please help, 'cause I have a limited knowledge where all these files are stored.Thanks for any help you can give me

    Oh god, now do I feel stupid. I have one of those M-Audio Keystations. It only has an "advanced" function" button, and then you actually hit the keys to change settings.
    Anyhow, I think the cat may have stepped on the right combo and screwed up my send settings. I just unplugged and replugged.
    Here I am reinstalling Logic and eliminating preferences...
    Thanks

  • HT3986 i installed win 7 on my mac book, and the sound driver was installed successfully, but i don't hear any sound, please help

    i installed win 7 on my mac book, and the sound driver was installed successfully, but i don't hear any sound, please help

    Is the volume muted? Click on the volume icon in the system tray to see if it shows as muted. If that's the case, I know of a workaround to fix this because if you unmute the speakers now, the condition will come back when you reboot your computer. I don't know the exact steps off the top of my head at the moment as I'm not in front of my machine. Check this first and reply if muting was the problem and I will detail the steps needed to fix the problem.

  • HELP to open database (again)

    Hi, saga continue:
    svrmgr> startup mount;
    Database mounted
    svrmgr> alter database open read only;
    ORA-16005: database requires recovery
    svrmgr> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-00264: no recovery required
    svrmgr> alter database open; - hang
    Please help to OPEN database!!!!
    Thnaks in advance,
    Andriy Korud, Ukraine

    You can find how to here:
    http://www.bing.com/search?q=close+sync+services+agent
    http://www.bing.com/search?q=what+is+mac+os+x+sync+services
    Mac OS X: Resetting the SyncServices folder - Apple - Support
    http://support.apple.com/kb/TS1627
      Aug 17, 2012 · Choose Reset Sync Services. Click Reset Sync History. Test for the ... Resetting SyncServices resets your Mac OS X User Account's Sync settings and …
    Sync Services: Advanced troubleshooting for contact and calendar ...
    http://support.apple.com/kb/TS2481

  • Lost all my songs on my ipod please help me!!!

    please help me I accidentally hit the sync button and it delete all the songs on my ipod but it's still in the recycle bin but I don't know how to put them back on my ipod I tried everything it won't work
    is there a way for me to get my songs back coz I know it's still in the computer some where!! please help me!! I got a 80g ipod.
      Windows XP  

    Ske7ch,
    There's another alternative but I hope you take this as an opportunity to learn an important lesson: Back up your iTunes library as soon as you can because right now you are only one glitch of your iPod away from losing your music entirely.
    And it's only a matter of time before that will happen. Many people come to the Discussions having lost their music in such situations and, believe me, it's not a happy time for anyone.
    If you place any importance on your playlists and the data they depend on, you will want to include your iTunes Library files in your back-up regimen as well.
    Anyways, that's the lecture. What's the other alternative?
    Have a look at:
    MacMuse, "Computer Crashed" #4, 11:49pm Feb 7, 2005 CDT
    Good Luck! But once your music is back on your computer, remember:
    Your music is valuable - please back it up!

  • I have a 4s with ios 6 but when I place a call I can't hear the person I' m calling, the volume is high but it's not working. Please help.

    I have a 4s with ios 6 but when I place a call I can't hear the person I' m calling, the volume is high but it's not working. Please help.

    I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.

  • The volume up and down controls on my wireless keyboard show a no entry sign and do not respond when used...please help?

    The volume up and down controls on my wireless keyboard show a no entry sign and do not respond when used...please help?

    If you want to get a little more "exotic" you can try remapping the function keys.  I did a little google searching and the hits that looked promising are,
    Mapping volume and eject keys to 3rd-party keyboard Other Hardware
    Spark
    Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, control iTunes, and more...
    You can also export and import your Hot Keys library, or save it in HTML format to print it.
    Spark is free, so use it without moderation!

  • Install database in WindowsME - Please Help

    Hi
    I am trying to install Oracle personal edition for 98 on ME, The Database Config Assistant fails to install? Also when I start the database it asks for password which i never had an option to set. I tried "scott" "tiger" "sysadmin"........ nothing works.
    Can someone please help me

    First, the installations forum is probably more appropriate for this sort of question. The folks over there have hit this problem before.
    Second, Oracle doesn't support the installation of its products on Windows ME. This may well be something that doesn't work on this operating system.
    Justin

Maybe you are looking for

  • E5 six problem faced in last 6 months!

    Dear All,  Before I start sorry for my english.I bought a nokia e5 approx 6 months before. Untill now I have faced many problems with the handset. I alreday owns a nokia 5320 express music. And when i Compare these two handsets I think I have made a

  • Combo Box in a Grid Control

    I know, this is not a new topic but... I didn't find a definitive solution. The problem is very simple, but the solution is very hard : put in a grid a combobox showing a value (the "description") and recording another value. I tried the Mr. Timpone

  • Upgrading IOS on Aironet 1310

    I want to upgrade the IOS on a couple of our Aironet 1310s but do it wirelessly. The bridges I am upgrading are not accessible at the time I wish to carry out the work which is why I am not doing it via a wired connection. It isnt an ideal situation

  • Detect changed fileds in form

    Hi all, I want to build a "history" function in my Apex appliaction. My idea is to record all changes in a existing record, in a new table, but I'm having some trouble to find the best way to do this. I figured it out this way: After the user edit th

  • CVS Workshop 8.1 help

    Hi all, I came to know that the problem is the version of the CVSNT and cvs.exe that is available to Workshop through the environmental variable. It is mandatory that we have to add cvs.exe to OS PATH. So that the workshop will launch this process. T