Cursors throwing Unexpected lock status: 6

I am using a Berkeley DB instance and have a multithreaded clients each performing various types of operations on the database. In general there are three types of operations being performed, reads, writes (which use RMW locks), and (non-transactional) cursors. After some time my application dumps the following:
Unexpected lock status: 6
PANIC: Invalid argument
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__os_stack+0x2b) [0xb7ef085f]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__os_abort+0x1d) [0xb7eecbb1]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__env_panic+0xa8) [0xb7e80b8e]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__lock_get_internal+0x1855) [0xb7e2e925]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__lock_vec+0x167) [0xb7e2bd3c]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__db_lget+0x45c) [0xb7e8bfe2]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so [0xb7d850a5]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so [0xb7d816ce]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__dbc_get+0x598) [0xb7e76a29]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__dbc_get_pp+0x11f) [0xb7e870ec]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(_ZN3Dbc3getEP3DbtS1_j+0x3f) [0xb7d71feb]
...(non-berkeley db layers)...
/lib/tls/i686/cmov/libpthread.so.0 [0xb7a2350f]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7b20a0e]
Aborted
In studying the core dumps and doing some testing this behavior only occurs when cursors are used, when those operations are removed the error no longer manifests itself so either the cursor is the issue, or how the cursors are interacting with other operations. Below is a sample of cursor code being run:
void run_cursor()
Dbc *curp = NULL;
int ret;
try
int i = 0;
Dbt key(&i,sizeof(int));
Dbt data(buffer, 0);
data.set_flags(DB_DBT_USERMEM);
data.set_ulen(MAX_BUFFER_SIZE);
db->cursor(NULL, &curp, 0);
while ((ret = curp->get(&key, &data, DB_NEXT)) == 0) {
//keep a list of all the keys in the db
keys.push_back(i);
if (ret != DB_NOTFOUND) {
cerr << "Cursor Error" << endl;
curp->close();
catch (DbException &ex) {
cout << ex.what() << endl;
if( curp != NULL )
curp->close();
I have tried wrapping the cursor in a transaction and it seems to worsen the issue (it happens more frequently). In all methods I am printing error messages when exceptions are thrown by the database (e.g. DbExceptions) and the program prints no errors so I do not believe it is a side effect of some other error. Here is the relevant parts of the case where is RMW lock is used:
void update()
DbTxn *txn = NULL;
try
env->txn_begin(NULL, &txn, 0);
int id;
Dbt key( &id, sizeof(int) );
Dbt value(buffer, 0);
value.set_flags(DB_DBT_USERMEM);
value.set_ulen(MAX_BUFFER_SIZE);
int err = db->get(txn, &key, &value, DB_RMW);
if( err == DB_NOTFOUND )
cerr << "Error trying to read key" << endl;
txn->abort(0);
return;
//code to modify the value here
db->put(txn, &key, &value, 0);
txn->commit(0);
} catch (DbDeadlockException &de) {
cout << de.what() << endl;
if( txn != NULL )
txn->abort();
Just in case it helps, here is the output of db_stat -CA on the database after it has crashed:
Default locking region information:
12     Last allocated locker ID
0x7fffffff     Current maximum unused locker ID
9     Number of lock modes
5000     Maximum number of locks possible
5000     Maximum number of lockers possible
1000     Maximum number of lock objects possible
1     Number of lock object partitions
6     Number of current locks
9     Maximum number of locks at any one time
4     Maximum number of locks in any one bucket
0     Maximum number of locks stolen by for an empty partition
0     Maximum number of locks stolen for any one partition
11     Number of current lockers
13     Maximum number of lockers at any one time
3     Number of current lock objects
9     Maximum number of lock objects at any one time
2     Maximum number of lock objects in any one bucket
0     Maximum number of objects stolen by for an empty partition
0     Maximum number of objects stolen for any one partition
3786734     Total number of locks requested
3786664     Total number of locks released
0     Total number of locks upgraded
1     Total number of locks downgraded
7089     Lock requests not available due to conflicts, for which we waited
61     Lock requests not available due to conflicts, for which we did not wait
0     Number of deadlocks
0     Lock timeout value
0     Number of locks that have timed out
1000000     Transaction timeout value
0     Number of transactions that have timed out
1MB 592KB     The size of the lock region
0     The number of partition locks that required waiting (0%)
0     The maximum number of times any partition lock was waited for (0%)
0     The number of object queue operations that required waiting (0%)
0     The number of locker allocations that required waiting (0%)
165     The number of region locks that required waiting (0%)
2     Maximum hash bucket length
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock REGINFO information:
Lock     Region type
5     Region ID
__db.005     Region name
0xb781b000     Original region address
0xb781b000     Region address
0xb781b0c0     Region primary address
0     Region maximum allocation
0     Region allocated
Region allocations: 11006 allocations, 0 failures, 0 frees, 1 longest
Allocations by power-of-two sizes:
1KB     11003
2KB     0
4KB     0
8KB     0
16KB     1
32KB     0
64KB     1
128KB     1
256KB     0
512KB     0
1024KB     0
REGION_JOIN_OK     Region flags
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock region parameters:
104     Lock region region mutex [165/7025066 0% 5979/3075574672]
8191     locker table size
1031     object table size
600     obj_off
62608     locker_off
0     need_dd
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock conflict matrix:
0     0     0     0     0     0     0     0     0     
0     0     1     0     1     0     1     0     1     
0     1     1     1     1     1     1     1     1     
0     0     0     0     0     0     0     0     0     
0     1     1     0     0     0     0     1     1     
0     0     1     0     0     0     0     0     1     
0     1     1     0     0     0     0     1     1     
0     0     1     0     1     0     1     0     0     
0     1     1     0     1     1     1     0     1     
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Locks grouped by lockers:
Locker Mode Count Status ----------------- Object ---------------
4 dd= 9 locks held 1 write locks 0 pid/thread 5979/3080828608
4 READ 1 HELD ./db.db handle 0
5 dd= 8 locks held 0 write locks 0 pid/thread 5979/3072416656
6 dd= 7 locks held 0 write locks 0 pid/thread 5979/3073469328
7 dd= 6 locks held 0 write locks 0 pid/thread 5979/3073469328
8 dd= 5 locks held 0 write locks 0 pid/thread 5979/3073469328
9 dd= 4 locks held 0 write locks 0 pid/thread 5979/3072416656
a dd= 3 locks held 1 write locks 0 pid/thread 5979/3073469328
a READ 1 WAIT ./db.db page 21
a READ 2 HELD ./db.db page 20
b dd= 2 locks held 1 write locks 0 pid/thread 5979/3075574672
b READ 1 WAIT ./db.db page 21
b READ 2 HELD ./db.db page 20
c dd= 1 locks held 0 write locks 0 pid/thread 5979/3075574672
800054d9 dd= 0 locks held 1 write locks 1 pid/thread 5979/3074522000expires 05-05-12:41:36.048050000
800054d9 WRITE 2 HELD ./db.db page 21
800054da dd= 0 locks held 0 write locks 0 pid/thread 5979/3072416656
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Locks grouped by object:
Locker Mode Count Status ----------------- Object ---------------
800054d9 WRITE 2 HELD ./db.db page 21
a READ 1 WAIT ./db.db page 21
b READ 1 WAIT ./db.db page 21
a READ 2 HELD ./db.db page 20
b READ 2 HELD ./db.db page 20
4 READ 1 HELD ./db.db handle 0
The number of locks and lockers is somewhat low at 5,000 each, this was intentional since the same error occurs with larger numbers of locks/lockers it simply takes longer to occur. I have reviewed this output and nothing out of the ordinary seems to be occurring as far as I can tell.
Any additional insight would be appreciated.

Thanks to both of you for your suggestions.
I have still noticing the same issue with very similar output etc so I wont repost that. After running it some more I have started seeing another error message, it looks like its very similar and hopefully with make the issue more clear.
Here is the output of the error file:
TAS unlock failed: lock already unlocked
PANIC: Permission denied
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__os_stack+0x2b) [0xb7ee585f]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__os_abort+0x1d) [0xb7ee1bb1]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__env_panic+0xa8) [0xb7e75b8e]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__db_tas_mutex_unlock+0xa5) [0xb7d72245]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so [0xb7e27d04]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__lock_detect+0x129) [0xb7e268bf]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__lock_get_internal+0x1434) [0xb7e23504]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__lock_vec+0x167) [0xb7e20d3c]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__db_lget+0x45c) [0xb7e80fe2]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so [0xb7d7a0a5]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so [0xb7d766ce]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__dbc_get+0x598) [0xb7e6ba29]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(__dbc_get_pp+0x11f) [0xb7e7c0ec]
/usr/local/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so(_ZN3Dbc3getEP3DbtS1_j+0x3f) [0xb7d66feb]
...(user code stack layers)...
/lib/tls/i686/cmov/libpthread.so.0 [0xb79a950f]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7a9ea0e]
Here is the output of the waits for table:
Waiter:     Waiting on:
80002249/50:     957608
6/50:     80002249 957208
Waitsfor array
Waiter:     Waiting on:
8000224a/28:     957288
a/28:     8000224a 957608
Waitsfor array
Waiter:     Waiting on:
8000224c/22:     957608
6/22:     8000224c 957368
Waitsfor array
Waiter:     Waiting on:
8000224c/22:     957608
6/22:     8000224c 957368
4/22:     8000224c 957048
Waitsfor array
Waiter:     Waiting on:
8000224d/25:     957528
7/25:     8000224d 957608
Waitsfor array
Waiter:     Waiting on:
8000224d/25:     957528
7/25:     8000224d 957608
6/25:     8000224d 957208
Waitsfor array
Waiter:     Waiting on:
8000224d/25:     957528
7/25:     8000224d 957608
6/25:     8000224d 957208
4/25:     8000224d 957288
Waitsfor array
Waiter:     Waiting on:
80002251/10:     957048
a/10:     80002251 957128
Waitsfor array
Waiter:     Waiting on:
80002257/39:     80002254 957368
80002254/39:     957288
Waitsfor array
Waiter:     Waiting on:
80002258/14:     957048
4/14:     80002258 957608
Waitsfor array
Waiter:     Waiting on:
80002258/14:     957048
8/14:     80002258 957208
4/14:     80002258 957608
Waitsfor array
Waiter:     Waiting on:
80002259/39:     80002257 957448
80002258/14:     957048
80002257/39:     957368
8/14:     80002258 957208
4/14:     80002258 957608
Waitsfor array
Waiter:     Waiting on:
80002259/39:     957448
8/39:     80002259 957288
7/39:     80002259 957048
6/39:     80002259 957528
Waitsfor array
Waiter:     Waiting on:
80002259/0:     0
80002257/0:     0
Waitsfor array
Waiter:     Waiting on:
8000225a/40:     956968
7/40:     8000225a 956888
Waitsfor array
Waiter:     Waiting on:
8000225a/40:     956968
7/40:     8000225a 956888
4/40:     8000225a 957608
It looks like there is a similar pattern here at the end with the two entries waiting on zero ("80002259/0:     0 80002257/0:     0"), which is why I suspect its the same error just manifesting itself in a slightly different manner.
I am using lock detection, I currently have it set to use DB_LOCK_MAXLOCKS, I have tried others as well with not change in behavior.
Most of my transaction code takes the following form, so if the get is successful (the id exists) then the data is updated and written back to the database. If an exception is thrown then it is caught and the transaction is aborted. As far as I can tell this should not leave and transaction handles left open or anything along those lines as the error message suggests.
void do_txn()
DbTxn *txn = NULL;
try
db->txn_begin(NULL, &txn, 0);
Data d;
//does a db->get using the txn pointer and a DB_RMW lock
//returns do_get returns false if the id does not exist
bool success = do_get(id, &d, txn);
if( !success )
txn->abort();
return;
//update data as necessary
//does a db->put using the txn pointer
do_put(id, &d, txn);
txn->commit(0);
} catch (DbDeadlockException &de) {
cout << de.what() << endl;
if( txn != NULL )
txn->abort();
}

Similar Messages

  • Is lock status part of state?

    I am testing the concept that "every object has a lock, or can serve as a lock".
    test #1
    Instances of immutable objects are not allowed to change "state"? Using immutable objects as locks:
    public class Main {
      public static void main(String[] args) {
        Object lock = "immutable lock?";
        for(int i = 0; i < 30; i++) {  new AAA(lock).start();  }
        static class AAA extends Thread {
          Object lock;
          AAA(Object obj) { lock = obj; }
          public void run() {
            synchronized(lock) {
              try { Thread.sleep((long) (System.currentTimeMillis()  % 1000)); } catch(InterruptedException e) { }
                System.out.println("AAA::run()--> " + getName() + " has exited.....");
    }The locking works just fine. This could mean and/or two things:
    (1) Saying that instances of immutable classes don't change state is not the whole story.
    (2) Lock status is not part of an object's state.
    test #2
    Serialization captures the state of an object? To investigate if an object's lock status is part of state:
    public class Main {
      public static void main(String[] args) {
        try {
          Lock lock = new Lock();
          synchronized (lock) {  // sync block #1
            ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(new File("/tmp/lock.obj")));
            oos.writeObject(lock); // the state of "lock" = locked?
          ObjectInputStream ois = new ObjectInputStream(new FileInputStream(new File("/tmp/lock.obj")));
          Lock lockCopy = (Lock) ois.readObject();
          synchronized (lockCopy) {  // sync block #2
            // as "/tmp/lock.obj" represents an object that has its lock unavailable
            // is it be possible to enter this sync block?
            System.out.println("status of \"lock\" not captured in serialization process");
        } catch (Exception e) { e.printStackTrace() }
      static class Lock implements Serializable {  public void foo() { }  }
    }The result is that sync block #2 is entered into with no problem.
    This proves that lock status is not part of the state of an object? If so, the de-serialized object should still be in a "locked" position.
    conclusion
    "Every object can be used as a lock" should not be conceptualized as the java.lang.Object class having a private (boolean?) field that is true when some thread has its lock, and false otherwise. Locking appears to violate the rules of serialization and immutability, or else it is just "weird". How the locking happens is hidden. Understanding how locking works stops at "somehow it just works and don't think about it anymore".
    If my test programs are flawed, or my conclusion false, I'd like to please hear any opinions. thanks.

    Gerald_Thaler wrote:
    kajbj wrote:
    Gerald_Thaler wrote:
    >
    Most of the objects in a program are never used as locks. Still they need to be prepared, and as a consequence waste a considerable amount of memory.
    There is potentially a lot of state involved with the synchronized mechanism. It must be stored wich thread owns a monitor and how often. How often?Java monitors are reentrant, they must remember how often the owning thread has entered.I wouldn't say how often since the sounds like you need to keep some kind of statistics, or information regarding when it happened. All it needs to have is a counter that you increase when you acquire, and decrease when you release.
    >
    Then if there is actual contention, a list of waiting threads on the monitor needs to be managed, and so on.So what? That's the way that it would work even if you didn't have monitors.Yes.
    In practice VMs try to create most of this state only when necessary. Theres a pointer embedded in every object that points to its monitor (if used). Because of this, every object always wastes the memory of one additional pointer (4 byte on 32-Bit, 8 byte on 64-Bit VMs): I doubt that anything dictates that you must store a pointer in every object.As you can have up to approx. 2^pointersize individual objects in a process, you need to reserve about pointersize many bits in every object to distinguish their monitor states. What's the alternative? Do you know VMs that can get around this?See the previous reply. You don't need to keep the information in the object.
    >
    A plain java.lang.Object needs 8 byte of memory on a 32-Bit machine, 4 byte type info and 4 byte monitor state. But that's not all. Once you really start synchronizing on a lot of different objects, and there is some contention, the VM needs to allocate additional memory and resources and may ultimately run out of memory and crash. It's not too hard to reproduce this problem on the current JDK 6. Ok, post sample code that crashes due to the locks.
    public class Main implements Runnable {
    public static final int count = 0x4000000;
    public static final Object[] locks = new Object[count];
    public static final int[] counters = new int[count];
    public static void main(String[] args) throws Exception {
    for (int n = 0; n < count; ++n)
    locks[n] = new Object();
    allocateNative(0x3D000);
    System.out.println("starting threads...");
    Thread[] threads = new Thread[4];
    for (int n = 0; n < threads.length; ++n) {
    threads[n] = new Thread(new Main());
    threads[n].start();
    for (Thread thread: threads)
    thread.join();
    @Override
    public void run() {
    for (int n = 0; n < count; ++n) {
    synchronized (locks[n]) {
    ++counters[n];
    try {
    Thread.sleep(1); // force contention!
    } catch (InterruptedException ex) {
    break;
    private static native void allocateNative(int kbytes);
    static {
    System.load(PATH_TO_DLL);
    }This "works" with the 32-Bit JDK 1.6.0_18 on my Windows 7 machine with 4 cores. I ran it with -Xmx1584m (the maximum possible value). You might need to adjust the constants. Allocate as many objects as possible without getting an OutOfMemoryError. Then, when the threads are starting to compete over the locks, you can see in the task manager, that the memory consumption of the java process is ever increasing. After some time memory is exhausted and the VM crashes. If you want to see the crash, you must use a 32-Bit VM of course, so that the process can actually run out of memory. The VM obviously allocates additional memory outside the managed heap, when performing the synchronized statements. To get to the crash faster (the loop with the sleep is slow) i took some more memory away from the process with allocateNative(), that simply does malloc. But you do not strictly need that.How could it be done differently? The same thing would happen in any language, and also at the OS level.
    >
    You can't really say that it's wrong just because some programmers are bad at what they do. A Java programmer should know that static methods and normal methods don't compete for the same lock.Yes, they should know it. But the java philosophy is "as simple as possible". I've talked to quite a few programmers, that did not know what synchronized does. Some even think that making every method in the program synchronized, will make it thread safe. Instead that's a sure recipe for deadlock.I've seen lost of "programmers" that don't know the difference between == and equals. It's their problem if they don't want to learn how the language works, and concurrency programming will never become easy. I actually think that it's too easy for beginners to create a Thread without knowing what they do.
    >
    Modifying static state from synchronized nonstatic methods is not thread safe of course, but this might easily be overlooked.Huh? Why?Because the object on which to synchronize is not explicitly mentioned. Removing the static from the method declaration changes the synchronization of the program.There are actually lots of people who think that synchronization on an instance will "stop execution" on all instances. It's still their fault if they don't read books.

  • CAPS lock status in Linux

    Hi,
    I'm trying to get the CAPS lock status in Java to display the same to the user in my application. I've used the code
    Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK) .
    This works properly in Windows but throws UnsupportedOperationException in Linux. Can you help me to get the CAPS lock state in Linux.
    Regards
    Ruban

    Moderator action: Moved from Generics
    db

  • Crystal Report throws Unexpected Database Connector error

    Hi,<br>
    <br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. We use the below code to reset the report data source with our application data source. It works fine for most of the simple queries. But if the query contains any function defined in the SELECT Clause it throws Unexpected Database Connector error. As per the log and analysis we believe the root cause of the exception is it consider that function as column in the table and throws the SQL Exception that "function is Invalid Identifier". Could you please help in resolving this issue?
    <br><br>
    Code:<br><br>
         Tables tables = clientDoc.getDatabaseController().getDatabase().getTables(); <br>
                for(int i = 0;i < tables.size();i++){<br>
                    origTable = tables.getTable(i);<br>
                    if (tableName == null || origTable.getName().equals(tableName)) {<br>
                        newTable = (ITable)origTable.clone(true);<br>
                        newTable.setQualifiedName(origTable.getAlias());<br>
                        connectionInfo = newTable.getConnectionInfo();<br>
                        propertyBag = new PropertyBag();<br>
                        propertyBag.put("Trusted_Connection", params.trustedCon);<br>
                        propertyBag.put("Server Type", params.serverType);<br>
                        propertyBag.put("Use JDBC", params.useJdbc);<br><br>
                        propertyBag.put("Database DLL",params.databaseDLL);<br>
                        propertyBag.put("Connection URL", params.connectionURL);<br>
                        propertyBag.put("Database Class Name", params.dbClassName);<br>
                        connectionInfo.setAttributes(propertyBag);<br>
                        connectionInfo.setUserName(params.userName);<br>
                        connectionInfo.setPassword(params.password);<br>
                        clientDoc.getDatabaseController().setTableLocation(origTable, newTable); // Exception is thrown here<br>
              }                    <br>
         }     <br>
    <br>
    SQL Query : <br><br>
    Select empno, Fun_getEmpAddress(empno) from employee where empno = ?<br><br><br>
    Error Log:<br><br>
    2011-04-26 16:30:41.926 89022900 CrystalReportParms_jsp._jspService(368) Error while generating crystal report<br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)<br>
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)<br>
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)<br>
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)<br>
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)<br>
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)<br>
         at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)<br>
         at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(SourceFile:2906)<br>
         at com.mysystems.myapp.common.CRJavaHelper.changeDataSource(CRJavaHelper.java:157)<br>
         at com.mysystems.myapp.common.CrystalReport.print(CrystalReport.java:202)<br>
         at org.apache.jsp.english.CrystalReportParms_jsp._jspService(CrystalReportParms_jsp.java:368)<br>
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<br>
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)<br>
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)<br>
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)<br>
         at java.lang.Thread.run(Thread.java:595)<br>
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)<br>
         at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)<br>
         at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)<br>
         at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568)<br>
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405)<br>
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)<br>
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)<br>
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)<br>
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)<br>
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)<br>
         ... 47 more<br>
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)<br>
         ... 63 more<br>
    Caused by: java.sql.SQLException: ORA-00904: "Fun_getEmpAddress": invalid identifier<br>
    <br>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)<br>
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:622)<br>
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111)<br>
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:350)<br>
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:895)<br>
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:382)<br>
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)<br>
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1515)<br>
         ... 66 more<br>

    i'm also getting the same error when i'm trying to call stored procedure (that will fetch the result set and populate the report) through the query in the report-viewer.jsp. The result set is fetched i.e. when i print the result set it shows on tomcat but it is not getting passed to Table object to populate the report. However when i try to give the query explicitly in the form of SELECT statements, it works fine i.e. i can view the report in the browser. But giving query in the form of SELECT is a very naive way and is ok if u have too less reports not requiring too many joins, thats why i was using stored procedure. Any help would be appreciated.

  • How to see lock status of a table ?

    Hi,
    My question is : how to see the lock status of a table ?
    and how to lock a table except run the FM ENQUEUE_TABLENAME?
    Is there any transcation that can lock a table ?
    thx in advance.

    Hi Vincent
    Via transaction SM12 we can check the lock entries at a particular point of time...
    Kind Regards
    Eswar

  • Bug fix for JRC application throws "Unexpected database connector" ?

    Hello,
    I'd appreciate if anyone has information on this particular bug and the expected date for releasing the fix.  I face this issue with Crystal Reports for Eclipse SP4 also.
    Here is the link:
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313336333833343335%7D.do
    Here are the details of the bug in case you'd rather not click the link:
    Symptom
    JRC application throws "Unexpected database connector" error when certain parameter value is selected
    The same workflow with same report works fine in Crystal Reports Designer and Infoview
    Environment
    Crystal Reports for Eclipse 2.0 SP3
    Reproducing the Issue
       1. Create a report with parameter field with several default values
       2. Refresh the report in Crystal Reports Designer and select different parameter value, the report displays well
       3. Develop a JRC application using Crystal Report for Eclipse 2.0 SP3 JAR files to display the above report
       4. JRC application throws "Unexpected database connector" error when certain parameter value is selected
    Cause
    The issue has been identified and logged under Problem Report ID ADAPT01311448
    Resolution
    This issue is scheduled to be addressed in a future Service Pack.

    Ted,
    Thank you very much for your response.  I downloaded Crystal for Eclipse very recently (about two weeks ago) using the URL
    http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/
    My understanding is that I already have the latest service pack that should have the fix for this bug.  Can you help as to why I still see this issue?
    Thank you.

  • How to check lock status of field in current document?

    Hi,
    How to check the status of field in current document(master agreement), that is whether its locked or not.
    I locked "Publish to Supplier" checkbox after MA is saved first time. Now, I want to check the status whether this field is locked or not in the same document.
    IsLockOwner( ) is not returning the correct value. Its not giving the current document field lock status.
    Is there any way to get current document field status?
    Thanks,
    Saloni

    Hi,
    If I understand correctly, your requirement is to get the value of this field "Publish to Supplier on". It can be achieved by writing the below:
    isVendorVisible = doc.getExtensionField("VENDOR_VISIBLE").get();
    Meaning, if the box is checked, it will return a value = true and if not then false.
    Hope this helps,
    Regards,
    Vikram Shukla

  • DMS - locked status / how to limit security access

    I have a couple issues with a security profile (customer service) we have defined for DMS.   This profile is set up that when the document info record is in a "released" status, the customer service person has edit (CV02N) access.  When in an "on hold" status, the customer service person does not have edit (CV02N) access.  Further, the "Released" status is a "locked" status.
    1)  The Object links appears to be open for edit, regardless of whether or not we have the status "locked". 
    Also, the deletion indicator can be changed when in locked status.  I am looking for all fields to be locked except for the status field.  Customer Service should only be able to change status from "released" to "on hold", and should not be able to change anything else.  Any suggestions on how to do this?.
    2)  The intention is that the customer service person can use CV02N to change a document from "released" status to "on hold".  This is the ONLY change customer service should be able to make.  However, once the status changes from "released" to "on hold", it seems there is an authorization check missing.....  meaning now the customer service person is in "on hold" status and they should not be able to edit anything, but apparently they still have the CV02N access from the "released" status, and they can now also change any other fields, update object links and attachments before they save the document.  What am I missing?
    Any help would be greatly appreciated!!

    Hi,
    U can use following authorization objects to resrticts the document access
    1.C_DRAD_OBJ - Create/Change/Display/Delete Objec
       here in activity field dont check delete, change option, so that user can not change, delete existing object links
    2. C_DRAW_TCD - Authorization for document activit
    here in activity field dont check delete option, so that user can not mark DIR for deletion.
    award points if useful
    Regards
    sham

  • The system process 'C:\Windows\system32\lsass.exe' terminated unexpectedly with status code 255

    Hello All
    We have a server 2008 R2 HyperV server and during the last few months it started to reboot randomly.
    Initially we thought its related to the issue fixed by the following hotfix so we applied it but even with the hotfix it still keeps rebooting.
    http://support.microsoft.com/kb/2732595
    Unlike what's mentioned in the hotfix , the faulting module is not "ntdll.dll" but "msvcrt.dll".Also came up with the following indication the reboots could be related to KB2871997 but that update is not installed
    on this system.                                                
    Following are the events from system log.
    Log Name:      System
    Source:        LsaSrv
    Date:          2/9/2015 11:58:12 PM
    Event ID:      5000
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      HV2008-Host
    Description:
    The security package Kerberos generated an exception. The exception information is the data.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="LsaSrv" Guid="{199FE037-2B82-40A9-82AC-E1D46C792B99}" />
        <EventID>5000</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-10T04:58:12.415529200Z" />
        <EventRecordID>8091130</EventRecordID>
        <Correlation />
        <Execution ProcessID="736" ThreadID="5888" />
        <Channel>System</Channel>
        <Computer>HV2008-Host</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="Package">Kerberos</Data>
        <Binary>050000C00000000000000000000000001111F6FEFE070000020000000000000000000000000000008EEB1802000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</Binary>
      </EventData>
    </Event>
    Log Name:      System
    Source:        USER32
    Date:          2/9/2015 11:58:24 PM
    Event ID:      1074
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          SYSTEM
    Computer:      HV2008-Host
    Description:
    The process wininit.exe has initiated the restart of computer HV2008-HOST on behalf of user  for the following reason: No title for this reason could be found
     Reason Code: 0x50006
     Shutdown Type: restart
     Comment: The system process 'C:\Windows\system32\lsass.exe' terminated unexpectedly with status code 255.  The system will now shut down and restart.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="USER32" />
        <EventID Qualifiers="32768">1074</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-10T04:58:24.000000000Z" />
        <EventRecordID>8091132</EventRecordID>
        <Channel>System</Channel>
        <Computer>HV2008-Host</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data>wininit.exe</Data>
        <Data>HV2008-HOST</Data>
        <Data>No title for this reason could be found</Data>
        <Data>0x50006</Data>
        <Data>restart</Data>
        <Data>The system process 'C:\Windows\system32\lsass.exe' terminated unexpectedly with status code 255.  The system will now shut down and restart.</Data>
        <Data>
        </Data>
        <Binary>06000500000000000000000000000000000000000000000000000000000000000000000000000000</Binary>
      </EventData>
    </Event>
    Following are the events from Application logs.
    Log Name:      Application
    Source:        Application Error
    Date:          2/9/2015 11:58:14 PM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      HV2008-Host
    Description:
    Faulting application name: lsass.exe, version: 6.1.7601.22653, time stamp: 0x534893ed
    Faulting module name: msvcrt.dll, version: 7.0.7601.17744, time stamp: 0x4eeb033f
    Exception code: 0xc0000005
    Fault offset: 0x0000000000001111
    Faulting process id: 0x2e0
    Faulting application start time: 0x01d03c91dbe5854f
    Faulting application path: C:\Windows\system32\lsass.exe
    Faulting module path: C:\Windows\system32\msvcrt.dll
    Report Id: 6af0ff3d-b0e1-11e4-83ca-0026b9340d61
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-10T04:58:14.000000000Z" />
        <EventRecordID>267648</EventRecordID>
        <Channel>Application</Channel>
        <Computer>HV2008-Host</Computer>
        <Security />
      </System>
      <EventData>
        <Data>lsass.exe</Data>
        <Data>6.1.7601.22653</Data>
        <Data>534893ed</Data>
        <Data>msvcrt.dll</Data>
        <Data>7.0.7601.17744</Data>
        <Data>4eeb033f</Data>
        <Data>c0000005</Data>
        <Data>0000000000001111</Data>
        <Data>2e0</Data>
        <Data>01d03c91dbe5854f</Data>
        <Data>C:\Windows\system32\lsass.exe</Data>
        <Data>C:\Windows\system32\msvcrt.dll</Data>
        <Data>6af0ff3d-b0e1-11e4-83ca-0026b9340d61</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Windows Error Reporting
    Date:          2/9/2015 11:58:23 PM
    Event ID:      1001
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      HV2008-Host
    Description:
    Fault bucket , type 0
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: lsass.exe
    P2: 6.1.7601.22653
    P3: 534893ed
    P4: msvcrt.dll
    P5: 7.0.7601.17744
    P6: 4eeb033f
    P7: c0000005
    P8: 0000000000001111
    P9:
    P10:
    Attached files:
    C:\Windows\Temp\WER5001.tmp.appcompat.txt
    C:\Windows\Temp\WER535C.tmp.WERInternalMetadata.xml
    C:\Windows\Temp\WER53DA.tmp.hdmp
    C:\Windows\Temp\WER6690.tmp.mdmp
    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_lsass.exe_3c1aa5eeba75bf26fcebc4f54e714efe7b5162a2_cab_20a56871
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: 6af0ff3d-b0e1-11e4-83ca-0026b9340d61
    Report Status: 0
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Error Reporting" />
        <EventID Qualifiers="0">1001</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-10T04:58:23.000000000Z" />
        <EventRecordID>267650</EventRecordID>
        <Channel>Application</Channel>
        <Computer>HV2008-Host</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>APPCRASH</Data>
        <Data>Not available</Data>
        <Data>0</Data>
        <Data>lsass.exe</Data>
        <Data>6.1.7601.22653</Data>
        <Data>534893ed</Data>
        <Data>msvcrt.dll</Data>
        <Data>7.0.7601.17744</Data>
        <Data>4eeb033f</Data>
        <Data>c0000005</Data>
        <Data>0000000000001111</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
    C:\Windows\Temp\WER5001.tmp.appcompat.txt
    C:\Windows\Temp\WER535C.tmp.WERInternalMetadata.xml
    C:\Windows\Temp\WER53DA.tmp.hdmp
    C:\Windows\Temp\WER6690.tmp.mdmp</Data>
        <Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_lsass.exe_3c1aa5eeba75bf26fcebc4f54e714efe7b5162a2_cab_20a56871</Data>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>6af0ff3d-b0e1-11e4-83ca-0026b9340d61</Data>
        <Data>0</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Windows Error Reporting
    Date:          2/9/2015 11:58:22 PM
    Event ID:      1001
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      HV2008-Host
    Description:
    Fault bucket , type 0
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: lsass.exe
    P2: 6.1.7601.22653
    P3: 534893ed
    P4: msvcrt.dll
    P5: 7.0.7601.17744
    P6: 4eeb033f
    P7: c0000005
    P8: 0000000000001111
    P9:
    P10:
    Attached files:
    C:\Windows\Temp\WER5001.tmp.appcompat.txt
    C:\Windows\Temp\WER535C.tmp.WERInternalMetadata.xml
    C:\Windows\Temp\WER53DA.tmp.hdmp
    C:\Windows\Temp\WER6690.tmp.mdmp
    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_lsass.exe_3c1aa5eeba75bf26fcebc4f54e714efe7b5162a2_cab_20a56871
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: 6af0ff3d-b0e1-11e4-83ca-0026b9340d61
    Report Status: 4
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Error Reporting" />
        <EventID Qualifiers="0">1001</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-10T04:58:22.000000000Z" />
        <EventRecordID>267649</EventRecordID>
        <Channel>Application</Channel>
        <Computer>HV2008-Host</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>APPCRASH</Data>
        <Data>Not available</Data>
        <Data>0</Data>
        <Data>lsass.exe</Data>
        <Data>6.1.7601.22653</Data>
        <Data>534893ed</Data>
        <Data>msvcrt.dll</Data>
        <Data>7.0.7601.17744</Data>
        <Data>4eeb033f</Data>
        <Data>c0000005</Data>
        <Data>0000000000001111</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
    C:\Windows\Temp\WER5001.tmp.appcompat.txt
    C:\Windows\Temp\WER535C.tmp.WERInternalMetadata.xml
    C:\Windows\Temp\WER53DA.tmp.hdmp
    C:\Windows\Temp\WER6690.tmp.mdmp</Data>
        <Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_lsass.exe_3c1aa5eeba75bf26fcebc4f54e714efe7b5162a2_cab_20a56871</Data>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>6af0ff3d-b0e1-11e4-83ca-0026b9340d61</Data>
        <Data>4</Data>
      </EventData>
    </Event>
    Would really appreciate if someone can point us to the correct direction on how to get this issue sorted.
    Regards,
    Dhanushka

    Hi Sir,
    Please try the following items:
    1. if ther is anti-virus installed , please uninstall it temporarily
    2. run  " sfc /scannow "
    3. keep windows up-to-date
    4. if you updated some hardware driver please roll it back
    5. if the issue persists , please use windows installation media to perform inplace-upgrade for the system
    Also please refer to reinstall C++ runtime within the similar thread:
    https://social.technet.microsoft.com/Forums/windows/en-US/bf69eeff-24c4-499f-b280-b6a3098f4f9f/problem-with-msvcrtdll-version-70760117744?forum=w7itprogeneral
    Best Regards,
    Elton Ji
    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 Subscriber Support, contact [email protected] .

  • Making certain DIR fields editable even when the DIR is in locked status(S)

    Is it possible to make certain fields in the DIR editable even though the DIR status is locked (S)?
    I guess it can't be done through customising. We've made a suggestion that the users should change the status so that the document will become editable again.
    But they would like to edit certain fields, i.e. description and lab/office only. The rest of the fields and data should remain locked. Can this be achieved through a user-exit somehow?
    Regards,
    Kenneth

    Dear Kenneth,
    as far as I know this is not working because due to the locked status type the field are disabled by the system. So to avoid this the whole checking logic would have to be changed.
    Best regards,
    Christoph

  • Printing Problem - the process "mdns" stopped unexpectedly with status 1

    I have been trying to get my Epson Stylus rX620 to print wirelessly for a while. It actually worked once and printed two separate documents. Then however it decided not to work any longer and it seems that nothing I do changes it. The same error message appears each time in the print monitor:
    the process "mdns" stopped unexpectedly with status 1
    It has printed wirelessly with the same equipment. It is attached to an airport express that is linked to extend my wireless network from an Airport Extreme. It has no problem printing when the USB cable is plugged in directly. I have tried everthing that I can think of. Any ideas??

    Hi John,
    Okay, that was some new information...
    Given that the hub is causing the problem then I would concentrate on testing it. Try connecting the Mac and the printer directly to the hub. Ensure the IP addresses of each device (Mac and Printer) are set to the same subnet (if printing via TCP/IP) or if AppleTalk is being used, make sure it is enabled on both devices.
    You may also have to create a new printer. When you had the printer connected to the USB port of the AEBS, it will have been configured as a local device but printing via a virtual USB port. When the printer was connected to the hub, it would have been configured as a network device.
    If this works then at least you know that the hub and the network cables are okay. The next step would be to ensure the AEBS, the printer and the Mac are all set to use the same protocol.
    If they are all correct then try deleting the printer from the Printer List, running the Reset Printing System function and adding the network printer again. If you are using TCP/IP, you could even try pinging the printer to ensure the path to the printer is open.
    Regards,
    Paul

  • MAC OS-X 10.4.11   PRINTER SAMSUNG SCX-4521   SAMSUNG CLX-3185 The process "rastertoqpdl" stopped unexpectedly with status 1

    MAC OS-X 10.4.11   PRINTER SAMSUNG SCX-4521   SAMSUNG CLX-3185 The process "rastertoqpdl" stopped unexpectedly with status 1

    Hi Paolo,
    Might try these two...
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US
    Might try Printer Setup Repair 5.1...
    http://www.fixamac.net/software/index.html

  • What does "Locked" status really mean in FPGA Timekeeper

    The help says, "FPGA Timekeeper locked is TRUE if the FPGA Timekeeper has locked on to and is tracking the given time reference."
    That's not very specific. 
    - The Timekeeper is only "tracking the given time reference" when "Sync Time.vi" is called by the code, right?  Otherwise isn't it just predicting time base on the FPGA clock cycle, and apparently some filtering, gain and interpolation?  That wouldn't really be tracking the time reference.
    - Is the Timekeeper checking the interval at which Sync Time.vi is called?
    - Is it comparing the offset of the two time values input to Sync Time.vi  to its internal prediction?
    - Is it making some judgement after a series of Sync Time.vi calls (how many?) that it has figured out the relative variations between the time reference and the FPGA clock?  How does it make that judgement?
    - If a long time passes between Sync Time.vi calls does it decide it has lost its lock?
    - Does calling Time Synce too frequently or too infrequently contribute to not achieving locked status, or to losing it?
    Thanks for the help!  I love the idea of the FPGA Timekeeper but I don't know how to interpret the lock.  I can get the offset from the time reference, but what I'd really love to know is the size of the error when calling Time Synce.vi.

    Hello Matt_Dennie,
    The article below indicates that when using the FPGA Timekeeper with NI-9467 hardware, you will be able to correlate absolute time with system events at an accuracy of around 100 ns.
    How Do I Use the FPGA Timekeeper to Synchronize Data with the NI 9467 GPS Module?:
    http://ae.natinst.com/public.nsf/web/searchinternal/efdc35727d4f2cc086257a0700693003?OpenDocument
    FPGA Timekeeper 1.1b0 GetStatus.vi:
    http://forums.ni.com/t5/LabVIEW/FPGA-Timekeeper-1-1b0-GetStatus-vi-Locked-indicator-never-goes/td-p/...
    The example VI for FPGA Timekeeper explains (briefly) the process used for synchronization (Synchronize to GPS – cRIO.lvproj). 
    j_bou

  • Unexpected response status [200 OK] CBS Communication Error

    Hi,
    I have a NW 7.0 sytem and my NWDI returns a strange error when I try to lookup the
    activities in the activities view of the CBS.
    "Communication exception occurred; contact the system administrator"
    In the log is written:
    Unable to instantiate a Build Space administrator!
    Build Space "Q10_NKTSL_D" [bsID: 13, version: 1] [in-queue: on, out-queue: "on (queueing)", processing: on]
    Unexpected response status [200 OK]
    [EXCEPTION]
    com.sap.tc.cbs.api.CommunicationException: Unexpected response status [200 OK]
    *     at com.sap.tc.cbs.comm.Repository.execute(Repository.java:68)*
    *     at com.sap.tc.cbs.api.impl.BSFacade.getOwnerBuildspace(BSFacade.java:510)*
    *     at com.sap.tc.cbs.server.rt.bs._BuildSpaceValidator.checkWorkspace(_BuildSpaceValidator.java:87)*
    *     at com.sap.tc.cbs.server.rt.bs._BuildSpaceValidator.validateWSs(_BuildSpaceValidator.java:57)*
    *     at com.sap.tc.cbs.server.rt.bs.BSAdmin.validate(BSAdmin.java:183)*
    *     at com.sap.tc.cbs.server.rt.bs.BSAdmin.updateState(BSAdmin.java:251)*
    *     at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.determineChanges(BSAdminOrc.java:437)*
    *     at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.validateBuildSpaceData(BSAdminOrc.java:217)*
    *     at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.act(BSAdminOrc.java:339)*
    *     at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:139)*
    *     at java.lang.Thread.run(Thread.java:534)*
    Could it be something with the DTR?
    The Developer Studio shows this error:
    Retrieving pending activities failed: CBS Server Error: CBS failed to communicate with some other server( internal code: COMMUNICATION_ERROR)
    I hope somebody knows what my problem could be!
    Thanks and best regards,
    Dennis

    Hi,
    I solved the problem myself!
    The reason was that the password of the CMS admin user was expired.
    For all of you that will have the same issue in the future

  • Classification needs to be editable in locked status

    Hi,
      We have Document stats 'RL' which has locked status 'S'. So when a document comes to this state no data or fields can be editable.If we change the configurations and remove 'S' from 'Rl' status we have all the fields open and editable.
    In Change mode CV02n we need to have the classification fields to be changed.
    Is this possible ?
    Appreciate your reply.
    Thanks and regards
    Shahnawaz Mohammed

    Hi,
    regarding your question I have to inform you that the classification data is not editable in the standard if the document info record is
    set to a locking status. In this case the message 26035 'Status does not allow you to change certain data' is raised in the
    status line of the screen. The longtext of this message clearly explains that only a few data is changeable in this kind of status:
    The system checks the status type of the new status in the IMG. The document has a status of status type S (lock status) or O (original being processed).
    If a document has a status with one of these status types, not all fields are available for entry. You can still carry out the following
    functions:
    - change the status
    - link objects to the document
    - change the deletion indicator (subject to authorization check)
    So from standard point of view I can only confirm that the system is working correctly and the classification data cannot be changed.
    Best regards,
    Christoph

Maybe you are looking for

  • Photoshop crashes when I use the marquis tool.

    Photoshop crashes when I use the marquee tool. As soon as I make a selection it crashes my computer (every time!) by either rendering the screen black or sometimes all white. I have to force shut down and restart. I'm using MacBook Pro OS 10.6.8 with

  • Forms on a mobile

    Hi - I'd really appreciate some advice.  I am designing a process which will involve field staff signing up new clients using a form (designed in Acrobat X Pro) on an Android tablet device (Galaxy Tab 2 7.0) and getting the data back to head office w

  • Can't open AI VIs when logged in as a restricted user

    I have a VI that does simultaneuos analog I/O (LabVIEW 6.1, Windows XP). This VI works fine when I am logged in as administrator, but when I try to run this VI from a restricted user account LabVIEW can't find the AI VIs (AI Config, Start, Clear and

  • Can't share photos, yet my email is set up correctly

    Everytime I try to share photos using the "Share" option, I get an error message stating that my email/password combination is wrong.  However, in Mail, I have the same email accounts and have been able to send/receive email normally.  How can I fix

  • Delta data changes are not reflecting from ODS to another infocube

    ODS1 --->Infocube1  - Field1,field2,field3 ODS2 - > Infocube 2  - Field 2-1,2-2,2-3,field2-4 Both datasource information are totally different. Delta changes are captured in the field3 in ODS1 and Infocube 1 also. Field3 and Field 2-3 is the same fie