Why notify() and notifyall() is in Object class

pls help me
why notify() and notifyall() methods which are related to thread are define in Object class,instead of defining in Thread class

shouldn't be called on thread objects ever
at all (one of my pet peeves with Java)Why not? It would make a nice entry in the IOJJJ (International
Obfuscated Java Juggling Jamboree) if it existed ;-)First of all, sorry for my bad english. It's early here :)Nah, it's just a late a rainy Sunday afternoon here, so no problem ;-)
Second of all, the way that Thread is implemented, at least on
windows, it that calling Thread.join does a wait() on that thread object.
Thus, if you call notify() on a thread, you could actually be waking up
joined threads, which wouldn't be good. And if you called wait, you
could get woken up if the thread finishes which violates the contract of
wait and notify to some extent and also relies on an undocumented
feature.I take back my previous remark: it could not just be a nice little entry in
the IOJJJ, it would be a great entry in that contest! ;-)
kind regards,
Jos
ps. your example is the first example that clearly gives a reason for
spurious wakeups I've ever read; thanks; joined threads, I've got to
remember that example. <scribble, scribble, scribble/> done. ;-)

Similar Messages

  • Regarding notify and notifyall

    In general we use notify() and notifyall() methods to invoke the thread objects. Whats the need define them in object class, why dint they defined in Thread class..
    Regards,

    Read the doc carefully. These methods are linked to the monitor of the object, not to a Thread.
    The notifyAll method wakes up all threads waiting on the object in question. The awakened threads compete for the lock. One thread gets it, and the others go back to waiting. (The notify method arbitrarily wakes up one of the threads waiting on this object.)
    You can also read the Synchronizing Threads tutorial section.

  • Notify and notifyAll

    notify results in a single thread acquiring a lock whereas notifyAll results in all the threads competing for the lock and one of them acquiring it
    so any way only one thread is able to acquire the lock, so why do we need notfyAll at all.
    Is there something more to it.

    It can all be illustrated by an example:
    public class Test {
         public static void main(String[] args) throws Exception {
              final Object lock = new Object();
              class R implements Runnable {
                   public void run() {
                        synchronized (lock) {
                             try {
                                  lock.wait();
                             } catch (InterruptedException e) {
                                  e.printStackTrace();
                        System.err.println("Thread " + toString() + " ended");
              synchronized (lock) {
                   new Thread(new R()).start();
                   new Thread(new R()).start();
                   new Thread(new R()).start();
              Thread.sleep(1000);
              synchronized (lock) {
                   lock.notify();     //Change this line to notifyAll
              System.out.println("Main thread ended");
    }Kaj

  • Difference between notify and notifyAll

    hi,
    i want to ask in what situation,
    using "notify" creates a deadlock while
    using "notifyAll" does not ?
    thanks

    suppose there is a dinner table set and there are 5 plates and a chopstick on each said, A,B,C,D,E,F are plates and @ is a chopstick.Ok lets say that someone comes and sits down and starts eating at plate a and grabs the chopstick on his left and his right and starts eating.Ok now some one come and sits down at plate C and grabs A chopstick on his right and his left and starts eating.Ok now someone comes and sites down at plate B the person at plate b is going to have to wait for a and C to get done before he can pick up both chopsticks and start eating.Ok now let say that someone comes and
    sits down at plate D and picks up the chopstick on his left and holds it cause he cant eat yet y C is still eating.Ok Now lets say that someone comes and sits at E and they pick up the chop stick on there left and holds it and then someone sits at plate F and picks up a chopstick and waits .Then some one comes and sits down at plate G and waits. Ok now the table is said to be deadlock unless someone is willing to give up his or hers chopstick so you can tell plate A and C to dtop eating as soon as c stops eating plate D is going to pick up the other chopstick its been waiting on but you can notify plate B that A and C is done and it is ok for him or her to start eating .you could not notify G cause F is still holding his one dam chopstick and he is not going to let go tell E eats and stops and give up his chopstick.If you wanted to when A,B stops eating you could notifyall and B and D would start to eat.Well I hope this give you a understanding cause I am as confused as hell now hehelol
       G @ A  @
             @      B
             F      @
             @      C
             E @  D @

  • Where is the getString() implementation for RS and Object class question

    Dear all,
    I had these two questions ringing since a long time.
    1)ResultSet is an interface.
    In my jdbc code I have generally written rs.getString() and rs.getInt etc.. without giving a second thought as to where exactly is this getter implemented !
    I have RTF API .. without too much help.
    Could some one kindly explain Where is the implementation of the getString method ?
    2) Could you please tell why the Wait() Notify() and NotifyAll methods have been implemented in the Object class ? What was the need to define em in the Object class ?
    Thanks in advance for your time spent on this.
    Rgds

    Sarvananda wrote:
    In the MySQL driver for example it's implemented in com.mysql.jdbc.ResultSet Right. Now it makes sense to me. Every single db that gives me a driver will have their specific implementation for the interface methods of ResultSet.
    >
    why do you need that?
    ..Thats a design decision
    One of my friends asked me this and I was caught unawares. Any ideas on what factors could have made this design decision ?
    Rgds
    >
    In the MySQL driver for example it's implemented in com.mysql.jdbc.ResultSet Right. Now it makes sense to me. Every single db that gives me a driver will have their specific implementation for the interface methods of ResultSet.
    >
    why do you need that?
    ..Thats a design decision
    One of my friends asked me this and I was caught unawares. Any ideas on what factors could have made this design decision ?
    A desire to not have to couple your code to a particular database and JDBC driver. It's a classic example of the abstract factory pattern

  • Why wait() is there in Object class why not in Thread class

    why wait() is there in Object class why not in Thread class .
    while we use wait() in the case of thread environment?
    If there is any situation where we use it without using threads please mention with example. or link to that example..

    839091 wrote:
    The question still remain un-answered as the answers provided are not clear. Can anybody explain why wait(), notify() methods are available in Object class and not thread?What part of the answers given did you not understand?
    Have you even tried writing any code that uses wait/notify and thought about how you'd write the same code if they existed only on Thread rather than on Object?
    Have you studied the basics of Java's multithreading?
    Do you know what a lock is?
    Do you know what the synchronized keyword does?
    Do you understand the relationship between synchronized and wait/notify?
    If you can answer yes to these questions, then the reason that wait/notify exist on Object should be obvious. So, which of the above are "no"?

  • OBJECT Class

    Hello people,
    I am curious to know why the root class OBJECT, empty class, is a class why it was not created as an interface? What difference would make if it were an interface?
    I would appreciate and reward points for good reasons.
    Thanks & Regards,
    Anand Patil

    maghia wrote:
    wait(), notify(), and notifyAll() methods are always used by Thread class objects.Whatever gave you this idea?
    so.why the methods are available in Object class?Because they deal with locks, and every object has a lock.
    [http://java.sun.com/docs/books/tutorial/essential/concurrency/]

  • 11g - LDAP Sync - Select Custom Object class based on user type

    Hi Gurus,
    We have Ldap Sync set up between OIM 11g and ODSEE, we have some custom object class in ODSEE when the user are getting created in OIM it is getting created in ODSEE and it has all object class , every thing is working fine.
    Now we have to select the object class based on user type of OIM, while pushing the user to ODSEE through LDAP sync.
    we checked the LDAPUser.xml we doesnt have any option to choose custom object class based on user type.
    Guys needs suggestion how to go forward on this requirement.

    Do you have OVD between OIM and ODSEE? If yes, then this can be handled at OVD. By modifying the LDAP Adapter and setting up search for users with custom objectclass instead of inetorgperson.
    Flow would be as follows:
    OIM --> LDAPRequest to Create User with inetorgperson to OVD --> OVD --> change request's objectclass to custom objectclass --> Create user in OID with custom objectclass
    ~Yagnesh

  • What style for tunnel object class?

    I amusing LabView scripting to create and populate a case structure.  It is nearly done.  Each case is populated with the code I want.  My final step is to make a tunnel on the case structure.
    I go to create a new VI object and select the Tunnel object class.  However, I have no idea what 'style' to select from the long list of objects (no, tunnel is not one of the options).  Any help?

    ok thank you...I've attached a pic that shows what I'm looking for...note that:
    - there is only 1 tunnel on each case
    - each case has the same subVI
    - the input of the subVI always connects to that same tunnel - I've only shown one case in the pic, but they all look the same
    I have attached 2 pics, one showing what I want, the other showing the relevant section of the code.
    By the way I am still curious, if you happen to know, what style is compatible with the Tunnel VI oject class.
    Thanks
    Attachments:
    case_struct_example.jpg ‏107 KB
    case_struct_example2.jpg ‏148 KB

  • Why  wait  and notify kept in object class only

    why wait and notify kept in object class only. is it maintain locks while doing wait and notify . please explain internals,

    What do you mean in Object class "only"? If they're in Object, then they're in ALL classes.
    They're in Object because any Object can serve as a lock.
    For details of how to use them, see a Java threading tutorial such as http://java.sun.com/docs/books/tutorial/essential/threads/

  • Why methods equals() and hashCode() is defined in Object Class?

    Why methods equals() and hashCode() is defined in Object Class?

    If you have two objects and you don't know (or care about) their exact types, but you still want to know if they are the same, then you can do something like this:
    Object o1 = getObject1();
    Object o2 = getObject2();
    if (o1.equals(o2)) {
      // they are the same, do something
    } else {
      // they are different, do something else
    }This could be useful if you were to write a generic cache, for example.
    A similar thing is true for hashCode(), if you want to manage things in a HashSet, you'll need them to implement hashCode().
    If Object didn't have those methods, then you'd have to write that code against a more specific interface/class and it wouldn't be so general any more.

  • Why isn't Java's Object class abstract?

    Why isn't java's Object class made as abstract class.

    manoj.java wrote:
    Why isn't java's Object class made as abstract class.The only good reason I can think of is that, back in the days prior to Java 5 and the incorporation of java.util.concurrent, bare Objects are useful as thread synchronization monitors (wait(), notify(), notifyAll()).
    --p                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Why notify/notifyAll method doesn't resume the waiting thread quickly?????

    I am currently working on a socket based IM server, I get messages from multiple clients simultaneously and put them into queues, for each queue in my server I have a separate listener running in a thread, as soon as a packet comes in the queue (from any client) it��s related thread is notified to get that packet from thread and process it.
    Here I am using wait/notify blocking mechanism to control loop in my listener thread. My logic works like this
    1)     When Listener thread starts it calls the synchronized getNextPacket method on that queue if the queue has any packet (i.e. it��s length is greater then zero) then it will remove that packet from the underlying vector (NOTE: I am using Vector to contain packets) and return that packet to listener thread, else if queue doesn��t have any packet (i.e. its size is zero) then I will call wait() method which causes the listener thread to wait.
    2)     Now when any client adds some packet in that queue using synchronized addPacket( ) method I first add that packet in the underlying vector and then call notify()/notifyAll() to awake that listener thread, which again calls the getNextPacket() method and this cycle continuous like this.
    So multiple threads (clients) are adding data in the queue using synchronized method, only one listener thread is getting data from that queue using a synchronized method again �� .
    This approach works fine but sometimes I have noticed that the listener thread doesn��t resume just after notiy() / notifyAll() has been called , sometimes it resumes after a long time sometimes it even don��t resume (after waiting a long time I assumed this).
    Solutions I tried
    1)     I did set the listener Thread��s priority to Maximum but facing same problem again.
    For better understanding I am also sending you the code for my queue class and it��s listener thread.
    CODE OF QUEUE CLASS
    import java.util.Vector;
    import org.apache.log4j.Logger;
    import com.tcm.unicorn.server.UnicornCustomeObject;
    * @author sajjad.paracha
    public class UIMPCommandsQueue {
         private static final Logger logger=Logger.getLogger(UIMPCommandsQueue.class);
          * Contains all the packets from clients
         private Vector <UnicornCustomeObject> unicornCustomeObjectQueue = new Vector<UnicornCustomeObject>();
         private UIMPCommandsQueue(){
         private static UIMPCommandsQueue uIMPCommandsQueue = null;
         public static UIMPCommandsQueue getInstance(){
              synchronized(UIMPCommandsQueue.class){
                   if(uIMPCommandsQueue!=null){
                        return uIMPCommandsQueue;
                   }else
                        return uIMPCommandsQueue = new UIMPCommandsQueue();
          * Adds a new command
          * @param unicornCustomeObject
         public synchronized void addCommandPakcet(UnicornCustomeObject unicornCustomeObject){
              logger.debug("[[[[[[[[[[[[[[[[[[[[[[[[[[   Going to add a packet in queue  no "+unicornCustomeObject.getClientSession().getRequestQueueNo());
              unicornCustomeObjectQueue.add(unicornCustomeObject);
              //** Notify the Listener (RequestProcessor) Thread that a new packet has been arrived in the queue
              //** So it now can again start it's processing
              notifyAll();
          * Removes an object from queue whose processing has been started or completed
          * @param unicornCustomeObject
          * @return
         private boolean removeCommandPacket(UnicornCustomeObject unicornCustomeObject){
              return unicornCustomeObjectQueue.remove(unicornCustomeObject);
          * <p> If no packet is available in queue it retuns null value
          *     otherwise returns an object from that queue
          * <p>
          * @return unicornCustomeObject
         public synchronized UnicornCustomeObject getNextCommandPacket(){
              if(unicornCustomeObjectQueue.size()>0){
                   UnicornCustomeObject unicornCustomeObject = unicornCustomeObjectQueue.get(0);
                   logger.debug("[[[[[[[[[[[[[[[[[[[[[[[[[[   Got a packet from queue no  "+unicornCustomeObject.getClientSession().getRequestQueueNo());
                   logger.debug("[[[[[[[[[[[[[[[[[[[[[[[[[[   Going to remove a packet from queue no  "+unicornCustomeObject.getClientSession().getRequestQueueNo());
                   removeCommandPacket(unicornCustomeObject);
                   return unicornCustomeObject;
              }else{
                   try {
                        //** Force the Listener (RequestProcessor) Thread to wait for notification
                        //** This Thread will be only notified if a new command packet has been arrived(added) in the
                        //** Queue i.e in addCommandPacket Method
                        wait();
                   } catch (InterruptedException e) {
                        logger.error("",e);
                   return null;
    CODE OF LISTENER CLASS
    import org.apache.log4j.Logger;
    import com.tcm.unicorn.server.UnicornCustomeObject;
    public class RequestProcessor implements Runnable {
          * will listen on Request queue for any new massages
         public void run() {
                   //** get an instance of RequestQueue before the loop  
                   UIMPCommandsQueue requestQueue= UIMPCommandsQueue.getInstance();
                   while(true){
                        try{
                             //**call the blocking method getNextCommandPacket()     
                             UnicornCustomeObject unicornCustomeObject= requestQueue.getNextCommandPacket();
                             if(unicornCustomeObject!=null){
                                  System.out.println("Got a pcket will process it now.......");                    
                        }catch(Exception exp){
                             exp.printStackTrace();
    Can anybody please tell me where I am doing something wrong and whats the best way to get rid of this situation .
    Thanks in advance
    Message was edited by:
    meetsaju

    Another question !
    in my previous programe i have seen a starange behavior , my processor thread sometimes processes the later message before the message came before that in queue here is an output of my debug statements
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 10
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 11
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 30
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 13
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 0
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 12
    INFO :03 May 2007 11:21:17,>>>>>>>>>>>>>>>>>>>>>>>>requestProcessorThread is in block state
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 20
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 40
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 31
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 14
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 15
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 32
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 33
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 16
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 34
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 17
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 35
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 18
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 36
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 19
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 37
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 41
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 38
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 39
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 42
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 43
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 21
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 44
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 22
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 45
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 23
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 46
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 24
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 47
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 25
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 26
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 49
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 48
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 27
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 28
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 1
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 2 look at the lines
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 49
    INFO :03 May 2007 11:21:17,[[[[[[[[[[[[[[[[[[[[[[[process the packet no 48
    as for as i know it shouldnt be the case as we are using a FIFO queue here....just querious how it is possible that a later message is taken from a FIFO queue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Package distribution frequently failing with Failed to get object class and CSendFileAction::AddFile failed; 0x800706ba

    Dear Experts,
    Frequently I see packages that are being transferred over WAN links failing with the below posted error.
    We're running SCCM 2012 SP1, the DP's are rate limited and firewalled.
    Some applications end up on the DP's fine (even OS images), some don't. When they don't, the issue is non-recoverable, even if I retry it 100 times the error will remain the same while other applications do distribute properly. This seems like there can't
    be a firewall issue at play. Logs on the DP's do not show any errors.
    Here is the PkgXferMgr.log
    Attempt to write 750652 bytes to \\SERVER\SMS_DP$\Content_0a017ff5-3a9b-4794-ab57-e4e50ba2db79.1-F6BCF13B583E95DC14FBA81B712675EAD0A2A8D25D1C5127B3E79519897D1337 at position 394372096 SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:53:42 AM 7476 (0x1D34)
    Wrote 750652 bytes to \\SERVER\SMS_DP$\Content_0a017ff5-3a9b-4794-ab57-e4e50ba2db79.1-F6BCF13B583E95DC14FBA81B712675EAD0A2A8D25D1C5127B3E79519897D1337 at position 394372096 SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:53:44 AM 7476 (0x1D34)
    Sending completed [E:\SCCMContentLib\FileLib\F6BC\F6BCF13B583E95DC14FBA81B712675EAD0A2A8D25D1C5127B3E79519897D1337] SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:53:44 AM 7476 (0x1D34)
    Failed to get object class SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:05 AM 7476 (0x1D34)
    ExecStaticMethod failed (800706ba) SMS_DistributionPoint, AddFile SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:05 AM 7476 (0x1D34)
    CSendFileAction::AddFile failed; 0x800706ba SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:05 AM 7476 (0x1D34)
    Deleting remote file \\SERVER\SMS_DP$\Content_0a017ff5-3a9b-4794-ab57-e4e50ba2db79.1-F6BCF13B583E95DC14FBA81B712675EAD0A2A8D25D1C5127B3E79519897D1337 SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:06 AM 7476 (0x1D34)
    CSendFileAction::SendFiles failed; 0x800706ba SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:06 AM 7476 (0x1D34)
    CSendFileAction::SendFiles failed; 0x800706ba SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:06 AM 7476 (0x1D34)
    Notifying pkgXferJobMgr SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:06 AM 7476 (0x1D34)

    0x800706ba = "The RPC server is unavailable."
    This is often associated with some sort of network connectivity issue but is very hard to track down without watching the traffic because there is no way to know why traffic didn't make it.
    Generally, it is also associated with WMI communication so it's possible that WMI is having issues or is being blocked on the destination system.
    If this is happening sporadically on the same DP for the same content but works for other content, that would indicate to me that some type of network filter or security mechanism is in place that has for some reason decided that that content should not
    be allowed. This is pure speculation though.
    Do you happen to have a WAN accelerator in place or something else that is supposed to help, scan, or filter traffic? If so, this is where you should concentrate your investigation and exclude ConfigMgr traffic from interference.
    Jason | http://blog.configmgrftw.com

  • How can i add an custom attribute and assign it to an existing custom object class in sun ds

    I need to add an attribute to sun ds schema and assign it to an existing custom object class.
    I know how to add an attribute but how can i add the attribute to an existing custom object class.
    Please help.
    Thanks

    The objectclasses attribute is multi-valued, so you can add several values to it as long as they are unique.
    For instance, I think you can add several declaration of the same objectclass as below (note the difference is the number of spaces in the value) howewer, from a schema perspective, only 1 will be taken into account:
    objectclasses: ( 2.5.6.6 NAME 'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword $ CustomAttr) X-ORIGIN 'RFC 2256' )
    objectclasses: ( 2.5.6.6 NAME   'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword $ CustomAttr) X-ORIGIN 'RFC 2256    ' )
    That's the reason why it is safe to delete previous value if you want to update an existing objectclass. No problem to add a new objectclass (new oid and new name) to the schema.
    -Sylvain

Maybe you are looking for

  • ORA-00001 - Unique Constraint on R5TRANSLINES

    Hello, I get the following error when i am inserting into R5TRANSLINES "2009-06-23 14:44:51,698 DEBUG [com.dstm.mp.MPDBException] **!!Error Code:|1|, Msg:|ORA-00001: unique constraint (REMPLOY.R5PRIK_TRL) violated" I have a flex trigger in the system

  • Mutliple IDOCs

    Hi,   I have gone thru the /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm on IDOC (Multiple Types) Collection in BPM . Could any one tell me about ... >>>>>>>>>>>>> Assume that we have three different type of IDOCs ISU_UK

  • How can I get a boot-disk for a Compaq P2500 laptop Windows XP Home Edition?

    I'm already in another forum with a eerily similar question, but that's for the HP Media Center Pavilion m8000e desktop system (Windows Vista Home Premium) I was just given; I've ordered a new hard drive for that. I assume the directions to create a

  • User not created in OIM 11gr2 - trusted reconciliation from OID

    Hello, in my tests I'm trying to do a trusted reconciliation from OID to OIM. I checked the errors below in the log file and I checked the column on the database. The column is there but I can't understand why this error appear. I did a select on thi

  • Error in Device Registery

    hi when i  deploying work flow i got the error " Unable to invoke the admin service GetWorkFlowList:  ADMIN_WEBSERVICE_INVOCATION_ERROR:fail to invok" Also I have check Sybase Control Center also problem for Device Registration also.I got there "an i