4.6.21: Logging region overflow with DB_RDONLY

At Debian, we've shipped Berkeley DB 4.6.21 as part of our last release. Unfortunately, we missed what appears to be a rather annoying bug related to the use of DB_RDONLY:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510270
This appears to have been fixed in DB 4.7. Is there a separate patch which addresses it for 4.6? (We can't move to 4.7 after a release because of compatibility concerns.)

Never mind, I screwed up. The header file "db.h" in my app was from 4.5.20. It is amazing that with wrong header file, the build can be so flawless.
No more problem for this now.

Similar Messages

  • Repeated Opening of  database in a Txn  causes Logging region out of memory

    Hi
    BDB 4.6.21
    When I open and close a single database file repeatedly, it causes the error message "Logging region out of memory; you may need to increase its size". I have set the 65KB default size for set_lg_regionmax. Is there any work around for solving this issue, other than increasing the value for the set_lg_regionmax. Even if we set it to a higher value, we cannot predict how the clients of BDB will opens a file and closes a database file. Following is a stand alone program, using which one can reproduce the scenario.
    void main()
    const int SUCCESS = 0;
    ULONG uEnvFlags = DB_CREATE | DB_INIT_MPOOL | DB_INIT_LOG | DB_INIT_TXN |DB_INIT_LOCK | DB_THREAD;// |
    //DB_RECOVER;
    LPCSTR lpctszHome = "D:\\Nisam\\Temp";
    int nReturn = 0;
    DbEnv* pEnv = new DbEnv( DB_CXX_NO_EXCEPTIONS );
    nReturn = pEnv->set_thread_count( 20 );
    nReturn = pEnv->open( lpctszHome, uEnvFlags, 0 );
    if( SUCCESS != nReturn )
    return 0;
    DbTxn* pTxn = 0;
    char szBuff[MAX_PATH];
    UINT uDbFlags = DB_CREATE | DB_THREAD;
    Db* pDb = 0;
    Db Database( pEnv, 0 );
    lstrcpy( szBuff, "DBbbbbbbbbbbbbbbbbbbbbbbbbbb________0" );// some long name
    // First create the database
    nReturn = Database.open( pTxn, szBuff, 0, DB_BTREE, uDbFlags, 0 );
    nReturn = Database.close( 0 );
    for( int nCounter = 0; 10000 > nCounter; ++nCounter )
    // Now repeatedly open and close the above created database
    pEnv->txn_begin( pTxn, &pTxn, 0 );
    Db Database( pEnv, 0 );
    nReturn = Database.open( pTxn, szBuff, 0, DB_BTREE, uDbFlags, 0 );
    if( SUCCESS != nReturn )
    // when the count reaches 435, the error occurs
    pTxn->abort();
    pDb->close( 0 );
    pEnv->close( 0 );
    return 0;
    pTxn->abort();
    pTxn = 0;
    Database.close( 0 );
    By the way, following is the content of my DB_CONFIG file
    set_tx_max 1000
    set_lk_max_lockers 10000
    set_lk_max_locks 100000
    set_lk_max_objects 100000
    set_lock_timeout 20000
    set_lg_bsize 1048576
    set_lg_max 10485760
    #log region: 66KB
    set_lg_regionmax 67584
    set_cachesize 0 8388608 1
    Thanks are Regards
    Nisam

    Hi Nisam,
    I was able to reproduce the problem using Berkeley DB 4.6.21. The problem is with releasing the FNAME structure in certain cases involving abort Transactions. In a situation where you have continuous (in a loop) transactional (open, abort, close) of databases you will notice (as you did) that the log region size needs to be increased (set_lg_regionmax).
    This problem was identified and reproduced yesterday (thanks for letting us know about this) and is reported as SR #15953. It will be fixed in the next release of Berkeley DB and is currently in code review/regression testing. I have a patch that you can apply to Berkeley DB 4.6 and have confirmed that your test program runs with the patch applied. If you send me email at (Ron dot Cohen at Oracle) I’ll send the patch to you.
    As you noticed, commiting the transaction will run cleanly without error. You could do that (with the suggestiion DB_TXN_NOSYNC below) but you may not even need transactions for this.
    I want to expand a bit on my recommendation that you not abort transactions in the manner that you are doing (though with the patch you can certainly do that). First, the open/close database is a heavyweight operation. Typically you create/open your databases and keep them open for the life of the application (or a long time).
    You also mentioned, that you noticed commits may have taken a longer time. We can talk about that (if you email me), but you could consider using the DB_TXN_NOSYNC flag losing durability. Make sure that this suggestion will work with your application requirements.
    Even if you have (create/open/get/commit/abort) that should not need transactions for a single get operation. For that case, there would be no logging for the open and close therefore this sequence would be faster. This was a code snippet so what you have in your application may be a lot more complicated and justify what you have done. But the simple test case above should not require a transaction since you are doing a single atomic get.
    I hope this helps!
    Ron Cohen
    Oracle Corporation

  • Csstored: Logging region out of memory

    Hi.
    Newest calendar server (Communications suite 7).
    When we start the calendar server, we get this in the store.log:
    [08/Oct/2009:12:26:39 +0200] bane csstored[2896]: General Notice: csstored is refreshing
    [08/Oct/2009:12:26:39 +0200] bane csstored[2896]: General Notice: csstored is refreshed
    [08/Oct/2009:12:26:39 +0200] bane csstored[2896]: General Notice: csstored is ready
    [08/Oct/2009:12:26:39 +0200] bane csstored[2896]: General Notice: Copying all the transaction log files from live db to hotbackup/archive dirs.
    [08/Oct/2009:12:26:40 +0200] bane csstored[2896]: General Error: hotbackup: Logging region out of memory; you may need to increase its size
    [08/Oct/2009:12:26:40 +0200] bane csstored[2896]: General Error: hotbackup: Recovery function for LSN 10 3275844 failed on backward pass
    [08/Oct/2009:12:26:40 +0200] bane csstored[2896]: General Error: hotbackup: PANIC: Not enough space
    [08/Oct/2009:12:26:40 +0200] bane csstored[2896]: General Critical: Failed to recover databases in /var/opt/sun/comms/calendar/SUNWics5/csdb/hotbackup/20091008
    [08/Oct/2009:12:26:40 +0200] bane csstored[2896]: General Error: hotbackup: DB_ENV->open: /var/opt/sun/comms/calendar/SUNWics5/csdb/hotbackup/20091008: DB_RUNRECOVERY: Fatal error, run database recovery
    [08/Oct/2009:12:26:40 +0200] bane csstored[2896]: General Notice: The hotbackup task has been temporarily disabled.
    Google search on this error gives suggestion to put these settings in Berkely DB_config file:
    set_cachesize 0 8388608 8
    set_lg_regionmax 524288
    set_lg_bsize 2097152
    Does calendar server even have a berkely db_config file?
    This problem cropped up today, after a series of restarts due to another problem that is now fixed.
    What does this mean, and how do I fix it? :o)

    whaterverfdsa wrote:
    What platform are you running on (Solaris x86/Sparc/Redhat Linux)?OpenSolaris (I know it's not supported, but we needed HA Clustering without shared storage, and to my knowledge the only solution then was opensolaris...)OpenSolaris isn't supported or tested at all with Communication Suite 7 so if something does break you will not get any assistance from Sun to fix it. Make sure you keep plenty of backups.
    Try stopping calendar server, move all of the hotbackup files elsewhere (/calendar/SUNWics5/csdb/hotbackup/*) and restarting calendar server.
    Does this fix the problem?Actually, I had put off this problem while I fixed some others, and when I was now going to do as you suggested, the problem had vanished... :o)
    Possibly the bad hotbackup(s) had cycled out? (We use the default settings for hotbackup and archive)...A fresh hotbackup/archive directory is created each day.
    The hotbackup mechanism is designed to warn the calendar server administrator of a possible corruption/problem with the production database. If the production database was fine but there was some issue with replaying the production database transaction log to the hotbackup db then you can hit this scenario.
    So the problem is gone, but I don't think I understand what the errormessage really meant... The calendar server stored process attempts to replay the live production database transaction log to the hotbackup db copy. If there is a problem during this process (as was the case here) it could indicate a problem with the production database.
    I couldn't find any other reports of the error "Logging region out of memory; you may need to increase its size" with Calendar Server so this may indicate a problem with Calendar Server (Berkeley DB) and OpenSolaris, a problem with the CS6.3 patch release provided with Comm-Suite-7 or some issue specific to your environment.
    Does it try to restore from a hotbackup after doing the hotbackup to verify?No. It is up to the administrator to verify if the production database is corrupt (db_verify / csdb check) and if so then follow the recovery procedures as per:
    http://docs.sun.com/app/docs/doc/819-4654/acamh?a=view
    Regards,
    Shane.

  • Log Queue Overflows  in SCM+Live Cache system

    Hello Friends,
    Log Queue Overflows showing RED alert   in  SCM  Live cache, Please help me How to solve this issue.
    Regards,
    Balaram

    User Basis wrote:
    Dears,
    >
    > In my system some problems are occurring with log queues.
    > The following message is presented in my system:
    > Log queue overflows: 70641, configured log queue pages: 2000 for each of 4 log queues
    >
    Ok, so what is the problem with that?
    You use the liveCache quite heavily (e.g. make lots of commits/changes) and the storage where you put your log-volume to is not quick enough to save the data.
    Either you fix the storage speed or you accept that your users might have to wait a bit longer for their application to save the data.
    User Basis wrote:
    > I think it is occurring because we are managing the Log with "Log automatic overwrite". This configuration is being used because we don´t have a lot of disk space to manage it as well.
    > Al jey.
    These two things have no connection.
    A log queue overflow simply means, that sessions have to wait until the log queue is saved to disk before they can put new entries to the log queue.
    The log mode overwrite means: you don't care about data security and the ability to recover the liveCache from a backup.
    It's a setting used for throw-away database instances where it doesn't matter to loose data.
    It means that the database simply overwrites log entries that have not been backed up, when the log area gets filled.
    regards,
    Lars

  • Populating our log message along with standard sap log in ck11n.

    Hi all,
    I have developed a user exit which is used in costing of material using ck11n.
    Here i have to show our custom log message along with the standard log shown by standard sap system after costing run is complete.
    I got one FM-- CM_F_MESSAGE  which is used by SAP. But i want the message along with SAP messages and not separately.
    Can u help me out for this. its very urgent.
    Thanks in advance.

    Hi
    I'm not sure because I don't know that trx, but I seem the function group of that function manages a log, so you can try.
    This is an extract of abap code of SAPLCKDI where that fm is used:
    CALL FUNCTION 'CM_F_MESSAGE'
       EXPORTING
         ARBGB = Y_CMF-CK
         MSGNR = '327'
         MSGTY = Y_CMF-W
         MSGV1 = SICHT
         MSGV2 = KLVAR.
    So I suppose you should call it by this way:
    CALL FUNCTION 'CM_F_MESSAGE'
       EXPORTING
         ARBGB = <your message class>
         MSGNR = <message number>
         MSGTY = <message type>
         MSGV1 = <text 1>
         MSGV2 = <text 2>
         MSGV3 = <text 3>
    I think MSGV* is optional parameter.
    Max

  • I think I finished installing Mountain Lion, and am at the "log in" page with my name and the Lion icon, but I cannot do any of the functions on screen. That is, I cannot log in, sleep, restart, or shut down. I am running it on an Early 2009 Macbook Pro

    I think I finished installing Mountain Lion, and am at the "log in" page with the Mountain Lion icon, but I cannot do any of the functions on screen. That is, I cannot log in, sleep, restart, or shut down. I am running it on an Early 2009 Macbook Pro, which is said to have the capabilities of running Mountain Lion.

    BrettGoudy wrote:
    ...Is there any way I can install a partition that runs snow leopard on my early 2011 MB pro with what I have (new SSD, New RAM, Current version Lion running, no external drive, lack of original snow leopard disks [I lost them ] and the general 10.6.3 snow leopard boot disks)...
    As the last post suggests, call Apple and order a replacement original disc for about $17.  They will ask you the model and serial numbers.
    Your retail version of Snow Leopard OS 10.6.3 will not work on that Mac as it requires a minimum of OS X 10.6.7 to boot and operate.
    Another alternative is to again borrow another Mac to install your retail Snow Leopard into an external HD or partition, upgrade it to 10.6.8 and then clone it back to a partition on your MBP.

  • Problem with setting up new Ipad Air2:I can't set up my new Ipad using new Apple ID and it keeps showing the notification that wrong email or password and try again. I can log in Itune with thesame

    I can't set up my new Ipad using new Apple ID and it keeps showing the notification that wrong email or password and try again. I can log in Itune with the same ID. Please help me if you have come across the same issue. Thank you!

    Contact the App store for Apple ID help. Their support link is on the right of the App store window
    LN

  • Windows cannot load the user's profile but has logged you on with the default profile for the system.

    My Windows 7  crashed a couple days ago after a windows update, I got this message.
    Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    I restarted the machine and got this message
    Windows was unable to load the registry. This problem is often caused by insufficient memory or insufficient security rights.
    DETAIL - The process cannot access the file because it is being used by another process. for C:\Users\TEMP\ntuser.dat
    I checked the event Log I found these .
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Windows has backed up this user profile. Windows will automatically try to use the backup profile the next time this user logs on.
    Windows cannot load the locally stored profile. Possible causes of this error include insufficient security rights or a corrupt local profile.
     DETAIL - The process cannot access the file because it is being used by another process.
    This is the first error in the event viewer after a successful logon
    The description for Event ID 34 from source ccSvcHst cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
     If the event originated on another computer, the display information had to be saved with the event.
    ccSetMgr
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Access is denied.
    Looking at the Logs all I can tell is that after the Desktop Window Manager started if caused this error.
    The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    then this one
    The Desktop Window Manager has exited with code (0x40010004)
    Then this before it shutdown.
    The User Profile Service has stopped.
    I started up the PC and the first message I got was
    How can I get access to my user profile? do I need to createa new Administrator account? Please help
    The EventSystem sub system is suppressing duplicate event log entries for a duration of 86400 seconds. The suppression timeout can be controlled by a REG_DWORD value named SuppressDuplicateDuration under the following registry key: HKLM\Software\Microsoft\EventSystem\EventLog.

    hi do the following
    1. In Search programs and files (Windows 7) area, type in regedit, and press Enter.
    2. If prompted click yes,
    3.  expand the following HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    4. click the sid that related to your admin profile (if you not sure, click each sid and in turn look to the right hand side of registry editor it will show who that sid is related to one of the registry files should hae in description localhost\admin or
    something similair)
    5. right click the sid and press delete.
    6. restart your machine and log back on with the admin account, this will then rebuild the admin profile... dont worry when it loads and none of your personal settings are saved or files or folders... go to c:\users
    in here you will see two folders for the admin account, one will be just admin and the other most likely admin.localhost
    i cant remember which one is which but just check both, one will still have all your files and folders in it.
    i suggest making a backup of your data before doing this incase something does go wrong, but ive had this happen many times in a domain enviorment and has worked for me everytime.

  • HT204053 Can I log into iCloud with an alias email?

    Noob here, did a search and couldn't seem to find an answer. (or I didnt look hard enough. ) So aplogies if these have already been asked before.
    I want to change my iCloud email address, but I've searched around here and read that you can't change it once you create it and link it to your apple ID. So, I created an alias and was wondering if you could log into iCloud with an alias email?
    For example if my iCloud address is [email protected] and my alias was [email protected], could I go to icloud.com and login using [email protected]?
    Also, what are the proper steps to get the alias email to behave like the icloud primary email;I stupidly chose a dumb icloud email address and regret it, and if I set the alias to be the only email to be able to send mail in my iphone and macbook, can I basically ignore the primary icloud email and use the alias the whole time to send and compose mail?
    Also, I don't necessarily need to know/use the primary icloud email, since I use my apple ID to log into icloud.com?
    From what I understand, the primary icloud that is linked to your apple ID is mail server, right? I'm not really sure, to be honest.
    Thanks!

    In the Mail application on your Mac, add the aliases, separated by commas, to the 'Email address' field in Preferences>Accounts>General. They will then appear in the drop-down menu for the 'From' address in the New message pane.
    They already appear in the equivalent place in the new message pane at icloud.com.

  • RegionRenderer encodeAll The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance.

    Hi,
    I am using JDEV 11.1.2.1.0
    I am getting the following error :-
    <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    Piece of code is for region is:-
       <f:facet name="second">
                                                <af:panelStretchLayout id="pa1"
                                                                       binding="#{backingBeanScope.Assign.pa1}">
                                                    <f:facet name="center">
                                                        <af:region value="#{bindings.tfdAssignGraph1.regionModel}" id="r1"
                                                                   binding="#{backingBeanScope.Assign.r1}"/>
                                                    </f:facet>
                                                </af:panelStretchLayout>
                                            </f:facet>
    How do I resolve it ?
    Thanks,

    Hi,
    I see at least 3 errors
    1. <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components.
    the page fragment should only have a single component under the jsp:root tag. If you see more than one, wrap them in e.g. an af:panelGroupLayout or af:group component
    2. SAPFunction.jspx/.xml" has an invalid character ".".
    check the document (you can open it in JDeveloper if the customization was a seeded one. Seems that editing this file smething has gone bad
    3. The expression "#{bindings..regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "pePanel") evaluated to null.
    "pageeditorpanel" does seem to be missing in the PageDef file of the page holding the region
    Frank

  • Log buffer overflow

    I have been receiving the flex log buffer overflow error for a long time. I don't believe it is causing any problem but I'm not sure.
    I have Iplanet Web Server 4.1 on Solaris 2.6.
    I have changed the LogFlushInterval from the default 30 seconds to 5 seconds.
    I am logging a great deal of information
    My questions are...
    should I be concerned ?
    when I get that error is the buffer being immediately dumped to the log file ?
    am I losing any log information ?
    can I increase the buffer size ?
    should I reduce the LogFlushInterval any more ?
    Thanks

    The error message indicates that an access log entry exceeded the maximum of 4096 bytes and was truncated. You should check the access log file for suspicious entries.
    Adjusting LogFlushInterval won't affect this problem, and unfortunately there's no way to increase flex log buffer size.

  • Open Container: Logging region out of memory

    When opening a container I am getting the following error... according to doc's it appears as though a new log file should be created but this is not the case...
    Utils: Logging region out of memory; you may need to increase its size
    Utils: DB->get: method not permitted before handle's open method
    Utils: DB->put: method not permitted before handle's open method
    Utils: DB->put: method not permitted before handle's open method
    Utils: DB->put: method not permitted before handle's open method
    Utils: DB->put: method not permitted before handle's open method
    Utils: DB->put: method not permitted before handle's open method
    Error: com.sleepycat.dbxml.XmlException: Error: Cannot allocate memory, errcode = DATABASE_ERROR
    com.sleepycat.dbxml.XmlException: Error: Cannot allocate memory, errcode = DATABASE_ERROR
    at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_openContainer__SWIG_2(Native Method)
    at com.sleepycat.dbxml.XmlManager.openContainer(XmlManager.java:525)
    at com.sleepycat.dbxml.XmlManager.openContainer(XmlManager.java:190)
    at com.sleepycat.dbxml.XmlManager.openContainer(XmlManager.java:132)
    at com.iconnect.data.pool.BerkeleyXMLDBPool.getContainer(BerkeleyXMLDBPool.java:195)
    at com.iconnect.data.adapters.BerkleyXMLDBImpl.query(BerkleyXMLDBImpl.java:109)
    at com.iconnect.data.DataManagerFactory.query(DataManagerFactory.java:112)
    at controls.iConnectControl.IConnectImpl.login(IConnectImpl.java:100)
    at controls.iConnectControl.IConnectBean.login(IConnectBean.java:110)
    at app.a12.en.auth.LoginController.Login(LoginController.java:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:811)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:752)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:446)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:237)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:299)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:55)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:1403)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:647)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:702)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:565)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.iconnect.security.SecurityFilter.doFilter(SecurityFilter.java:99)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

    Here is the output that we have... one thing to note that the exception implies that the container does not exists (although it does)... it is falling into a sub-routine for:
    myManager.existsContainer(containerName) == 0
    The exception is thrown (it seems) because of the "Logging region..." error...
    We had normal operation untill the loggin system ran out of memory... (I am using a shared Environment and am amanaging shared open Containers)...
    btw - Is there not a good end-to-end Java example that is available?
    // Initialize the Environment Configuration
    envConfig.setAllowCreate(true);           // If the environment does not
    envConfig.setInitializeCache(true);      // Turn on the shared memory
    envConfig.setInitializeLocking(true);      // Turn on the locking subsystem.
    envConfig.setInitializeLogging(false);      // Turn on the logging subsystem.
    envConfig.setTransactional(true);           // Turn on the transactional
    envConfig.setErrorStream(System.err);
    envConfig.setErrorPrefix("Utils");
    envConfig.setNoLocking(true);
    // Played using these settings as well
    //envConfig.setLogInMemory(true);
    //envConfig.setLogBufferSize(10 * 1024 * 1024);
    envConfig.setThreaded(true);
    Getting container: USER.dbxml
    Utils: Logging region out of memory; you may need to increase its size
    Container does not exist.... creating...
    Utils: Logging region out of memory; you may need to increase its size
    Utils: Logging region out of memory; you may need to increase its size
    com.sleepycat.dbxml.XmlException: Error: Cannot allocate memory, errcode = DATABASE_ERROR
    com.sleepycat.dbxml.XmlException: Error: Cannot allocate memory, errcode = DATABASE_ERROR
    at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_createContainer__SWIG_0(Native Method)
    at com.sleepycat.dbxml.XmlManager.createContainer(XmlManager.java:485)
    at com.sleepycat.dbxml.XmlManager.createContainer(XmlManager.java:152)
    at com.sleepycat.dbxml.XmlManager.createContainer(XmlManager.java:122)
    at com.iconnect.data.pool.BerkeleyXMLDBPool.getContainer(BerkeleyXMLDBPool.java:171)
    at com.iconnect.data.adapters.BerkleyXMLDBImpl.query(BerkleyXMLDBImpl.java:109)
    at com.iconnect.data.DataManagerFactory.query(DataManagerFactory.java:112)
    at controls.iConnectControl.IConnectImpl.login(IConnectImpl.java:100)
    at controls.iConnectControl.IConnectBean.login(IConnectBean.java:110)
    at auth.LoginController.Login(LoginController.java:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:811)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:752)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:446)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:237)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:299)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:55)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:1403)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:647)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:702)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:565)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.iconnect.security.SecurityFilter.doFilter(SecurityFilter.java:99)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)
    Setting namespace: http://iconnect.com/schemas/user
    com.sleepycat.dbxml.XmlException: Error: Cannot resolve container: USER.dbxml. Container not open and auto-open is not enabled. Container may not exist., errcode = CONTAINER_CLOSED

  • How can I get a log of conversation with Apple Support Chat ?

    How can I get a log of conversation with Apple Support Chat ? Case ID: 52****250
    <Edited By Host>

    The only way I know of is to copy the entire content of your chat window (while it is still active) and then paste it into a text document (or, if it is short enough to fit the window without scrolling, take a screenshot). Once you terminate the chat, the record is gone (as far as I know).

  • Ever since enabling Soft Delete on one of my tables, the logs are flooded with "... does not support the 'deleted' system property"

    I enabled Soft Delete on one of my Azure Mobile Services tables, and ever since then, the logs are flooded with tons of warnings that say something like this:
    The table 'Section' does not support the 'deleted' system property.
    Is there a way to suppress these warnings, or is it advisable to enable soft delete for all of my tables?
    As a follow on, is there a way to export the logs so that it's easier to peruse through them and search?
    Thanks :)

    Hi
    You can set your logging level in Azure Admin portal to be Error only, so it only logs errors and warnings will be ignored.
    Regards
    Aram

  • System.log fills up with uninstall_folder_path no 0

    My system.log fills up with the following text:
    Apr 10 22:09:48 Macken DelMonitor[60]: hokan
    Apr 10 22:09:48 Macken DelMonitor[60]: uninstall_path no 0
    Apr 10 22:09:48 Macken DelMonitor[60]: uninstall_folder_path no 0
    Apr 10 22:09:50 Macken DelMonitor[60]: install_path yes
    These four lines adds every other second, and just fills upp the system.log.
    I habe tried to google but can not find any clues to what this is and how to make it stop!
    Anyone have any suggestions?
    I have a Mac Book Pro with verson 10.7.3
    Regards,
    Hokan

    It's some third-party software that you installed, but I can't be more specific. If you can't figure it out any other way, you'll just have to start uninstalling things until the log messages stop.

Maybe you are looking for