From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,ae0e6bcae95c5ad3 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-08-21 09:11:21 PST Newsgroups: comp.unix.osf.misc Path: bga.com!news.sprintlink.net!uunet!MathWorks.Com!news.duke.edu!concert!rutgers!att-out!undergrad.math.uwaterloo.ca!neumann.uwaterloo.ca!ymyong From: ymyong@neumann.uwaterloo.ca (Yuh Ming YONG) Subject: Re: OSF-DCE debugging Message-ID: Keywords: OSF DCE Debug Sender: news@undergrad.math.uwaterloo.ca (news spool owner) Nntp-Posting-Host: neumann.uwaterloo.ca Organization: University of Waterloo References: <3326i0$p1o@gmdzi.gmd.de> <352@isoft.isoft.com> Date: Sun, 21 Aug 1994 15:55:45 GMT In article <3326i0$p1o@gmdzi.gmd.de>, lux@gmdzi.gmd.de (Wolfgang Lux) writes: > I have written a small dce server, providing 2 objects with > one interface and different type managers and 1 object with > a diffent interface. > There is no problem using the first two objects. > When using the third object I get the error message: > Exception: unknown interface (dce / rpc) > > Questions: > - where does the idl put the interface uuid contained in the idl-file? > I did not find it in the stub sources. > In your idl file, as generated by using the UUIDGEN, you will see an interface header and interface body. Typically, the idl file looks like: [ interface header] interface INTERFACENAME { } Possible explainations (just a guess since it is difficult to explain something without first looking at the codes) are: (1) In your server initilization routine, the 'other object UUID' is not registered uniquely / correctly with the CDS. (2) In searching for that 'other object UUID', the rpc_ns_binding_lookup_ routine cannot find the binding information as requested by the client. Check your search criteria / specification. You may find it helpful to examine comm_status and fault_status return codes in the exceptional handler. Good luck. ========================================================================= Yuh Ming, Yong Internet: ymyong@neumann.uwaterloo.ca Department of Computer Science University of Waterloo Waterloo, Ontario Canada N2L 3G1 =========================================================================