This is very odd, uniobjects, uniobjects for java, and uniobjects.net are just client libraries that connect over a socket to the unirpcd process on the unidata host, which in turn runs and communicates with the backend udt process. I cannot imagine any of these libraries has an understanding of common. It is the backend udt process that handles and errors any of this.
All i can think of is that the old uniobjects is somehow closing the session/udt process, in between the call to sub 1 and 2, whereas the .net library is keeping it open - it should keep it open if you are using the same unisession and not closing it between calls. - maybe you can check the backend udt process is the same for the old uniobjects one - perhaps also consider putting unirpcd into debug mode - it will log all messages for you - instructions are erm somewhere ... Rgds Symeon. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Adrian Halid Sent: 09 October 2009 06:24 To: U2 Users List Subject: Re: [U2] UniObject .NET Session and Common Block Bug No connection pooling. Just the standard session. I am doing the same UniSession and UniSubroutine object setup and creation in .NET, VB6 and Java. It seems in .NET UniObjects doesn't clear unnamed commons between subroutine calls where in VB6 and Java UniObjects it does. Regards Adrian Halid Senior Analyst/Programmer IT Vision Australia Pty Ltd (ABN: 34 309 336 904) PO Box 881, Canning Bridge WA 6153 Level 3, Kirin Centre, 15 Ogilvie Road, Applecross, WA, 6153 P: (08) 9315 7000 F: (08) 9315 7088 E: [email protected] W: http://www.itvision.com.au ___________________________________________________________ NOTICE : This e-mail and any attachments are intended for the addressee(s) only and may contain confidential or privileged material. Any unauthorised review, use, alteration, disclosure or distribution of this e-mail (including any attachments) by an unintended recipient is prohibited. If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then delete both messages. ___________________________________________________________ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ozemail Sent: Friday, 9 October 2009 12:46 PM To: 'U2 Users List' Subject: Re: [U2] UniObject .NET Session and Common Block Bug Hi Adrian If you are using connection pooling, I believe the session would not drop. Regards David Jordan _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
