Serious lock problem - transaction has active cursors

Hi,
i use BDB C via the Java-API (4.6.21, developing with WindowsXP). Currently i am having serious problems with LOCK_NOT_GRANTED_EXCEPTIONS.
My application is a queue implementation. One push objects into the database, another one reads them and a third one deletes entries with an outdated TTL (time-to-live). All of these processes are done by multiple dedicated threads what leads to highly concurrent situations.
The TTL cleaning uses a tx-cursor which deletes entries that are too old. The inserter simply uses put(). The reader uses a cursor too, which starts with a pointer (via getSearchKey) or at the beginning of the database (if no start could be found, the pointer is then outdated as it was deleted by TTL cleaning run).
The isolation level is at READ_COMMITTED. Sometimes i use RMW locks for reading and updating status information.
So i implemented a lock detection which retries at least the inserts if a lock fails. The reads can fail and report their exceptions to the outside world. This seems to work fine. Sometimes i get some LOCK_NOT_GRANTED_EXCEPTIONS and the recovery should work. But it works only sometimes.
BDB-C complains with "transaction has active cursors" (see txn.c - line 1186). All subsequent calls to rollback or commit or any other method of BDB-C handles fails then with a RunRecoveryException. I am absolutely sure, i have no open cursors, as i close them implicitly before tx.commit() or tx.abort(). I wrote a reference counter to ensure that and it shows always a count of 0 open cursors as expected.
The whole process is of course quite heavy stress for the DB - i am actually read, write, delete and checkpoint the db at the same position at the same time.
I am tending to introduce MVCC to avoid those locking issues. As i understood concurrent updates of the same db page with multiversion transactions may also cause DeadLockExceptions. Can i use RMW locks to avoid concurrent updates on the same pages with MVCC?
Some hints?
TIA
Dirk

Hi,
I have created a patch for Berkeley DB 4.6.21, which outputs information about all cursor open and close operations. This should help you see which cursor is not being closed.
If you apply the patch below to your Berkeley DB tree, and rebuild.
Then add setVerbose(VerboseConfig.CURSOR, true), to your EnvironmentConfig initialization.
It will send log messages to the output stream configured via EnvironmentConfig.setMessageStream(). The default is System.out.
There will likely be a lot of output.
Please let me know if this helps you resolve the problem. Otherwise, ask more questions ;)
Regards,
Alex Gorrod
diff -rc db-4.6.21.orig/build_windows/db.h db-4.6.21/build_windows/db.h
*** db-4.6.21.orig/build_windows/db.h     Fri Sep 28 01:32:08 2007
--- db-4.6.21/build_windows/db.h     Mon May 12 17:29:52 2008
*** 60,66 ****
  #define     DB_VERSION_MAJOR     4
  #define     DB_VERSION_MINOR     6
  #define     DB_VERSION_PATCH     21
! #define     DB_VERSION_STRING     "Berkeley DB 4.6.21: (September 27, 2007)"
--- 60,66 ----
  #define     DB_VERSION_MAJOR     4
  #define     DB_VERSION_MINOR     6
  #define     DB_VERSION_PATCH     21
! #define     DB_VERSION_STRING     "Berkeley DB 4.6.21: (May 12, 2008)"
*** 2133,2138 ****
--- 2133,2139 ----
  #define     DB_VERB_REGISTER     0x0010     /* Dump waits-for table. */
  #define     DB_VERB_REPLICATION     0x0020     /* Replication information. */
  #define     DB_VERB_WAITSFOR     0x0040     /* Dump waits-for table. */
+ #define     DB_VERB_CURSOR          0x0080     /* Cursor open/close information. */
       u_int32_t      verbose;     /* Verbose output. */
       void          app_private;     / Application-private handle. */
diff -rc db-4.6.21.orig/db/db_am.c db-4.6.21/db/db_am.c
*** db-4.6.21.orig/db/db_am.c     Thu Jun 14 04:21:30 2007
--- db-4.6.21/db/db_am.c     Mon May 12 17:32:08 2008
*** 283,288 ****
--- 283,291 ----
       TAILQ_INSERT_TAIL(&dbp->active_queue, dbc, links);
       F_SET(dbc, DBC_ACTIVE);
       MUTEX_UNLOCK(dbenv, dbp->mutex);
+      if (FLD_ISSET(dbenv->verbose, DB_VERB_CURSOR))
+           __db_msg(dbenv,
+               "Cursor (%p) opened, associated txn: %p", dbc, dbc->txn);
       *dbcp = dbc;
       return (0);
diff -rc db-4.6.21.orig/db/db_cam.c db-4.6.21/db/db_cam.c
*** db-4.6.21.orig/db/db_cam.c     Tue Jun  5 21:46:24 2007
--- db-4.6.21/db/db_cam.c     Mon May 12 17:32:25 2008
*** 71,76 ****
--- 71,79 ----
       opd = cp->opd;
       ret = 0;
+      if (FLD_ISSET(dbenv->verbose, DB_VERB_CURSOR))
+           __db_msg(dbenv,
+               "Cursor (%p) closed, associated txn: %p", dbc, dbc->txn);
        * Remove the cursor(s) from the active queue.  We may be closing two
        * cursors at once here, a top-level one and a lower-level, off-page
diff -rc db-4.6.21.orig/dbinc/db.in db-4.6.21/dbinc/db.in
*** db-4.6.21.orig/dbinc/db.in     Fri Jun 29 00:23:35 2007
--- db-4.6.21/dbinc/db.in     Mon May 12 17:23:20 2008
*** 2106,2111 ****
--- 2106,2112 ----
  #define     DB_VERB_REGISTER     0x0010     /* Dump waits-for table. */
  #define     DB_VERB_REPLICATION     0x0020     /* Replication information. */
  #define     DB_VERB_WAITSFOR     0x0040     /* Dump waits-for table. */
+ #define     DB_VERB_CURSOR          0x0080     /* Cursor open/close information. */
       u_int32_t      verbose;     /* Verbose output. */
       void          app_private;     / Application-private handle. */
diff -rc db-4.6.21.orig/dist/pubdef.in db-4.6.21/dist/pubdef.in
*** db-4.6.21.orig/dist/pubdef.in     Fri Jul  6 10:22:52 2007
--- db-4.6.21/dist/pubdef.in     Mon May 12 17:21:48 2008
*** 432,437 ****
--- 432,438 ----
  DB_USERCOPY_SETDATA          * I N
  DB_USE_ENVIRON               D I J
  DB_USE_ENVIRON_ROOT          D I J
+ DB_VERB_CURSOR               D I J
  DB_VERB_DEADLOCK          D I J
  DB_VERB_FILEOPS               D I J
  DB_VERB_FILEOPS_ALL          D I J
diff -rc db-4.6.21.orig/env/env_method.c db-4.6.21/env/env_method.c
*** db-4.6.21.orig/env/env_method.c     Fri May 18 01:15:11 2007
--- db-4.6.21/env/env_method.c     Mon May 12 17:28:57 2008
*** 1070,1075 ****
--- 1070,1076 ----
       int *onoffp;
       switch (which) {
+      case DB_VERB_CURSOR:
       case DB_VERB_DEADLOCK:
       case DB_VERB_FILEOPS:
       case DB_VERB_FILEOPS_ALL:
*** 1098,1103 ****
--- 1099,1105 ----
       int on;
       switch (which) {
+      case DB_VERB_CURSOR:
       case DB_VERB_DEADLOCK:
       case DB_VERB_FILEOPS:
       case DB_VERB_FILEOPS_ALL:
diff -rc db-4.6.21.orig/java/src/com/sleepycat/db/EnvironmentConfig.java db-4.6.21/java/src/com/sleepycat/db/EnvironmentConfig.java
*** db-4.6.21.orig/java/src/com/sleepycat/db/EnvironmentConfig.java     Fri Jul  6 10:22:54 2007
--- db-4.6.21/java/src/com/sleepycat/db/EnvironmentConfig.java     Mon May 12 17:25:22 2008
*** 114,119 ****
--- 114,120 ----
      private boolean yieldCPU = false;
      /* Verbose Flags */
+     private boolean verboseCursor = false;
      private boolean verboseDeadlock = false;
      private boolean verboseFileops = false;
      private boolean verboseFileopsAll = false;
*** 846,851 ****
--- 847,855 ----
      public void setVerbose(final VerboseConfig flag, boolean enable) {
          int iflag = flag.getInternalFlag();
          switch (iflag) {
+         case DbConstants.DB_VERB_CURSOR:
+             verboseCursor = enable;
+             break;
          case DbConstants.DB_VERB_DEADLOCK:
              verboseDeadlock = enable;
              break;
*** 876,881 ****
--- 880,887 ----
      public boolean getVerbose(final VerboseConfig flag) {
          int iflag = flag.getInternalFlag();
          switch (iflag) {
+         case DbConstants.DB_VERB_CURSOR:
+             return verboseCursor;
          case DbConstants.DB_VERB_DEADLOCK:
              return verboseDeadlock;
          case DbConstants.DB_VERB_FILEOPS:
*** 1151,1156 ****
--- 1157,1167 ----
              dbenv.set_flags(offFlags, false);
          /* Verbose flags */
+         if (verboseCursor && !oldConfig.verboseCursor)
+             dbenv.set_verbose(DbConstants.DB_VERB_CURSOR, true);
+         if (!verboseCursor && oldConfig.verboseCursor)
+             dbenv.set_verbose(DbConstants.DB_VERB_CURSOR, false);
+
          if (verboseDeadlock && !oldConfig.verboseDeadlock)
              dbenv.set_verbose(DbConstants.DB_VERB_DEADLOCK, true);
          if (!verboseDeadlock && oldConfig.verboseDeadlock)
*** 1342,1347 ****
--- 1353,1359 ----
          yieldCPU = ((envFlags & DbConstants.DB_YIELDCPU) != 0);
          /* Verbose flags */
+         verboseCursor = dbenv.get_verbose(DbConstants.DB_VERB_CURSOR);
          verboseDeadlock = dbenv.get_verbose(DbConstants.DB_VERB_DEADLOCK);
          verboseFileops = dbenv.get_verbose(DbConstants.DB_VERB_FILEOPS);
          verboseFileopsAll = dbenv.get_verbose(DbConstants.DB_VERB_FILEOPS_ALL);
diff -rc db-4.6.21.orig/java/src/com/sleepycat/db/VerboseConfig.java db-4.6.21/java/src/com/sleepycat/db/VerboseConfig.java
*** db-4.6.21.orig/java/src/com/sleepycat/db/VerboseConfig.java     Fri Jul  6 10:22:54 2007
--- db-4.6.21/java/src/com/sleepycat/db/VerboseConfig.java     Mon May 12 17:28:07 2008
*** 12,17 ****
--- 12,19 ----
  import com.sleepycat.db.internal.DbEnv;
  public final class VerboseConfig {
+     public static final VerboseConfig CURSOR =
+         new VerboseConfig("CURSOR", DbConstants.DB_VERB_CURSOR);
      public static final VerboseConfig DEADLOCK =
          new VerboseConfig("DEADLOCK", DbConstants.DB_VERB_DEADLOCK);
      public static final VerboseConfig FILEOPS =
diff -rc db-4.6.21.orig/java/src/com/sleepycat/db/internal/DbConstants.java db-4.6.21/java/src/com/sleepycat/db/internal/DbConstants.java
*** db-4.6.21.orig/java/src/com/sleepycat/db/internal/DbConstants.java     Fri Sep 28 01:32:07 2007
--- db-4.6.21/java/src/com/sleepycat/db/internal/DbConstants.java     Mon May 12 17:29:17 2008
*** 194,199 ****
--- 194,200 ----
      int DB_UPGRADE = 0x0000001;
      int DB_USE_ENVIRON = 0x0004000;
      int DB_USE_ENVIRON_ROOT = 0x0008000;
+     int DB_VERB_CURSOR = 0x0080;
      int DB_VERB_DEADLOCK = 0x0001;
      int DB_VERB_FILEOPS = 0x0002;
      int DB_VERB_FILEOPS_ALL = 0x0004;

Similar Messages

  • My iPad is locked up and has a apple and a bar under it on the screan and it will not turn on or off. Anyone know how to solve this problem?

    My iPad is locked up and has a apple and a bar under it on the screen and it will not turn on or off. Anyone know how to solve this problem?

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • My iPad is locked up and has a apple and a bar under on the screan and it will not turn on or off. Anyone know how to solve this problem?

    My iPad is locked up and has a apple and a bar under on the screen and it will not turn on or off. Anyone know how to solve this problem?

    Press and hold the Sleep/Wake button until the red slider appears. When the red slider appears, release the Sleep/Wake button.
    Instead of dragging the red slider, press and hold the Home button for six seconds.
    See Here for More Details on Unresponsive iPad
    http://support.apple.com/kb/TS3281

  • CATS IDoc inbound problem - Transaction lock, LR002

    Customer is posting CATS records via interface from externa system to IDoc for CATS processing. Either the create BAPI (BAPI_...) is used or if there is a change to an already existing posting (BAPI_...). For his i have slightly modified the SAP standard existing FM for CATS inbound processing (IDOC_) to handle both scenarios, create and change. I basically examine CATS data from external system and if it is already existing then I call the change BAPI and if not found the I call the create BAPI.
    We have no problem posting with these BAPIs when there postings are imported one by one. But, when several CATS postings arrive at the same second then not all postings are handled correctly. We receive error message "Transaction locked by user XXX" (error message e002(lr)) and XXX is the background communication user. No luck using "Where used" for error 002 in message class LR either. Also tried tracing with trans SE30 but no luck there either.  Data is always different but can be for the same personell number. User is correct and not locked - it is the transaction (like CAT2) thats SAP standard reports as locked. Some postings go through alright but then after a few corrrect posting this problem pops up. Very frustating.
    Code is correct as it seems only to be a "overflow" problem. Config and data is also correct. Customer was also facing the very same error using the same BAPIs called via RFC and not via IDoc.
    Reason to change to IDoc was of course to set the posting as synchronous thus avoiding this "overflow" problem. In standard SAP is IDocs processed in parallell which is fine in many circumstances but not here. Or it might be OK as long as this error don't occur but have found no way so far. Customer is in production and this must be solved. We also tried this in a band new upgraded ECC 6.0 EhP5 system as customer is in the process of upgrading. Same error.
    I have found very few hints when searching through Google, SAPNet, SDN etc. This is one of the very few links I found: [Locking problem with FM EDI_DATA_INCOMING;
    So I checked this in trans WE46 but as customer is running ECC 6.0 EhP3 we have no such option. Then tried trans nOYEAn setting the parameter "Synchronous processing" but I do not understand how this is supposed to work. Problem stills remains. The values are stored in table EDICONFIG and here parameter INBSYNC is used for the synchrounous setting as of my understanding but we only have this for a user called EDIADMIN and that is certainly not our background user. I don't understand how to set this parameter correctly I guess. SAP help doen't give more insight either - at least not for me.
    Does anyone have a suggestion how to solve this problem? Anyone solved this before and willing to share a solution?
    << Moderator message - Please do not promise points >>
    I maybe beed to send this to SAP OSS but trying this option first.
    To me this is puzzling. Find very few references which normally means few have encountered this. Strange. CATS BAPI interfacing must be used by a lot of companies.
    BR, Johan
    Edited by: Rob Burbank on Nov 7, 2011 2:36 PM

    Hi Johan,
    These kind of problems arise when there is a very little time gap between two successive postings. So put a 'WAIT UP TO 2 SECONDS' between each of the postings. This will give time for the previous posting to perform the updates even before the next posting hits the same transaction. This will solve your problem.

  • Activation lock problem!

    Hello,
    I just got a new iPhone 4s from a friend and I can't get into it because of an activation lock problem. I've already tried to restore it in recovery mode but than I still have to log in to his account. Now i've logged in to his iCloud account and deleted the iPhone using the following instructions:
    Sign in to their iCloud account at www.icloud.com/find.
    Click All Devices to open a list of devices linked to their account, then select the device to be removed. It should show a gray dot or the word “Offline” next to the device name.
    Click "Remove from Account" to remove the device from their account.
    But it seems that I have should done the following instructions, because the iPhone wasn't completely erased yet:
    Sign in to their iCloud account at www.icloud.com/find.
    Click All Devices to open a list of devices linked to their account, then select the device to be removed.
    Click the Erase button to erase all content and settings from the device. When prompted, don't enter a phone number or message. Click Next until the device is erased.
    When the erase is complete, click "Remove from Account" to remove the device from the account.
    The problem is that it's too late for that now, because I already deleted the iPhone from his iCloud... Please help me out here, what can I do to still erase it from iCloud?!
    Greets

    Were you, by chance, running a beta version of iOS 7 on your phone?
    If so, this will be the problem. You will need to log Into the private developers forum athttps://developer.apple.com/support/ios/
    If you are not a developer, you will need to seek help by way of your favourite search site.

  • Has anybody had a problem with the mouse cursor lagging when navigating the drop down menus? this only started happening after a re-install. it only occurs in Photoshop elements 13 in the  photo editing section,and no other application. My mouse drivers a

    Has anybody had a problem with the mouse cursor lagging when navigating the drop down menus? this only started happening after a re-install. it only occurs in Photoshop elements 13 in the  photo editing section,and no other application. My mouse drivers are up to date.Any help or advice would be most welcome.

    Good day!
    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements
    and please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    Regards,
    Pfaffenbichler

  • Article says K8N Neo has SATA frequency locking problem

    This article says that the K8N Neo has SATA frequency locking problems when overclocking:
    http://www.nforcershq.com/modules.php?name=News&file=article&sid=1801
    First of all, is this true?
    And if it is true, do we have a BIOS that fixed this problem.
    My drives are PATA right now so I currently don't have any problems but I plan to get SATA drives/adapters soon.
    I'm running 240 HTT (1:1) so not having the SATA frequency locked could be an issue.

    Well, I´m running HTT 230 now, and I´m always using my Raptor as OS disk. Haven´t had any problems yet (with my disk). It´s connected to s-ata_1. Haven´t tried the other ones.
    But sometimes when I boot (200 or 230HTT, doesn´t matter) I get artifacts on the boot screen and in Windows, so I have to restart.
    Could it be a partially working AGP-lock? It seems as at works most of the time, but sometimes not... Strange... AGP is set to 66-67MHz

  • I had my unlocked iPhone 4 replaced by apple with a refirb and am pretty sure they've issued me with a locked phone. Has anyone else had this problem?

    Hello all
    I had my damaged unlocked iPhone 4 replaced by apple with a refirb model and am pretty sure they've issued me with a locked phone.
    Has anyone else had this problem?
    Is Apple aware that they are refirbing but not unlocking phones?
    Cheers
    Ty

    It is entirely possible that the human you spoke with at Apple simply made a mistake.  You do realize that humans make mistakes, correct?
    Take the device back to the store along with any documents you have stating it is or is supposed to be unlocked and let them clear it up.
    This all assumes the device was unlocked by the carrier and not some shady website or local electronics store.

  • Locking problem in BPS solution not getting solved  using RSPLSE. SEM_BPS_S

    Can anyone tell me exactly what "rsplse" offers to solve locking in BPS?
    We have made correct selection of characteristics (in our case "costcentre" infoobject) in tab "Lock characteristics" , but still when two people are trying to access (write) data in the same transactional cube against the different cost centres, the system is throwing an error message Cube “zIC_ccp” is locked by username.  (Or if a single person is using the two packages simultaneously using  two web sessions , he is getting the same error. )
    Our assessment is that he should not be facing this locking problem because cost centres here are acting as a “key” to different selection as configured in “rsplse”. 
    Can anyone tell me how to use parameter SEM_BPS_SAVE_UNLOCK. I want to know t. code and other t . code and other details to execute SEM_BPS_SAVE_UNLOCK.

    Hi,
    Please check the OSS note 635244.
      From the OSS note :
    <b> Notes on SET/GET parameters SEM_BPS_NO_LOCK, SEM_BPS_SAVE_UNLOCK :</b>
    These two parameters have nothing to do with the problem described above. They are only designed to facilitate the Customizing process, if users carry out Customizing in t ransaction BPS0 within a project.
    <b>SEM_BPS_NO_LOCK:</b> This parameter has the effect that transaction data is not locked at all. Never use this parameter in a production system. As of Support Package 14 for Release 3.1B, parameter SEM_BPS_NO_LOCK is released by an additional switch in table upc_dark2: For this purpose you have to maintain a record with param = ENABLE_NO_LOCK and value = X in table upc_dark2. Only then the system includes parameter SEM_BPS_NO_LOCK. The parameter can then be useful if you want to test functions or the manual planning with 'test data' in Customizing.
    <b>SEM_BPS_SAVE_UNLOCK</b>: This parameter only works in transaction BPS0; it has the effect that the system unlocks data (if possible) after it has been saved. Therefore, the system only simulates an exit and reentry in transaction BPS0 with the last active detail application. Therefore, the above parameter can be helpful if many people work on Customizing in transaction BPS0, because objects can be unlocked earlier.
    Regards,
    Siva.

  • The method 'commit' cant be called when a global transaction is active.

    Hello,
    I've installed the SOAdemo a couple of times on local machines, and it works fine. Now I've deployed the SOADemo on a separate server and a strange error occurs in BPEL when testing the SOADemo.
    The SOAOrderBooking BPEL process runs into an error at the GetOrderId process:
    ================================
    file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_SOAOrderBooking_1.0_937b09d1bd8dae1b33b028b2871aef63.tmp/OrderSequence.wsdl [ OrderSequence_ptt::OrderSequence(OrderSequenceInput_msg,OrderSequenceOutputCollection) ] - WSIF JCA Execute of operation 'OrderSequence' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active .
    ; nested exception is:
         ORABPEL-11616
    =================================
    I am using SOA Suite 10.1.3.0 and Database 10201, deployed on Windows.
    Can anybody tell me what can cause this problem?
    Thanks in advance,
    Regards Leon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    Hi, I am getting the same error using ESB Database Adapter.
    My faultstring is:
    ========================
    oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/my_ESB/myAdapter.wsdl [ myAdapter_ptt::myAdapter(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'myAdapter' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active.]
    ; nested exception is:
         ORABPEL-11616
    DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active.]
    Caused by Exceptoin [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
    Belső kivétel: java.sql.SQLException: The method 'commit' cant be called when a global transaction is active.Error Code: 0.
    ==========================
    (BTW, what has 'commit' to do with a procedure that is only reading the database?)
    Regards,
    Patrik

  • Serious performance problems after updating from 10.5.6 to 10.5.7

    I've got a Macbook Pro C2D 15" (late 2006). After updating the system from 10.5.6 to 10.5.7 and quicktime to 7.6.2, I experience serious performance problems which I have never seen before:
    -From time to time, kernel_task has peaks in activity monitor (consumes a lot of CPU). In that moment, the mouse hangs for a short moment and audio playback is distorted/has drop outs.
    -Recording audio consumes a lot of CPU (independent of the audio application).
    -Video playback consumes a lot of CPU, regardless if I use VLC or the quicktime player.
    Any idea what could be done? Thanks in advance.

    After a few days of using CoolBook I report that my 1st generation MacBook Air is now reliable and never overheating, regardless of environment conditions.
    I must point out that I do believe that it really is something new in 10.5.7 that is causing this problem as my environmental conditions have not changed and even Summer in Dublin still sees temperatures no more than 72F/22C. I am now in Madrid, where the environment is quite different, and I am still having no problem with kernel_task spinning.
    I plan on reporting my problem to Apple anyway and being aggressive about the issue as MacLovinRanga did in this thread (http://discussions.apple.com/thread.jspa?messageID=9647353#9647353). Perhaps many/all of those of us having this problem will obtain new MacBook Airs.
    Joe Kiniry

  • DFS-R - Office Documents locked problem

    Dear Forum Members,
    Recently I faced a really "threatening" problem, which you may seen before so know the solution for it. We had an old File Server, used Disk2VHD to move it's complete D: drive to another Windows Server 2012 R2. After this, we enabled DFS replication
    for the whole drive to another Active Directory site WS2012R2 file server (just for backup). It is important that we use DFS-N for users to discover this share but they have folder targets JUST for the first one server, the second one is just for backup purposes.
    The problem is that DFS-R comes with default exclusions (~*, *.bak, *.tmp), but in order to keep full sync, we removed them. Now users complain that several times they can not save Office documents (typically excel) because the files are locked! Even for
    NEW files, when they try to save an .xls/.xlsx from Outlook, the file is imeediately locked!
    After this we put back the exclusions immediately, because we taught that the problem comes from the Office temporary files. The event log contained a lot of warnings that tmp files could not be synced because of locked. Now I can not see other tmp files
    warnings anymore, but there are still warnings in the DFS log, for example:
    Event ID 4302 - The DFS Replication service has been repeatedly prevented from replicating a file due to consistent sharing violations encountered on the file. The service failed to stage a file for replication due to a sharing violation.
    And this is for an .xlsm file.
    What else could be the problem? Has anyone ran in this situation already?
    Thank you a lot for any help,
    Best Regards,
    Christian

    Hi,
    Sorry for the delay reply.
    DFS Replication uses staging folders for each replicated folder to act as caches for new and changed files that are ready to be replicated from sending members to receiving members. These files are stored under the local path of the replicated folder in
    the DfsrPrivate\Staging folder. So if no new files and changed files, the folder is empty.
    For more detailed information, you could refer to the similar thread about
    DFS Staging Folder
    https://social.technet.microsoft.com/forums/windowsserver/en-US/239ecfc9-5cac-436f-b2a7-291d7535b26c/dfs-staging-folder
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I have a problem with it activation.

    Hello!
    I bought  iPhone 4S it was purchased in France but i live in Ukraine and want to use it in my country. the phone is neverlocked.
    I have a problem with it activation.
    Part No. MD242F/A
    Serial No. C39GGL26DTD7
    The phone has latest firmware 5.0.1
    In my laptop installet latest iTunes 10.5.1.42
    The phone can accept my ukrainian sim-card and I can see my carrier network but activation is not possible. I get an error message about my sim card is not supported and I must insert the card carrier to support it. But I do not know for what carrier card I need, because the phone is neverlocked. And I have no cards of French carriers.
    can you advice me with the problem please how to solve it?

    No one can or will help you
    This is
    Find My iPhone Activation Lock - Apple Support
    It is a very successful anti theft device
    The only way to activate the iPhone is for the Owner whose Apple id is still on the iPhone to release it ,an easy task if you can find them
    There is no other way Activation lock cannot be broken and Apple will not assist you

  • Serious Unmarshalling Problem

    I have been having a serious problem implementing an RPC web service which needs
    to return
    arrays of Java Beans nested three layers deep. In order to simplify the problem,
    I constructed these
    simple Java Beans (abbreviated here):
    Class A
    B[] bArray;
    Class B
    C[] cArray;
    Class C
    String value;
    Then I wrote a client similar to this:
    C c = new C();
    c.setValue("Dave");
    C[] cArray = new C[2];
    cArray[0] = c;
    cArray[1] = c;
    B b = new B();
    b.setCArray(c);
    B[] bArray = new B[2];
    bArray[0] = b;
    bArray[1] = b;
    A a = new A();
    a.setBArray(b);
    C c1 = service.getC(c):
    B b1 = service.getB(b);
    A a1 = service.getA(a);
    In my web service, I have three methods:
    C getC(C);
    B getB(B);
    A getA(A);
    All these do is return the objects they are sent.
    When getC is called, it works fine. In the verbose mode, you can see that the
    XML sent
    and received is the same. getB also works fine.
    But getA does not work. The response is abbreviated and contains nulls. It appears
    that
    the data is not being unmarshalled/unserialized correctly on the server side.
    This is a serious problem that has my project in jeopardy. Please advise,
    Dave Mrozek

    please use spaces instead of tabs :
    why did you convert a date, which is formatted in your DD-MON-RR - format, back to date with the format DD-MM-RR ?
    try this: I reformatted it, so that you can better read it :
      CURSOR cur_first IS
      SELECT a.item_code,
             b.item_description,
             a.lot_no,
             d.name model,
             c.vendname,
             date_of_purchase,
             warrenty_upto,
             quentaty,
             rate,
             pc_type,
             decode (warrenty_flag_yn, 'W', TO_DATE (warrenty_upto,       'DD-MON-RR'),
                                       'A', TO_DATE ('31-MAR-' || v_year, 'DD-MON-RR'),
                                       'X', TO_DATE ('31-MAR-' || v_year, 'DD-MON-RR')
                    ) AS amc_date
        FROM pc_item_procurement_history a,
             pc_item_master b,
             pc_vendor_master c,
             pc_model_master d
       WHERE ...and I think you have a problem in the where clause. Are you sure, that the string warrenty_upto has the format DD-MM-RR. Or has it the format DD-MON-RR ?
    (TO_DATE(a.warrenty_upto,'DD-MM-RR')

  • Serious locking issues with Main Stage 3

    Having serious locking issues with main stage 3.  I just did a music gig over the weekend with main stage 3, and the application locked up 8 times during my performance.  There were also several times where there was a delay between the time I struck a key on the midi controller and the time sound actually came out of the audio interface.  Has anyone else ran into this problem??
    10.
    I am running mountain lion 10.8.5, on a 2009 Macbook 2.53 GHz Intel Core 2 Duo. w 8 GB Ram.
    Anyone know how to fix this, if even possible?  

    Just read some reviews. There seems to be a lot of problems with the latest main stage update.  I didn't notice these latency problems until did the latest update..
    Apple please fix this quickly!!!

Maybe you are looking for

  • Mac slow down after Mavericks installation

    I have realized that I am not the first with the same problem after the installation of Mavericks. I run etrecheck as have been already advised many users. Below are the results. Can you please help me further? My mac is really slow. Applications, li

  • Why does Photoshop randomly change Smart Object sizes when transforming?

    This has happened to me forever and every so often I ask to see if there's a solution. It seems like a bug. Here's the process. Select smart object (via panel or Move tool) Free Transform Select top left anchor (happens with any btw) Change measureme

  • Reading Modbus (Help me PLEASE!!!)

    Hi everyone. Can anyone HELP me PLEASE ! I�m trying to communicate Java with a PLC using ModBus protocol (RTU - Remote Terminal Unit). I�m working with java.comm class. I read an article that to read a serial port you need just the command read(). I

  • Fans on my MBPR never spin up?

    I noticed that on my macbook pro retina, i never heard the fans spin up. I tried Prime95 to stress the CPU, temperature went up to 98°c and the fans stayed at about 2000rpm...  I immediately stopped to avoid damages. Is this normal?

  • User Exit for transaction CL03

    Hi, I have characteristics defined for date field as CHAR because it is sending data to business objects and business objects didn't understand Date which is quite strange for me. But now the problem  is that if user enters any date in vendor classif