_non_existent() hangs

"Ilya Litosh" <[email protected]> Mon, 4 Sep 2006 12:30:17 +0400 (MSD)
Newsgroups gmane.comp.corba.orbacus
Message-ID <[email protected]>
Hello,

We were load-testing ORBacus 4.0.5 client & server: ~ 30 parallel users with small delays doing requests. Sometimes we get client hanging forever (it seems). Backtrace has shown that it hangs due to _non_existent call:

  State: WAITING on java.lang.Object@65bd91
  Total blocked: 40,254  Total waited: 191,025

  Stack trace: 
  java.lang.Object.wait(Native Method)
  java.lang.Object.wait(Object.java:474)
  com.ooc.OB.Downcall.waitUntilCompleted(Downcall.java:808)
  com.ooc.OB.GIOPClientWorkerThreaded.receive
    (GIOPClientWorkerThreaded.java:302)
  com.ooc.OB.GIOPClientWorkerThreaded.sendReceive
    (GIOPClientWorkerThreaded.java:328)
  com.ooc.OB.Downcall.request(Downcall.java:313)
  com.ooc.OB.DowncallStub.invoke(DowncallStub.java:560)
  com.ooc.CORBA.Delegate.invoke(Delegate.java:556)
  com.ooc.CORBA.Delegate.non_existent(Delegate.java:400)
  org.omg.CORBA.portable.ObjectImpl._non_existent(ObjectImpl.java:137)

Downcall.java source shows, that if requestTimeout policy is not set, waitUntilCompleted will wait forever until the request is completed. I cannot determine however what it is waiting for.

CORBA specification states: 
"If nonexistent cannot make a reliable determination of object existence due to failure, it raises an exception in the calling application code."

However, I checked that the object we are querying for non-existence, does exist and is running - by running another client.

Is it a known issue in ORBacus 4.0.5?

Thanks,
Ilya
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html