Hi Thomas, this should probably be fixed on MICO HEAD by this patch:
Wed Nov 30 17:59:36 CET 2011 Karel Gardas <kgar...@objectsecurity.com> * fix TLS-based caching of POAObjectReference object (Rob Ratcliff/FutureTek) This patch fixes TLS-based caching of POAObjectReference object inside the POA. The symptom of this issue were operations failing on some of the invoked objects with BAD_OPERATION exception raised. This was due to invocation being done on completely different object than it was intended to. please let me know if not. Thanks, Karel On 01/ 7/13 03:14 AM, Thomas Schmidt wrote: > Hi, > > I'm currently implementing some CosCollection based classes. When > testing the implementation I'll receive about 20% or more BAD_OPERATION > exceptions on methods sending to my collections created for tests. When > debugging I found that my collection factory will receive messages (like > add_element()) directed to its formerly created collection objects. > > After days of debugging and code review I didn't find the reason of this > failure but found a workaround: > Instead of activating my collections and other objects like collection > iterators or Operations objects using POA::activate_object() which > implicitly generates an ObjectId, I better use > POA::activate_object_with_id(). When generating my own process-wide > unique ID I'll never get BAD_OPERATIONS any more. > > I'm developing and testing on MacOSX 10.8 in 32-bit memory mode using > Xcode with LLVM gcc 4.2 compiler-suite. > > Ciao > Thomas > > -- > Thomas Schmidt > Velgen 1 > D-29582 Hanstedt > Tel: +49-4134-236339 > Mobil: +49-151-23095598 > Skype: ThCSchmidt > Email: tc.schm...@gmx.net <mailto:tc.schm...@gmx.net> > PGP: Key-ID: 0x810B6206 > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > > > > _______________________________________________ > Mico-devel mailing list > Mico-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mico-devel -- Karel Gardas kgar...@objectsecurity.com ObjectSecurity Ltd. http://www.objectsecurity.com ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Mico-devel mailing list Mico-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mico-devel