From dietmar@maurer-it.com Wed Nov 1 06:09:09 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id DBA9D2BB98 for ; Wed, 1 Nov 2000 06:09:08 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Wed, 1 Nov 2000 11:57:03 +0100 (CET) Message-ID: <39FFF6FD.9830BE7A@maurer-it.com> Date: Wed, 01 Nov 2000 11:57:03 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: howto get the servant from the object reference Content-Type: multipart/alternative; boundary="------------49AFFAFA9FC28A2EEA4580B5" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --------------49AFFAFA9FC28A2EEA4580B5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the PortableServer_Servant if I only have a CORBA_Object (if the object is local)? What I need is something like this: if (servant = servant_from_object (obj)) { /* found the servant */ } else { /* object is not local */ } --------------49AFFAFA9FC28A2EEA4580B5 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the PortableServer_Servant if I only
have a CORBA_Object (if the object is local)?

What I need is something like this:

if (servant = servant_from_object (obj)) {
     /* found the servant */
} else {
    /* object is not local */
} --------------49AFFAFA9FC28A2EEA4580B5-- From mkul@zenon.net Wed Nov 1 10:19:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from pb.zenon.net (cleopatra.zenon.net [195.2.64.6]) by mail.gnome.org (Postfix) with ESMTP id D44AB2BAEA for ; Wed, 1 Nov 2000 10:19:56 -0500 (EST) Received: from mp.aha.ru (mp.hq.zenon.net [192.168.9.150]) by pb.zenon.net (8.9.3/8.9.3) with ESMTP id SAA45831 for ; Wed, 1 Nov 2000 18:08:23 +0300 (MSK) (envelope-from mkul@zenon.net) Received: from [192.168.13.39] (HELO zenon.net) by mp.aha.ru (CommuniGate Pro SMTP 3.4b2) with ESMTP id 4130854 for orbit-list@gnome.org; Wed, 01 Nov 2000 18:06:28 +0300 Message-ID: <3A003143.84E5DC2F@zenon.net> Date: Wed, 01 Nov 2000 18:05:39 +0300 From: Michael Kulakov Organization: Zenon X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: make async. work with orbit Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello! CORBA_boolean CORBA_ORB_work_pending(CORBA_ORB orb, CORBA_Environment *ev) { g_assert(!"Not yet implemented"); return(CORBA_FALSE); } /* Section 4.9.2 */ void CORBA_ORB_perform_work(CORBA_ORB orb, CORBA_Environment *ev) { g_assert(!"Not yet implemented"); return; } What about any plans to implement this functions ? Michael From zhonghm@163.net Wed Nov 1 20:34:03 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from bjapp2.163.net (unknown [202.108.255.212]) by mail.gnome.org (Postfix) with ESMTP id 6150D2BD01 for ; Wed, 1 Nov 2000 20:34:02 -0500 (EST) Received: from main (unknown [61.129.38.105]) by bjapp2.163.net (Postfix) with SMTP id 341DF1C6E2A18 for ; Thu, 2 Nov 2000 09:20:56 +0800 (CST) Message-ID: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> From: "Zhong Haoming" To: Subject: =?hz-gb-2312?B?fns7WDg0fn06IGhvd3RvIGdldCB0aGUgc2VydmFudCBmcm9tIHQ=?= =?hz-gb-2312?B?aGUgb2JqZWN0IHJlZmVyZW5jZQ==?= Date: Thu, 2 Nov 2000 09:22:51 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01C044AE.7933A580" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C044AE.7933A580 Content-Type: text/plain; charset="hz-gb-2312" Content-Transfer-Encoding: quoted-printable Hi! I think you can not do that. -----Original Message----- ~{7"<~HK~}: Dietmar Maurer ~{JU<~HK~}: orbit-list@gnome.org ~{HUFZ~}: 2000~{Dj~}11~{TB~}1~{HU~} 23:21 ~{VwLb~}: howto get the servant from the object reference =20 =20 Is it possible to get the PortableServer_Servant if I only=20 have a CORBA_Object (if the object is local)?=20 What I need is something like this:=20 if (servant =3D servant_from_object (obj)) {=20 /* found the servant */=20 } else {=20 /* object is not local */=20 }=20 ------=_NextPart_000_0039_01C044AE.7933A580 Content-Type: text/html; charset="hz-gb-2312" Content-Transfer-Encoding: quoted-printable

Hi!
I think you = can not do=20 that.
-----Original = Message-----
~{7"<~HK~}:=20 Dietmar Maurer <dietmar@maurer-it.com>
~{JU<~HK~}:=20 orbit-list@gnome.org = <orbit-list@gnome.org>
~= {HUFZ~}:=20 2000~{Dj~}11~{TB~}1~{HU~} 23:21
~{VwLb~}: howto get = the servant from the object=20 reference

Is it possible to get the=20 PortableServer_Servant if I only
have a CORBA_Object (if the = object is=20 local)?=20

What I need is something like this:=20

if (servant =3D servant_from_object (obj)) {=20
     /* found the servant */ =
} else=20 {
    /* object is not local */=20
}

------=_NextPart_000_0039_01C044AE.7933A580-- From joe@pinguind.co.id Thu Nov 2 02:06:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from penguin.idola.net.id (eskimo.penguin.idola.net.id [202.152.20.54]) by mail.gnome.org (Postfix) with SMTP id 965DB2DE29 for ; Thu, 2 Nov 2000 02:06:39 -0500 (EST) Received: (qmail 24961 invoked by uid 510); 2 Nov 2000 18:02:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Nov 2000 18:02:38 -0000 Date: Thu, 2 Nov 2000 13:02:38 -0500 (EST) From: Zulkarnaen Hatala To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() In-Reply-To: <1258-Tue31Oct2000101834+0000-starksb@ebi.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Here is my code from factory-server.c --code sniff-- CosNaming_NamingContext name_srv; --code sniff-- name_srv = CORBA_ORB_resolve_initial_references(orb, "NameService", &ev); if(name_srv==NULL){ g_message("name_srv is always null"); g_message("%d",ev._major); exit(0); } --code sniff-- CosNaming_NamingContext_bind(name_srv,fac_name, fac, &ev); --code sniff-- The fact is segmentation fault because name_srv is always NULL, somebody tell me how to fix this problem .. I still don't understand why ..:) -- joe Zulkarnaen Hatala L I V E email : joe@pinguind.co.id F R E E PinguinD Linux ONE STOP SOLUTIONS http://www.pinguind.co.id O * R UIN : 49727749 telp : 62-022-2509327 D I E From jiva@dharmabox.opnix.net Thu Nov 2 02:21:04 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id 336D62CB60 for ; Thu, 2 Nov 2000 02:21:04 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id C99591A712; Thu, 2 Nov 2000 00:08:24 -0700 (MST) Date: Thu, 2 Nov 2000 00:08:24 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Shortened IORs? Message-ID: <20001102000824.A4516@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Greetings! We're using ORBit for some internal projects here. We have been developping these applications using Mandrake 7.1, but recently, we tried running the apps on a Debian Woody box and on a Mandrake 7.2 box. Both of these machines cause our app to generate a bad IOR which is shorter than a normal one. When we run this through parseIOR, we get "invalid object ref" as an error. We have tried changing versions of ORBit on these boxes, but had no success. The versions of ORBit we've tried are: 0.5.4 0.5.2 0.5.1 All of them do the same thing. Question is: What would cause this, and what can I do to further diagnose the problem? -- From dietmar@maurer-it.com Thu Nov 2 02:29:10 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id E10922BAB8 for ; Thu, 2 Nov 2000 02:29:09 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 2 Nov 2000 08:17:02 +0100 (CET) Message-ID: <3A0114ED.14401930@maurer-it.com> Date: Thu, 02 Nov 2000 08:17:02 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I have just found a way: obj->servant Although I think this is ORBit specific? Zhong Haoming wrote: > Hi!I think you can not do that. > > Is it possible to get the PortableServer_Servant if I only > > have a CORBA_Object (if the object is local)? > > What I need is something like this: > > if (servant = servant_from_object (obj)) { > /* found the servant */ > } else { > /* object is not local */ > } > From jiva@dharmabox.opnix.net Thu Nov 2 02:33:01 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id AA0B22BAB8 for ; Thu, 2 Nov 2000 02:33:00 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id 6AD751A71E; Thu, 2 Nov 2000 00:20:30 -0700 (MST) Date: Thu, 2 Nov 2000 00:20:30 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Re: make async. work with orbit Message-ID: <20001102002030.A4555@opnix.com> References: <3A003143.84E5DC2F@zenon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A003143.84E5DC2F@zenon.net>; from mkul@zenon.net on Wed, Nov 01, 2000 at 06:05:39PM +0300 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I asked a very similar question a few weeks ago. I don't think there's plans for this right now, but you can accomplish virtually the same thing by sticking a glib main loop into your software and using it's work_pending constructs. This is actually signifigantly less work than it sounds like on the surface and I might be able to point you in the direction of some sample code if you are interested. On Wed, Nov 01, 2000 at 06:05:39PM +0300, Michael Kulakov wrote: > Hello! > > CORBA_boolean CORBA_ORB_work_pending(CORBA_ORB orb, CORBA_Environment > *ev) > { > g_assert(!"Not yet implemented"); > return(CORBA_FALSE); > } > > /* Section 4.9.2 */ > void CORBA_ORB_perform_work(CORBA_ORB orb, CORBA_Environment *ev) > { > g_assert(!"Not yet implemented"); > return; > } > > What about any plans to implement this functions ? > > Michael > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- From wilhelmi@ira.uka.de Thu Nov 2 04:50:30 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id CC3AF2BAB8 for ; Thu, 2 Nov 2000 04:50:29 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Thu, 2 Nov 2000 10:38:20 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Thu, 2 Nov 2000 10:38:19 +0100 Message-ID: <3A01360B.E2E2AD2A@ira.uka.de> Date: Thu, 02 Nov 2000 10:38:19 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, Jiva DeVoe Subject: Re: Shortened IORs? References: <20001102000824.A4516@opnix.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Jiva, > We're using ORBit for some internal projects here. We have been > developping these applications using Mandrake 7.1, but recently, we > tried running the apps on a Debian Woody box and on a Mandrake 7.2 > box. Both of these machines cause our app to generate a bad IOR which > is shorter than a normal one. When we run this through parseIOR, we > get "invalid object ref" as an error. We have tried changing versions > of ORBit on these boxes, but had no success. The versions of ORBit > we've tried are: See Question 2b) on http://orbit-resource.sourceforge.net/faq.html Bye, Sebastian -- = Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo= lnen mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runderli= gt bl=E5 http://goethe.ira.uka.de/~wilhelmi | From wilhelmi@ira.uka.de Thu Nov 2 04:55:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id C520A2BAB8 for ; Thu, 2 Nov 2000 04:55:41 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Thu, 2 Nov 2000 10:43:34 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Thu, 2 Nov 2000 10:43:33 +0100 Message-ID: <3A013744.F17F3E85@ira.uka.de> Date: Thu, 02 Nov 2000 10:43:32 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Zulkarnaen, > The fact is segmentation fault because name_srv is always NULL, > somebody tell me how to fix this problem .. > I still don't understand why ..:) You have to start the name-service. This sputs out an IOR. This IOR has t= o be given as an argument to the ORBit-program, just like the following exampl= e: orbit-name-server >/tmp/ior & yourserver -ORBNamingIOR=3D`cat /tmp/ior` & yourclient -ORBNamingIOR=3D`cat /tmp/ior` That should work. Bye, Sebastian -- = Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo= lnen mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runderli= gt bl=E5 http://goethe.ira.uka.de/~wilhelmi | From philipd@users.sourceforge.net Thu Nov 2 07:01:52 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from beamail.beasys.com (unknown [63.96.163.29]) by mail.gnome.org (Postfix) with ESMTP id 913282BAC0 for ; Thu, 2 Nov 2000 07:01:51 -0500 (EST) Received: from london.beasys.com (london [10.5.1.10]) by beamail.beasys.com (8.9.1b+Sun/8.9.1) with ESMTP id DAA22370 for ; Thu, 2 Nov 2000 03:49:42 -0800 (PST) Received: from pdawes.beasys.com (lhr-modem6.beasys.com [10.5.1.17]) by london.beasys.com (8.9.3+Sun/8.9.1) with SMTP id LAA10099 for ; Thu, 2 Nov 2000 11:49:33 GMT X-Mailer: 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid (via feedmail 8 I); VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid From: "Phil Dawes" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14849.21763.358000.653405@pdawes.beasys.com> Date: Thu, 2 Nov 2000 11:50:27 +0000 (GMT0:00) To: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference In-Reply-To: <3A0114ED.14401930@maurer-it.com> References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> <3A0114ED.14401930@maurer-it.com> Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Dietmar, Yes, this is definately ORBit specific (and it breaks the CORBA model) I'm curious - why do you want to do this? Cheers, Phil Dietmar Maurer writes: > I have just found a way: obj->servant > Although I think this is ORBit specific? > > Zhong Haoming wrote: > > > Hi!I think you can not do that. > > > > Is it possible to get the PortableServer_Servant if I only > > > > have a CORBA_Object (if the object is local)? > > > > What I need is something like this: > > > > if (servant = servant_from_object (obj)) { > > /* found the servant */ > > } else { > > /* object is not local */ > > } > > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From dietmar@maurer-it.com Thu Nov 2 07:53:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id 0B1AF2BD71 for ; Thu, 2 Nov 2000 07:53:32 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 2 Nov 2000 13:41:25 +0100 (CET) Message-ID: <3A0160F3.EB0D31B7@maurer-it.com> Date: Thu, 02 Nov 2000 13:41:23 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: philipd@users.sourceforge.net Cc: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> <3A0114ED.14401930@maurer-it.com> <14849.21763.358000.653405@pdawes.beasys.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Phil Dawes wrote: > Hi Dietmar, > > Yes, this is definately ORBit specific (and it breaks the CORBA model) > I'm curious - why do you want to do this? I want to use this for the bonobo storage implementation. There is a copyTo() method which copies one storage to another one. The operation can be highly optimized if both servers are local. It is also the only way to detect cyclic copies. From mkul@zenon.net Thu Nov 2 08:01:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from pb.zenon.net (cleopatra.zenon.net [195.2.64.6]) by mail.gnome.org (Postfix) with ESMTP id 159C22BF7E for ; Thu, 2 Nov 2000 08:01:49 -0500 (EST) Received: from mp.aha.ru (mp.hq.zenon.net [192.168.9.150]) by pb.zenon.net (8.9.3/8.9.3) with ESMTP id PAA43330 for ; Thu, 2 Nov 2000 15:50:21 +0300 (MSK) (envelope-from mkul@zenon.net) Received: from [192.168.13.39] (HELO zenon.net) by mp.aha.ru (CommuniGate Pro SMTP 3.4b2) with ESMTP id 4142231 for orbit-list@gnome.org; Thu, 02 Nov 2000 15:48:14 +0300 Message-ID: <3A016256.EE3BC50F@zenon.net> Date: Thu, 02 Nov 2000 15:47:18 +0300 From: Michael Kulakov Organization: Zenon X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() References: <3A013744.F17F3E85@ira.uka.de> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello! > orbit-name-server >/tmp/ior & > yourserver -ORBNamingIOR=`cat /tmp/ior` & > yourclient -ORBNamingIOR=`cat /tmp/ior` and: ssh -f nameservicemachine orbit-name-server > /tmp/ior scp /tmp/ior servermachine:/tmp/ior scp /tmp/ior clientmachine:/tmp/ior ssh -f servermachine yourserver -ORBNamingIOR=`cat /tmp/ior` ssh -f clientmachine yourclient -ORBNamingIOR=`cat /tmp/ior` truly distributed application :) Now we wanny to try to restart orbit-name-server :) Michael From sam@topic.com.au Thu Nov 2 22:30:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.topic.com.au (topic-gw2.topic.com.au [203.37.31.2]) by mail.gnome.org (Postfix) with ESMTP id EEE552E06C for ; Thu, 2 Nov 2000 22:30:30 -0500 (EST) Received: by mailhost.topic.com.au (Postfix, from userid 1) id 6B4201105D; Fri, 3 Nov 2000 14:18:19 +1100 (EST) Received: from beethoven.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id 1511FB0DA; Fri, 3 Nov 2000 14:18:08 +1100 (EST) Received: by beethoven.tsa (sSMTP sendmail emulation); Fri, 3 Nov 2000 14:19:12 +1100 From: Sam Couter Date: Fri, 3 Nov 2000 14:19:12 +1100 To: orbit-list@gnome.org, orbitcpp-list@lists.sourceforge.net Subject: CORBA_long_double type Message-ID: <20001103141912.A31610@topic.com.au> Mail-Followup-To: orbit-list@gnome.org, orbitcpp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: Linux 2.2.17 on a i586 X-AntiVirus: scanned for viruses by AMaViS perl-8 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable G'day all. I'm working on implementing Any in ORBit-C++, but have a problem. The C++ mapping spec says that the CORBA::LongDouble type must be distinct from other types for the purposes of overloading functions. CORBA::LongDouble is typedef'd to ORBit's CORBA_long_double type, which is in turn typedef'd to glib's gdouble type. CORBA::Double is likewise typedef'd to ORBit's CORBA_double type, which is also typed to glib's gdouble type. So the compiler can't tell them apart, and thinks the Any insertion operator for CORBA::LongDouble is a redeclaration of the insertion operator for CORBA::Double. That's no good. I tried changing the typedef for CORBA_long_double to "long double" (I would have used glib's gldouble if it had been defined) and rebuilding ORBit, but now if I try to send CORBA_long_double arguments I get garbage. I can't see anywhere that has a size hard-coded. Yes, I rebuilt the IDL compiler as well, and regenerated the stubs and skeletons with that. Can anyone help me make CORBA_long_double a distinct type from CORBA_double? Or more importantly, make CORBA::LongDouble distinct from CORBA::Double? I don't really want to write a CORBA::LongDouble class and implement all the standard arithmetic operators. :( --=20 Sam Couter | Internet Engineer | http://www.topic.com.au/ sam@topic.com.au | tSA Consulting | PGP key available on key servers PGP key fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6Ai6whTADrt6Jx1wRAr8lAJ9ttHLScUqu/FMEI095GfkW/JYj1gCgtoyv g7Vosptgbpq/e2FD+Mvb538= =Z3kh -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From sopwith@redhat.com Fri Nov 3 11:08:55 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1A6572BCB4 for ; Fri, 3 Nov 2000 11:08:55 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA3FuaY23305; Fri, 3 Nov 2000 10:56:36 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Fri, 3 Nov 2000 10:56:36 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Cc: orbitcpp-list@lists.sourceforge.net Subject: Re: CORBA_long_double type In-Reply-To: <20001103141912.A31610@topic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri, 3 Nov 2000, Sam Couter wrote: > I tried changing the typedef for CORBA_long_double to "long double" (I would > have used glib's gldouble if it had been defined) and rebuilding ORBit, but > now if I try to send CORBA_long_double arguments I get garbage. > Can anyone help me make CORBA_long_double a distinct type from CORBA_double? The problem is that 'long double' is totally undefined. On my Alpha box, it is the same size as a 'double'. On my x86 box, it is 12 bytes compared to 8 for a double. The CORBA spec seems to want it to be 16 bytes long. I am not sure if the ORBit IDL compiler even handles 'long double' properly... I would recommend avoiding it altogether if possible - it seems it is too much of a problem to actually implement... -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From jiva@dharmabox.opnix.net Fri Nov 3 22:56:19 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id C99CC2CC98 for ; Fri, 3 Nov 2000 22:56:19 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id 8E7CF25BD1; Fri, 3 Nov 2000 20:43:21 -0700 (MST) Date: Fri, 3 Nov 2000 20:43:21 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Calling corba within a corba calls? Message-ID: <20001103204321.A16399@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Is it OK to make another corba call within a handler of a corba call? ie: I have an object A that is called. Within it's handler of the call, it calls object B. Is that OK? -- Jiva DeVoe VP Of Software Development Opnix, Inc. - Simply sensous bandwidth. GPG Fingerprint: 0A17 DF84 516A 1DC4 B837 FE6D 3128 41CD 97CB 4AA7 From binnema@djcb.dyndns.org Sat Nov 4 07:07:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn84.dh.casema.net [213.17.5.84]) by mail.gnome.org (Postfix) with SMTP id 8EB832DEAA for ; Sat, 4 Nov 2000 07:07:53 -0500 (EST) Received: (qmail 3549 invoked by uid 550); 4 Nov 2000 13:03:23 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 4 Nov 2000 13:03:23 -0000 Date: Sat, 4 Nov 2000 13:04:10 +0100 From: "Dirk-Jan C . Binnema" To: Jiva DeVoe Cc: orbit-list@gnome.org Subject: Re: Calling corba within a corba calls? Message-ID: <20001104130400.A771@mindcrime.djb.nl> References: <20001103204321.A16399@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20001103204321.A16399@opnix.com>; from jiva@opnix.com on Fri, Nov 03, 2000 at 08:43:21PM -0700 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri Nov 03, 2000 at 08:43:21PM -0700, Jiva DeVoe wrote: -> Is it OK to make another corba call within a handler of a corba call? -> ie: -> -> I have an object A that is called. Within it's handler of the call, -> it calls object B. Is that OK? yes. From tlewis@secureworks.net Sun Nov 5 19:50:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id 796322DBC7 for ; Sun, 5 Nov 2000 19:50:25 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id UAA33478; Sun, 5 Nov 2000 20:38:42 GMT (envelope-from tlewis@secureworks.net) Date: Sun, 5 Nov 2000 19:38:08 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Cc: Jiva DeVoe Subject: Re: Calling corba within a corba calls? In-Reply-To: <20001104130400.A771@mindcrime.djb.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development You just have to make sure that you don't by call B call back into the handler which made call A and is blocked waiting on the return, or else you'll deadlock. If you are running multithreaded, then this is not a problem. -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz On Sat, 4 Nov 2000, Dirk-Jan C . Binnema wrote: > On Fri Nov 03, 2000 at 08:43:21PM -0700, Jiva DeVoe wrote: > -> Is it OK to make another corba call within a handler of a corba call? > -> ie: > -> > -> I have an object A that is called. Within it's handler of the call, > -> it calls object B. Is that OK? > > yes. > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From renfin@telnor.net Mon Nov 6 13:02:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id 358842D169 for ; Mon, 6 Nov 2000 13:02:23 -0500 (EST) Received: from telnor.net (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id KAA15350; Mon, 6 Nov 2000 10:02:15 -0800 (PST) Message-ID: <3A06F2B2.392AC3EA@telnor.net> Date: Mon, 06 Nov 2000 10:04:34 -0800 From: Rene Maldonado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, CORBA Subject: Strings in ORBit Content-Type: multipart/mixed; boundary="------------03A51EA2C393487CA8E636A5" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------03A51EA2C393487CA8E636A5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have a problem I can't pass a string from the server to the client, in fact, a pass the string, from the point of view of the client, everithing is OK, I call the client, an the string appear on the screen, but on the server side an error occur: ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef) aborting... Aborted (core dumped) Any one know what can I do??? if I pass an integer, a short, or any numeric type, nothing hapens, everithing is OK. --------------03A51EA2C393487CA8E636A5 Content-Type: text/x-vcard; charset=us-ascii; name="renfin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="renfin.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------03A51EA2C393487CA8E636A5-- From dietmar@maurer-it.com Mon Nov 6 13:27:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id EDDED2BB75 for ; Mon, 6 Nov 2000 13:27:55 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Mon, 6 Nov 2000 19:27:55 +0100 (CET) Message-ID: <3A06F82A.354B56DD@maurer-it.com> Date: Mon, 06 Nov 2000 19:27:54 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: renfin@telnor.net Cc: orbit-list@gnome.org Subject: Re: Strings in ORBit References: <3A06F2B2.392AC3EA@telnor.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Rene Maldonado wrote: > Hi All, > > I have a problem I can't pass a string from the server to the client, in > fact, a pass the string, from the point of view of the client, > everithing is OK, I call the client, an the string appear on the screen, > but on the server side an error occur: > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > (block->magic == 0xdeadbeef) > aborting... > Aborted (core dumped) > > Any one know what can I do??? You have to use the CORBA functions to allocate the memory for the string, or simply use CORBA_string_dup (string) From Andy_Marchewka@i2.com Mon Nov 6 14:12:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtpmta2.i2.com (smtpmta2.i2.com [64.26.226.11]) by mail.gnome.org (Postfix) with ESMTP id 223AE2BECC for ; Mon, 6 Nov 2000 14:12:27 -0500 (EST) Received: from i2Markham.i2.com ([10.77.2.10]) by smtpmta2.i2.com (Lotus Domino Release 5.0.5) with ESMTP id 2000110613121688:26013 ; Mon, 6 Nov 2000 13:12:16 -0600 Subject: Re: CORBA-DEV: Strings in ORBit To: Rene Maldonado Cc: corba-dev@randomwalk.com, orbit-list@gnome.org X-Mailer: Lotus Notes Release 5.0.2b (Intl) 16 December 1999 Message-ID: From: Andy_Marchewka@i2.com Date: Mon, 6 Nov 2000 14:12:16 -0500 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on i2Markham/Servers/i2Tech(Release 5.0.2b (Intl)|16 December 1999) at 11/06/2000 02:12:16 PM, Itemize by SMTP Server on SMTPMTA2/i2Tech(Release 5.0.5 |September 22, 2000) at 11/06/2000 01:12:17 PM, Serialize by Router on SMTPMTA2/i2Tech(Release 5.0.5 |September 22, 2000) at 11/06/2000 01:12:26 PM, Serialize complete at 11/06/2000 01:12:26 PM Content-type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Rene: May be a memory management issue.... Are you allocating a copy of the string for the client with CORBA::string_alloc() or CORBA::string_dup()? The server-side ORB will deallocate your string after it sends it to the client, so you need to allocate a copy specifically to return to the caller with one of the above functions. If you are sending a string that the server owns, you will likely have memory problems. - Andy Rene Maldonado To: orbit-list@gnome.org, CORBA r.net> cc: Subject: CORBA-DEV: Strings in ORBit 11/06/00 01:04 PM boundary="------------03A51EA2C393487CA8E636A5" This is a multi-part message in MIME format. --------------03A51EA2C393487CA8E636A5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have a problem I can't pass a string from the server to the client, in fact, a pass the string, from the point of view of the client, everithing is OK, I call the client, an the string appear on the screen, but on the server side an error occur: ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef) aborting... Aborted (core dumped) Any one know what can I do??? if I pass an integer, a short, or any numeric type, nothing hapens, everithing is OK. From sopwith@redhat.com Mon Nov 6 14:15:12 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 8A1D72C930 for ; Mon, 6 Nov 2000 14:15:12 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA6JFCd22949; Mon, 6 Nov 2000 14:15:12 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 6 Nov 2000 14:15:12 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Cc: CORBA Subject: Re: Strings in ORBit In-Reply-To: <3A06F2B2.392AC3EA@telnor.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 6 Nov 2000, Rene Maldonado wrote: > Hi All, > > I have a problem I can't pass a string from the server to the client, in > fact, a pass the string, from the point of view of the client, > everithing is OK, I call the client, an the string appear on the screen, > but on the server side an error occur: > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > (block->magic == 0xdeadbeef) > aborting... > Aborted (core dumped) > > Any one know what can I do??? > > if I pass an integer, a short, or any numeric type, nothing hapens, > everithing is OK. When you return a value from the implementation, you are also returning ownership of the memory associated with that value (if any). Numeric types are returned by value, so there is no associated memory to return. Strings, on the other hand, have associated memory that must be copied if you do not wish to return ownership of the memory for the existing value. -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From renfin@telnor.net Mon Nov 6 14:39:29 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id A54042BC01 for ; Mon, 6 Nov 2000 14:39:27 -0500 (EST) Received: from telnor.net (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id LAA24099; Mon, 6 Nov 2000 11:38:36 -0800 (PST) Message-ID: <3A070946.1956FCE8@telnor.net> Date: Mon, 06 Nov 2000 11:40:54 -0800 From: Rene Maldonado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Dietmar Maurer Cc: orbit-list@gnome.org Subject: Re: Strings in ORBit References: <3A06F2B2.392AC3EA@telnor.net> <3A06F82A.354B56DD@maurer-it.com> Content-Type: multipart/mixed; boundary="------------4B6C7EF7C34FC53D0E18B273" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------4B6C7EF7C34FC53D0E18B273 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi : Do you know where can I find some examples that use strings, all I need is some code to have some reference.. Thanks Dietmar Maurer wrote: > Rene Maldonado wrote: > > > Hi All, > > > > I have a problem I can't pass a string from the server to the client, in > > fact, a pass the string, from the point of view of the client, > > everithing is OK, I call the client, an the string appear on the screen, > > but on the server side an error occur: > > > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > > (block->magic == 0xdeadbeef) > > aborting... > > Aborted (core dumped) > > > > Any one know what can I do??? > > You have to use the CORBA functions to allocate the memory for the string, > or simply use CORBA_string_dup (string) --------------4B6C7EF7C34FC53D0E18B273 Content-Type: text/x-vcard; charset=us-ascii; name="renfin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="renfin.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------4B6C7EF7C34FC53D0E18B273-- From zhonghm@163.net Mon Nov 6 20:49:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from bjapp1.163.net (unknown [202.108.255.211]) by mail.gnome.org (Postfix) with ESMTP id AE8092DBBB for ; Mon, 6 Nov 2000 20:48:10 -0500 (EST) Received: from main (unknown [61.129.38.92]) by bjapp1.163.net (Postfix) with SMTP id 05C831C99C849 for ; Tue, 7 Nov 2000 09:42:35 +0800 (CST) Message-ID: <001201c0485c$5b295380$010a0a0a@main.sigurd.com.cn> From: "Zhong Haoming" To: Subject: =?hz-gb-2312?B?fns7WDg0fn06IFN0cmluZ3MgaW4gT1JCaXQ=?= Date: Tue, 7 Nov 2000 09:45:05 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="hz-gb-2312" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi! Rene -----Original Message----- ~{7"<~HK~}: Rene Maldonado ~{JU<~HK~}: orbit-list@gnome.org ; CORBA ~{HUFZ~}: 2000~{Dj~}11~{TB~}7~{HU~} 2:02 ~{VwLb~}: Strings in ORBit >Hi All, > >I have a problem I can't pass a string from the server to the client, in >fact, a pass the string, from the point of view of the client, >everithing is OK, I call the client, an the string appear on the screen, >but on the server side an error occur: > >** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: >(block->magic == 0xdeadbeef) >aborting... >Aborted (core dumped) > >Any one know what can I do??? > >if I pass an integer, a short, or any numeric type, nothing hapens, >everithing is OK. > Here is a sample to return string CORBA_char * ren; ren =CORBA_string_alloc (REN_LEN); return ren; or you can use ren=CORBA_string_dup (anotherstring); and then return it; In ORBit, CORBA_string_alloc (LEN) is defined as return ORBit_alloc(LEN+1,NULL,NULL); > > From jp.roumian@mobileway.com Tue Nov 7 14:08:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.fr.uu.net (smtp2.fr.uu.net [194.98.0.8]) by mail.gnome.org (Postfix) with ESMTP id 10CB32BBBA for ; Tue, 7 Nov 2000 14:08:32 -0500 (EST) Received: from brainwasher.iway.fr (brainwasher.iway.fr [212.208.127.1]) by mail.fr.uu.net (Postfix) with ESMTP id D1B5C321A1 for ; Tue, 7 Nov 2000 20:08:16 +0100 (MET) Received: from mobileway.com ([194.98.169.20]) by brainwasher.iway.fr (8.9.3/8.8.7) with ESMTP id UAA6183492 for ; Tue, 7 Nov 2000 20:06:59 +0100 (MET) Message-ID: <3A0853E3.BE3246A2@mobileway.com> Date: Tue, 07 Nov 2000 20:11:32 +0100 From: jean-paul roumian X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: -fpack-struct causes SEGV Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGVsbG8sDQoNCkkgdHJpZWQgdGhlIHdlbGwta25vd24gIm9yYml0LWRvY3MiIGV4YW1wbGVz IChlY2hvIHNlcnZlciwgY2FsY3VsYXRvcikNCkV2ZXJ5dGhpbmcgd29ya3Mgb2ssIGJ1dCBp ZiBJIGNvbXBpbGUgd2l0aCAtZnBhY2stc3RydWN0IG9wdGlvbiAoSSBkaWQNCnRoaXMgYmVj YXVzZSBJIHdvcmsgb24gc290ZndhcmUgdGhhdCBuZWVkIHRoaXMgOC0oKSwgd2l0aG91dCBj aGFuZ2luZw0KYW55dGhpbmcgZWxzZSwgdGhlIHByb2dyYW1zDQpjb3JlIGR1bXAgYXQgc3Rh cnR1cCwgd2l0aDoNCg0KMHg4MDRiOTBmIGluIENPUkJBTWFpbFNlcnZlcl9nZXRTTVRQQ291 bnRlciAoX29iaj0weDgwNTk1ZjgsIGkyPTEsDQpldj0weGJmZmZmOWU4KSBhdCBjYWxjdWxh dG9yLXN0dWJzLmM6MjUNCjI1ICAgIF9jbnggPSBPUkJpdF9vYmplY3RfZ2V0X2Nvbm5lY3Rp b24oX29iaik7DQooZ2RiKSBwcmludCAqX2NueA0KQ2Fubm90IGFjY2VzcyBtZW1vcnkgYXQg YWRkcmVzcyAweDRjLg0KKGdkYikgcHJpbnQgKl9vYmoNCiQxID0ge3BhcmVudCA9IHtpbnRl cmZhY2UgPSAweDQwMDc0MmE4LCBpc19wc2V1ZG9fb2JqZWN0ID0gMCAnXDAwMCcsDQpyZWZz ID0gMTY3NzcyMTZ9LCBvcmIgPSAweDQwMDAwMDAwLCBjb25uZWN0aW9uID0gMHg4MDU4MiwN CiAgb2JqZWN0X2lkID0gMHg2ODAwMDAwMCA8QWRkcmVzcyAweDY4MDAwMDAwIG91dCBvZiBi b3VuZHM+LA0KcHJvZmlsZV9saXN0ID0gMHg1MDA4MDU5NiwgZm9yd2FyZF9sb2NhdGlvbnMg PSAweDgwNTkxLCAgIGFjdGl2ZV9wcm9maWxlDQo9IDB4MCwgdmVwdiA9IDB4MCwgc2VydmFu dCA9IDB4MH0NCg0KDQpUaGlzIHNlZW1zIHZlcnkgc3RyYW5nZSB0byBtZS4NCldoeSBpdCBp cyBzbyBzZW5zaWJsZSB0byB0aGlzIG9wdGlvbiwgYW5kIGlzIGl0IGEgYnVnID8NCg0KDQoN Cg== From sopwith@redhat.com Tue Nov 7 14:20:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 244BB2D3F8 for ; Tue, 7 Nov 2000 14:20:27 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA7JKQs27064 for ; Tue, 7 Nov 2000 14:20:26 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 7 Nov 2000 14:20:26 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: -fpack-struct causes SEGV In-Reply-To: <3A0853E3.BE3246A2@mobileway.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 7 Nov 2000, jean-paul roumian wrote: > I tried the well-known "orbit-docs" examples (echo server, calculator) > Everything works ok, but if I compile with -fpack-struct option (I did > this because I work on sotfware that need this 8-(), without changing > anything else, the programs > core dump at startup, with: > > 0x804b90f in CORBAMailServer_getSMTPCounter (_obj=0x80595f8, i2=1, > ev=0xbffff9e8) at calculator-stubs.c:25 > 25 _cnx = ORBit_object_get_connection(_obj); > (gdb) print *_cnx > Cannot access memory at address 0x4c. > (gdb) print *_obj > $1 = {parent = {interface = 0x400742a8, is_pseudo_object = 0 '\000', > refs = 16777216}, orb = 0x40000000, connection = 0x80582, > object_id = 0x68000000
, > profile_list = 0x50080596, forward_locations = 0x80591, active_profile > = 0x0, vepv = 0x0, servant = 0x0} -fpack-struct packs ALL structs, including ones that involve interfaces to system libraries. I suggest you use __attribute__((packed)) as needed instead. I don't really know what the problem is, to be honest, but if you are using funky customizations like -fpack-struct, you are on your own. :) -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From bsfelton@mobilesque.com Thu Nov 9 23:56:47 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from onyx.mobilesque.com (ns.mobilesque.com [204.0.12.98]) by mail.gnome.org (Postfix) with ESMTP id E81722BCC8 for ; Thu, 9 Nov 2000 23:56:46 -0500 (EST) Received: from diamond (diamond.mobilesque.com [209.39.176.3]) by onyx.mobilesque.com (8.11.0/8.11.0) with SMTP id eAA4ukg11870 for ; Thu, 9 Nov 2000 22:56:46 -0600 From: "Brentley S Felton" To: Subject: ORBit 0.5.4 compilation error(newbie) Date: Thu, 9 Nov 2000 22:57:08 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive the message when trying to run make after configure (with no options). Any help with this would be greatly appreciated. [bsfelton@opal ORBit-0.5.4]$ make make all-recursive Making all in popt make all-recursive Making all in intl Making all in po make: Fatal error in reader: Makefile, line 90: Macro assignment on dependency line Current working directory /usr/local/ORBit-0.5.4/popt/po *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/ORBit-0.5.4/popt *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' Current working directory /usr/local/ORBit-0.5.4/popt *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/ORBit-0.5.4 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' From wilhelmi@ira.uka.de Fri Nov 10 04:30:20 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id CD9F92D2CD for ; Fri, 10 Nov 2000 04:30:19 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Fri, 10 Nov 2000 10:30:14 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Fri, 10 Nov 2000 10:30:12 +0100 Message-ID: <3A0BC024.5CB6BE51@ira.uka.de> Date: Fri, 10 Nov 2000 10:30:12 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, Brentley S Felton Subject: Re: ORBit 0.5.4 compilation error(newbie) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Brentley, > I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive > the message when trying to run make after configure (with no options). Any > help with this would be greatly appreciated. > > [bsfelton@opal ORBit-0.5.4]$ make > make all-recursive > Making all in popt > make all-recursive > Making all in intl > Making all in po > make: Fatal error in reader: Makefile, line 90: Macro assignment on > dependency line > Current working directory /usr/local/ORBit-0.5.4/popt/po > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4 > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' It looks like you should install gnu make. (or run it, that is'gmake', when already installed). Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi From Margus.Sutt@mail.ee Fri Nov 10 04:30:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.ee (mail.ee [212.107.32.145]) by mail.gnome.org (Postfix) with SMTP id 38B1B2D2CD for ; Fri, 10 Nov 2000 04:30:25 -0500 (EST) Received: (qmail 16914 invoked from network); 10 Nov 2000 09:30:23 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 10 Nov 2000 09:30:23 -0000 Date: Fri, 10 Nov 2000 11:30:22 +0200 (EET) From: Margus Sutt Subject: php module for CORBA To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Message-Id: <20001110093025.38B1B2D2CD@mail.gnome.org> Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development HI! =09Anyone succeeded compiling php module (satellite), which supposed to add= =0ACORBA connectivity? =09Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS= =0Amade ORBit itself not compileable... =09Is this the right place to ask at all? -mts-- From david@2good.nu Fri Nov 10 08:28:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id AB94B2BAAA for ; Fri, 10 Nov 2000 08:28:13 -0500 (EST) Received: from gwan (david@gwan.roots [10.0.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id OAA26448 for ; Fri, 10 Nov 2000 14:28:02 +0100 From: David Eriksson Date: Fri, 10 Nov 2000 14:28:04 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="ISO-8859-1" To: orbit-list@gnome.org References: <20001110093025.38B1B2D2CD@mail.gnome.org> In-Reply-To: <20001110093025.38B1B2D2CD@mail.gnome.org> Subject: Re: php module for CORBA MIME-Version: 1.0 Message-Id: <00111014280401.01933@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Friday 10 November 2000 10:30, you wrote: >HI! > > Anyone succeeded compiling php module (satellite), which supposed to add >CORBA connectivity? > Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS >made ORBit itself not compileable... > Is this the right place to ask at all? There were changes to the CVS which I had not anticipated, so you will have to use a CVS checkout from a "safe" date. Please see the updated part of the README below. I would have hoped that my contributed patches to ORBit would have made it into ORBit 0.5.4 but obviously they did not. What version of ORBit is required? ---------------------------------- You need a CVS version of ORBit to use Satellite! This does NOT work with ORBit 0.5.3 or earlier. The latest version of ORBit in CVS requires glib-2.0 and has not been tested. Because of this we checkout a CVS version from a know safe date. How to install ORBit from CVS ----------------------------- (1) Get it from CVS CVS root: :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome Password: Empty string Directory: ORBit Safe date: 2000-09-02 (yyyy-mm-dd) More about GNOME:s CVS on http://www.gnome.org/start/source.html Sample session at command line to checkout: $ export CVSROOT=":pserver:anonymous@anoncvs.gnome.org:/cvs/gnome" $ cvs login (Logging in to anonymous@anoncvs.gnome.org) CVS password: $ cvs checkout -D "2000-09-02" ORBit cvs server: Updating ORBit . . . (2) Set the environment variable CERTIFIED_GNOMIE to whatever you like. (3) Run ./autogen.sh, gmake och gmake install How to install ORBit from snapshot ---------------------------------- (1) Download snapshot from one of these addresses: http://download.2good.nu/satellite/ORBit-20000902.tgz http://www.2good.com/satellite/ORBit-20000902.tgz (2) Run ./configure, gmake and gmake install -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From chardros@ashtech.net Fri Nov 10 08:44:49 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ashtech.net (ashtech.pa.net [205.166.61.57]) by mail.gnome.org (Postfix) with SMTP id 43DAA2BAA0 for ; Fri, 10 Nov 2000 08:44:46 -0500 (EST) Received: (qmail 21989 invoked from network); 10 Nov 2000 13:44:32 -0000 Received: from ip134.49.blca.blazenet.net (HELO neptune.jlab.int) (24.104.49.134) by ashtech.pa.net with SMTP; 10 Nov 2000 13:44:32 -0000 Received: (from chardros@localhost) by neptune.jlab.int (8.11.0/8.9.3) id eAADiua16898 for orbit-list@gnome.org; Fri, 10 Nov 2000 08:44:56 -0500 Date: Fri, 10 Nov 2000 08:44:56 -0500 From: Jason Pincin To: orbit-list@gnome.org Subject: Re: php module for CORBA Message-ID: <20001110084441.A16893@neptune.jlab.int> References: <20001110093025.38B1B2D2CD@mail.gnome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001110093025.38B1B2D2CD@mail.gnome.org>; from Margus.Sutt@mail.ee on Fri, Nov 10, 2000 at 11:30:22AM +0200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Where does one aquire this satellite module for php? I've been looking at php-ORBit, which is different. I'd love to take a look at satellite and see how it compares. On Fri, Nov 10, 2000 at 11:30:22AM +0200, Margus Sutt wrote: > HI! > > Anyone succeeded compiling php module (satellite), which supposed to add > CORBA connectivity? > Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS > made ORBit itself not compileable... > Is this the right place to ask at all? > > -mts-- > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From david@2good.nu Fri Nov 10 08:52:38 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id 6F6052BAA0 for ; Fri, 10 Nov 2000 08:52:37 -0500 (EST) Received: from gwan (david@gwan.roots [10.0.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id OAA26606 for ; Fri, 10 Nov 2000 14:52:36 +0100 From: David Eriksson Date: Fri, 10 Nov 2000 14:52:38 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" To: orbit-list@gnome.org References: <20001110093025.38B1B2D2CD@mail.gnome.org> <20001110084441.A16893@neptune.jlab.int> In-Reply-To: <20001110084441.A16893@neptune.jlab.int> Subject: Re: php module for CORBA MIME-Version: 1.0 Message-Id: <00111014523803.01933@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Friday 10 November 2000 14:44, you wrote: >Where does one aquire this satellite module for php? I've been looking > at php-ORBit, which is different. I'd love to take a look at satellite > and see how it compares. It's included in the latest release of PHP 4. Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From genaud@icps.u-strasbg.fr Fri Nov 10 09:27:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id BD94F2BC51 for ; Fri, 10 Nov 2000 09:27:15 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id PAA17766 for ; Fri, 10 Nov 2000 15:27:15 +0100 Message-ID: <3A0C0631.28AAEC79@icps.u-strasbg.fr> Date: Fri, 10 Nov 2000 15:29:05 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: server code segfaults Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, could someone help me with a memory management problem. I have a client asking for a sequence of bytes to be returned by a server. The client gets the correct values but the server segfault once it has returned the sequence. My client code calls : VSERV_image_bytevect *img; .... img = VSERV_image_readpixel(image_obj,&width, &height, &ev); .... if (CORBA_sequence_get_release(img)) CORBA_free(img->_buffer); and after this, the img->_buffer do contains the correct values, img->_length contains was what put in the server, but img->_maximum=0 though the C mappings say (page 1-14) "Upon successful return from the invocation the _maximum member will contain the size of the allocated array". And this is my server-side code : static VSERV_image_bytevect * impl_VSERV_image_readpixel(impl_POA_VSERV_image * servant, CORBA_short * width, CORBA_short * height, CORBA_Environment * ev) { VSERV_image_bytevect *retval; guchar *buff; gulong img_size; retval = VSERV_image_bytevect__alloc(); CORBA_sequence_set_release(retval,TRUE); buff = pbuffer_readpixel_with_dim((gint *)width,(gint *) height); img_size = (gulong) (*width) * (*height) * 3; /* in bytes */ retval->_length = img_size; retval->_buffer = CORBA_sequence_CORBA_octet_allocbuf(img_size*sizeof(guchar) ); memcpy(retval->_buffer, buff, img_size*sizeof(guchar) ); return retval; /* segfaults after this */ } Has someone a clue of what i'm doing wrong or why the server segfaults ? Thanks. From bsfelton@mobilesque.com Fri Nov 10 13:48:59 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from onyx.mobilesque.com (ns.mobilesque.com [204.0.12.98]) by mail.gnome.org (Postfix) with ESMTP id 999A12BDA1 for ; Fri, 10 Nov 2000 13:48:59 -0500 (EST) Received: from diamond (diamond.mobilesque.com [209.39.176.3]) by onyx.mobilesque.com (8.11.0/8.11.0) with SMTP id eAAImxg12404 for ; Fri, 10 Nov 2000 12:48:59 -0600 From: "Brentley S Felton" To: Subject: RE: ORBit 0.5.4 compilation error(newbie) Date: Fri, 10 Nov 2000 12:49:25 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A0BC024.5CB6BE51@ira.uka.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks Sebastian. I will give this a whirl. -----Original Message----- From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On Behalf Of Sebastian Wilhelmi Sent: Friday, November 10, 2000 3:30 AM To: orbit-list@gnome.org; Brentley S Felton Subject: Re: ORBit 0.5.4 compilation error(newbie) Hi Brentley, > I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive > the message when trying to run make after configure (with no options). Any > help with this would be greatly appreciated. > > [bsfelton@opal ORBit-0.5.4]$ make > make all-recursive > Making all in popt > make all-recursive > Making all in intl > Making all in po > make: Fatal error in reader: Makefile, line 90: Macro assignment on > dependency line > Current working directory /usr/local/ORBit-0.5.4/popt/po > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4 > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' It looks like you should install gnu make. (or run it, that is'gmake', when already installed). Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi _______________________________________________ orbit-list mailing list orbit-list@gnome.org http://mail.gnome.org/mailman/listinfo/orbit-list From pbouton@mediabolic.com Fri Nov 10 16:08:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 4E4562DE07 for ; Fri, 10 Nov 2000 16:08:41 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01730 for ; Fri, 10 Nov 2000 14:07:46 -0800 Message-ID: <3A0C71B2.A0584D15@mediabolic.com> Date: Fri, 10 Nov 2000 14:07:46 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit without gnome Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello- Does ORBit rely on gnome? Is it possible to use ORBit without gnome running? It looked like at least the name-server used gnome. If we come up with a different scheme for finding our CORBA servant can we run without gnome? Thanks, Peter Bouton From mas@echo.fr Fri Nov 10 16:12:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id 336352DC35 for ; Fri, 10 Nov 2000 16:12:25 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 9C5A547D8; Fri, 10 Nov 2000 22:12:23 +0100 (CET) To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> From: Roland Mas Date: 10 Nov 2000 22:12:23 +0100 In-Reply-To: Peter Bouton's message of "Fri, 10 Nov 2000 14:07:46 -0800" Message-ID: <8766lvzg3s.fsf@cachemir.echo-net.net> Lines: 26 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Peter Bouton (2000-11-10 14:07:46 -0800) : > Does ORBit rely on gnome? Nope, GNOME relies on ORBit. > Is it possible to use ORBit without gnome running? Completely. > It looked like at least the name-server used gnome. Wrong again, GNOME uses the name-server. > If we come up with a different scheme for finding our CORBA servant > can we run without gnome? No problem. I do it everyday (unless these GNOME guys have a particularly perverse way of hiding processes from me :-) Roland. -- Roland Mas Au royaume des aveugles, il y a des borgnes à ne pas dépasser. -- in Soeur Marie-Thérèse des Batignoles (Maëster) From pbouton@mediabolic.com Fri Nov 10 16:50:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 23E9E2BACA for ; Fri, 10 Nov 2000 16:50:28 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01754 for ; Fri, 10 Nov 2000 14:50:33 -0800 Message-ID: <3A0C7BB9.41FE930E@mediabolic.com> Date: Fri, 10 Nov 2000 14:50:33 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> <8766lvzg3s.fsf@cachemir.echo-net.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks. My confusion arose from the discussion of how the Naming Service works in the Beginner's docs http://icps.u-strasbg.fr/~genaud/ORBIT/x374.htm#COSNAMEINGSERVICE. I assumed the gnome_name_service_get was from the gnome libraries. Is this the same service name lookup approach used for non-gnome apps? Thanks, Pete Roland Mas wrote: > Peter Bouton (2000-11-10 14:07:46 -0800) : > > > Does ORBit rely on gnome? > > Nope, GNOME relies on ORBit. > > > Is it possible to use ORBit without gnome running? > > Completely. > > > It looked like at least the name-server used gnome. > > Wrong again, GNOME uses the name-server. > > > If we come up with a different scheme for finding our CORBA servant > > can we run without gnome? > > No problem. I do it everyday (unless these GNOME guys have a > particularly perverse way of hiding processes from me :-) > > Roland. > -- > Roland Mas > > Au royaume des aveugles, il y a des borgnes à ne pas dépasser. > -- in Soeur Marie-Thérèse des Batignoles (Maëster) > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From pbouton@mediabolic.com Fri Nov 10 16:52:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 7323B2BACA for ; Fri, 10 Nov 2000 16:52:56 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01759 for ; Fri, 10 Nov 2000 14:52:57 -0800 Message-ID: <3A0C7C49.745A8270@mediabolic.com> Date: Fri, 10 Nov 2000 14:52:57 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit with Java Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello- Any code examples out there for using ORBit where the server methods are written in Java? Thanks, Peter Bouton From djohnston@teamlogisco.com Fri Nov 10 17:14:18 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id C18D82BAEE for ; Fri, 10 Nov 2000 17:14:17 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id SAA03339 for ; Fri, 10 Nov 2000 18:11:49 -0500 From: David Johnston Date: Fri, 10 Nov 2000 23:11:49 GMT Message-ID: <20001110.23114900@david.baxterharriss.com> Subject: Orbit's temp. directory To: orbit-list@gnome.org X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On my system, a directory named /tmp/orbit-USERNAME gets created for=20 every user who starts Gnome. I would prefer that this be created in=20 /home/USERNAME/tmp/orbit. How would I go about doing this? Regards, David Johnston djohnston@teamlogisco.com From binnema@djcb.dyndns.org Sun Nov 12 07:22:15 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn75.dh.casema.net [213.17.5.75]) by mail.gnome.org (Postfix) with SMTP id 2F24A2BD79 for ; Sun, 12 Nov 2000 07:22:12 -0500 (EST) Received: (qmail 721 invoked by uid 550); 12 Nov 2000 12:28:37 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 12 Nov 2000 12:28:37 -0000 Date: Sun, 12 Nov 2000 13:30:19 +0100 From: "Dirk-Jan C. Binnema" To: orbit-list@gnome.org Subject: trivial hack to do cmdline oaf queries Message-ID: <20001112133009.A2419@mindcrime.djb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi all, I wrote a little program to do command line oaf queries. It's rather trivial, but I've found it useful, so maybe you will do so as well. There are some improvements that could be made, such as some shortcuts for asking 'repo_ids.has()' etc. If typing OAF queries irritates me enough I might make those improvements. [Hmmm... I assume this is the appropriate list for OAF related stuff. If not, I'm sorry.] Cheers, Dirk-Jan. /* ** lsoaf.c -- trivial hack to do cmdline oaf queries ** ** compile with: ** gcc -o lsoaf lsoaf.c `oaf-config --libs` `oaf-config --cflags` ** ** Copyright (C) 2000 Dirk-Jan C. Binnema ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ** */ #include #include static int do_query (gchar *query, gint argc, gchar *argv[]); static gchar* parse_arguments (gint argc, gchar *argv[]); static gboolean display_server_type= FALSE, display_properties = FALSE, display_location = FALSE, display_username = FALSE, display_hostname = FALSE, display_domain = FALSE, display_all = FALSE; int main (int argc, char *argv[]) { gboolean retval; gchar *query; query = parse_arguments (argc, argv); if (!query) return 1; else { retval = do_query (query, argc, argv); g_free (query); return retval; } } static gchar* parse_arguments (int argc, gchar *argv[]) { poptContext option_context; gchar *query; gchar c; const struct poptOption options[] = { { "location", 'l', POPT_ARG_NONE, &display_location, 0, "show location information", NULL }, { "properties", 'p', POPT_ARG_NONE, &display_properties, 0, "show properties", NULL }, { "username", 'u', POPT_ARG_NONE, &display_username, 0, "show the username", NULL }, { "hostname", 'h', POPT_ARG_NONE, &display_hostname, 0, "show the hostname", NULL }, { "domain", 'd', POPT_ARG_NONE, &display_domain, 0, "show domain", NULL }, { "query", 'q', POPT_ARG_STRING, &query, 0, "search for objects using the given oaf query", NULL }, { NULL, 0, 0, NULL, 0 } }; static gchar* usage_msg = "\n-l : display location" "\n-p : display properties" "\n-u : display user name" "\n-h : display hostname" "\n-d : display domain" "\n-q : an OAF query" "\n\nexample: $ lsoaf -lp -q \"repo_ids.has('IDL:Bonobo/Control:1.0')\"\n"; option_context = poptGetContext (NULL, argc, (const char**)argv, options, 0); poptSetOtherOptionHelp (option_context, usage_msg); if (argc < 2) { poptPrintUsage (option_context, stderr, 0); exit (1); } while ((c = poptGetNextOpt(option_context)) >= 0) g_print ("*** %c\n", c); poptFreeContext (option_context); return g_strdup(query); } static gboolean do_query (gchar* query, gint argc, gchar *argv[]) { CORBA_ORB orb; CORBA_Environment ev; OAF_Property oaf_prop; OAF_ServerInfoList *query_result; OAF_ServerInfo server_info; gint i,j,k, prop_num, string_num; gchar *order_by = NULL; gboolean display_anything = display_server_type || display_properties || display_location || display_username || display_hostname || display_domain; CORBA_exception_init(&ev); orb = oaf_init (argc,argv); if (!orb) g_error ("%s", "failed to initialize orb"); if (!oaf_is_initialized()) g_error ("%s", "failed to initialize oaf"); query_result = oaf_query (query, &order_by, &ev); if (ev._major != CORBA_NO_EXCEPTION) { g_print ( "CORBA exception: %s\n", CORBA_exception_id(&ev)); CORBA_exception_free (&ev); return 1; } for (i = 0; i < query_result->_length; ++i) { server_info = query_result->_buffer[i]; if (display_server_type) g_print ("type : %s\n", server_info.server_type); if (display_location) g_print ("location : %s\n", server_info.location_info); if (display_username) g_print ("username : %s\n", server_info.username); if (display_hostname) g_print ("hostname : %s\n", server_info.hostname); if (display_domain) g_print ("domain : %s\n", server_info.domain); if (display_properties) { prop_num = query_result->_buffer[i].props._length; for (j=0; j < prop_num; ++j) { oaf_prop = query_result->_buffer[i].props._buffer[j]; g_print ("property [%d]: '%s' => ", j+1, oaf_prop.name); switch (oaf_prop.v._d) { case OAF_P_STRING: g_print ("\"%s\" (string)\n",oaf_prop.v._u.value_string); break; case OAF_P_NUMBER: g_print ("%d (number)\n",oaf_prop.v._u.value_number); break; case OAF_P_BOOLEAN: g_print ("%s (boolean)\n",oaf_prop.v._u.value_number?"true":"false"); break; case OAF_P_STRINGV: string_num = oaf_prop.v._u.value_stringv._length; for (k = 0; k < string_num; ++k) { g_print ("\"%s\"", oaf_prop.v._u.value_stringv._buffer[k]); if ( k < string_num - 1) g_print (", "); } g_print (" (string list [%d])\n", string_num); break; default: g_print ("error: unknown type\n"); } } } if (display_anything) g_print ("\n"); } if (CORBA_sequence_get_release (query_result)) CORBA_free(query_result->_buffer); CORBA_exception_free (&ev); return 0; } +--------------------------------------------------+ Dirk-Jan C. Binnema http://www.casema.net/~devnull -------------------------------------------------- PGP/GPG fingerprint: BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F +--------------------------------------------------+ From garry.chan@alumni.ust.hk Sun Nov 12 09:55:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailgw.ust.hk (mailgw.ust.hk [143.89.14.35]) by mail.gnome.org (Postfix) with ESMTP id 9EF502BC87 for ; Sun, 12 Nov 2000 09:55:21 -0500 (EST) Received: from dma100 (dma100.resnet.ust.hk [143.89.220.100]) by mailgw.ust.hk (8.11.0/8.11.0) with SMTP id eACErBP11853 for ; Sun, 12 Nov 2000 22:53:11 +0800 (HKT) Message-ID: <002801c04cb8$9ce487d0$64dc598f@resnet> From: "Garry Chan" To: References: Date: Sun, 12 Nov 2000 22:55:33 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Subject: (no subject) Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi all, I want to unsubscribe to this mailing list. I know that this is not the right address to do so. I have tried to submit my request to orbit-list-request@cuc.edu but got a error message reply. Could anyone tell me the correct way to unsubscribe? Thank you Gary From simon.britnell@peace.com Sun Nov 12 16:03:53 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id 9FAB12BBBA for ; Sun, 12 Nov 2000 16:03:51 -0500 (EST) Message-ID: <3A0F044A.1020104@peace.com> Date: Mon, 13 Nov 2000 09:57:46 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit with Java References: <3A0C7C49.745A8270@mediabolic.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development For this you're best to look at the examples that come with the Java ORB you're using (we find JacORB to be good). Peter Bouton wrote: > Hello- > > Any code examples out there for using ORBit where the server methods are > written in Java? From sopwith@redhat.com Sun Nov 12 16:43:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 8240D2BBBA for ; Sun, 12 Nov 2000 16:43:22 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eACLhMV00857 for ; Sun, 12 Nov 2000 16:43:22 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Sun, 12 Nov 2000 16:43:22 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001110.23114900@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri, 10 Nov 2000, David Johnston wrote: > On my system, a directory named /tmp/orbit-USERNAME gets created for > every user who starts Gnome. I would prefer that this be created in > /home/USERNAME/tmp/orbit. How would I go about doing this? Basically, you can hack the ORBit code yourself It would be a really bad idea. /home is very often on NFS, and UNIX sockets on an NFS-mounted path don't work on a number of operating systems, and the directory is per-[machine,user], not simply per-user. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Sun Nov 12 16:44:10 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 757A82BBBA for ; Sun, 12 Nov 2000 16:44:10 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eACLiAK00898 for ; Sun, 12 Nov 2000 16:44:10 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Sun, 12 Nov 2000 16:44:10 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: trivial hack to do cmdline oaf queries In-Reply-To: <20001112133009.A2419@mindcrime.djb.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, 12 Nov 2000, Dirk-Jan C. Binnema wrote: > I wrote a little program to do command line oaf queries. There is already one included in OAF - oaf-client -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From binnema@djcb.dyndns.org Sun Nov 12 17:19:51 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn75.dh.casema.net [213.17.5.75]) by mail.gnome.org (Postfix) with SMTP id 84C7C2BBBA for ; Sun, 12 Nov 2000 17:19:49 -0500 (EST) Received: (qmail 2117 invoked by uid 550); 12 Nov 2000 22:26:24 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 12 Nov 2000 22:26:24 -0000 Date: Sun, 12 Nov 2000 23:28:10 +0100 From: "Dirk-Jan C. Binnema" To: orbit-list@gnome.org Subject: Re: trivial hack to do cmdline oaf queries Message-ID: <20001112232800.D2419@mindcrime.djb.nl> References: <20001112133009.A2419@mindcrime.djb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from sopwith@redhat.com on Sun, Nov 12, 2000 at 04:44:10PM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun Nov 12, 2000 at 04:44:10PM -0500, Elliot Lee wrote: -> On Sun, 12 Nov 2000, Dirk-Jan C. Binnema wrote: -> -> > I wrote a little program to do command line oaf queries. -> -> There is already one included in OAF - oaf-client yeah, i know, but I didn't like the name... [ok, this is silly.... at least I had fun while coding.] --Dirk-Jan. +--------------------------------------------------+ Dirk-Jan C. Binnema http://www.casema.net/~devnull -------------------------------------------------- PGP/GPG fingerprint: BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F +--------------------------------------------------+ From andrewm@treshna.com Sun Nov 12 23:24:33 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp4.ihug.co.nz (smtp4.ihug.co.nz [203.109.252.5]) by mail.gnome.org (Postfix) with ESMTP id 28E4E2BCCA for ; Sun, 12 Nov 2000 23:24:31 -0500 (EST) Received: from nikita.treshna.com (p7-max7.chc.ihug.co.nz [203.173.225.135]) by smtp4.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id RAA11379 for ; Mon, 13 Nov 2000 17:24:22 +1300 X-Authentication-Warning: smtp4.ihug.co.nz: Host p7-max7.chc.ihug.co.nz [203.173.225.135] claimed to be nikita.treshna.com Received: from nikita.treshna.com ([101.101.101.1] helo=treshna.com) by nikita.treshna.com with esmtp (Exim 3.16 #1 (Debian)) id 13vBAB-0006fM-00 for ; Mon, 13 Nov 2000 17:24:11 +1300 Message-ID: <3A0F6CEB.9148A9A5@treshna.com> Date: Mon, 13 Nov 2000 17:24:11 +1300 From: Andrew Murie X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test9 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Java + ORBit Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I'm attempting to write a Java client to communicate with a server written in C, using ORBit. I beleive I have used the -IIOPIPV4=1 option correctly, and it ought to be able to connect, but still the Java client just throws COMM_FAILURE exceptions. The ORBit server is running on Linux, and the Java client on WinNT4. There doesn't appear to be a network problem, so I suspect a configuration problem. I'm copying the stringified object reference from the Linux box to the NT machine, as I haven't gotten around to setting up the name service. Can anyone offer any suggestions for getting this to work? From cactus@cactus.rulez.org Mon Nov 13 00:38:47 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from booster.telnet.hu (booster.telnet.hu [212.75.128.38]) by mail.gnome.org (Postfix) with ESMTP id 8D8722BC26 for ; Mon, 13 Nov 2000 00:38:46 -0500 (EST) Received: from sendmail.telnet.hu ([212.75.128.13] ident=qmailr) by booster.telnet.hu with smtp (Exim 3.12 #1 (Debian)) id 13vCKI-00070x-00 for ; Mon, 13 Nov 2000 06:38:42 +0100 Received: (qmail 1274 invoked from network); 13 Nov 2000 05:38:41 -0000 Received: from port060.bp1.telnet.hu (HELO mail.cactus) (212.75.128.188) by mail.telnet.hu with SMTP; 13 Nov 2000 05:38:41 -0000 Received: from ds9.cactus (really [10.0.0.1]) by mail.cactus via smail with esmtp id (Debian Smail3.2.0.102) for ; Mon, 13 Nov 2000 06:38:11 +0100 (CET) Date: Mon, 13 Nov 2000 06:38:10 +0100 (CET) From: ERDI Gergo X-Sender: cactus@ds9.cactus To: orbit-list@gnome.org Subject: Re: Java + ORBit In-Reply-To: <3A0F6CEB.9148A9A5@treshna.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, Andrew Murie wrote: > configuration problem. I'm copying the stringified object reference from > the Linux box to the NT machine, as I haven't gotten around to setting > up the name service. Use the ior-decode utility on the Linux box to make sure ORBit is using TCP transport (you should see a TAG_INTERNET_IOP part) --=20 .--=3D ULLA! =3D----------------------------. finger cactus@cactus.rule= z.org \ http://cactus.rulez.org \ for PGP public key `----------=3D cactus@cactus.rulez.org =3D--' A szinon=EDma olyan sz=F3, amit akkor haszn=E1lsz, ha nem tudsz valamit hel= yesen le=EDrni. From MVerwerft@nedcar.nl Mon Nov 13 03:20:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from nedcar.nl (unknown [193.172.11.178]) by mail.gnome.org (Postfix) with ESMTP id 9AE242BB05 for ; Mon, 13 Nov 2000 03:20:57 -0500 (EST) Received: by gateborn.nedcar.nl id <117125>; Mon, 13 Nov 2000 09:22:05 +0100 Message-Id: <00Nov13.092205cet.117125@gateborn.nedcar.nl> From: "Verwerft, Marc" To: "'orbit-list@gnome.org'" Subject: RE: Java + ORBit Date: Mon, 13 Nov 2000 09:20:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Maybe your client can send out only giop1.2 requests ? Or write a small client test program in orbit for windoze ? At least you'll know whether or not it is related to the two different products (Orbit and ...) and not to network settings, firewall configurations, etc. > ---------- > From: Andrew Murie[SMTP:andrewm@treshna.com] > Reply To: orbit-list@gnome.org > Sent: Monday 13 November 2000 05:24 > To: orbit-list@gnome.org > Subject: Java + ORBit > > I'm attempting to write a Java client to communicate with a server > written in C, using ORBit. I beleive I have used the -IIOPIPV4=1 option > correctly, and it ought to be able to connect, but still the Java client > just throws COMM_FAILURE exceptions. > > The ORBit server is running on Linux, and the Java client on WinNT4. > There doesn't appear to be a network problem, so I suspect a > configuration problem. I'm copying the stringified object reference from > the Linux box to the NT machine, as I haven't gotten around to setting > up the name service. > > Can anyone offer any suggestions for getting this to work? > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From dick@dick.i2it.co.uk Mon Nov 13 05:03:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dick.i2it.co.uk (dick.i2it.co.uk [212.250.92.12]) by mail.gnome.org (Postfix) with ESMTP id BC2382CB10 for ; Mon, 13 Nov 2000 05:02:35 -0500 (EST) Received: (from dick@localhost) by dick.i2it.co.uk (8.8.7/8.8.7) id KAA00875 for orbit-list@gnome.org; Mon, 13 Nov 2000 10:02:34 GMT Date: Mon, 13 Nov 2000 10:02:34 +0000 From: Dick Porter To: orbit-list@gnome.org Subject: Re: (no subject) Message-ID: <20001113100234.Y10471@dick.i2it.co.uk> References: <002801c04cb8$9ce487d0$64dc598f@resnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <002801c04cb8$9ce487d0$64dc598f@resnet>; from garry.chan@alumni.ust.hk on Sun, Nov 12, 2000 at 10:55:33PM +0800 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, Nov 12, 2000 at 10:55:33PM +0800, Garry Chan wrote: > Hi all, > > Could anyone tell me the correct way to unsubscribe? You could try following the URL at the bottom of every message (I'm posting this publically to head off the spate of me too! :-) ) > > Thank you > Gary - Dick From jp.roumian@mobileway.com Mon Nov 13 11:36:26 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.fr.uu.net (smtp2.fr.uu.net [194.98.0.8]) by mail.gnome.org (Postfix) with ESMTP id A16062CFF2 for ; Mon, 13 Nov 2000 11:36:26 -0500 (EST) Received: from brainwasher.iway.fr (brainwasher.iway.fr [212.208.127.1]) by mail.fr.uu.net (Postfix) with ESMTP id C97C431EE8 for ; Mon, 13 Nov 2000 17:36:11 +0100 (MET) Received: from mobileway.com ([194.98.169.20]) by brainwasher.iway.fr (8.9.3/8.8.7) with ESMTP id RAA10951354 for ; Mon, 13 Nov 2000 17:33:23 +0100 (MET) Message-ID: <3A1018B9.8E14C32E@mobileway.com> Date: Mon, 13 Nov 2000 17:37:13 +0100 From: jean-paul roumian X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Deconnection detection. Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGVsbG8sDQoNCldoZW4gSSB1c2UgdGhlICdlY2hvLWNsaWVudC9zZXJ2ZXIgJyBmcm9tIGV4 YW1wbGVzIGluIE9SQml0IHNvdXJjZSwNCmlmIHRoZSBlY2hvLXNlcnZlciBpcyBraWxsZWQg d2l0aCBLSUxMIHNpZ25hbCwgdGhlIGVjaG8tY2xpZW50IGlzDQpoYW5naW5nLiAoIG9uIGEg c2VsZWN0IGNhbGwNCmluIGNvbm5lY3Rpb24uYywgZ2lvcF9jaGVja19jb25uZWN0aW9ucywg YmxvY2tfZm9yX3JlcGx5IGlzIFRSVUUpLg0KDQpJdCdzIHZlcnkgYW5ub2luZyBmcm9tIG15 IHBvaW50IG9mIHZpZXcgLiAob3VyIHNvZnR3YXJlcyB1c2UgY29ubmVjdGlvbg0KdGltZW91 dHMsIGFuZCByZXRyeSBtZWNhbmlzbXMpDQoNCkkndmUgZm91bmQgaW4gdGhlIG9yYml0LWxp c3QgYXJjaGl2ZXMgYWJvdXQgdGltZW91dHMsIGFuZCBJICd2ZQ0KY29uY2x1ZGVkIHRoYXQ6 IChjb3JyZWN0IG1lIGlmIEknbSB3cm9uZykNCg0KKiAgSUlPUCBpcyBidWlsdCBvdmVyIFRD UCwgc28gbm8gZGVjb25uZWN0aW9uIGRldGVjdGlvbiAoU09fS0VFUEFMSVZFIGlzDQoNCm5v dCBmbGV4aWJsZSBlbm91Z2ggKG5vIHBlci1jb25uZWN0aW9uIHRpbWVvdXQsICBub3Qgd2Vs bC1pbXBsZW1lbnRlZA0KZXZlcnkgVENQIHN0YWNrLC4uLikpLg0KKiBvbmx5IGEgbm9vcCBt ZXNzYWdlIGltcGxlbWVudGVkIG9uIGEgaGlnaGVyIGxheWVyIGNhbiBhY2hlaXZlIHRoaXMu DQoNCiogSXMgaXQgYSBiYWQgdGhpbmcgdG8gc2V0IHRoZSBzZWxlY3QgdGltZW91dCBieSBh biBvcmJpdC1zcGVjaWZpYyBhcGkNCmNhbGwsIGFuZCB0byBpbXBsZW1lbnQgYSAiTk9PUCIg bWVzc2FnZSBtZWNhbmlzbSAodW5kZXIsaW5zaWRlIG9yIG92ZXINCnRoZSBJSU9QIGxheWVy ID8pLiAoSScgZG9uJ3QgbWFzdGVyaXNlIElJT1Agc3BlY3MuLi4pDQoqIENhbiB0aGUgZXhj ZXB0aW9uIHJhaXNlZCBzYXkgcHJlY2lzZWx5ICJjb25uZWN0aW9uIHRsbWVvdXQiLCBub3Qg anVzdA0KY29tbSBmYWlsdXJlID8NCg0KVGhhbmtzLg0KDQo= From djohnston@teamlogisco.com Mon Nov 13 11:48:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 23A862BB71 for ; Mon, 13 Nov 2000 11:48:05 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id MAA14018 for ; Mon, 13 Nov 2000 12:45:07 -0500 From: David Johnston Date: Mon, 13 Nov 2000 17:45:07 GMT Message-ID: <20001113.17450700@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/12/00, 4:43:22 PM, Elliot Lee wrote regarding= =20 Re: Orbit's temp. directory: > On Fri, 10 Nov 2000, David Johnston wrote: > > /tmp/orbit-USERNAME gets created for every user who starts Gnome. > > I would prefer ... /home/USERNAME/tmp/orbit. How? > you can hack the ORBit code yourself... > It would be a really bad idea. /home is very often on NFS, and UNIX > sockets on an NFS-mounted path don't work on a number of operating > systems, and the directory is per-[machine,user], not simply per-user.= > -- Elliot Elliot, thanks for the explanation. I figured you did it that way for a reason.= Why aren't the orbit directories in /tmp removed when Orbit shuts down? = =20 Is the cookie intended to be persistent across Orbit sessions? Regards, David From dthompson@characterlink.net Mon Nov 13 12:01:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from clobntmail01.characterlink.net (clobntmail01.characterlink.net [207.27.152.48]) by mail.gnome.org (Postfix) with ESMTP id B70F32BC9C for ; Mon, 13 Nov 2000 12:01:27 -0500 (EST) Received: from darrint.thompsons (0a-19.ccrtc.com [205.243.45.25]) by clobntmail01.characterlink.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-38059U5000L500S0) with SMTP id AAA330 for ; Mon, 13 Nov 2000 10:53:19 -0600 From: dthompson@characterlink.net (Darrin Thompson) Date: Mon, 13 Nov 2000 17:01:35 GMT Message-ID: <20001113.17013500@darrint.thompsons> Subject: Re: Deconnection detection. To: orbit-list@gnome.org In-Reply-To: <3A1018B9.8E14C32E@mobileway.com> References: <3A1018B9.8E14C32E@mobileway.com> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development If you have time requirements that are this stringent, you probably=20 should be using an ORB built with those kind of requirements in mind. TA= O=20 is an example of these that is open enough for most people. ORBit is=20 quick and light, but introducing a time requirement on a corner case lik= e=20 what you have described is the domain of big fat bloated ORBs. Again,=20 look into the capabilities of TAO. Darrin On 11/13/00, 11:37:13 AM, jean-paul roumian =20 wrote regarding Deconnection detection.: > Hello, > When I use the 'echo-client/server ' from examples in ORBit source, > if the echo-server is killed with KILL signal, the echo-client is > hanging. ( on a select call > in connection.c, giop_check_connections, block_for_reply is TRUE). > It's very annoing from my point of view . (our softwares use connectio= n > timeouts, and retry mecanisms) > I've found in the orbit-list archives about timeouts, and I 've > concluded that: (correct me if I'm wrong) > * IIOP is built over TCP, so no deconnection detection (SO_KEEPALIVE = is > not flexible enough (no per-connection timeout, not well-implemented > every TCP stack,...)). > * only a noop message implemented on a higher layer can acheive this. > * Is it a bad thing to set the select timeout by an orbit-specific api= > call, and to implement a "NOOP" message mecanism (under,inside or over= > the IIOP layer ?). (I' don't masterise IIOP specs...) > * Can the exception raised say precisely "connection tlmeout", not jus= t > comm failure ? > Thanks. > =A2=B6=E2=B6X=AC=B6f=A2=96)=E0=96+-=A2=B6=E2=B6X=AC=B6 =E8=99=EA= +=82=1Bm=A7=FF=E6j)`=9E=89=9E=A2=B8?=99=A8=A5=99=A9=FF=96+-=8Aw=E8=FE=8A= =DB=8A=D9b From sopwith@redhat.com Mon Nov 13 12:04:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 7464A2BC9C for ; Mon, 13 Nov 2000 12:04:24 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eADH4Ol07175 for ; Mon, 13 Nov 2000 12:04:24 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 13 Nov 2000 12:04:24 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.17450700@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > thanks for the explanation. I figured you did it that way for a reason. > > Why aren't the orbit directories in /tmp removed when Orbit shuts down? > Is the cookie intended to be persistent across Orbit sessions? . The cookie file is created by gnome, not ORBit. It usually stays around there "just because". . The orb-* UNIX socket connection points are usually removed by ORBit when the application exits, but may be left around if the application crashes or is killed. . The /tmp/orbit-username directory itself doesn't get removed because multiple programs and libraries can be using the one directory. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From djohnston@teamlogisco.com Mon Nov 13 12:28:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 64D542D4C3 for ; Mon, 13 Nov 2000 12:28:23 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id NAA14220 for ; Mon, 13 Nov 2000 13:26:03 -0500 From: David Johnston Date: Mon, 13 Nov 2000 18:26:03 GMT Message-ID: <20001113.18260300@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/13/00, 12:04:24 PM, Elliot Lee wrote regardin= g=20 Re: Orbit's temp. directory: > On Mon, 13 Nov 2000, David Johnston wrote: > > Why aren't the orbit directories in /tmp removed when Orbit shuts do= wn? > > Is the cookie intended to be persistent across Orbit sessions? > . The cookie file is created by gnome, not ORBit. It usually stays aro= und > there "just because". > . The orb-* UNIX socket connection points are usually removed by > ORBit when the application exits, but may be left around if the > application crashes or is killed. > . The /tmp/orbit-username directory itself doesn't get removed because= > multiple programs and libraries can be using the one directory. Thanks. Since you mentioned application crashes, I have a related question. I=20 have had problems with my X server locking up or crashing from time to=20 time. When it goes down, some X applications seem to stay up. A ps=20 listing shows that their parent is init instead of the X session. I'm=20 curious: when X comes back up, is there a way to reconnect to these "los= t=20 children?" -David From sopwith@redhat.com Mon Nov 13 12:31:52 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 958622D389 for ; Mon, 13 Nov 2000 12:31:52 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eADHVqb11773 for ; Mon, 13 Nov 2000 12:31:52 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 13 Nov 2000 12:31:52 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.18260300@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > Since you mentioned application crashes, I have a related question. I > have had problems with my X server locking up or crashing from time to > time. When it goes down, some X applications seem to stay up. A ps > listing shows that their parent is init instead of the X session. I'm > curious: when X comes back up, is there a way to reconnect to these "lost > children?" No. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From djohnston@teamlogisco.com Mon Nov 13 14:51:49 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 2E5672BEB8 for ; Mon, 13 Nov 2000 14:51:49 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id OAA14433 for ; Mon, 13 Nov 2000 14:29:03 -0500 From: David Johnston Date: Mon, 13 Nov 2000 19:29:03 GMT Message-ID: <20001113.19290300@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/13/00, 12:31:52 PM, Elliot Lee wrote regardin= g=20 Re: Orbit's temp. directory: > On Mon, 13 Nov 2000, David Johnston wrote: > > Since you mentioned application crashes, I have a related question. = I > > have had problems with my X server locking up or crashing from time = to > > time. When it goes down, some X applications seem to stay up. A ps= > > listing shows that their parent is init instead of the X session. I= 'm > > curious: when X comes back up, is there a way to reconnect to these = "lost > > children?" > No. Dear Mr. Coolidge: why not? -David From andrewm@treshna.com Mon Nov 13 22:47:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp2.ihug.co.nz (smtp2.ihug.co.nz [203.109.252.8]) by mail.gnome.org (Postfix) with ESMTP id 4F5422BE8A for ; Mon, 13 Nov 2000 22:47:03 -0500 (EST) Received: from nikita.treshna.com (p33-tnt1.chc.ihug.co.nz [203.173.227.33]) by smtp2.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id QAA00815 for ; Tue, 14 Nov 2000 16:46:58 +1300 X-Authentication-Warning: smtp2.ihug.co.nz: Host p33-tnt1.chc.ihug.co.nz [203.173.227.33] claimed to be nikita.treshna.com Received: from castle.treshna.com ([101.101.101.4] helo=treshna.com) by nikita.treshna.com with esmtp (Exim 3.16 #1 (Debian)) id 13vX3i-0000g7-00 for ; Tue, 14 Nov 2000 16:46:58 +1300 Message-ID: <3A10B6AB.21222C73@treshna.com> Date: Tue, 14 Nov 2000 16:51:07 +1300 From: Andrew Murie X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Java + ORBit (solved) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks to the people who helped with this problem. It turned out that the IOR file had the correct host name in it, but the DNS server didn't connect it to the correct IP address, so nothing could work. (this is on the local LAN) fixing the winNT settings solved the problem, and it's working fine now. From dsdan@sesa.nju.edu.cn Tue Nov 14 01:09:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sesa.nju.edu.cn (sesa.nju.edu.cn [202.119.44.17]) by mail.gnome.org (Postfix) with ESMTP id 034FF2BD68 for ; Tue, 14 Nov 2000 01:09:47 -0500 (EST) Received: from netra (coff218.nju.edu.cn [202.119.44.12]) by sesa.nju.edu.cn (8.9.3/8.8.7) with SMTP id OAA15496 for ; Tue, 14 Nov 2000 14:11:01 +0800 Message-ID: <008c01c04e02$23945a40$0c2c77ca@nju.edu.cn> From: "DSD" To: Subject: why echo example can not communicate in different machine? Date: Tue, 14 Nov 2000 14:14:23 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0089_01C04E45.306047A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. ------=_NextPart_000_0089_01C04E45.306047A0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SSB1c2UgdGhlIGVjaG8gZXhhbXBsZSBhcyBteSBmaXJzdCBPcmJpdCBsZXNzb24uIFRoZSBjbGll bnQgY2FuIHJlY2VpdmUgdGhlIG1lc3NhZ2UgaWYgdGhlIHNlcnZlciBydW5zIGluIHRoZSANCnNh bWUgbWFjaGluZS4gQnV0IHdoZW4gSSBtb3ZlIHRoZSBjbGllbnQgdG8gYW5vdGhlciBtYWNoaW5l LCBpdCB3aWxsIGdpdmUgbWUgdGhlIGZvbGxvdyBtZXNzYWdlOg0KIHdlIGdvdCBleGNlcHRpb24g MiBmcm9tIGVjaG9TdHJpbmchDQpJIHVzZSBlY2hvLXNlcnZlciAtT1JCSUlPUElQdjQ9MSB0byBy dW4gc2VydmVyIHByb2dyYW0uYW5kIGNhbGwgZWNoby1jbGllbnQgLS1PUkJJSU9QSVB2ND0xIGlu IGNsaWVudC4NCkNhbiBhbnlvbmUgb2ZmZXIgYW55IHN1Z2dlc3Rpb25zIGZvciB0aGUgcHJvYmxl bT8NCg== ------=_NextPart_000_0089_01C04E45.306047A0 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWdi MjMxMiIgaHR0cC1lcXVpdj1Db250ZW50LVR5cGU+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNS4w MC4yNjE0LjM1MDAiIG5hbWU9R0VORVJBVE9SPg0KPFNUWUxFPjwvU1RZTEU+DQo8L0hFQUQ+DQo8 Qk9EWSBiZ0NvbG9yPSNmZmZmZmY+DQo8RElWPjxGT05UIHNpemU9Mj5JJm5ic3A7dXNlIHRoZSBl Y2hvIGV4YW1wbGUmbmJzcDthcyBteSBmaXJzdCBPcmJpdCBsZXNzb24uIFRoZSANCmNsaWVudCBj YW4gcmVjZWl2ZSB0aGUgbWVzc2FnZSBpZiB0aGUgc2VydmVyIHJ1bnMgaW4gdGhlIDwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPnNhbWUgbWFjaGluZS4gQnV0IHdoZW4gSSBtb3ZlIHRo ZSBjbGllbnQgdG8gYW5vdGhlciBtYWNoaW5lLCANCml0IHdpbGwgZ2l2ZSBtZSB0aGUgZm9sbG93 IG1lc3NhZ2U6PC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+Jm5ic3A7d2UgZ290IGV4 Y2VwdGlvbiAyIGZyb20gZWNob1N0cmluZyE8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9 Mj5JIHVzZSBlY2hvLXNlcnZlciAtT1JCSUlPUElQdjQ9MSB0byBydW4gc2VydmVyIHByb2dyYW0u YW5kIA0KY2FsbCBlY2hvLWNsaWVudCAtLU9SQklJT1BJUHY0PTEgaW4gY2xpZW50LjwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPkNhbiBhbnlvbmUmbmJzcDtvZmZlciZuYnNwO2FueSBz dWdnZXN0aW9ucyBmb3IgdGhlIA0KcHJvYmxlbT88L0ZPTlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4N Cg== ------=_NextPart_000_0089_01C04E45.306047A0-- From Rolf.Beutner@telekom.de Tue Nov 14 04:14:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from fw1a.telekom.de (gw1.telekom.de [194.25.15.11]) by mail.gnome.org (Postfix) with SMTP id 57F082BBA9 for ; Tue, 14 Nov 2000 04:14:22 -0500 (EST) Received: by fw1a.telekom.de; (5.65v4.0/1.3/10May95) id AA19650; Tue, 14 Nov 2000 10:14:17 +0100 Received: from Q8N09.bmbg01.telekom.de by U9JWN.mgb01.telekom.de with ESMTP for orbit-list@gnome.org; Tue, 14 Nov 2000 10:10:18 +0100 Received: from u8n10.bmbg01.telekom.de by q8n09.bmbg01.telekom.de with ESMTP for orbit-list@gnome.org; Tue, 14 Nov 2000 10:08:23 +0100 Received: by U8N10 with Internet Mail Service (5.5.2650.21) id ; Tue, 14 Nov 2000 10:08:22 +0100 Message-Id: <6B1E772C5C61D4119FEF009027CAA1E406590B@U8NM3.bmbg01.telekom.de> From: "Beutner, Rolf" To: orbit-list@gnome.org Cc: Markus.Hirche@telekom.de Subject: Connection of a client using ORBit to connect to another CORBA-compliant Server(Jaguar/Sybase-DB-ORB) Date: Tue, 14 Nov 2000 10:07:36 +0100 Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello List, I want to connect a client with to a so called corba-compliant server via corba. The server uses the "IIOP implementation, allows you to use any CORBA-compliant client ORB to invoke Jaguar components" - so far the datasheet of Jaguar, the ORB of the Sybase Database. Now I have the IOR of the Server (using Jaguar-ORB) and the IDL-Files. My local ORBit-installation works fine, I have some servers and some clients, also at different machines, which can do their corba-talk. I have a Java-Client which can communicate to the Sybase-DB, BUT with the jaguar-java-orb-classes. telnet to the Sybase-machine/port works fine, there's no firewall - so there should not be a general communication problem. Now my questions: I'm using "-ORBIIOPIPv4=1". What else have I to do to be able to do this ORB-to-ORB-communication? Have I to use the orbit-ird or any other orbit-tool? When I try to connect I get the error-message "Can't get interface". Thanks in advance!!! Regards Rolf Beutner --------------------------------------------------------------------- MATERNA Information & Communications [eMail] mailto:Rolf.Beutner@telekom.de From genaud@icps.u-strasbg.fr Tue Nov 14 05:32:23 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 4CF7E2BE74 for ; Tue, 14 Nov 2000 05:32:22 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id LAA05047 for ; Tue, 14 Nov 2000 11:32:21 +0100 Message-ID: <3A111535.4C7E6480@icps.u-strasbg.fr> Date: Tue, 14 Nov 2000 11:34:29 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> <8766lvzg3s.fsf@cachemir.echo-net.net> <3A0C7BB9.41FE930E@mediabolic.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Peter Bouton wrote: > > Thanks. My confusion arose from the discussion of how the Naming > Service works in the Beginner's docs > http://icps.u-strasbg.fr/~genaud/ORBIT/x374.htm#COSNAMEINGSERVICE. I > assumed the gnome_name_service_get was from the gnome libraries. Is > this the same service name lookup approach used for non-gnome apps? > Yes, gnome_name_service_get() is from the gnome libraries as the name says. Storing a service IOR in the X11 properties is a "gnome trick" and not generalized to all CORBA applications. In a simple CORBA app., you would have to start orbit-name-server which would output its IOR, register your service against this name-server with CosNaming_Namingcontext_bind(), and then a client can ask the name server the reference to this service (provided it knows the name server IOR of course) wih CORBA_ORB_resolve_initial_service(). S.G. From chris_favret@yahoo.com Tue Nov 14 10:21:21 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web1604.mail.yahoo.com (web1604.mail.yahoo.com [128.11.23.204]) by mail.gnome.org (Postfix) with SMTP id 004402BC0E for ; Tue, 14 Nov 2000 10:21:20 -0500 (EST) Received: (qmail 25806 invoked by uid 60001); 14 Nov 2000 15:45:31 -0000 Message-ID: <20001114154531.25805.qmail@web1604.mail.yahoo.com> Received: from [208.209.44.10] by web1604.mail.yahoo.com; Tue, 14 Nov 2000 07:45:31 PST Date: Tue, 14 Nov 2000 07:45:31 -0800 (PST) From: Christopher Favret Subject: Re: why echo example can not communicate in different machine? To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I had a similar problem. I don't know if it's exactly the same but my problem was with my DNS. Once I added the each machine to the others hosts file it worked fine. Make sure you can ping the machines by their names. If you can't then that's probably the problem. Also, somewhere there is an ior-decode program which will allow you to decode an IOR and see what name the ORBs are looking for (just in case it's different than the host name). --- DSD wrote: > I use the echo example as my first Orbit lesson. The > client can receive the message if the server runs in > the > same machine. But when I move the client to another > machine, it will give me the follow message: > we got exception 2 from echoString! > I use echo-server -ORBIIOPIPv4=1 to run server > program.and call echo-client --ORBIIOPIPv4=1 in > client. > Can anyone offer any suggestions for the problem? > ===== Christopher P. Favret chris_favret@yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ From tlewis@secureworks.net Tue Nov 14 11:46:30 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id DBC972BABE for ; Tue, 14 Nov 2000 11:46:29 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id MAA15212 for ; Tue, 14 Nov 2000 12:47:00 GMT (envelope-from tlewis@secureworks.net) Date: Tue, 14 Nov 2000 11:46:29 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, 12 Nov 2000, Elliot Lee wrote: > Basically, you can hack the ORBit code yourself > > It would be a really bad idea. /home is very often on NFS, and UNIX > sockets on an NFS-mounted path don't work on a number of operating > systems, and the directory is per-[machine,user], not simply per-user. But you don't _really_ know that /tmp is not on NFS either. Would it not be better to have the default be overrideable with an environmental orbit-path variable (or something) and then have ORBit always check to confirm that UDSs work in whatever directory it is using, raising a fatal error if not? -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz From tlewis@secureworks.net Tue Nov 14 12:34:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id 1DE2B2BAC4 for ; Tue, 14 Nov 2000 12:34:32 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id NAA15569 for ; Tue, 14 Nov 2000 13:34:59 GMT (envelope-from tlewis@secureworks.net) Date: Tue, 14 Nov 2000 12:34:28 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.19290300@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > > No. > > Dear Mr. Coolidge: > why not? Dear Mr. Historian: Because of X. -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz From sopwith@redhat.com Tue Nov 14 12:50:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1D90A2CF17 for ; Tue, 14 Nov 2000 12:50:50 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEHooq00928 for ; Tue, 14 Nov 2000 12:50:50 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 12:50:49 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Todd Lewis wrote: > But you don't _really_ know that /tmp is not on NFS either. If /tmp is on NFS, then you are running a diskless workstation anyways and there's no place to hide. Even more important than having /tmp on local storage is making sure that it is system-specific and not shared between a bunch of systems. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From simon.britnell@peace.com Tue Nov 14 13:10:13 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id 287582BF26 for ; Tue, 14 Nov 2000 13:10:12 -0500 (EST) Message-ID: <3A117E9B.3080505@peace.com> Date: Wed, 15 Nov 2000 07:04:11 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I don't know if I should laugh or cry. Elliot Lee wrote: > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg > Address had 286 words, the Declaration of Independence, 1,300 words and finally the > European Commission's regulation on the sale of cabbage: 26,911 words." From cb@gosargon.com Tue Nov 14 14:41:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 2226E2BAFB for ; Tue, 14 Nov 2000 14:41:40 -0500 (EST) Received: (qmail 7499 invoked from network); 14 Nov 2000 19:41:39 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 19:41:39 -0000 Message-ID: <3A119575.2E80CAA8@gosargon.com> Date: Tue, 14 Nov 2000 14:41:41 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Beginner ORBit/C problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Greetings all, I am trying to learn to use ORBit/Goad from C, I apologize if this is not quite the right forum for a more GNOME/ORBit related question (if not, please direct me to it) I'm new at GNOME, ORBit/CORBA, and Linux programming in general, so please don't be too critical ;) I wrote a very simple program just to test my understanding of some of the simpler Gnorba functions - while my program compiles, it will not link, and I've spent quite a few hours adding -l directives, trying to guess exactly what I have to link against. So far I've got this command line: g++ -o goadtest goadtest.cpp -I/usr/lib/glib/include -I/usr/include -I/usr/lib/gnome-libs/include -L/usr/lib -lORBit -lIIOP -lORBitutil -lglib -lm -lgnorba -lgnomesupport -lgdk -lgtk -lgnorbagtk -lgnome -lesd -ldb -lgnomeui -lart_lgpl -lpopt It seems to me that that's a heck of a lot of libraries to link against, so I must be missing something. That's the list I've got so far, I get undefined reference errors from ld, so I've been trying to guess where they might be defined - often when I add a new link command, it resolves previous errors, buts adds new ones. For example, when I added -lgnome I suddenly got a lot of errors for esd* functions, so I had to add -lesd Currently, I'm down to only a few errors: /usr/bin/ld: warning: libdb.so.2, needed by /usr/lib/libgnomeui.so, may conflict with libdb.so.3 /tmp/ccqGd5mG.o: In function 'main': /tmp/ccqGd5mG.o:(.text+0x38): undefined reference to 'gnorba_CORBA_init(int *, char **, GnorbaInitFlags, CORBA_Environment_type *)' /tmp/ccqGd5mG.o:(.text+0x38): relocation truncated to fit: R_PPC_REL24 gnorba_CORBA_init(int *, char **, GnorbaInitFlags, CORBA_Environment_type *) /tmp/ccqGd5mG.o:(.text+0x44): undefined reference to 'goad_server_list_get(void)' /tmp/ccqGd5mG.o:(.text+0x44): relocation truncated to fit: R_PPC_REL24 goad_server_list_get(void) /tmp/ccqGd5mG.o:(.text+0xb0): undefined reference to 'goad_server_list_free(GoadServerList *)' /tmp/ccqGd5mG.o:(.text+0xb0): relocation truncated to fit: R_PPC_REL24 goad_server_list_free(GoadServerList *) collect2: ld returned 1 exit status Given the names of those functions, I though that libgnorba would provide them, but that appears not to be the case. What am I missing? My system: PowerMac G4 450MP YellowDog Linux CS 1.2.1 Helix Gnome 1.2 ( I *think* I installed all the development packages) XFree 4.01 gcc version 2.95.2 Any help is appreciated! Chris Backas From Igor.Borojevic@ireland.sun.com Tue Nov 14 14:48:51 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id B9E762BAAF for ; Tue, 14 Nov 2000 14:48:50 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA25888 for ; Tue, 14 Nov 2000 11:48:48 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.9) with ESMTP id TAA24043 for ; Tue, 14 Nov 2000 19:48:46 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id TAA15373 for ; Tue, 14 Nov 2000 19:48:43 GMT Message-ID: <3A11971A.A043DB9A@ireland.sun.com> Date: Tue, 14 Nov 2000 19:48:42 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: OAF questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Is there any examples of using oaf? What I want to do is to launch some applications i.e. gcalc or applets i.e. geyes_applet. And, of course, I want to "see" them on my desktop after I "activate" them. Here's the code that doesan't work yet.. -- #include #include int main (int argc, char **argv) { CORBA_Environment ev; OAF_ActivationContext ac; OAF_ServerInfoList *slist; CORBA_ORB orb; CORBA_Object obj; const OAF_ActivationID aid = "control_center"; OAF_ActivationFlags flags = OAF_FLAG_PRIVATE;/* = OAF_FLAG_NO_LOCAL;*/ OAF_ActivationID *ret_aid; CORBA_exception_init (&ev); orb = oaf_init (argc, argv); if ( oaf_is_initialized() ) printf("OAF initialized...\n"); obj = oaf_activate_from_id (aid, flags, ret_aid, &ev); printf("That's all folks.\n"); CORBA_exception_free (&ev); exit(0); } -- From sopwith@redhat.com Tue Nov 14 15:26:15 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id BCA6E2CB43 for ; Tue, 14 Nov 2000 15:26:15 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEKQFE20091 for ; Tue, 14 Nov 2000 15:26:15 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 15:26:15 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems In-Reply-To: <3A119575.2E80CAA8@gosargon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Chris Backas wrote: > Greetings all, > > I am trying to learn to use ORBit/Goad from C, I apologize if this is > not quite the right forum for a more GNOME/ORBit related question (if > not, please direct me to it) I'm new at GNOME, ORBit/CORBA, and Linux > programming in general, so please don't be too critical ;) > > I wrote a very simple program just to test my understanding of some of > the simpler Gnorba functions - while my program compiles, it will not > link, and I've spent quite a few hours adding -l directives, trying to > guess exactly what I have to link against. So far I've got this command > line: > g++ -o goadtest goadtest.cpp -I/usr/lib/glib/include -I/usr/include > -I/usr/lib/gnome-libs/include -L/usr/lib -lORBit -lIIOP -lORBitutil > -lglib -lm -lgnorba -lgnomesupport -lgdk -lgtk -lgnorbagtk -lgnome -lesd > -ldb -lgnomeui -lart_lgpl -lpopt > > It seems to me that that's a heck of a lot of libraries to link against, > so I must be missing something. g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs gnorba gnomeui` -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Tue Nov 14 15:35:38 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 99B9F2BAAF for ; Tue, 14 Nov 2000 15:35:38 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEKZc021644 for ; Tue, 14 Nov 2000 15:35:38 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 15:35:38 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: OAF questions In-Reply-To: <3A11971A.A043DB9A@ireland.sun.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer wrote: > Is there any examples of using oaf? > > What I want to do is to launch some applications i.e. gcalc or applets > i.e. geyes_applet. OAF activates CORBA objects, not applications or applets. There is a rather important distinction here... Applications are just executables that get run. Applets are applications that implement CORBA objects that the panel communicates with. To launch applications, you have to run the executable. OAF does not help you here. To launch/use an applet, you have to use the panel, because there is a lot more to an applet's activation and functionality than just activating the CORBA object. The panel will eventually use OAF (for GNOME 2.0), but currently it uses GOAD. It seems that OAF is pretty irrelevant in what I think you want to do (test applications and applets). -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From cb@gosargon.com Tue Nov 14 16:03:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 80D732BAA8 for ; Tue, 14 Nov 2000 16:03:54 -0500 (EST) Received: (qmail 9502 invoked from network); 14 Nov 2000 21:03:55 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 21:03:55 -0000 Message-ID: <3A11A8BB.576982C7@gosargon.com> Date: Tue, 14 Nov 2000 16:03:55 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > > It seems to me that that's a heck of a lot of libraries to link against, > > so I must be missing something. > > g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs gnorba gnomeui` > Thanks, that's a *much* easier way to come up with the command line ;) However, it did not fix the linkage errors with the goad_server_list_get() , goad_server_list_free() and gnorba_CORBA_init() functions. These are still showing as undefined for some reason (same errors as I posted earlier) Chris Backas From gthomson@targetnet.com Tue Nov 14 16:54:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp.tor3.targetnet.com (smtp.tor3.targetnet.com [207.176.132.71]) by mail.gnome.org (Postfix) with ESMTP id 15F1D2BA85 for ; Tue, 14 Nov 2000 16:54:24 -0500 (EST) Received: from gw-101.tor1.targetnet.com ([216.13.75.130] helo=wrk120) by smtp.tor3.targetnet.com with smtp (Exim 3.16 #1) id 13vo1m-000Hyd-00 for orbit-list@gnome.org; Tue, 14 Nov 2000 16:54:07 -0500 From: "Garret Thomson" To: Subject: RE: Beginner ORBit/C problems Date: Tue, 14 Nov 2000 16:55:01 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A11A8BB.576982C7@gosargon.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Here's a general way to troubleshoot unresolved symbols: Note that 'nm' will display the symbols in a given library. So you can kinda search for symbols in libraries with it: [gthomson@mybox /usr/local/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' [gthomson@mybox /usr/X11R6/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' (The -C flag demangles C++ function names) Unfortunately, I'm not booted onto the freeBSD side of my box so I can't show you the results ... try out a 'man nm' It may be that you'll find them in the same libs that the gnome-config spits out below, in which case, I can't help ya, but hey, you can't go wrong by learning more .. ;) Garret > -----Original Message----- > From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On > Behalf Of Chris Backas > Sent: Tuesday, November 14, 2000 4:04 PM > To: orbit-list@gnome.org > Subject: Re: Beginner ORBit/C problems > > > > > It seems to me that that's a heck of a lot of libraries to > link against, > > > so I must be missing something. > > > > g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs > gnorba gnomeui` > > > > Thanks, that's a *much* easier way to come up with the command > line ;) However, it > did not fix the linkage errors with the goad_server_list_get() , > goad_server_list_free() and gnorba_CORBA_init() functions. These > are still showing as > undefined for some reason (same errors as I posted earlier) > > Chris Backas > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > > From cb@gosargon.com Tue Nov 14 17:29:02 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 268D82D055 for ; Tue, 14 Nov 2000 17:27:26 -0500 (EST) Received: (qmail 11384 invoked from network); 14 Nov 2000 22:27:24 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 22:27:24 -0000 Message-ID: <3A11BC4D.9A6EE2A@gosargon.com> Date: Tue, 14 Nov 2000 17:27:25 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Garret Thomson wrote: > Here's a general way to troubleshoot unresolved symbols: > > Note that 'nm' will display the symbols in a given library. So you can kinda > search for symbols in libraries with it: > > [gthomson@mybox /usr/local/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' > [gthomson@mybox /usr/X11R6/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' > > (The -C flag demangles C++ function names) > > Unfortunately, I'm not booted onto the freeBSD side of my box so I can't > show you the results ... try out a 'man nm' > It may be that you'll find them in the same libs that the gnome-config spits > out below, in which case, I can't help ya, but hey, you can't go wrong by > learning more .. ;) > > Garret Thanks, that's a useful little utility to know about, and the results were interesting. gnorba_CORBA_init appears to be in (surprise surprise) libgnorba. I see this output from nm: libgnorba.so:0000a04c T gnorba_CORBA_init libgnorba.so:00007438 T goad_server_list_get libgnorba.so:00007b34 T goad_server_list_free Those are the three functions in question. So now I'm quite a bit more confused than before, they're there, but the linker doesn't "see" them. Any thoughts? Thanks! Chris Backas From velco@fadata.bg Tue Nov 14 17:43:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id BE3F12BE0D for ; Tue, 14 Nov 2000 17:43:42 -0500 (EST) Received: (qmail 12066 invoked by uid 1000); 14 Nov 2000 22:48:40 -0000 To: orbit-list@gnome.org Subject: Can't invoke a collocated object from inside the servant From: Momchil Velikov Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_15_00:48:39_2000-1" Content-Transfer-Encoding: 7bit Date: 15 Nov 2000 00:48:40 +0200 Message-ID: <87em0ew4on.fsf@fadata.bg> Lines: 133 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: text/plain; charset=US-ASCII Hi, I'm unable to invoke a operation from inside a servant. The invoked object is received as a parameter and is in the same process as the invoking object. Attached is the test program: server.c is the server program client.c is the client program Server-impl.c is the object implementations. Regards, -velco --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: application/octet-stream; type=tar+gzip Content-Disposition: attachment; filename="orbperf.tar.gz" Content-Transfer-Encoding: base64 H4sIAOm/EToAA+09a3PbOJL5av4KnDOZlTySLeppy4lrE8WT9awTp2xnaqput1g0RUmckUkd SSmZy+Z++zXeAF+ibEvOroWaiikA/UAD6G40HhOENzM3HB08W2NqNNrNXqcDfxtmr9NQ//L0 rNFrNtqtVq/X7D5rmGan1XuGOutkiqd5FNshQs8W7tQJCuotK/83TQHr//f2H+7Im7rroNEw G41uu53T/2aj3euI/u+0m1C/BeXPUGMdzCTTE+//58ZzNJgEQeQi20cXl2/2ETIgE77QKwSj w3bmEf8Z24EoufU9Q1TyYsMgmILbGQyisIamnv8HcodeHMAPN3Yo2sv3UD+8RfWRYQwG8D12 HGPw8/nrd1fwoz6G3N9+gy/np5+M5/ApSi6ahvoTKp6/5fXO37J8Q3yRGpihc+8mtEPPhSYY 52dvcJFheCP3f1DlhwqwX61Bm6q06CcAOz+YR+HBNHDs6QGUHEy9G1SfXr++gH9fD04N1x96 owQGLAoFxRT/hoIWfMbO7HNoz979nWXHk9C1h9lYqKhzeGGljJ+LN/DPL9cD+HdWjNKLq7zd P1SiiTud0u6qO4E/8saoXgeMEYrccOGGVY4FS+5j6M7CwHGjKAjRaGqPsQjTkht8/Chk/vbT 1alFZPX2b69/PbU+Xry2Bp8uL08/XKP6WUKynu9M50MXujkTQ171/A5I4bl4/+EMPi3ry2HX ssgXjMr5F/Z9cfXr6eXV2cUHy3rVBIL7xd2SRn/55vXg01V2Y/f1FvDuK2wF7S2FTk6POaQ3 svrs7O05ctgUzOwtXIFMY8sbTvEv0aR3LmrAvzkDiQiYAuPvBDCq3zhfvhSLjwJniOTG8w8S +IznKmd1P6hD5fotaBM79gK/SHqMRyKwZBPze5hBWleXA1zzikh2H8O708hVi95N/5xNcIlW KQMrEfe70w/Wz2fnp7QzRwHMVGeCvBr84DirNSTTPwyUSD9UZnYczW+iGL3AtGovBvsTgPeq q0B4K0M4s5mAKQNxtTJXVytzdbU6V9a1wldZCG9lCM5X1SBdzsZKfo+vqw/uIh/JO2b94s0v lHXejv4LXOPVi/2gWqAa1jHQ9ycrD6m/7zuO0pil/bAcRaY8HE0cOQpvVZGUlElNSKQsCO5g CVQGxIr+cKeSVHkQRqqk9Fdt+10bonG1+gCn5uH+3ZnZm6iwO9Mg4AXc3gb+vsMgy4BgIUQC ohxIDD/3V5pLK7b90RqSOQCWdv/Z+48J96Du3c5gbNEShlQtCZjvoAAS5+GMgDmsLvulYQGx cqC0trk6vfyVV6Qe4H7AIXB2lbWMfBuD8w/XvLYz9Vw/JrVlBcOeTvto7PoRiMq+nTGcrLJh 0J99gBGEq8bOD5Xzt5gQW29VUR2w/lWrhEth3VE1nKlr+/0+Brp8X+X4vSDE0YZsYfN29XkL HQw9GAAdB/AOGFH4Yr4yfL80DN7APm9qKTAmVwqCGypkVtRQWSmvoVyC0Hmoj4iSIez89hvn h61n0w0RIM7KEKUEZcj+7it+rHRuMRaY2lU6wxmk4vB6Iz/da1kwEiMV804czEF3SPpJqSkl hpyi1b5WAN9WcPN71NeHMp52Il9OCCNJgwIRZV7V83iHKrNJzDE+ujjE3v8ZxmMHbx4g8fif 6Kk10CiO/zUanV6Xxf/MRhPXM1uthrmN/20iPYe5PHRH6OfQjZzAIsOABAeeQ67nu+kC4zYY zqe8wPgKVtjzYxhDtuOi69CG6RLZ02NDyyfgkPOV2OxF4A3RTTD8E1U8n5ahcfVYlsUUjUvK BU4Uq3UWXuTFmRW+JYiLcp0BjYjKRBKelP1sO3EQ/ilQUIBb+w/XGpPPCmNOckMKY/GzwpHD f8+pPnzs3pfzX2r3h6exbP63mzz+b5qdDt7/abW77e3830RKzH86DLIUgFJiPGdxTPRSmI2T tF7Q5tCVE7quL2bPNPDH+gQkOX4N6fOZ/C6am5QtfVayqQo+Q2yN2DefnZQPUhTRz+9yWm4s afafrEYmk4emsWT+m+1Gm87/ZrPVbvbw/O+1e9v5v4nE5/+Y2nfsQk8mFhKzP5kPc3+E67ON GqkKdskIGuxPdpN5VySPb1NIcLw/k6wLoy+7Lt1sUTTPxZuDAc7dn5ykkaR4YCEtiXseeVjf 2LduNMN6hGqtY7xYsKNILtVhWTWb30w9B+ENHlqr36fuzFeDFvUNpABgfQIZCy+M56DCFF+H cjKLQ6JxtArMmRGaL7uWVJjpisYsDGLXid2hYMdawMjGpC2i3FjTBGh+86TDpDYxhxW1Vd90 ATJFvESO3LPKoiWQpz0tXkUTRZbPJfQ6OthDyQGN9g6ekrpPpbT+d5yHprFE/zcbXXb+p9lt gQkg+r/V3Or/TaSEnmQewK5Qvsm9bcP9Aq6Xjz4GYWzfTF3qf/X7g3kYun5MVM4ssB36U3hU hiHQs1nPdCVZPxIdhV4hTS30+5bvsRlsGFjpqDgSGhW8w0JMw/kMNIsdg74aZyPM0a2wpKRL 3BGqEHvT73sRZYzQ2vf8SrVapatKqsTpIpREf3FuXD+RuBWYTC6y7ACwgL7yupr2VrlOiQJz /F8ay9B0yujX3N6lgfRk5+IarGNBtrJ76yfYj4ZS4V6nYS9ufgerdDYkCLDlSCMISBVYWiho pAQwXKx0qSjBA8QOw+AzqgDG+ok3tOLACt2RC6jBpFeAGusejnWs9kXM++G56KtEDZ2JihVP vAhRfGxcY5BvuCOF+I2k5ev3NdNF+kbOgD1siaB1vvtZ5mJ2QzeewzzDxfUTTpmMGW1w5JFT TSAhqZt9laxeQrsgl/pj66ttetikx3/WswBctv5rNrty/Ufiv22z1dra/00kvv6LWHiH+cWW WAAmC5BZsAakoyixCKSZJVeBLA55z2Ugx5JmY9WFII0X5a9gWFwra+3CbO+5HupScmv62qWG spdScmrmsEBDYCoLCkhiOaqaC+otpIJkvCptmqikhMvSS02OEdtJhs3CuBgOnE3h2VJUWZCl BtgTX5FtNmXo/wdfAC7T/y185h/0f6vTNDtNqv/NbfxvIympH8UCsGBhyHVv7N26WO8aik4z pMJUVyeqLvQTeg9H+VOrFxXAIxoMU7NihLsLAEB/0J2A9LpsXEX/+hdKZMZs6cMc27pJoAky fCIacKNKg6i/UQCuvgeZjWPkoZfIhz8//VRNr+XohgQwoiGQzrPahAquVqf0qBcvxc01uLoi ToXP9rBWVdcJSiHhmildqII/VaddqGGKCPSwzxDJbIyCKWh8sAiqJBYdSbuh8a/bENIAJgMV TF+Gc4aVxbA0OCnswvioyGl9HS1rhIL1sWfY9524/ucnrR48+PesRPyv00zG/1qt7f7vRpLU 5qMoDl37VnGjX0be2LenWa718jhhuQAhKJucikr4j7vqHtS/tT0f7xfHyA7HTg05Ezvcw9+L //4nVQ4HB+jM92LPnnr/66J44lJFjC+FSLsC/9KAVHgDLCiZno/jbxQ3xgrkdyjSd25MsIVB EGP/W0FG41cE383v9P5J/QS882C6cAlGYEYGpqLK7iXgABS7xILkRdtCWilDRJArgl8VIMm1 XUFYrxRjqLILUKwDKHNlu4oF4hRmeK8R4b12Ym+BFbQqwb9E0J2+PSb79xltfE8LiTBuxyG+ OkhFAlZ44lqyBl23QJX6ic0IMcMHpAcwqhlhpuQQ0pdIe1G44BZR5B7n9S+IC5vIcJGwsUDq I12cSVLo7OKSkmOoruIQlpsElReEvEdYADQOrIiUEzkCHS5KggHwfw491hIMHMxhQAbIRuQk LXQxm8G4oLLLTtjSXsRVX74kUPBnNJ1HE4n1cu4TnPg2p7vAPT0NghmGIqNl7m8jf/+5idt/ fmT6Eex/q9lh57+aYPa71P6b2/vfG0mKsSeqRzX/GR6BF6Tz2BVkshJcLTKoHBlZKTD4sGdG soKF8hwJx8vCoVeD0w+n1tvTj9d/QzCsRf75xcVHa3Dx6cM1zm7khxXBdTGynBi0pzoxd3BT yGKYWQCwG7oBYHYF8o7J8Tl0ckJ/CEtIY3TEEHITLK06NgQUBTZS1FxBAwJYMGCTxfbEspfj gFPdJP3KNtocZpN2B7b/lxhHGLExk6ZzFxeC8Kd8705ZudNdt4LYIzfQ6eBmBoOsQkkm6T4e g1nOJPU1klFQlT/tGGKW/Eh5WRFi+RGAUvJL7LKKPcNXvIH1k4wDNZpfZaOpF8XgfFDJRNTd keePJqAaamhMoPB3Crd6pmcMpbiSiMNoYSAZk1FmoRKd4XKRxB3eeKeQLNv4pWcKHOl1kXx8 dUoRmRD6NQ759ImYqcTV2JCiDg6wQqhJ4RL0NdJMSkntqDtg76wTubk25GXxsmHb2Lqga0nc /2P3lvfjL/GD01h2/r/F7/80e52Wyc5/Nbb+3yYSVmyx+yXegb9DO7bxX3QTReTv0HXI34n7 ZQf7EtidAYAe3qeHArPT7jRJBbOLfx/2DjsNkt9r2jvUhQqgftPstLq4XrfH6iOE6zUPm4eH JN89bOwo53QxUMfsmriyCYPnkBJpYKBuE0YK/j3qwG/mu2EA87DRIxU7zSONSqvVIwCdm7a9 o+4CB1uFos5/L17L7C8x/1sNMf+bTfL+F1YJ2/m/gXSX+Q9TqW3SGUanIptpkN+l+c2WyWYa v+ePZyhqHlE9IOqzvyL/BmYwg6OX/QlY6+ionQUm8kdHtgAjF/63M7ts4vM/toM1zf4S939b PWn/6fxvdLb7PxtJd7L/rcbREbas3dYhnZCtLv57dHTYwvnmYWc02mHBHWLLj9pdbJrNo26v q9jy3lGzTRyJVufQ2WGXhQJDm+oJDSN+m20GYF1TGq12u0toNLrUX2gSp6TX7BG3wDQdYf4p V+1m67BDqB9xt4Q4Dp1uu3lE5OF0hzv89Fp5thgE4euxu3dpSu7/roPGsvM/Zqsr3v9sdcj9 /2Zje/9jIykZBqWP16ix0JdRPPQCEt0ttwFLo5k8ukgiODgWi4OYYlPNOvUXXhj4t3i7yV3g fO2eMQsCprdHyW2DWWAT3EpY1JJR0R9lWLSGdulbgOTNQfyM4G4N/egu+NYmQFfS+KsKyqLN UkAHBPhebo3jTSPkG5l8czKLqGXhYGBiXxNYpPwKrg1+YBJYJ0cm9evZlkOjchKShmXJXqNs VcaGI24LxazAzaAwHpFILz0bRbYOUQWGRDCPq3oHW+HcZ4gogm3A5vtP+vlPNvsfmMbS/b8u 8//w6Z9ul57/3Or/jaTM8/95x//56f/0zpkR/zlzCZ44nDsxsQPyjDp9PYbgsvGlwHyljrT3 ZsTlZfq2UxLh8TKy8iGJEqQzqKiv2ZRoIH93ogSxnBYxDEvJsVcs7kSIwi4nIe3wSn3GhaDe AkhwLS4CpHljVt8wtGGgGjoaJhR2LpupmrGDU9rV2EPUtJE77Blohy5II8DvEmV1D4AzeVAC Gb4MJ5AagSoxue1Wrh35DUm1Q0Gd2xbJVLI9OC1tk9bNKRny3diSLUPFNLP7SdAo7i7O4x6l xZu6vIVsoGr+FR205Vq1SoM44tymMGZSXbW8FeypxQIv8eFawRDnt4Iys0Ir5BWhpA3aXhB6 uJTl/232/k+zY5ri///SabeI/9fYxv83k9K3eXIjAsbB3t4ewmdjXTxRyVv8CMfbEb4PGGB3 IkJQ5cAwIlzqkJdijLSVZS//lbCwWtG4SHMXU1ReGitBFVuklKkstBvF1PlLhWVI35lujheQ 33LFCzCEKRY2MiF5WWMpMypkWhjcdKtncIqN90ouis6DfMeomA/leFMZRwKV8CQYI7QCftvO yDD6+Z2TafSVtrPX8kRuxrBJlpWfRBlNNzKMvXa4rpy9L0ua3arOIcpPzJWiiZZ4mFSrubMF WwfNw6QWSzhJVxT5GztyLQvDZSg4XIaLXpEzaR8+nZ/XcPPBl7FmIQ0B4s0W7MnoxbDmpvdW wmAe4/V3qgas2Oz5lL66olT6dizYTQzePCaX8EcIV8azgLy1WEU/ZrUTFHnNWF6Pj/MydYmy hIpKg1aQv1R830sfKAuyfGbv1RdpZX9n8Wmq8XuRoL7kK2T5/mM6bZ9KDNpsY0J74S7dwMzD 99IBfImaw+a9hJ6whHceuazOdyMyth7OYfN+IkuZ3+IhmrKcbGASw7cotHwpU7LItiUL2aAf 881hLbuYlCzTnSnCytH1HOJpW5BiQNPAOUzo6idbAOIKQpEckno1WxyKKqtp+iM9H1O88HsG OVwk1EqKvpzPOaLgozpNmF0hySOsT840YTEranJkXuGVpaetNvnwLF5iLA1v5TmDJASuecuh Gy9scgw9Z/Hmu5/zI+T86Tu0F9z87tH3KiQA/r9fWvCzkbPoqCGT7LlKiPoJ+9hngs6YTLgk CSWe7UsW8NcS2Rbum19OB9fWh7Pz44zNDYvtrieFyrRyVUFcQ2wnnDQ7dW+YtJRvhYvLRKRj MnBQ3kYwMsmtWG/I36dbkHsqGagZhsRjgNn45QUD3tX8ocX7bg4ULDroVsvysVIgPqWN+NlE tatrKCnCDPihm+oAHQehXdgJmWMErKhXMEaSnI0ZTpZPH+zYcPAo8Vgm6wlLXL/SJgvhnN42 0mqH7tS1Izez+rEh4iqpKUeh1ddJGchSOaw1pKU/eVpaJLmhL9HvsuvFm5sFIau4hjLluVQ4 a4q4gVi+pbf2jGyP4iGskGQq3xIpcbz1WCNBYFWLpLtohVYp2+l7uhbnXtu4T8jsKHJap+lZ MZ6ud0d5O/Qtc489P3hdah+32A3JCnMv8XpFNHyNzi+jcScfWF2MlVU6ulifrt650/GK1A7N E1JAusAeUAc93jaa+sReweJal1vCL3vkDbi8JmR4Z9nNKNiHKncQqIzSZZt8+eqW7wKuR9FS 7KuqWCXGVFa5cpE9XbV6t0NeSyfpf5gu5VJ6QC36b7T/Lt/9odhLvXqbXJrT8IF4/zZZHCuL 9fu9hFu8ah/LZX7u87gV2dZqxvu4Wmg46yTAg2hgAlKkgWmFdWlgl963WVEDuyLYXjrSqzwP vHw1IS1hginxQHCRQVShM/YOnrARcO9yRvbJGQEmpTW50hs5z6S6n3mB3tTUzPOhN3YWaiWu mS4QTD/2OdZtultKvv+5DhrL3v9um21+/6/bpf//Z7Ozff9zI6nwGUzl6veK7182yl4W1x3e B7gurjvwEbvsVnhHTSlWHPjUZUT1JcP73Dw3lCvcEkP6eU1yk5rIyvynvLUuHpDMtwWRq17j RsqjmAUGLwkk/5d7xfEafgRJNo698rgsXJUApC8tVlSoaq4Zol0h2pdYpxS/Dqn1qfZA5Moc J9GxzWlY/Th6pey94rFeKfnSJL98T15U7KMX0+E//N2aPsCVZRc724Uynp6sISkw+vTBA6Du rA2zuR7MaaTG9nnJbdqmbXq66f8BrXRoOwCgAAA= --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_15_00:48:39_2000-1-- From Igor.Borojevic@ireland.sun.com Wed Nov 15 06:23:39 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id 99CE82CECA for ; Wed, 15 Nov 2000 06:23:38 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA00376 for ; Wed, 15 Nov 2000 03:23:35 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.9) with ESMTP id LAA15099 for ; Wed, 15 Nov 2000 11:23:33 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA15769 for ; Wed, 15 Nov 2000 11:23:28 GMT Message-ID: <3A127230.268E5CF9@ireland.sun.com> Date: Wed, 15 Nov 2000 11:23:28 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Chris Backas wrote: > Thanks, that's a useful little utility to know about, and the results were > interesting. > > gnorba_CORBA_init appears to be in (surprise surprise) libgnorba. I see this > output from nm: > libgnorba.so:0000a04c T gnorba_CORBA_init > libgnorba.so:00007438 T goad_server_list_get > libgnorba.so:00007b34 T goad_server_list_free > > Those are the three functions in question. > > So now I'm quite a bit more confused than before, they're there, but the linker > doesn't "see" them. Any thoughts? Thanks! echo $LD_LIBRARY_PATH /opt/gnome/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib If you don't have gnome/lib in path try adding it, might help. Regards, Igor Borojevic From attuomin@cc.helsinki.fi Wed Nov 15 07:59:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by mail.gnome.org (Postfix) with ESMTP id BC42B2BC61 for ; Wed, 15 Nov 2000 07:59:35 -0500 (EST) Received: from localhost (attuomin@localhost) by sirppi.helsinki.fi (8.10.1/8.10.1) with ESMTP id eAFCxY112516 for ; Wed, 15 Nov 2000 14:59:34 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: attuomin owned process doing -bs Date: Wed, 15 Nov 2000 14:59:34 +0200 (EET) From: Antti T Tuominen To: Subject: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I'm aiming this mostly at Sebastian, buy I though that maybe others would like to know as well. I'm using ORBit-mt-0.5.3a and found two bugs regarding octet sequences. I believe that the _maximum field in a sequence should be the allocated size of the _buffer, and the _length field is the used part of that buffer. I'm getting _maximum -values like 3210738884 on the server side immediately after a sequence is passed to a function as a parameter. Another issue is that sometimes the content of the _buffer gets corrupted as well. I put together a piece of code demonstrating the bugs, it is available at http://www.cs.helsinki.fi/u/attuomin/demo.tgz Regards, Antti -- main(m){char*s="O@DDDQ@DD@QM__D_SDDDQQDDDQQLLL",O=1;for(;*s;(m*=2)>32&&++O%6 ?s++,m=1:2)putchar(*s&m?"\n" "Antti: www.helsinki.fi/~attuomin" [O%6]:32);} From velco@fadata.bg Wed Nov 15 10:16:13 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from relay1-us.simplemente.net (relay1.us.simplemente.net [216.167.121.82]) by mail.gnome.org (Postfix) with ESMTP id 0CBF42BAAE for ; Wed, 15 Nov 2000 10:16:13 -0500 (EST) Received: from emerald.fadata.bg (emerald.fadata.bg [212.56.7.195]) by relay1-us.simplemente.net (Postfix) with SMTP id 3F765D7824 for ; Wed, 15 Nov 2000 10:16:08 -0500 (EST) Received: (qmail 21056 invoked from network); 15 Nov 2000 14:18:27 -0000 Received: from merlin.da.fadata.bg (HELO fadata.bg) (192.168.4.130) by emerald.fadata.bg with SMTP; 15 Nov 2000 14:18:27 -0000 Received: (qmail 11936 invoked by uid 1000); 15 Nov 2000 17:21:52 -0000 To: orbit-list@gnome.org Subject: Wrong default activation policy Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: Momchil Velikov Date: 15 Nov 2000 17:21:52 +0000 Message-ID: <87ofzhm9qn.fsf@fadata.bg> Lines: 10 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Both ORBit-0.5.4 and ORBit-mt-0.5.3a create the POAs with the NO_IMPLICIT_ACTIVATION policy, which contradicts to the CORBA spec. Regards, -velco PS. No patch is provided, it is a three chars change in orbit_poa.c:296. From cb@gosargon.com Wed Nov 15 12:35:57 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 0E16D2DC63 for ; Wed, 15 Nov 2000 12:35:57 -0500 (EST) Received: (qmail 1129 invoked from network); 15 Nov 2000 17:35:57 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 15 Nov 2000 17:35:57 -0000 Message-ID: <3A12C97F.EF3EB0D3@gosargon.com> Date: Wed, 15 Nov 2000 12:35:59 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> <3A127230.268E5CF9@ireland.sun.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > > echo $LD_LIBRARY_PATH > /opt/gnome/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib > > If you don't have gnome/lib in path try adding it, might help. > I have the following in /etc/ld.so.conf: /usr/lib /usr/lib/qt-2.1.0/lib /usr/lib/qt-1.45/lib /usr/X11R6/lib /usr/local/lib All the gnome libs I can find on my system live in /usr/lib, including libgnorba, which is the one in question. I'm fairly stumped, there must be an easy answer, but I can't see it =P Thanks for trying guys, I appreciate it! Chris Backas From remal@telnor.com Wed Nov 15 13:54:08 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id 1827F2DB88 for ; Wed, 15 Nov 2000 13:54:08 -0500 (EST) Received: from telnor.com (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id KAA11274; Wed, 15 Nov 2000 10:53:56 -0800 (PST) Message-ID: <3A12DC59.31A66B61@telnor.com> Date: Wed, 15 Nov 2000 10:56:25 -0800 From: Rene Maldonado Organization: Telefonos del Noroeste S.A de C.V. X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, CORBA Subject: NamingService Content-Type: multipart/mixed; boundary="------------04802409470805CD8A5004E8" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------04802409470805CD8A5004E8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I'm trying to use the Naming Service whith the CosNaming Interface, I'm using ORBit 0.4.3 with Redhat 6.2 I'm using as a guide the example5 from http://www.nd.edu/~rgarcia4/orbit/examples/example5/account.idl and I can't run the server, in my example is reloj-server after the next line is executed, the name_serv is NULL name_serv = CORBA_ORB_resolve_initial_references(orb,"RootPOA", ev); and in the next line the server crash reloj= CosNaming_NamingContext_resolve(name_serv, name, ev); whith the next message: Segmentation fault (core dumped) I have readed in other mail's from this list that I have to do the next: orbit-name-server > ior & yourserver -ORBNamingIOR = 'cat ior' yourclient -ORBNamingIOR = 'cat ior' but when I do that, I get the same message (Segmentation fault ...) after the nexy line root_poa = (PortableServer_POA) CORBA_ORB_resolve_initial_references(orb, "RootPOA", ev); What can I do, or where can I find some information about this problem. Thanks --------------04802409470805CD8A5004E8 Content-Type: text/x-vcard; charset=us-ascii; name="remal.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="remal.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------04802409470805CD8A5004E8-- From velco@fadata.bg Wed Nov 15 14:10:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id D3BE12CBE6 for ; Wed, 15 Nov 2000 14:10:37 -0500 (EST) Received: (qmail 30530 invoked by uid 1000); 15 Nov 2000 19:15:23 -0000 To: orbit-list@gnome.org Cc: CORBA Subject: Re: NamingService References: <3A12DC59.31A66B61@telnor.com> From: Momchil Velikov In-Reply-To: Rene Maldonado's message of "Wed, 15 Nov 2000 10:56:25 -0800" Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII Date: 15 Nov 2000 21:15:23 +0200 Message-ID: <87r94dcaic.fsf@fadata.bg> Lines: 12 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development >>>>> "Rene" == Rene Maldonado writes: Rene> orbit-name-server > ior & Rene> yourserver -ORBNamingIOR = 'cat ior' Rene> yourclient -ORBNamingIOR = 'cat ior' Did you misspell in the message or on the command line - it should be with back quotes - `cat ior` ? Regards, -velco From sopwith@redhat.com Wed Nov 15 14:10:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1FBEF2CBE6 for ; Wed, 15 Nov 2000 14:10:48 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAFJAiq25800 for ; Wed, 15 Nov 2000 14:10:44 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 15 Nov 2000 14:10:44 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Wed, 15 Nov 2000, Antti T Tuominen wrote: > I'm aiming this mostly at Sebastian, buy I though that maybe others > would like to know as well. > > I'm using ORBit-mt-0.5.3a and found two bugs regarding octet > sequences. I believe that the _maximum field in a sequence should be > the allocated size of the _buffer, and the _length field is the used > part of that buffer. I'm getting _maximum -values like 3210738884 on > the server side immediately after a sequence is passed to a function > as a parameter. Another issue is that sometimes the content of the > _buffer gets corrupted as well. I put together a piece of code > demonstrating the bugs, it is available at Right now, _maximum just never gets touched - it is pretty irrelevant to user-level code, since the only place it could matter is in (de)marshalling, and ORBit doesn't pay attention to it there yet. I will make sure to convince ORBit2 to set it, but your code shouldn't really be reading _maximum anyways AFAICS. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From mas@echo.fr Wed Nov 15 14:22:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id BF8512CAC3 for ; Wed, 15 Nov 2000 14:22:39 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 7B0624811; Wed, 15 Nov 2000 20:22:37 +0100 (CET) To: orbit-list@gnome.org Subject: Re: NamingService References: <3A12DC59.31A66B61@telnor.com> <87r94dcaic.fsf@fadata.bg> From: Roland Mas Date: 15 Nov 2000 20:22:36 +0100 In-Reply-To: Momchil Velikov's message of "15 Nov 2000 21:15:23 +0200" Message-ID: <87k8a52g77.fsf@cachemir.echo-net.net> Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Momchil Velikov (2000-11-15 21:15:23 +0200) : > >>>>> "Rene" == Rene Maldonado writes: > > Rene> orbit-name-server > ior & > Rene> yourserver -ORBNamingIOR = 'cat ior' > Rene> yourclient -ORBNamingIOR = 'cat ior' > > Did you misspell in the message or on the command line - it should be > with back quotes - `cat ior` ? Maybe try without the spaces around the '=' sign... They look suspicious to me. -- Roland Mas 'And what would humans be without love?' RARE, said Death. -- in Sourcery (Terry Pratchett) From velco@fadata.bg Wed Nov 15 15:17:35 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id 0F7852BABE for ; Wed, 15 Nov 2000 15:17:30 -0500 (EST) Received: (qmail 8705 invoked by uid 1000); 15 Nov 2000 20:22:15 -0000 To: orbit-list@gnome.org Subject: ORBit2 compile fixes From: Momchil Velikov Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_15_22:22:15_2000-1" Content-Transfer-Encoding: 7bit Date: 15 Nov 2000 22:22:15 +0200 Message-ID: <87n1f1c7ew.fsf@fadata.bg> Lines: 33 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: text/plain; charset=US-ASCII Hi, The attached patch fixes a compile problem ("corba-defs.h: No such file ...") and fixes orbit-config, so it does not report flags and stuff from an old version of glib. Regards, -velco --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: application/octet-stream; type=gzip Content-Disposition: attachment; filename="orbit2-compile-fixes.diff.gz" Content-Transfer-Encoding: base64 H4sICLrvEjoAA29yYml0Mi1jb21waWxlLWZpeGVzLmRpZmYAtVJtb5swEP6Mf8Up48Mq4mDT LEFMkVjpGiFlpQrtt0kOAUOsEZjAzSZV/e+1nXV9TVVpGhLnu8P3PHfcEzcF/x1A262FxHnb lKIaiQbN/v1ByyiFUtQ8ADff9W7VtFvuJssTIT33Gd9whzouO8F3oqmgU0cv2gboyEeFKEvA 14A7Fb3oE2P8PGd5hBCXUpdMgdCA+sGYWBrJcZyDd+kn8EhAj4PxBIUh4LE3nIJjbBgiQJCX dVb1szKre46gFut7H8sNZyYe2Pcu4IWtzkJ0gGszMawqlfhDDBjrWysIF/FJqtjq7QA578Sx b+aqikXJ+Vk8Zx4jt6/CgcbY97zHM/6B8v1wK8CxLZq8vi64oTxVlPGlN6MD/Qd+bdQuQfJe gv0BcCWBfIaiRfFeQX2X663qV43Zcfdb9oPr9Y+y7X+X01vkB7VFn4qL+vC4Za2st2AfZOYD IcHxJKATy4Bqnb2r8kF0UyM6f+iDo42WnKW2eR6x6GzxZZ4aCaolKzim4VidsTS5WkZf0xl8 R9iyP8bJBYtPF8nV5ZHKgM78jZxXvycX6ZOMAl5nWJlRbmLlbaT8aaI7DJaIAicEAAA= --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_15_22:22:15_2000-1-- From cb@gosargon.com Wed Nov 15 15:21:34 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 2B6182BABE for ; Wed, 15 Nov 2000 15:21:34 -0500 (EST) Received: (qmail 4667 invoked from network); 15 Nov 2000 20:21:31 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 15 Nov 2000 20:21:31 -0000 Message-ID: <3A12F04C.A6348BB4@gosargon.com> Date: Wed, 15 Nov 2000 15:21:32 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: SOLVED Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> <3A127230.268E5CF9@ireland.sun.com> <3A12C97F.EF3EB0D3@gosargon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks to all who've replied, I learned a lot even if it wasn't directly the answer to my problem. The solution lies in the fact that I'm writing a C++ program; the linker couldn't find the functions because the names in the header were mangled - the gnorba.h header is not protected against mangling with an "extern "C" {}" block. I don't know anything about who SHOULD be doing that, so I took the attitude that "headers are never to be modified" and did this: extern "C"{ #include }; and lo and behold, it compiled and linked ;) Now to get on to more interesting things... like making code that actually does something useful Chris Backas From jangjh@etri.re.kr Wed Nov 15 17:55:18 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cms2.etri.re.kr (cms2.etri.re.kr [129.254.16.12]) by mail.gnome.org (Postfix) with ESMTP id D983F2DD4A for ; Wed, 15 Nov 2000 17:55:17 -0500 (EST) Received: by cms2.etri.re.kr with Internet Mail Service (5.5.2650.21) id ; Thu, 16 Nov 2000 07:55:35 +0900 Received: from jangjh (jangjh.etri.re.kr [129.254.196.12]) by cms1.etri.re.kr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id W8X41KGV; Thu, 16 Nov 2000 07:55:14 +0900 From: jangjh@etri.re.kr To: orbit-list@gnome.org Subject: RE: ORBit2 compile fixes Date: Thu, 16 Nov 2000 07:55:43 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <87n1f1c7ew.fsf@fadata.bg> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development DQoNCkhlbGxvDQoNCkkgYW0gdmVyeSBpbnRlcmVzdGluZyBpbiBPUkJpdC4NCg0KSSBjYW4ndCBm aW5kIE9SQml0MiB2ZXJzaW9uLg0KDQpXaGVyZSBDYW4gSSBnZXQgT1JCaXQyIHZlcnNpb24gPw0K DQoNClRoYW5rIHlvdS4NCg0KDQpFVFJJLCBKYW5nIEpvbmYgSHl1bg0K From sopwith@redhat.com Wed Nov 15 19:47:53 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 812382CDD0 for ; Wed, 15 Nov 2000 19:47:53 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAG0lro06144 for ; Wed, 15 Nov 2000 19:47:53 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 15 Nov 2000 19:47:53 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: RE: ORBit2 compile fixes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 16 Nov 2000 jangjh@etri.re.kr wrote: > I am very interesting in ORBit. > > I can't find ORBit2 version. > > Where Can I get ORBit2 version ? It's in CVS... If you don't know how to get it, you probably don't want to (attempt to) be using it. :) -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From attuomin@cc.helsinki.fi Thu Nov 16 05:47:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by mail.gnome.org (Postfix) with ESMTP id 846DC2CE0C for ; Thu, 16 Nov 2000 05:47:49 -0500 (EST) Received: from localhost (attuomin@localhost) by sirppi.helsinki.fi (8.10.1/8.10.1) with ESMTP id eAGAlmL13160 for ; Thu, 16 Nov 2000 12:47:48 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: attuomin owned process doing -bs Date: Thu, 16 Nov 2000 12:47:48 +0200 (EET) From: Antti T Tuominen To: Subject: Re: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > Right now, _maximum just never gets touched - it is pretty irrelevant to > user-level code, since the only place it could matter is in > (de)marshalling, and ORBit doesn't pay attention to it there yet. > I will make sure to convince ORBit2 to set it, but your code shouldn't > really be reading _maximum anyways AFAICS. I'm not. I just accidentally discovered the "never gets touched" part while pondering with the buffer corruption. (I copy the _length -field there when I create new sequences, and wondered, what happened to the _maximum field that was set so nicely...) Antti -- main(m){char*s="O@DDDQ@DD@QM__D_SDDDQQDDDQQLLL",O=1;for(;*s;(m*=2)>32&&++O%6 ?s++,m=1:2)putchar(*s&m?"\n" "Antti: www.helsinki.fi/~attuomin" [O%6]:32);} From velco@fadata.bg Thu Nov 16 10:31:37 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from emerald.fadata.bg (emerald.fadata.bg [212.56.7.195]) by mail.gnome.org (Postfix) with SMTP id 32EAC2BC76 for ; Thu, 16 Nov 2000 10:31:33 -0500 (EST) Received: (qmail 30497 invoked from network); 16 Nov 2000 14:34:50 -0000 Received: from merlin.da.fadata.bg (HELO fadata.bg) (192.168.4.130) by emerald.fadata.bg with SMTP; 16 Nov 2000 14:34:50 -0000 Received: (qmail 1598 invoked by uid 1000); 16 Nov 2000 15:38:08 -0000 To: orbit-list@gnome.org Subject: Looks like typo ... Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: Momchil Velikov Date: 16 Nov 2000 17:38:08 +0200 Message-ID: <87vgtoudun.fsf@merlin.da.fadata.bg> Lines: 31 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Browsing the sources, I came to the following code in corba_object.c: 395 static void profile_hash(gpointer item, gpointer data) 396 { 397 ORBit_Object_info *info = (ORBit_Object_info *)item; 398 CORBA_unsigned_long *retval = (CORBA_unsigned_long *)data; 399 400 g_assert(info); 401 g_assert(retval); 402 403 *retval ^= info->object_key._length; 404 405 if(info->profile_type == IOP_TAG_INTERNET_IOP) { 406 *retval ^= !info->tag.iopinfo.port; 407 } else if(info->profile_type == IOP_TAG_ORBIT_SPECIFIC) { 408 *retval ^= g_str_hash(info->tag.orbitinfo.unix_sock_path); 409 *retval ^= !info->tag.orbitinfo.ipv6_port; 410 } 411 } Isn't it supposed lines 406 and 409 to be 406 *retval ^= ~info->tag.iopinfo.port; and 409 *retval ^= ~info->tag.orbitinfo.ipv6_port; ? Regards, -velco From mathieu@eazel.com Thu Nov 16 15:47:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id A4E202BF16 for ; Thu, 16 Nov 2000 15:47:40 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G44XRG00.GA4 for ; Thu, 16 Nov 2000 12:47:40 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id PAA26007; Thu, 16 Nov 2000 15:50:41 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: ORBit's IR Original-Sender: mathieu@eazel.com From: Mathieu Lacage Date: 16 Nov 2000 15:50:41 -0800 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development hi all, I am in dire need of an easy to use IR for ORBit. Here is my list of the necessary features: - automatic loading of data in the IR. - no client-side code necessary to load the data in there. 1) The simplest way to do this would be to make the IR look in a specific directory and load all the IDL files it finds there in memory. 2) Another approach would be to write a simple daemon which looks in those directories and loads the IDL files and feeds them to the IR. Whatever the solution used, I will implement it pretty soon and I was wondering if anyone had any other idea. In case 1) were to be used, I would need either to get a patch applied in ORBit or to fork the IR for my own use (although I do not really like this). In case 2) is used, I can develop my own daemon to do this outside of ORBit... comments ? Mathieu -- Mathieu Lacage From mas@echo.fr Fri Nov 17 04:20:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id 1F1982BB58 for ; Fri, 17 Nov 2000 04:20:41 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 89CA14828; Fri, 17 Nov 2000 10:20:26 +0100 (CET) To: orbit-list@gnome.org Subject: Re: ORBit's IR References: From: Roland Mas Date: 17 Nov 2000 10:20:25 +0100 In-Reply-To: Mathieu Lacage's message of "16 Nov 2000 15:50:41 -0800" Message-ID: <871ywbuf8m.fsf@cachemir.echo-net.net> Lines: 22 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Mathieu Lacage (2000-11-16 15:50:41 -0800) : > I am in dire need of an easy to use IR for ORBit. You might have a look at ORBit-Python (see Sourceforge). I'm not quite sure what an IR exactly is supposed to do, but there's something loading all the IDL files in a directory, so I guess it could be related. If you decide to have a go, make sure you grab the CVS version and not the released version, which is getting antique. If you find something interesting in there, keep me (and Jason Tackaberry, the main author) informed, as we might well take it back when you've improved it :-) Roland. -- Roland Mas Luck, like a Russian car, generally only works if you push it. -- Regalian, in My Hero (Tom Holt) From aimass@aimass.org Fri Nov 17 10:46:29 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 1C73B2BC66 for ; Fri, 17 Nov 2000 10:46:29 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id HAA26219 for ; Fri, 17 Nov 2000 07:46:02 -0800 (PST) Message-ID: <3A15518F.62E41E45@aimass.org> Date: Fri, 17 Nov 2000 11:41:03 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Name Service problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi All. I'm having trouble getting a simple object (an extended echo example) to communicate over the network, using the orbit naming services. It works fine on the local machine but when I try to run it on two different machine it fails. Here is what I do: 1) run orbit-name-server and save the IOR in a file called server.ior. 2) run my server like this: ./test-server -ORBNamingIOR=and the ior here 3) copy the client application to another directory on the same machine along with the server.ior 4) run my client application like this: ./test-client -ORBNamingIOR=and the ior here If I try moving the client to a different machine it does not work, I get core dumped. So my questions are: 1) does the orbit-name-server need to be running on the client machine? 2) if (1) is yes, then which IOR should I use for the client: the local or the one I got from the name server where the object is registered? 3) I have read that there should be a file in /etc called orbitrc, but none of my redhat systems have contained this file initially.I have created it /etc and have added ORBIIOPUSock=1, ORBIIOPIPv4=1, and ORBIIOPIPv6=1 just in case. 4) I have tested the application running on each individual server and it works fine on both. Why does it fail over the network???? I'm running on redhat linux w/ ORBit 0.4.x (one is redhat 6.0 and the other is redhat 6.1, and yes... I AM recompiling the client when I'm testing ;-] ) Thanks, Alejandro From aimass@aimass.org Fri Nov 17 10:55:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id AD8CF2D1D3 for ; Fri, 17 Nov 2000 10:55:26 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id HAA26391 for ; Fri, 17 Nov 2000 07:55:01 -0800 (PST) Message-ID: <3A1553AD.EA82CAD6@aimass.org> Date: Fri, 17 Nov 2000 11:50:05 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: BTW I helping a friend... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I trying to help a firnd w/ CORBA but he does not have the time to partition his machine w/ GNU/Linux. So I sugested for the mean time he tried the win32 port found at labs.redhat.com but he has not been able to get it working because it has absolutely no documentation on the port itself. Does anyone know about this win32 port, and if so do you know of any documentation, like for eample how to install it??? Thanks, AI From aimass@aimass.org Fri Nov 17 13:54:11 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 1A4352BDA8 for ; Fri, 17 Nov 2000 13:54:03 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id KAA00111 for ; Fri, 17 Nov 2000 10:53:38 -0800 (PST) Message-ID: <3A157D8D.80DE3449@aimass.org> Date: Fri, 17 Nov 2000 14:48:45 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: OK. Since nobody answered! Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development T0suIEkgZGVidWdnZWQgdGhlIG5hbWUgc2VydmVyIElPUiBhbmQgSSBmaW5kIGl0J3Mgc2Vy dmluZw0KbG9jYWxob3N0LmxvY2FsZG9tYWluDQoNCkhPVyBETyBJIENIQU5HRSBUSElTLiBQ TEVBU0UgISEhDQoNCg0KVGhhbmtzLA0KQWxlamFuZHJvDQo= From aimass@aimass.org Fri Nov 17 14:29:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 829472BEBF for ; Fri, 17 Nov 2000 14:29:36 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id LAA00794 for ; Fri, 17 Nov 2000 11:29:11 -0800 (PST) Message-ID: <3A1585E3.445A4A04@aimass.org> Date: Fri, 17 Nov 2000 15:24:19 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: line parameters Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGkuLg0KDQoNCldoZXJlIGRvZXMgb25lIGZpbmQgYSBsaXN0IG9mIGFsbCBsaW5lIHBhcmFt ZXRlcnMgbGlrZSAtT1JCTmFtaW5nSU9SDQotT1JCSW5pdCBldGMuLi4NCg0KDQpUaGFua3Ms DQpBSQ0K From mathieu@eazel.com Fri Nov 17 14:44:03 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 9CD572BDEB for ; Fri, 17 Nov 2000 14:44:02 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G46PHD00.E8Q for ; Fri, 17 Nov 2000 11:44:01 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id OAA17747; Fri, 17 Nov 2000 14:47:00 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: Re: ORBit's IR References: <871ywbuf8m.fsf@cachemir.echo-net.net> Original-Sender: mathieu@eazel.com From: Mathieu Lacage In-Reply-To: Roland Mas's message of "17 Nov 2000 10:20:25 +0100" Date: 17 Nov 2000 14:47:00 -0800 Message-ID: Lines: 47 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Roland Mas writes: > Mathieu Lacage (2000-11-16 15:50:41 -0800) : > > > I am in dire need of an easy to use IR for ORBit. > > You might have a look at ORBit-Python (see Sourceforge). I'm not > quite sure what an IR exactly is supposed to do, but there's something > loading all the IDL files in a directory, so I guess it could be > related. I will have a look. > > If you decide to have a go, make sure you grab the CVS version and > not the released version, which is getting antique. > > If you find something interesting in there, keep me (and Jason > Tackaberry, the main author) informed, as we might well take it back > when you've improved it :-) hrm, after some thoughts, I think I will go around to use option 2) whcih is to write a separate process to feed data in the IR. Btw, if you are curious as to why I want to do all this, you could have a look at the cvs module 'mango' : cvs -z3 co mango I would be happy for any feedback or flame about it. Mathieu > > Roland. > -- > Roland Mas > > Luck, like a Russian car, generally only works if you push it. > -- Regalian, in My Hero (Tom Holt) > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- Mathieu Lacage From jason@ancept.com Sun Nov 19 17:51:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from neptune.ancept.com (Ancept-18.completeis.com [206.146.185.178]) by mail.gnome.org (Postfix) with ESMTP id E6D0A2BEA9 for ; Sun, 19 Nov 2000 17:51:26 -0500 (EST) Received: by Ancept-18.CompleteIS.com with Internet Mail Service (5.5.2650.21) id ; Sun, 19 Nov 2000 16:51:45 -0600 Message-ID: From: Jason Cwik To: "'orbit-list@gnome.org'" Subject: compiling 0.5.4 on AIX Date: Sun, 19 Nov 2000 16:51:43 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0527B.49DF7270" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0527B.49DF7270 Content-Type: text/plain; charset="iso-8859-1" Hello all- I am trying to compile ORBit 0.5.4 on AIX 4.3.3 using gcc 2.95.2. The IDL compiler seems to build fine, but when it attempts to IDL compile interface_repository.idl I see: Making all in orb ../../src/orbit-idl-compiler/orbit-idl --noskels ../../././src/daemons/interface_repository/interface_repository.idl Error: syntax error ** WARNING **: ../../././src/daemons/interface_repository/interface_repository.idl compilation failed Has anyone seen problems like this? Anyone compiled ORBit on AIX successfully? Thanks in advance, Jason Cwik ------_=_NextPart_001_01C0527B.49DF7270 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable compiling 0.5.4 on AIX

Hello all-

I am trying to compile ORBit 0.5.4 on AIX 4.3.3 using = gcc 2.95.2.  The IDL compiler seems to build fine, but when it = attempts to IDL compile interface_repository.idl I see:

Making all in orb
        = ../../src/orbit-idl-compiler/orbit-idl --noskels = ../../././src/daemons/interface_repository/interface_repository.idl

Error: syntax error

** WARNING **: = ../../././src/daemons/interface_repository/interface_repository.idl = compilation failed

Has anyone seen problems like this?  Anyone = compiled ORBit on AIX successfully?

Thanks in advance,

Jason Cwik

------_=_NextPart_001_01C0527B.49DF7270-- From michael@rumpfonline.de Mon Nov 20 02:40:43 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.brokat.de (mail.brokat.de [212.9.175.131]) by mail.gnome.org (Postfix) with ESMTP id 455A32D20C for ; Mon, 20 Nov 2000 02:40:43 -0500 (EST) Received: by mail.brokat.de (Smail3.2.0.111/mail.brokat.de) via LF.net GmbH Internet Services via remoteip 172.17.23.29 via remotehost pcmrumpf with smtp for mail.gnome.org id m13xlcU-005lKVC; Mon, 20 Nov 2000 08:44:06 +0100 (CET) Message-ID: <000901c052c5$73201050$1d1711ac@brokat.de> From: "Michael Rumpf" To: References: <3A1585E3.445A4A04@aimass.org> Subject: Re: line parameters Date: Mon, 20 Nov 2000 08:42:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, you can find a list of parameters on http://orbit-resource.sourceforge.net/faq.html#orbit ! Or, In doubt, have a look at the source-code. Michael ----- Original Message ----- From: "Alejandro Imass" To: Sent: Freitag, 17. November 2000 20:24 Subject: line parameters > Hi.. > > > Where does one find a list of all line parameters like -ORBNamingIOR > -ORBInit etc... > > > Thanks, > AI > ¢¶â¶X¬¶f¢-)à-+-¢¶â¶X¬¶ èTê+,m§ÿæj)`z?z¢¸?T¨¥T©ÿ-+-SwèþSÛSÙb From michael@rumpfonline.de Mon Nov 20 02:43:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.brokat.de (mail.brokat.de [212.9.175.131]) by mail.gnome.org (Postfix) with ESMTP id A54C02D20C for ; Mon, 20 Nov 2000 02:43:40 -0500 (EST) Received: by mail.brokat.de (Smail3.2.0.111/mail.brokat.de) via LF.net GmbH Internet Services via remoteip 172.17.23.29 via remotehost pcmrumpf with smtp for mail.gnome.org id m13xlfM-005lKbC; Mon, 20 Nov 2000 08:47:04 +0100 (CET) Message-ID: <000f01c052c5$dd2d6ab0$1d1711ac@brokat.de> From: "Michael Rumpf" To: References: <3A157D8D.80DE3449@aimass.org> Subject: Re: OK. Since nobody answered! Date: Mon, 20 Nov 2000 08:45:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I think that these are the network settings you have chosen for your linux box. It depends on the distro you are using, but /etc/hosts is definitely the place to do it manually... Michael ----- Original Message ----- From: "Alejandro Imass" To: Sent: Freitag, 17. November 2000 19:48 Subject: OK. Since nobody answered! > OK. I debugged the name server IOR and I find it's serving > localhost.localdomain > > HOW DO I CHANGE THIS. PLEASE !!! > > > Thanks, > Alejandro > ¢¶¶X¶f-)-+¢¶¶X¶ Tê,m§ÿæj)`z?z¢¸?T¨¥T©ÿ-+-SwèþSÛSÙb From genaud@icps.u-strasbg.fr Mon Nov 20 07:35:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 634982CED9 for ; Mon, 20 Nov 2000 07:35:17 -0500 (EST) Received: from icps.u-strasbg.fr (marathon.u-strasbg.fr [130.79.185.20]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id NAA25458; Mon, 20 Nov 2000 13:34:18 +0100 Message-ID: <3A191A5A.378C4269@icps.u-strasbg.fr> Date: Mon, 20 Nov 2000 13:34:34 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-15mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, aimass@aimass.org Subject: Re: OK. Since nobody answered! References: <3A157D8D.80DE3449@aimass.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Alejandro Imass wrote: > > OK. I debugged the name server IOR and I find it's serving > localhost.localdomain > > HOW DO I CHANGE THIS. PLEASE !!! > > Thanks, > Alejandro This is not an ORBit question but an OS one. You should give more details about your configuration and about what yo are trying to do with ORBit. There are many ways to change your machine name ; On linux boxes you can use "netconf" (part of linuxconf) or such, or by directly editing /etc/hosts AND /etc/sysconfig/network on RedHat or Mandrake distros, to setup your network parameters. S.G. From aimass@aimass.org Mon Nov 20 09:03:06 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id CC7C92BCC8 for ; Mon, 20 Nov 2000 09:03:05 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id GAA25799; Mon, 20 Nov 2000 06:02:03 -0800 (PST) Message-ID: <3A192DBD.CA0C116F@aimass.org> Date: Mon, 20 Nov 2000 09:57:17 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?St=E9phane?= Genaud Cc: orbit-list@gnome.org Subject: Re: OK. Since nobody answered! References: <3A157D8D.80DE3449@aimass.org> <3A191A5A.378C4269@icps.u-strasbg.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks All for Answering. I have always left 127.0.0.1 as localhost.localdomain w/ alis localhost and have changed the name w/ my first interface (eth0) as follows 172.16.2.x myhostname.mydomain w/ alias myhostname But now that you all mention it , I suppose the base hostname should be set w/ the lo (127.0.0.1) since a Unix machine can have many active interfaces ;-] And also, what would happen if there is no interface card! lo still works: duuuuhhhh.........! I will try this. Thanks again. Alejandro Imass From sopwith@redhat.com Mon Nov 20 11:17:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 7DA9F2CA5C; Mon, 20 Nov 2000 11:17:28 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAKGHS330507; Mon, 20 Nov 2000 11:17:28 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 20 Nov 2000 11:17:28 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org, gnome-devel-list@gnome.org Subject: ORBit 2.3.90 test release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a test release of the ORBit2 tree that I've been hacking on the past few months. It is intended to fix whatever big things are broken in ORBit stable tree, break whatever already works, and add just a few new features. This _test_ release is _not_ intended for production use, just your _testing_ pleasure. It requires linc 0.1.0 (ftp://ftp.gnome.org/people/sopwith/linc-0.1.0.tar.gz) and glib 1.3.2 to be installed. The release itself is at ftp://ftp.gnome.org/people/sopwith/ORBit-2.3.90.tar.gz Enjoy, -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From genaud@icps.u-strasbg.fr Thu Nov 23 05:32:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 5E2852CB09 for ; Thu, 23 Nov 2000 05:32:58 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id LAA04718 for ; Thu, 23 Nov 2000 11:32:42 +0100 Message-ID: <3A1CF268.E0F37D42@icps.u-strasbg.fr> Date: Thu, 23 Nov 2000 11:33:12 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: server code segfaults (again) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, i am sorry to repost this message but i had no response previously and this code is very important to me. I can set up an archive of the whole code if someone wants a deeper look. ------------------------------------------------------------------- Could someone help me with a memory management problem. I have a client asking for a sequence of bytes to be returned by a server. The client gets the correct values but the server segfault once it has returned the sequence. My client code calls : VSERV_image_bytevect *img; .... img = VSERV_image_readpixel(image_obj,&width, &height, &ev); .... if (CORBA_sequence_get_release(img)) CORBA_free(img->_buffer); and after this, the img->_buffer do contains the correct values, (that is the server has returned the sequence before segfaulting) img->_length contains was what put in the server, but img->_maximum=0 though the C mappings say (page 1-14) "Upon successful return from the invocationthe _maximum member will contain the size of the allocated array". And this is my server-side code : static VSERV_image_bytevect * impl_VSERV_image_readpixel(impl_POA_VSERV_image * servant, CORBA_short * width, CORBA_short * height, CORBA_Environment * ev) { VSERV_image_bytevect *retval; guchar *buff; gulong img_size; retval = VSERV_image_bytevect__alloc(); CORBA_sequence_set_release(retval,TRUE); buff = pbuffer_readpixel_with_dim((gint *)width,(gint *) height); img_size = (gulong) (*width) * (*height) * 3; /* in bytes */ retval->_length = img_size; /* retval->_maximum = img_size; this does not solve the problem */ retval->_buffer = CORBA_sequence_CORBA_octet_allocbuf(img_size*sizeof(guchar) ); memcpy(retval->_buffer, buff, img_size*sizeof(guchar) ); return retval; /* segfaults after this */ } Has someone a clue of what i'm doing wrong or why the server segfaults ? Thanks. From philipd@users.sourceforge.net Fri Nov 24 04:48:00 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from beamail.beasys.com (unknown [63.96.163.38]) by mail.gnome.org (Postfix) with ESMTP id E83FA2BBE3 for ; Fri, 24 Nov 2000 04:47:59 -0500 (EST) Received: from london.beasys.com (london [10.5.1.10]) by beamail.beasys.com (8.9.1b+Sun/8.9.1) with ESMTP id BAA17372 for ; Fri, 24 Nov 2000 01:48:00 -0800 (PST) Received: from cuckoo.dawes.net (lhr-modem2.beasys.com [10.5.1.13]) by london.beasys.com (8.9.3+Sun/8.9.1) with SMTP id JAA04071 for ; Fri, 24 Nov 2000 09:47:48 GMT X-Mailer: 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid (via feedmail 8 Q); VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid From: "Phil Dawes" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14876.60916.424679.587796@cuckoo.dawes.net> Date: Thu, 23 Nov 2000 10:14:12 +0000 (GMT) To: orbit-list@gnome.org Subject: Re: ORBit 2.3.90 test release In-Reply-To: References: Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hey Elliot, I had some spare cycles to waste, so I've given ORBit-2.3.0 a try. I ran into some configuration problems, so here's some feedback: - both linc and ORBit-2 rely on glib-1.3.2 APIs, but the configure scripts only check for 1.3.1 - linc doesn't compile if you haven't got openssl installed. The LINC_SSL_SUPPORT check works, but the line in linc-config.h.in: #define LINC_SSL_SUPPORT @LINC_SSL_SUPPORT@ results in LINC_SSL_SUPPORT being defined whether openssl is installed or not. - in ORBit-2.3.0, the ORBit.m4 script checks for orbit_major_version etc.., but this is not defined in any .c file AFAIK, and thus you get a link error when you try and use this in client programs. Are you accepting patches for 0.2.3, or would you prefer to fix these yourself? Cheers, Phil Elliot Lee writes: > This is a test release of the ORBit2 tree that I've been hacking on the > past few months. It is intended to fix whatever big things are broken in > ORBit stable tree, break whatever already works, and add just a few new > features. > > This _test_ release is _not_ intended for production use, just your > _testing_ pleasure. > > It requires linc 0.1.0 > (ftp://ftp.gnome.org/people/sopwith/linc-0.1.0.tar.gz) and glib 1.3.2 to > be installed. > > The release itself is at > ftp://ftp.gnome.org/people/sopwith/ORBit-2.3.90.tar.gz > > Enjoy, > -- Elliot > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67 words, the 10 Commandments have 179 words, the > Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and > finally the European Commission's regulation on the sale of cabbage: 26,911 words." > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From a_kothare@yahoo.com Sat Nov 25 06:11:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web3606.mail.yahoo.com (web3606.mail.yahoo.com [204.71.203.110]) by mail.gnome.org (Postfix) with SMTP id 557AD2C81E for ; Sat, 25 Nov 2000 06:11:41 -0500 (EST) Message-ID: <20001125111140.28412.qmail@web3606.mail.yahoo.com> Received: from [202.54.1.21] by web3606.mail.yahoo.com; Sat, 25 Nov 2000 03:11:40 PST Date: Sat, 25 Nov 2000 03:11:40 -0800 (PST) From: Advait Kothare Subject: Supported Platforms To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development As per the User Documentation for documentation the ORBIT implementation has been tested on SOlaris 2.6 (UltraSparc). Please let me know if it has worked on the following conifiguration : Netra T1 105 (Sun machine) Solaris 2.7 (O.S) where can i get more information on installion procedures? __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From Igor.Borojevic@ireland.sun.com Mon Nov 27 06:41:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id A9B1A2CE2D for ; Mon, 27 Nov 2000 06:41:53 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA26864 for ; Mon, 27 Nov 2000 03:41:51 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.0) with ESMTP id LAA05649 for ; Mon, 27 Nov 2000 11:41:50 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA21492 for ; Mon, 27 Nov 2000 11:41:45 GMT Message-ID: <3A224879.76394CF@ireland.sun.com> Date: Mon, 27 Nov 2000 11:41:45 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Supported Platforms References: <20001125111140.28412.qmail@web3606.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi! I have it working on my Ultra 5, Solaris 8 Regards, Igor Advait Kothare wrote: > > As per the User Documentation for documentation the > ORBIT implementation has been tested on SOlaris 2.6 > (UltraSparc). > > Please let me know if it has worked on the following > conifiguration : > Netra T1 105 (Sun machine) > Solaris 2.7 (O.S) > > where can i get more information on installion > procedures? > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Thousands of Stores. Millions of Products. > http://shopping.yahoo.com/ > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From dsevilla@ditec.um.es Mon Nov 27 07:19:59 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from zape.um.es (zape.um.es [155.54.0.102]) by mail.gnome.org (Postfix) with ESMTP id 5C57D2BB58 for ; Mon, 27 Nov 2000 07:19:51 -0500 (EST) Received: from ditec.um.es (neuromancer.dif.um.es [155.54.12.241]) by zape.um.es (8.9.1b+Sun/8.9.1) with ESMTP id NAA20449 for ; Mon, 27 Nov 2000 13:17:54 +0100 (MET) Message-ID: <3A224FFF.238DC695@ditec.um.es> Date: Mon, 27 Nov 2000 13:13:51 +0100 From: "Diego Sevilla Ruiz (dsevilla@um.es)" Organization: Universidad de Murcia X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-5.0 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit or ORBit2? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, This may be a silly question... but, what CVS module should I checkout, ORBit or ORBit2? Or are them the same? Also, what is the status of the event service? I would be interested in it, or finishing it in the case it is not. Regards. diego. -- Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es Departamento de Ingeniería y Tecnología de Computadores Facultad de Informática. Universidad de Murcia Campus de Espinardo - 30080 Murcia (SPAIN). - Tel. +34-968-367658 PGP: http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xC9B964B7 \huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern-.1em@um.es perl -e'$_="\x4\@FLe\x2&B";for(/../g){print unpack("b*",$_),"\n"}'|tr 01 " #" -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: Y0x/Djs1A/hSmAKW5RjqpBwjdKbBEU4Z iQA/AwUAOiJQANoq0AfJuWS3EQLI5gCfUEqb0YX+5ZkzkVUcfblnxxpkd/kAn2eH 5DqWJv/VWO6SeVgQb0NafSwt =qzMm -----END PGP SIGNATURE----- From sopwith@redhat.com Mon Nov 27 13:52:19 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 669D82DE98 for ; Mon, 27 Nov 2000 13:52:19 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eARIqJ718391 for ; Mon, 27 Nov 2000 13:52:19 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 27 Nov 2000 13:52:19 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: ORBit or ORBit2? In-Reply-To: <3A224FFF.238DC695@ditec.um.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 27 Nov 2000, Diego Sevilla Ruiz (dsevilla@um.es) wrote: > This may be a silly question... but, what CVS module should I > checkout, ORBit or ORBit2? Or are them the same? The orbit-stable-0-5 branch of the ORBit module is the only thing intended for public consumption. > Also, what is the status of the event service? I would be > interested in it, or finishing it in the case it is not. Have at it, but I think there was noise about needing thread safety to use it. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From MVerwerft@NedCar.nl Tue Nov 28 03:37:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from nedcar.nl (unknown [193.172.11.178]) by mail.gnome.org (Postfix) with ESMTP id 6C9342BC6A for ; Tue, 28 Nov 2000 03:37:41 -0500 (EST) Received: by gateborn.nedcar.nl id <117132>; Tue, 28 Nov 2000 09:37:55 +0100 Message-Id: <00Nov28.093755cet.117132@gateborn.nedcar.nl> From: "Verwerft, Marc" To: "'orbit-list@gnome.org'" Subject: RE: ORBit or ORBit2? Date: Tue, 28 Nov 2000 09:37:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Diego, I wrote clients that can send and receive events (push-style) based on = the examples. The eventchannel itself is written in javaorb = (CosEventPOA/javaorb 2.2.7). Everything runs just fine. Regards, Marc =20 > ---------- > From: Diego Sevilla Ruiz > (dsevilla@um.es)[SMTP:dsevilla@ditec.um.es] > Reply To: orbit-list@gnome.org > Sent: Monday 27 November 2000 13:13 > To: orbit-list@gnome.org > Subject: ORBit or ORBit2? >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hi all, >=20 > This may be a silly question... but, what CVS module should I > checkout, ORBit or ORBit2? Or are them the same? >=20 > Also, what is the status of the event service? I would be > interested in it, or finishing it in the case it is not. >=20 > Regards. > diego. >=20 > -- > Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es > Departamento de Ingenier=EDa y Tecnolog=EDa de Computadores > Facultad de Inform=E1tica. Universidad de Murcia > Campus de Espinardo - 30080 Murcia (SPAIN). - Tel. +34-968-367658 > PGP: = http://pgp.rediris.es:11371/pks/lookup?op=3Dget&search=3D0xC9B964B7 > \huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern-.1em@um.es > perl -e'$_=3D"\x4\@FLe\x2&B";for(/../g){print = unpack("b*",$_),"\n"}'|tr 01 " > #" >=20 >=20 >=20 >=20 > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 5.0i for non-commercial use > MessageID: Y0x/Djs1A/hSmAKW5RjqpBwjdKbBEU4Z >=20 > iQA/AwUAOiJQANoq0AfJuWS3EQLI5gCfUEqb0YX+5ZkzkVUcfblnxxpkd/kAn2eH > 5DqWJv/VWO6SeVgQb0NafSwt > =3DqzMm > -----END PGP SIGNATURE----- >=20 > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list >=20 From wilhelmi@ira.uka.de Tue Nov 28 10:14:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id 846752DCA5 for ; Tue, 28 Nov 2000 10:14:27 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Tue, 28 Nov 2000 16:14:24 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Tue, 28 Nov 2000 16:14:22 +0100 Message-ID: <3A23CBCE.7978F9BC@ira.uka.de> Date: Tue, 28 Nov 2000 16:14:22 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, =?iso-8859-1?Q?St=E9phane?= Genaud Subject: Re: server code segfaults (again) References: <3A1CF268.E0F37D42@icps.u-strasbg.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi St=E9phane, > i am sorry to repost this message but i had no response previously > and this code is very important to me. > I can set up an archive of the whole code if someone wants a deeper > look. Yes, please. I had a brief look, but I didn't see something fundamentally= wrong, which doesn't mean, there isn't ;-) And please, send me a full archive with Makefile, such that I only need t= o type make to make the programs. Bye, Sebastian -- = Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi From mathieu@eazel.com Tue Nov 28 17:51:11 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 02E902BB7B for ; Tue, 28 Nov 2000 17:51:11 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G4RBHA00.UU2 for ; Tue, 28 Nov 2000 14:51:10 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id RAA24722; Tue, 28 Nov 2000 17:54:18 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: weird semantics for the IR's create_interface Original-Sender: mathieu@eazel.com From: Mathieu Lacage Date: 28 Nov 2000 17:54:18 -0800 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development hi all, I have been playing with the Interface repository of ORBit lately. I have fixed a few segfaults in my local copy and I will send a patch for those later when I get something more useful working. However, I am getting in some weird bug: I want to create a top-level interface with CORBA::Container::create_interface. To do so, I passed a zero-length sequence as base_interfaces parameter. It happens that the ORBit implementation is checking explicitely in its code for either a zero-length sequence or a NULL sequence and if so, refuses to create the interface.... ie: code in (interfacedefseq_verify) called from impl_CORBA_interfaceDef__create. As I see it, the correct fix is to make (interfacedefseq_verify) not check for a zero-length sequence and make its code be able to handle such zero-length sequence later. Is this right ? Mathieu -- Mathieu Lacage From anene@cup.hp.com Wed Nov 29 03:49:06 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by mail.gnome.org (Postfix) with ESMTP id 3C9262BAB1 for ; Wed, 29 Nov 2000 03:49:06 -0500 (EST) Received: from hpejl189.cup.hp.com (hpejl189.cup.hp.com [15.28.97.98]) by palrel3.hp.com (Postfix) with ESMTP id 2D7452BD for ; Wed, 29 Nov 2000 00:49:02 -0800 (PST) Received: from localhost (anene@localhost) by hpejl189.cup.hp.com (8.11.0/8.9.3/client.cv) with ESMTP id eAT8mfT28934 for ; Wed, 29 Nov 2000 00:48:44 -0800 X-Authentication-Warning: hpejl189.cup.hp.com: anene owned process doing -bs Date: Wed, 29 Nov 2000 00:48:41 -0800 (PST) From: "Amitabh A. Nene" To: orbit-list@gnome.org Subject: optimizing link between client and server In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I wanted to know how does one go about optimizing the link between a CORBA client and server using ORBit / any other ORB in general. In other words, how does one configure the link depending on whether the client and server are in the same address space, different address spaces on the same physical machine, or on separate physical machines ? Also, in the current ORBit implementation, do these paths translate to dyn-call/no-marshaling, shared-mem, and RPC respectively, if at all ? Thanks in advance. -Amit From dick@acm.org Wed Nov 29 04:46:21 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dick.i2it.co.uk (dick.i2it.co.uk [212.250.92.12]) by mail.gnome.org (Postfix) with ESMTP id 2DC822BAB1 for ; Wed, 29 Nov 2000 04:46:21 -0500 (EST) Received: (from dick@localhost) by dick.i2it.co.uk (8.8.7/8.8.7) id JAA00189 for orbit-list@gnome.org; Wed, 29 Nov 2000 09:46:19 GMT Date: Wed, 29 Nov 2000 09:46:19 +0000 From: Dick Porter To: orbit-list@gnome.org Subject: Re: weird semantics for the IR's create_interface Message-ID: <20001129094619.L29335@dick.i2it.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mathieu@eazel.com on Tue, Nov 28, 2000 at 05:54:18PM -0800 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote: > hi all, > > I have been playing with the Interface repository of ORBit lately. > I have fixed a few segfaults in my local copy and I will send a patch for > those later when I get something more useful working. Excellent, the IR is -><- this close to being almost useful. > > However, I am getting in some weird bug: I want to create a top-level interface > with CORBA::Container::create_interface. > > To do so, I passed a zero-length sequence as base_interfaces parameter. > > It happens that the ORBit implementation is checking explicitely in its code > for either a zero-length sequence or a NULL sequence and if so, refuses > to create the interface.... If it's explicitly checking then there is a good chance that the IR spec demands this check. I don't have the spec in front of me to check though. > Mathieu - Dick From mathieu@eazel.com Wed Nov 29 12:19:43 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 1AD3D2BAB1 for ; Wed, 29 Nov 2000 12:19:43 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G4SQSU00.6RJ for ; Wed, 29 Nov 2000 09:19:42 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id MAA29187; Wed, 29 Nov 2000 12:22:48 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: Re: weird semantics for the IR's create_interface References: <20001129094619.L29335@dick.i2it.co.uk> Original-Sender: mathieu@eazel.com From: Mathieu Lacage In-Reply-To: Dick Porter's message of "Wed, 29 Nov 2000 09:46:19 +0000" Date: 29 Nov 2000 12:22:48 -0800 Message-ID: Lines: 40 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Dick Porter writes: > On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote: > > hi all, > > > > I have been playing with the Interface repository of ORBit lately. > > I have fixed a few segfaults in my local copy and I will send a patch for > > those later when I get something more useful working. > > Excellent, the IR is -><- this close to being almost useful. > > > > > However, I am getting in some weird bug: I want to create a top-level interface > > with CORBA::Container::create_interface. > > > > To do so, I passed a zero-length sequence as base_interfaces parameter. > > > > It happens that the ORBit implementation is checking explicitely in its code > > for either a zero-length sequence or a NULL sequence and if so, refuses > > to create the interface.... > > If it's explicitly checking then there is a good chance that the IR spec > demands this check. I don't have the spec in front of me to check though. I do not think the spec says this: I have looked in it and could not really find any description of the correct behaviour in that case. > > > Mathieu > > - Dick > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- Mathieu Lacage From simon.britnell@peace.com Wed Nov 29 13:23:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id B5EB32D625 for ; Wed, 29 Nov 2000 13:23:48 -0500 (EST) Message-ID: <3A254855.9060502@peace.com> Date: Thu, 30 Nov 2000 07:17:57 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: optimizing link between client and server References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Amitabh A. Nene wrote: > I wanted to know how does one go about optimizing the link between a CORBA > client and server using ORBit / any other ORB in general. In other words, > how does one configure the link depending on whether the client and server > are in the same address space, different address spaces on the same > physical machine, or on separate physical machines ? Hmmm. I'm a little unsure of what you're asking. Your question appears to be "How do I select which transport an ORB is using (SHM,TCP/IP,Unix Sockets,Sun RPC,etc) for any ORB?" The answer is "That depends on the ORB." ORBit specifically has a configuration file /etc/orbitrc which switches between unix sockets and tcp/ip as these are the transports it provides.". Many ORBs automatically make the decision to use dync-call/no marshalling whenever they detect that they are both the client and the server for an IOR. I *think* ORBit is one of these. It also occurs to me that your real issue may be a performance one, in which case I can only say "Minimise round trips". The further the distance between your client and server, the bigger the latency penalty you will pay. Calling a remote object method fetchNextFoo() repeatedly to fetch a thousand records will perform fine over SHM where latency is <1ms, but will die screaming over the internet even at a latency of only 100ms (giving a 10 second response time for 1000 records in latency alone) and >500ms latencies are not uncommon. Far better to implement a method fetchAllFoo() which is called once. > Also, in the current ORBit implementation, do these paths translate to > dyn-call/no-marshaling, shared-mem, and RPC respectively, if at all ? I don't think ORBit does SHM yet. I know it does dyn-call, unix sockets, tcp/ip4 and tcp/ip6 (same ram address space, same machine, seperated by network). Hope this helps. From sopwith@redhat.com Wed Nov 29 15:37:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 28CA72CE82 for ; Wed, 29 Nov 2000 15:37:36 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eATKba205500 for ; Wed, 29 Nov 2000 15:37:36 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 29 Nov 2000 15:37:35 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: Re: optimizing link between client and server In-Reply-To: <3A254855.9060502@peace.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Simon Britnell wrote: > I don't think ORBit does SHM yet. It's not going to unless someone comes up with a SHM message send/receive implementation that shows significant performance improvements over UNIX domain sockets. SHM is good for sharing chunks of large data between apps, but for normal message-oriented traffic it's no good, because you still need a signalling mechanism, and latency can be a bigger problem than bandwidth in many cases. If you have to pass large amounts of data and still need to use CORBA, I recommend using CORBA to negotiate/control a directly-accessed SHM segment. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From kiko@async.com.br Wed Nov 29 18:11:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 5CAE42E0C9 for ; Wed, 29 Nov 2000 18:10:02 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id VAA24302; Wed, 29 Nov 2000 21:09:56 -0200 Date: Wed, 29 Nov 2000 21:09:56 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: RootPOA Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is more of a Orbit question but I'll crosspost so Jason gets some email :-) AFAICS, Orbit-0.5.3 only implements RootPOA as a possible request to resolve_initial_references. Is this true? Can I not access the NameService object? I've been quite confused about how exactly this would work. I understand I can set an IOR for the name server in orbitrc, but how far down Orbit and orbit-python this goes is unknown to me. Can I actually use this inside orbit-python today? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From kiko@async.com.br Wed Nov 29 18:15:35 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 97A202D42A for ; Wed, 29 Nov 2000 18:15:34 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id VAA24311; Wed, 29 Nov 2000 21:15:19 -0200 Date: Wed, 29 Nov 2000 21:15:19 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: Implementing list_initial_handlers for orbit-python Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I've taken a couple of shots at implementing list_initial_handlers for orbit-python in CORBA_ORB.c but since I've failed miserably I've come here to ask for a bit of help: As far as I can see all I need to do is request the list and parse the sequence back into a python object, returning it. Requesting the list isn't a problem at all, but I'm running into trouble figuring out exactly what to do with it: should I use demarshal_sequence on the ObjectIdList or is this more envolved than I think? What exactly is this list - just a CORBA sequence of ObjectIds, or something complex? Tracking down what types go where in Orbit is rather complicated, but I'm still digging through it. One problem I've found is that if I am effectively to use demarshal_sequence, I'll have to put together a TypeCode structure, and this isn't exactly trivial to me. If anyone could lend me a hand, it would be great. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From tack@orion.dok.org Wed Nov 29 19:28:33 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from orion.dok.org (h24-70-128-84.su.shawcable.net [24.70.128.84]) by mail.gnome.org (Postfix) with SMTP id 5AECD2CF0E for ; Wed, 29 Nov 2000 19:28:32 -0500 (EST) Received: (qmail 16318 invoked by uid 500); 30 Nov 2000 00:28:53 -0000 Date: Wed, 29 Nov 2000 19:28:53 -0500 From: Jason Tackaberry To: Christian Robottom Reis Cc: Orbit-python-list@lists.sourceforge.net, orbit-list@gnome.org Subject: Re: [Orbit-python-list] RootPOA Message-ID: <20001129192853.C15920@linux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from kiko@async.com.br on Wed, Nov 29, 2000 at 09:09:56PM -0200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > This is more of a Orbit question but I'll crosspost so Jason gets some > email :-) Aww, gee, thanks for thinking of me. :) First, a disclaimer: I haven't looked at this code in a while and I'm awfully rusty. I'm especially sticking my neck out when I talk about ORBit internals, so pay more attention to say Elliot or Owen before me. :) > AFAICS, Orbit-0.5.3 only implements RootPOA as a possible request to > resolve_initial_references. Is this true? Can I not access > the NameService object? I was reasonably sure you couldn't pass NameService to resolve_initial_references with ORBit, and a quick perusal of ORBit's source shows this to be the case. The name service object only seems to be set on calling set_initial_references, which doesn't help much when you don't have a reference to the object to begin with. Fetching a reference to GNOME's name service, at least, is done with Gnorba's gnome_name_service_get(). I don't think there is some elegant way with strictly ORBit (please correct me if I'm wrong). For now it's a matter of finding the IOR from the naming service and calling string_to_object on it. > I've been quite confused about how exactly this would work. I understand I > can set an IOR for the name server in orbitrc, but how far down Orbit and > orbit-python this goes is unknown to me. Can I actually use this inside > orbit-python today? In theory if you import the CosNaming module (in non-cvs versions you do this with load_idl, with the CVS version just import CosNaming and it does everything magically) and pass the IOR to string_to_object, you should have a NamingContext object to play with. In practice, there seems to be some sort of bug with ORBit-Python that I still need to track down and this will fail. Jason. From kiko@async.com.br Thu Nov 30 09:11:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 65FAF2D9BB for ; Thu, 30 Nov 2000 09:11:15 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id MAA31892; Thu, 30 Nov 2000 12:11:01 -0200 Date: Thu, 30 Nov 2000 12:11:01 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: random.org Random.ior and orbit-python Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Does anyone have an idea why we get a Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 Traceback (innermost last): File "./random", line 14, in ? o = myorb.string_to_object(ior) CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 when trying to string_to_object random.org's IOR: IOR:000000000000000f49444c3a52616e646f6d3a312e3000000000000100000000000000500001000000000016706c616e7874792e6473672e63732e7463642e69650006220000002c3a5c706c616e7874792e6473672e63732e7463642e69653a52616e646f6d3a303a3a49523a52616e646f6d00 The c client that random.org provides works perfectly, so I wouldn't think it's an Orbit issue, but it appears Orbit _is_ raising an exception, so I'm left wondering. Any ideas? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From kiko@async.com.br Thu Nov 30 09:24:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id D1B462C81E for ; Thu, 30 Nov 2000 09:24:41 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id MAA31996; Thu, 30 Nov 2000 12:24:35 -0200 Date: Thu, 30 Nov 2000 12:24:35 -0200 (BRST) From: Christian Robottom Reis To: Jason Tackaberry Cc: Orbit-python-list@lists.sourceforge.net, orbit-list@gnome.org Subject: Re: [Orbit-python-list] RootPOA In-Reply-To: <20001129192853.C15920@linux.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Wed, 29 Nov 2000, Jason Tackaberry wrote: > I was reasonably sure you couldn't pass NameService to > resolve_initial_references with ORBit, and a quick perusal of ORBit's > source shows this to be the case. The name service object only seems to > be set on calling set_initial_references, which doesn't help much when > you don't have a reference to the object to begin with. Apparently you can set an IOR for the NameService in your orbitrc, but I have yet to see this work. This code fragment in 0.5.3 indicates it does something when you send NameService on to it: else if(!strcmp(identifier, "NameService")) return CORBA_Object_duplicate(orb->naming, ev); orb->naming being set through naming_ior or naming_addr. I don't know if this code is actually being used but it is there. > Fetching a reference to GNOME's name service, at least, is done with > Gnorba's gnome_name_service_get(). I don't think there is some elegant I thought the name service IOR for gnome came through X hints.. I can't use hints as I have a real distributed operation here. However, setting the IOR through orbitrc or through the commandline would be an initial solution, though I would have to fill this out manually until the time came where I'd have persistent object being started up by orbit (if this ever gets done :-) I suppose nobody has effectively used orbitrc or argv parameters to poison NameService so far, however. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From sopwith@redhat.com Thu Nov 30 10:46:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id A26022BAFB for ; Thu, 30 Nov 2000 10:46:58 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUFkwQ15341; Thu, 30 Nov 2000 10:46:58 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 10:46:58 -0500 (EST) From: Elliot Lee X-Sender: To: Cc: Subject: Re: random.org Random.ior and orbit-python In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Christian Robottom Reis wrote: > > Does anyone have an idea why we get a > > Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 > Traceback (innermost last): > File "./random", line 14, in ? > o = myorb.string_to_object(ior) > CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 > > when trying to string_to_object random.org's IOR: > > IOR:000000000000000f49444c3a52616e646f6d3a312e3000000000000100000000000000500001000000000016706c616e7874792e6473672e63732e7463642e69650006220000002c3a5c706c616e7874792e6473672e63732e7463642e69653a52616e646f6d3a303a3a49523a52616e646f6d00 > > The c client that random.org provides works perfectly, so I wouldn't think > it's an Orbit issue, but it appears Orbit _is_ raising an exception, so > I'm left wondering. Maybe the 'ior' that you are passing has trailing newlines or something - the string_to_object routine in ORBit releases doesn't strip off whitespace... -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From tack@orion.dok.org Thu Nov 30 10:54:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from orion.dok.org (h24-70-128-84.su.shawcable.net [24.70.128.84]) by mail.gnome.org (Postfix) with SMTP id 1E1822DE2C for ; Thu, 30 Nov 2000 10:54:05 -0500 (EST) Received: (qmail 17682 invoked by uid 500); 30 Nov 2000 15:54:32 -0000 Date: Thu, 30 Nov 2000 10:54:32 -0500 From: Jason Tackaberry To: Elliot Lee Cc: orbit-list@gnome.org, Orbit-python-list@lists.sourceforge.net Subject: Re: [Orbit-python-list] Re: random.org Random.ior and orbit-python Message-ID: <20001130105432.M17237@linux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from sopwith@redhat.com on Thu, Nov 30, 2000 at 10:46:58AM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > Maybe the 'ior' that you are passing has trailing newlines or something - > the string_to_object routine in ORBit releases doesn't strip off > whitespace... Yep, that's exactly the problem, and I was just committing the fix to cvs as you replied. :) Thanks, Jason. From kiko@async.com.br Thu Nov 30 11:28:44 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 0AE752C81E for ; Thu, 30 Nov 2000 11:28:42 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id OAA00765; Thu, 30 Nov 2000 14:28:34 -0200 Date: Thu, 30 Nov 2000 14:28:34 -0200 (BRST) From: Christian Robottom Reis To: Elliot Lee Cc: orbit-list@gnome.org Subject: Re: [Orbit-python-list] Re: random.org Random.ior and orbit-python In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Elliot Lee wrote: > Maybe the 'ior' that you are passing has trailing newlines or something - > the string_to_object routine in ORBit releases doesn't strip off > whitespace... No, it works fine in the C implementation; it's something that orbit-python does wrong. I'm still delving into it! Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From Colm.Smyth@ireland.sun.com Thu Nov 30 12:19:14 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id EFDEE2C7C5 for ; Thu, 30 Nov 2000 12:19:13 -0500 (EST) Received: from ireserver.Ireland.Sun.COM ([129.156.220.7]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA11856 for ; Thu, 30 Nov 2000 09:19:10 -0800 (PST) Received: from dbl-ray-3 (dbl-ray-3 [129.156.237.102]) by ireserver.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.0) with SMTP id RAA12477 for ; Thu, 30 Nov 2000 17:19:09 GMT Message-Id: <200011301719.RAA12477@ireserver.Ireland.Sun.COM> Date: Thu, 30 Nov 2000 17:19:09 +0000 (GMT) From: Colm Smyth To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: Qzmgy2HvktoGA95NwpCERw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc Subject: (no subject) Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I'm using some purify-like features of Sun's debugging tool (dbx) to track down possible errors in some of the core GNOME libraries, including ORBit. One rui (read uninitialised) error that recurs frequently is caused by the fact that ORBit aligns int/long values encoded into a CDR_Codec using the ALIGN_ADDRESS() macro in CDR_buffer_putn(). The alignment moves the wptr forward which leaves an unnitialised "hole". It's quite trivial to fix: orbit/src/orb/cdr.c: static CORBA_boolean CDR_buffer_putn(CDR_Codec *codec, void *datum, int bsize) { #ifdef PURIFY unsigned int forward = (unsigned long)ALIGN_ADDRESS(codec->wptr, bsize); while (forward > codec->wptr) codec->buffer[codec->wptr++] = '\0'; #else codec->wptr = (unsigned int)ALIGN_ADDRESS(codec->wptr, bsize); #endif (as an aside, I changed the unsigned long cast to unsigned int to match the declaration of CDR_Codec.wptr. In a dbx-purify run of some test programs, only one other warning is reported because of the deliberate use of uninitialised data in genrand_unix(). It's very nice to see that ORBit is very clean ;) but more importantly if this fix is accepted, it's easier to purify applications based on ORBit. By the way, I wonder if the alignment is strictly necessary since data is always copied byte-wise to and from a CDR_Codec buffer. Colm. From sopwith@redhat.com Thu Nov 30 12:43:34 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id B63802BAAA for ; Thu, 30 Nov 2000 12:43:34 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUHhYW30023 for ; Thu, 30 Nov 2000 12:43:34 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 12:43:34 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: Re: (no subject) In-Reply-To: <200011301719.RAA12477@ireserver.Ireland.Sun.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Colm Smyth wrote: > CDR_buffer_putn(CDR_Codec *codec, void *datum, int bsize) > { > #ifdef PURIFY > unsigned int forward = (unsigned long)ALIGN_ADDRESS(codec->wptr, > bsize); > while (forward > codec->wptr) > codec->buffer[codec->wptr++] = '\0'; > #else > codec->wptr = (unsigned int)ALIGN_ADDRESS(codec->wptr, bsize); > #endif > > (as an aside, I changed the unsigned long cast to unsigned int to match > the declaration of CDR_Codec.wptr. > > In a dbx-purify run of some test programs, only one other warning is > reported because of the deliberate use of uninitialised data in > genrand_unix(). > > It's very nice to see that ORBit is very clean ;) but more importantly > if this fix is accepted, it's easier to purify applications based > on ORBit. I have put basically this patch into the orbit-stable-0-5 branch in CVS - the change will be in version 0.5.5. > By the way, I wonder if the alignment is strictly necessary since data is > always copied byte-wise to and from a CDR_Codec buffer. The alignment is for the CDR stream, not to facilitate local machine usage (well, that's partially false - the CDR alignment rules exist to facilitate local machine usage). -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Thu Nov 30 13:14:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id AA8852BAAA for ; Thu, 30 Nov 2000 13:14:54 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUIEss02927 for ; Thu, 30 Nov 2000 13:14:54 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 13:14:54 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: ORBit 0.5.5 release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development It's up on ftp.gnome.org. The biggest thing about it is DynAny support, courtesy of Michael Meeks. There are also the usual bug fixes. ftp://ftp.gnome.org/pub/ORBit/ORBit-0.5.5.tar.gz Share & enjoy, -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From chardros@ashtech.net Thu Nov 30 15:32:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ashtech.net (ashtech.pa.net [205.166.61.57]) by mail.gnome.org (Postfix) with SMTP id 9E1982CDC3 for ; Thu, 30 Nov 2000 15:32:50 -0500 (EST) Received: (qmail 7132 invoked from network); 30 Nov 2000 20:32:44 -0000 Received: from ip134.49.blca.blazenet.net (HELO neptune.jlab.int) (24.104.49.134) by ashtech.pa.net with SMTP; 30 Nov 2000 20:32:44 -0000 Received: (from chardros@localhost) by neptune.jlab.int (8.11.0/8.9.3) id eAUKXuD32280 for orbit-list@gnome.org; Thu, 30 Nov 2000 15:33:56 -0500 Date: Thu, 30 Nov 2000 15:33:36 -0500 From: Jason Pincin To: orbit-list@gnome.org Subject: Re: ORBit 0.5.5 release Message-ID: <20001130153329.A32275@neptune.jlab.int> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sopwith@redhat.com on Thu, Nov 30, 2000 at 01:14:54PM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Does this release contain the needed fixes to play nice with Sattelite in PHP? I know I was unable to move to the official 0.5.4 because of some issue (discussed earlier on this list), and had to run a snap shot or ORBit. Anyone know yet? Jason On Thu, Nov 30, 2000 at 01:14:54PM -0500, Elliot Lee wrote: > It's up on ftp.gnome.org. The biggest thing about it is DynAny support, > courtesy of Michael Meeks. There are also the usual bug fixes. > > ftp://ftp.gnome.org/pub/ORBit/ORBit-0.5.5.tar.gz > > Share & enjoy, > -- Elliot > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67 words, the 10 Commandments have 179 words, the > Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and > finally the European Commission's regulation on the sale of cabbage: 26,911 words." > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From david@2good.nu Thu Nov 30 15:46:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id BB91E2C8A2 for ; Thu, 30 Nov 2000 15:46:21 -0500 (EST) Received: from gwan (david@gwan.roots [172.16.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id VAA16522 for ; Thu, 30 Nov 2000 21:46:20 +0100 From: David Eriksson To: orbit-list@gnome.org Subject: Re: ORBit 0.5.5 release Date: Thu, 30 Nov 2000 21:46:23 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" References: <20001130153329.A32275@neptune.jlab.int> In-Reply-To: <20001130153329.A32275@neptune.jlab.int> MIME-Version: 1.0 Message-Id: <00113021462303.00276@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thursday 30 November 2000 21:33, you wrote: >Does this release contain the needed fixes to play nice with Sattelite >in PHP? I know I was unable to move to the official 0.5.4 because of > some issue (discussed earlier on this list), and had to run a snap shot > or ORBit. Anyone know yet? It does not contain the fixes that Satellite needs :-( -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From trohed@yahoo.com Thu Nov 30 16:49:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web10301.mail.yahoo.com (web10301.mail.yahoo.com [216.136.130.79]) by mail.gnome.org (Postfix) with SMTP id 7594B2BAAA for ; Thu, 30 Nov 2000 16:49:05 -0500 (EST) Message-ID: <20001130214901.77066.qmail@web10301.mail.yahoo.com> Received: from [206.31.111.24] by web10301.mail.yahoo.com; Thu, 30 Nov 2000 13:49:01 PST Date: Thu, 30 Nov 2000 13:49:01 -0800 (PST) From: trohed Subject: multithreaded and POA information To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Can you please point me in the direction of some documentation on writing multi-threaded corba servers and some information on POA. Thanks __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From dietmar@maurer-it.com Wed Nov 1 06:09:09 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id DBA9D2BB98 for ; Wed, 1 Nov 2000 06:09:08 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Wed, 1 Nov 2000 11:57:03 +0100 (CET) Message-ID: <39FFF6FD.9830BE7A@maurer-it.com> Date: Wed, 01 Nov 2000 11:57:03 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: howto get the servant from the object reference Content-Type: multipart/alternative; boundary="------------49AFFAFA9FC28A2EEA4580B5" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --------------49AFFAFA9FC28A2EEA4580B5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the PortableServer_Servant if I only have a CORBA_Object (if the object is local)? What I need is something like this: if (servant = servant_from_object (obj)) { /* found the servant */ } else { /* object is not local */ } --------------49AFFAFA9FC28A2EEA4580B5 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the PortableServer_Servant if I only
have a CORBA_Object (if the object is local)?

What I need is something like this:

if (servant = servant_from_object (obj)) {
     /* found the servant */
} else {
    /* object is not local */
} --------------49AFFAFA9FC28A2EEA4580B5-- From mkul@zenon.net Wed Nov 1 10:19:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from pb.zenon.net (cleopatra.zenon.net [195.2.64.6]) by mail.gnome.org (Postfix) with ESMTP id D44AB2BAEA for ; Wed, 1 Nov 2000 10:19:56 -0500 (EST) Received: from mp.aha.ru (mp.hq.zenon.net [192.168.9.150]) by pb.zenon.net (8.9.3/8.9.3) with ESMTP id SAA45831 for ; Wed, 1 Nov 2000 18:08:23 +0300 (MSK) (envelope-from mkul@zenon.net) Received: from [192.168.13.39] (HELO zenon.net) by mp.aha.ru (CommuniGate Pro SMTP 3.4b2) with ESMTP id 4130854 for orbit-list@gnome.org; Wed, 01 Nov 2000 18:06:28 +0300 Message-ID: <3A003143.84E5DC2F@zenon.net> Date: Wed, 01 Nov 2000 18:05:39 +0300 From: Michael Kulakov Organization: Zenon X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: make async. work with orbit Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello! CORBA_boolean CORBA_ORB_work_pending(CORBA_ORB orb, CORBA_Environment *ev) { g_assert(!"Not yet implemented"); return(CORBA_FALSE); } /* Section 4.9.2 */ void CORBA_ORB_perform_work(CORBA_ORB orb, CORBA_Environment *ev) { g_assert(!"Not yet implemented"); return; } What about any plans to implement this functions ? Michael From zhonghm@163.net Wed Nov 1 20:34:03 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from bjapp2.163.net (unknown [202.108.255.212]) by mail.gnome.org (Postfix) with ESMTP id 6150D2BD01 for ; Wed, 1 Nov 2000 20:34:02 -0500 (EST) Received: from main (unknown [61.129.38.105]) by bjapp2.163.net (Postfix) with SMTP id 341DF1C6E2A18 for ; Thu, 2 Nov 2000 09:20:56 +0800 (CST) Message-ID: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> From: "Zhong Haoming" To: Subject: =?hz-gb-2312?B?fns7WDg0fn06IGhvd3RvIGdldCB0aGUgc2VydmFudCBmcm9tIHQ=?= =?hz-gb-2312?B?aGUgb2JqZWN0IHJlZmVyZW5jZQ==?= Date: Thu, 2 Nov 2000 09:22:51 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01C044AE.7933A580" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C044AE.7933A580 Content-Type: text/plain; charset="hz-gb-2312" Content-Transfer-Encoding: quoted-printable Hi! I think you can not do that. -----Original Message----- ~{7"<~HK~}: Dietmar Maurer ~{JU<~HK~}: orbit-list@gnome.org ~{HUFZ~}: 2000~{Dj~}11~{TB~}1~{HU~} 23:21 ~{VwLb~}: howto get the servant from the object reference =20 =20 Is it possible to get the PortableServer_Servant if I only=20 have a CORBA_Object (if the object is local)?=20 What I need is something like this:=20 if (servant =3D servant_from_object (obj)) {=20 /* found the servant */=20 } else {=20 /* object is not local */=20 }=20 ------=_NextPart_000_0039_01C044AE.7933A580 Content-Type: text/html; charset="hz-gb-2312" Content-Transfer-Encoding: quoted-printable

Hi!
I think you = can not do=20 that.
-----Original = Message-----
~{7"<~HK~}:=20 Dietmar Maurer <dietmar@maurer-it.com>
~{JU<~HK~}:=20 orbit-list@gnome.org = <orbit-list@gnome.org>
~= {HUFZ~}:=20 2000~{Dj~}11~{TB~}1~{HU~} 23:21
~{VwLb~}: howto get = the servant from the object=20 reference

Is it possible to get the=20 PortableServer_Servant if I only
have a CORBA_Object (if the = object is=20 local)?=20

What I need is something like this:=20

if (servant =3D servant_from_object (obj)) {=20
     /* found the servant */ =
} else=20 {
    /* object is not local */=20
}

------=_NextPart_000_0039_01C044AE.7933A580-- From joe@pinguind.co.id Thu Nov 2 02:06:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from penguin.idola.net.id (eskimo.penguin.idola.net.id [202.152.20.54]) by mail.gnome.org (Postfix) with SMTP id 965DB2DE29 for ; Thu, 2 Nov 2000 02:06:39 -0500 (EST) Received: (qmail 24961 invoked by uid 510); 2 Nov 2000 18:02:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Nov 2000 18:02:38 -0000 Date: Thu, 2 Nov 2000 13:02:38 -0500 (EST) From: Zulkarnaen Hatala To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() In-Reply-To: <1258-Tue31Oct2000101834+0000-starksb@ebi.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Here is my code from factory-server.c --code sniff-- CosNaming_NamingContext name_srv; --code sniff-- name_srv = CORBA_ORB_resolve_initial_references(orb, "NameService", &ev); if(name_srv==NULL){ g_message("name_srv is always null"); g_message("%d",ev._major); exit(0); } --code sniff-- CosNaming_NamingContext_bind(name_srv,fac_name, fac, &ev); --code sniff-- The fact is segmentation fault because name_srv is always NULL, somebody tell me how to fix this problem .. I still don't understand why ..:) -- joe Zulkarnaen Hatala L I V E email : joe@pinguind.co.id F R E E PinguinD Linux ONE STOP SOLUTIONS http://www.pinguind.co.id O * R UIN : 49727749 telp : 62-022-2509327 D I E From jiva@dharmabox.opnix.net Thu Nov 2 02:21:04 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id 336D62CB60 for ; Thu, 2 Nov 2000 02:21:04 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id C99591A712; Thu, 2 Nov 2000 00:08:24 -0700 (MST) Date: Thu, 2 Nov 2000 00:08:24 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Shortened IORs? Message-ID: <20001102000824.A4516@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Greetings! We're using ORBit for some internal projects here. We have been developping these applications using Mandrake 7.1, but recently, we tried running the apps on a Debian Woody box and on a Mandrake 7.2 box. Both of these machines cause our app to generate a bad IOR which is shorter than a normal one. When we run this through parseIOR, we get "invalid object ref" as an error. We have tried changing versions of ORBit on these boxes, but had no success. The versions of ORBit we've tried are: 0.5.4 0.5.2 0.5.1 All of them do the same thing. Question is: What would cause this, and what can I do to further diagnose the problem? -- From dietmar@maurer-it.com Thu Nov 2 02:29:10 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id E10922BAB8 for ; Thu, 2 Nov 2000 02:29:09 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 2 Nov 2000 08:17:02 +0100 (CET) Message-ID: <3A0114ED.14401930@maurer-it.com> Date: Thu, 02 Nov 2000 08:17:02 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I have just found a way: obj->servant Although I think this is ORBit specific? Zhong Haoming wrote: > Hi!I think you can not do that. > > Is it possible to get the PortableServer_Servant if I only > > have a CORBA_Object (if the object is local)? > > What I need is something like this: > > if (servant = servant_from_object (obj)) { > /* found the servant */ > } else { > /* object is not local */ > } > From jiva@dharmabox.opnix.net Thu Nov 2 02:33:01 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id AA0B22BAB8 for ; Thu, 2 Nov 2000 02:33:00 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id 6AD751A71E; Thu, 2 Nov 2000 00:20:30 -0700 (MST) Date: Thu, 2 Nov 2000 00:20:30 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Re: make async. work with orbit Message-ID: <20001102002030.A4555@opnix.com> References: <3A003143.84E5DC2F@zenon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A003143.84E5DC2F@zenon.net>; from mkul@zenon.net on Wed, Nov 01, 2000 at 06:05:39PM +0300 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I asked a very similar question a few weeks ago. I don't think there's plans for this right now, but you can accomplish virtually the same thing by sticking a glib main loop into your software and using it's work_pending constructs. This is actually signifigantly less work than it sounds like on the surface and I might be able to point you in the direction of some sample code if you are interested. On Wed, Nov 01, 2000 at 06:05:39PM +0300, Michael Kulakov wrote: > Hello! > > CORBA_boolean CORBA_ORB_work_pending(CORBA_ORB orb, CORBA_Environment > *ev) > { > g_assert(!"Not yet implemented"); > return(CORBA_FALSE); > } > > /* Section 4.9.2 */ > void CORBA_ORB_perform_work(CORBA_ORB orb, CORBA_Environment *ev) > { > g_assert(!"Not yet implemented"); > return; > } > > What about any plans to implement this functions ? > > Michael > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- From wilhelmi@ira.uka.de Thu Nov 2 04:50:30 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id CC3AF2BAB8 for ; Thu, 2 Nov 2000 04:50:29 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Thu, 2 Nov 2000 10:38:20 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Thu, 2 Nov 2000 10:38:19 +0100 Message-ID: <3A01360B.E2E2AD2A@ira.uka.de> Date: Thu, 02 Nov 2000 10:38:19 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, Jiva DeVoe Subject: Re: Shortened IORs? References: <20001102000824.A4516@opnix.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Jiva, > We're using ORBit for some internal projects here. We have been > developping these applications using Mandrake 7.1, but recently, we > tried running the apps on a Debian Woody box and on a Mandrake 7.2 > box. Both of these machines cause our app to generate a bad IOR which > is shorter than a normal one. When we run this through parseIOR, we > get "invalid object ref" as an error. We have tried changing versions > of ORBit on these boxes, but had no success. The versions of ORBit > we've tried are: See Question 2b) on http://orbit-resource.sourceforge.net/faq.html Bye, Sebastian -- = Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo= lnen mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runderli= gt bl=E5 http://goethe.ira.uka.de/~wilhelmi | From wilhelmi@ira.uka.de Thu Nov 2 04:55:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id C520A2BAB8 for ; Thu, 2 Nov 2000 04:55:41 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Thu, 2 Nov 2000 10:43:34 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Thu, 2 Nov 2000 10:43:33 +0100 Message-ID: <3A013744.F17F3E85@ira.uka.de> Date: Thu, 02 Nov 2000 10:43:32 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Zulkarnaen, > The fact is segmentation fault because name_srv is always NULL, > somebody tell me how to fix this problem .. > I still don't understand why ..:) You have to start the name-service. This sputs out an IOR. This IOR has t= o be given as an argument to the ORBit-program, just like the following exampl= e: orbit-name-server >/tmp/ior & yourserver -ORBNamingIOR=3D`cat /tmp/ior` & yourclient -ORBNamingIOR=3D`cat /tmp/ior` That should work. Bye, Sebastian -- = Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo= lnen mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runderli= gt bl=E5 http://goethe.ira.uka.de/~wilhelmi | From philipd@users.sourceforge.net Thu Nov 2 07:01:52 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from beamail.beasys.com (unknown [63.96.163.29]) by mail.gnome.org (Postfix) with ESMTP id 913282BAC0 for ; Thu, 2 Nov 2000 07:01:51 -0500 (EST) Received: from london.beasys.com (london [10.5.1.10]) by beamail.beasys.com (8.9.1b+Sun/8.9.1) with ESMTP id DAA22370 for ; Thu, 2 Nov 2000 03:49:42 -0800 (PST) Received: from pdawes.beasys.com (lhr-modem6.beasys.com [10.5.1.17]) by london.beasys.com (8.9.3+Sun/8.9.1) with SMTP id LAA10099 for ; Thu, 2 Nov 2000 11:49:33 GMT X-Mailer: 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid (via feedmail 8 I); VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid From: "Phil Dawes" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14849.21763.358000.653405@pdawes.beasys.com> Date: Thu, 2 Nov 2000 11:50:27 +0000 (GMT0:00) To: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference In-Reply-To: <3A0114ED.14401930@maurer-it.com> References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> <3A0114ED.14401930@maurer-it.com> Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Dietmar, Yes, this is definately ORBit specific (and it breaks the CORBA model) I'm curious - why do you want to do this? Cheers, Phil Dietmar Maurer writes: > I have just found a way: obj->servant > Although I think this is ORBit specific? > > Zhong Haoming wrote: > > > Hi!I think you can not do that. > > > > Is it possible to get the PortableServer_Servant if I only > > > > have a CORBA_Object (if the object is local)? > > > > What I need is something like this: > > > > if (servant = servant_from_object (obj)) { > > /* found the servant */ > > } else { > > /* object is not local */ > > } > > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From dietmar@maurer-it.com Thu Nov 2 07:53:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id 0B1AF2BD71 for ; Thu, 2 Nov 2000 07:53:32 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 2 Nov 2000 13:41:25 +0100 (CET) Message-ID: <3A0160F3.EB0D31B7@maurer-it.com> Date: Thu, 02 Nov 2000 13:41:23 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: philipd@users.sourceforge.net Cc: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> <3A0114ED.14401930@maurer-it.com> <14849.21763.358000.653405@pdawes.beasys.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Phil Dawes wrote: > Hi Dietmar, > > Yes, this is definately ORBit specific (and it breaks the CORBA model) > I'm curious - why do you want to do this? I want to use this for the bonobo storage implementation. There is a copyTo() method which copies one storage to another one. The operation can be highly optimized if both servers are local. It is also the only way to detect cyclic copies. From mkul@zenon.net Thu Nov 2 08:01:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from pb.zenon.net (cleopatra.zenon.net [195.2.64.6]) by mail.gnome.org (Postfix) with ESMTP id 159C22BF7E for ; Thu, 2 Nov 2000 08:01:49 -0500 (EST) Received: from mp.aha.ru (mp.hq.zenon.net [192.168.9.150]) by pb.zenon.net (8.9.3/8.9.3) with ESMTP id PAA43330 for ; Thu, 2 Nov 2000 15:50:21 +0300 (MSK) (envelope-from mkul@zenon.net) Received: from [192.168.13.39] (HELO zenon.net) by mp.aha.ru (CommuniGate Pro SMTP 3.4b2) with ESMTP id 4142231 for orbit-list@gnome.org; Thu, 02 Nov 2000 15:48:14 +0300 Message-ID: <3A016256.EE3BC50F@zenon.net> Date: Thu, 02 Nov 2000 15:47:18 +0300 From: Michael Kulakov Organization: Zenon X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() References: <3A013744.F17F3E85@ira.uka.de> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello! > orbit-name-server >/tmp/ior & > yourserver -ORBNamingIOR=`cat /tmp/ior` & > yourclient -ORBNamingIOR=`cat /tmp/ior` and: ssh -f nameservicemachine orbit-name-server > /tmp/ior scp /tmp/ior servermachine:/tmp/ior scp /tmp/ior clientmachine:/tmp/ior ssh -f servermachine yourserver -ORBNamingIOR=`cat /tmp/ior` ssh -f clientmachine yourclient -ORBNamingIOR=`cat /tmp/ior` truly distributed application :) Now we wanny to try to restart orbit-name-server :) Michael From sam@topic.com.au Thu Nov 2 22:30:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.topic.com.au (topic-gw2.topic.com.au [203.37.31.2]) by mail.gnome.org (Postfix) with ESMTP id EEE552E06C for ; Thu, 2 Nov 2000 22:30:30 -0500 (EST) Received: by mailhost.topic.com.au (Postfix, from userid 1) id 6B4201105D; Fri, 3 Nov 2000 14:18:19 +1100 (EST) Received: from beethoven.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id 1511FB0DA; Fri, 3 Nov 2000 14:18:08 +1100 (EST) Received: by beethoven.tsa (sSMTP sendmail emulation); Fri, 3 Nov 2000 14:19:12 +1100 From: Sam Couter Date: Fri, 3 Nov 2000 14:19:12 +1100 To: orbit-list@gnome.org, orbitcpp-list@lists.sourceforge.net Subject: CORBA_long_double type Message-ID: <20001103141912.A31610@topic.com.au> Mail-Followup-To: orbit-list@gnome.org, orbitcpp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: Linux 2.2.17 on a i586 X-AntiVirus: scanned for viruses by AMaViS perl-8 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable G'day all. I'm working on implementing Any in ORBit-C++, but have a problem. The C++ mapping spec says that the CORBA::LongDouble type must be distinct from other types for the purposes of overloading functions. CORBA::LongDouble is typedef'd to ORBit's CORBA_long_double type, which is in turn typedef'd to glib's gdouble type. CORBA::Double is likewise typedef'd to ORBit's CORBA_double type, which is also typed to glib's gdouble type. So the compiler can't tell them apart, and thinks the Any insertion operator for CORBA::LongDouble is a redeclaration of the insertion operator for CORBA::Double. That's no good. I tried changing the typedef for CORBA_long_double to "long double" (I would have used glib's gldouble if it had been defined) and rebuilding ORBit, but now if I try to send CORBA_long_double arguments I get garbage. I can't see anywhere that has a size hard-coded. Yes, I rebuilt the IDL compiler as well, and regenerated the stubs and skeletons with that. Can anyone help me make CORBA_long_double a distinct type from CORBA_double? Or more importantly, make CORBA::LongDouble distinct from CORBA::Double? I don't really want to write a CORBA::LongDouble class and implement all the standard arithmetic operators. :( --=20 Sam Couter | Internet Engineer | http://www.topic.com.au/ sam@topic.com.au | tSA Consulting | PGP key available on key servers PGP key fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6Ai6whTADrt6Jx1wRAr8lAJ9ttHLScUqu/FMEI095GfkW/JYj1gCgtoyv g7Vosptgbpq/e2FD+Mvb538= =Z3kh -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From sopwith@redhat.com Fri Nov 3 11:08:55 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1A6572BCB4 for ; Fri, 3 Nov 2000 11:08:55 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA3FuaY23305; Fri, 3 Nov 2000 10:56:36 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Fri, 3 Nov 2000 10:56:36 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Cc: orbitcpp-list@lists.sourceforge.net Subject: Re: CORBA_long_double type In-Reply-To: <20001103141912.A31610@topic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri, 3 Nov 2000, Sam Couter wrote: > I tried changing the typedef for CORBA_long_double to "long double" (I would > have used glib's gldouble if it had been defined) and rebuilding ORBit, but > now if I try to send CORBA_long_double arguments I get garbage. > Can anyone help me make CORBA_long_double a distinct type from CORBA_double? The problem is that 'long double' is totally undefined. On my Alpha box, it is the same size as a 'double'. On my x86 box, it is 12 bytes compared to 8 for a double. The CORBA spec seems to want it to be 16 bytes long. I am not sure if the ORBit IDL compiler even handles 'long double' properly... I would recommend avoiding it altogether if possible - it seems it is too much of a problem to actually implement... -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From jiva@dharmabox.opnix.net Fri Nov 3 22:56:19 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id C99CC2CC98 for ; Fri, 3 Nov 2000 22:56:19 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id 8E7CF25BD1; Fri, 3 Nov 2000 20:43:21 -0700 (MST) Date: Fri, 3 Nov 2000 20:43:21 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Calling corba within a corba calls? Message-ID: <20001103204321.A16399@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Is it OK to make another corba call within a handler of a corba call? ie: I have an object A that is called. Within it's handler of the call, it calls object B. Is that OK? -- Jiva DeVoe VP Of Software Development Opnix, Inc. - Simply sensous bandwidth. GPG Fingerprint: 0A17 DF84 516A 1DC4 B837 FE6D 3128 41CD 97CB 4AA7 From binnema@djcb.dyndns.org Sat Nov 4 07:07:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn84.dh.casema.net [213.17.5.84]) by mail.gnome.org (Postfix) with SMTP id 8EB832DEAA for ; Sat, 4 Nov 2000 07:07:53 -0500 (EST) Received: (qmail 3549 invoked by uid 550); 4 Nov 2000 13:03:23 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 4 Nov 2000 13:03:23 -0000 Date: Sat, 4 Nov 2000 13:04:10 +0100 From: "Dirk-Jan C . Binnema" To: Jiva DeVoe Cc: orbit-list@gnome.org Subject: Re: Calling corba within a corba calls? Message-ID: <20001104130400.A771@mindcrime.djb.nl> References: <20001103204321.A16399@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20001103204321.A16399@opnix.com>; from jiva@opnix.com on Fri, Nov 03, 2000 at 08:43:21PM -0700 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri Nov 03, 2000 at 08:43:21PM -0700, Jiva DeVoe wrote: -> Is it OK to make another corba call within a handler of a corba call? -> ie: -> -> I have an object A that is called. Within it's handler of the call, -> it calls object B. Is that OK? yes. From tlewis@secureworks.net Sun Nov 5 19:50:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id 796322DBC7 for ; Sun, 5 Nov 2000 19:50:25 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id UAA33478; Sun, 5 Nov 2000 20:38:42 GMT (envelope-from tlewis@secureworks.net) Date: Sun, 5 Nov 2000 19:38:08 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Cc: Jiva DeVoe Subject: Re: Calling corba within a corba calls? In-Reply-To: <20001104130400.A771@mindcrime.djb.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development You just have to make sure that you don't by call B call back into the handler which made call A and is blocked waiting on the return, or else you'll deadlock. If you are running multithreaded, then this is not a problem. -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz On Sat, 4 Nov 2000, Dirk-Jan C . Binnema wrote: > On Fri Nov 03, 2000 at 08:43:21PM -0700, Jiva DeVoe wrote: > -> Is it OK to make another corba call within a handler of a corba call? > -> ie: > -> > -> I have an object A that is called. Within it's handler of the call, > -> it calls object B. Is that OK? > > yes. > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From renfin@telnor.net Mon Nov 6 13:02:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id 358842D169 for ; Mon, 6 Nov 2000 13:02:23 -0500 (EST) Received: from telnor.net (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id KAA15350; Mon, 6 Nov 2000 10:02:15 -0800 (PST) Message-ID: <3A06F2B2.392AC3EA@telnor.net> Date: Mon, 06 Nov 2000 10:04:34 -0800 From: Rene Maldonado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, CORBA Subject: Strings in ORBit Content-Type: multipart/mixed; boundary="------------03A51EA2C393487CA8E636A5" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------03A51EA2C393487CA8E636A5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have a problem I can't pass a string from the server to the client, in fact, a pass the string, from the point of view of the client, everithing is OK, I call the client, an the string appear on the screen, but on the server side an error occur: ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef) aborting... Aborted (core dumped) Any one know what can I do??? if I pass an integer, a short, or any numeric type, nothing hapens, everithing is OK. --------------03A51EA2C393487CA8E636A5 Content-Type: text/x-vcard; charset=us-ascii; name="renfin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="renfin.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------03A51EA2C393487CA8E636A5-- From dietmar@maurer-it.com Mon Nov 6 13:27:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id EDDED2BB75 for ; Mon, 6 Nov 2000 13:27:55 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Mon, 6 Nov 2000 19:27:55 +0100 (CET) Message-ID: <3A06F82A.354B56DD@maurer-it.com> Date: Mon, 06 Nov 2000 19:27:54 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: renfin@telnor.net Cc: orbit-list@gnome.org Subject: Re: Strings in ORBit References: <3A06F2B2.392AC3EA@telnor.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Rene Maldonado wrote: > Hi All, > > I have a problem I can't pass a string from the server to the client, in > fact, a pass the string, from the point of view of the client, > everithing is OK, I call the client, an the string appear on the screen, > but on the server side an error occur: > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > (block->magic == 0xdeadbeef) > aborting... > Aborted (core dumped) > > Any one know what can I do??? You have to use the CORBA functions to allocate the memory for the string, or simply use CORBA_string_dup (string) From Andy_Marchewka@i2.com Mon Nov 6 14:12:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtpmta2.i2.com (smtpmta2.i2.com [64.26.226.11]) by mail.gnome.org (Postfix) with ESMTP id 223AE2BECC for ; Mon, 6 Nov 2000 14:12:27 -0500 (EST) Received: from i2Markham.i2.com ([10.77.2.10]) by smtpmta2.i2.com (Lotus Domino Release 5.0.5) with ESMTP id 2000110613121688:26013 ; Mon, 6 Nov 2000 13:12:16 -0600 Subject: Re: CORBA-DEV: Strings in ORBit To: Rene Maldonado Cc: corba-dev@randomwalk.com, orbit-list@gnome.org X-Mailer: Lotus Notes Release 5.0.2b (Intl) 16 December 1999 Message-ID: From: Andy_Marchewka@i2.com Date: Mon, 6 Nov 2000 14:12:16 -0500 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on i2Markham/Servers/i2Tech(Release 5.0.2b (Intl)|16 December 1999) at 11/06/2000 02:12:16 PM, Itemize by SMTP Server on SMTPMTA2/i2Tech(Release 5.0.5 |September 22, 2000) at 11/06/2000 01:12:17 PM, Serialize by Router on SMTPMTA2/i2Tech(Release 5.0.5 |September 22, 2000) at 11/06/2000 01:12:26 PM, Serialize complete at 11/06/2000 01:12:26 PM Content-type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Rene: May be a memory management issue.... Are you allocating a copy of the string for the client with CORBA::string_alloc() or CORBA::string_dup()? The server-side ORB will deallocate your string after it sends it to the client, so you need to allocate a copy specifically to return to the caller with one of the above functions. If you are sending a string that the server owns, you will likely have memory problems. - Andy Rene Maldonado To: orbit-list@gnome.org, CORBA r.net> cc: Subject: CORBA-DEV: Strings in ORBit 11/06/00 01:04 PM boundary="------------03A51EA2C393487CA8E636A5" This is a multi-part message in MIME format. --------------03A51EA2C393487CA8E636A5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have a problem I can't pass a string from the server to the client, in fact, a pass the string, from the point of view of the client, everithing is OK, I call the client, an the string appear on the screen, but on the server side an error occur: ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef) aborting... Aborted (core dumped) Any one know what can I do??? if I pass an integer, a short, or any numeric type, nothing hapens, everithing is OK. From sopwith@redhat.com Mon Nov 6 14:15:12 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 8A1D72C930 for ; Mon, 6 Nov 2000 14:15:12 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA6JFCd22949; Mon, 6 Nov 2000 14:15:12 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 6 Nov 2000 14:15:12 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Cc: CORBA Subject: Re: Strings in ORBit In-Reply-To: <3A06F2B2.392AC3EA@telnor.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 6 Nov 2000, Rene Maldonado wrote: > Hi All, > > I have a problem I can't pass a string from the server to the client, in > fact, a pass the string, from the point of view of the client, > everithing is OK, I call the client, an the string appear on the screen, > but on the server side an error occur: > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > (block->magic == 0xdeadbeef) > aborting... > Aborted (core dumped) > > Any one know what can I do??? > > if I pass an integer, a short, or any numeric type, nothing hapens, > everithing is OK. When you return a value from the implementation, you are also returning ownership of the memory associated with that value (if any). Numeric types are returned by value, so there is no associated memory to return. Strings, on the other hand, have associated memory that must be copied if you do not wish to return ownership of the memory for the existing value. -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From renfin@telnor.net Mon Nov 6 14:39:29 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id A54042BC01 for ; Mon, 6 Nov 2000 14:39:27 -0500 (EST) Received: from telnor.net (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id LAA24099; Mon, 6 Nov 2000 11:38:36 -0800 (PST) Message-ID: <3A070946.1956FCE8@telnor.net> Date: Mon, 06 Nov 2000 11:40:54 -0800 From: Rene Maldonado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Dietmar Maurer Cc: orbit-list@gnome.org Subject: Re: Strings in ORBit References: <3A06F2B2.392AC3EA@telnor.net> <3A06F82A.354B56DD@maurer-it.com> Content-Type: multipart/mixed; boundary="------------4B6C7EF7C34FC53D0E18B273" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------4B6C7EF7C34FC53D0E18B273 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi : Do you know where can I find some examples that use strings, all I need is some code to have some reference.. Thanks Dietmar Maurer wrote: > Rene Maldonado wrote: > > > Hi All, > > > > I have a problem I can't pass a string from the server to the client, in > > fact, a pass the string, from the point of view of the client, > > everithing is OK, I call the client, an the string appear on the screen, > > but on the server side an error occur: > > > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > > (block->magic == 0xdeadbeef) > > aborting... > > Aborted (core dumped) > > > > Any one know what can I do??? > > You have to use the CORBA functions to allocate the memory for the string, > or simply use CORBA_string_dup (string) --------------4B6C7EF7C34FC53D0E18B273 Content-Type: text/x-vcard; charset=us-ascii; name="renfin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="renfin.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------4B6C7EF7C34FC53D0E18B273-- From zhonghm@163.net Mon Nov 6 20:49:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from bjapp1.163.net (unknown [202.108.255.211]) by mail.gnome.org (Postfix) with ESMTP id AE8092DBBB for ; Mon, 6 Nov 2000 20:48:10 -0500 (EST) Received: from main (unknown [61.129.38.92]) by bjapp1.163.net (Postfix) with SMTP id 05C831C99C849 for ; Tue, 7 Nov 2000 09:42:35 +0800 (CST) Message-ID: <001201c0485c$5b295380$010a0a0a@main.sigurd.com.cn> From: "Zhong Haoming" To: Subject: =?hz-gb-2312?B?fns7WDg0fn06IFN0cmluZ3MgaW4gT1JCaXQ=?= Date: Tue, 7 Nov 2000 09:45:05 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="hz-gb-2312" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi! Rene -----Original Message----- ~{7"<~HK~}: Rene Maldonado ~{JU<~HK~}: orbit-list@gnome.org ; CORBA ~{HUFZ~}: 2000~{Dj~}11~{TB~}7~{HU~} 2:02 ~{VwLb~}: Strings in ORBit >Hi All, > >I have a problem I can't pass a string from the server to the client, in >fact, a pass the string, from the point of view of the client, >everithing is OK, I call the client, an the string appear on the screen, >but on the server side an error occur: > >** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: >(block->magic == 0xdeadbeef) >aborting... >Aborted (core dumped) > >Any one know what can I do??? > >if I pass an integer, a short, or any numeric type, nothing hapens, >everithing is OK. > Here is a sample to return string CORBA_char * ren; ren =CORBA_string_alloc (REN_LEN); return ren; or you can use ren=CORBA_string_dup (anotherstring); and then return it; In ORBit, CORBA_string_alloc (LEN) is defined as return ORBit_alloc(LEN+1,NULL,NULL); > > From jp.roumian@mobileway.com Tue Nov 7 14:08:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.fr.uu.net (smtp2.fr.uu.net [194.98.0.8]) by mail.gnome.org (Postfix) with ESMTP id 10CB32BBBA for ; Tue, 7 Nov 2000 14:08:32 -0500 (EST) Received: from brainwasher.iway.fr (brainwasher.iway.fr [212.208.127.1]) by mail.fr.uu.net (Postfix) with ESMTP id D1B5C321A1 for ; Tue, 7 Nov 2000 20:08:16 +0100 (MET) Received: from mobileway.com ([194.98.169.20]) by brainwasher.iway.fr (8.9.3/8.8.7) with ESMTP id UAA6183492 for ; Tue, 7 Nov 2000 20:06:59 +0100 (MET) Message-ID: <3A0853E3.BE3246A2@mobileway.com> Date: Tue, 07 Nov 2000 20:11:32 +0100 From: jean-paul roumian X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: -fpack-struct causes SEGV Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGVsbG8sDQoNCkkgdHJpZWQgdGhlIHdlbGwta25vd24gIm9yYml0LWRvY3MiIGV4YW1wbGVz IChlY2hvIHNlcnZlciwgY2FsY3VsYXRvcikNCkV2ZXJ5dGhpbmcgd29ya3Mgb2ssIGJ1dCBp ZiBJIGNvbXBpbGUgd2l0aCAtZnBhY2stc3RydWN0IG9wdGlvbiAoSSBkaWQNCnRoaXMgYmVj YXVzZSBJIHdvcmsgb24gc290ZndhcmUgdGhhdCBuZWVkIHRoaXMgOC0oKSwgd2l0aG91dCBj aGFuZ2luZw0KYW55dGhpbmcgZWxzZSwgdGhlIHByb2dyYW1zDQpjb3JlIGR1bXAgYXQgc3Rh cnR1cCwgd2l0aDoNCg0KMHg4MDRiOTBmIGluIENPUkJBTWFpbFNlcnZlcl9nZXRTTVRQQ291 bnRlciAoX29iaj0weDgwNTk1ZjgsIGkyPTEsDQpldj0weGJmZmZmOWU4KSBhdCBjYWxjdWxh dG9yLXN0dWJzLmM6MjUNCjI1ICAgIF9jbnggPSBPUkJpdF9vYmplY3RfZ2V0X2Nvbm5lY3Rp b24oX29iaik7DQooZ2RiKSBwcmludCAqX2NueA0KQ2Fubm90IGFjY2VzcyBtZW1vcnkgYXQg YWRkcmVzcyAweDRjLg0KKGdkYikgcHJpbnQgKl9vYmoNCiQxID0ge3BhcmVudCA9IHtpbnRl cmZhY2UgPSAweDQwMDc0MmE4LCBpc19wc2V1ZG9fb2JqZWN0ID0gMCAnXDAwMCcsDQpyZWZz ID0gMTY3NzcyMTZ9LCBvcmIgPSAweDQwMDAwMDAwLCBjb25uZWN0aW9uID0gMHg4MDU4MiwN CiAgb2JqZWN0X2lkID0gMHg2ODAwMDAwMCA8QWRkcmVzcyAweDY4MDAwMDAwIG91dCBvZiBi b3VuZHM+LA0KcHJvZmlsZV9saXN0ID0gMHg1MDA4MDU5NiwgZm9yd2FyZF9sb2NhdGlvbnMg PSAweDgwNTkxLCAgIGFjdGl2ZV9wcm9maWxlDQo9IDB4MCwgdmVwdiA9IDB4MCwgc2VydmFu dCA9IDB4MH0NCg0KDQpUaGlzIHNlZW1zIHZlcnkgc3RyYW5nZSB0byBtZS4NCldoeSBpdCBp cyBzbyBzZW5zaWJsZSB0byB0aGlzIG9wdGlvbiwgYW5kIGlzIGl0IGEgYnVnID8NCg0KDQoN Cg== From sopwith@redhat.com Tue Nov 7 14:20:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 244BB2D3F8 for ; Tue, 7 Nov 2000 14:20:27 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA7JKQs27064 for ; Tue, 7 Nov 2000 14:20:26 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 7 Nov 2000 14:20:26 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: -fpack-struct causes SEGV In-Reply-To: <3A0853E3.BE3246A2@mobileway.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 7 Nov 2000, jean-paul roumian wrote: > I tried the well-known "orbit-docs" examples (echo server, calculator) > Everything works ok, but if I compile with -fpack-struct option (I did > this because I work on sotfware that need this 8-(), without changing > anything else, the programs > core dump at startup, with: > > 0x804b90f in CORBAMailServer_getSMTPCounter (_obj=0x80595f8, i2=1, > ev=0xbffff9e8) at calculator-stubs.c:25 > 25 _cnx = ORBit_object_get_connection(_obj); > (gdb) print *_cnx > Cannot access memory at address 0x4c. > (gdb) print *_obj > $1 = {parent = {interface = 0x400742a8, is_pseudo_object = 0 '\000', > refs = 16777216}, orb = 0x40000000, connection = 0x80582, > object_id = 0x68000000
, > profile_list = 0x50080596, forward_locations = 0x80591, active_profile > = 0x0, vepv = 0x0, servant = 0x0} -fpack-struct packs ALL structs, including ones that involve interfaces to system libraries. I suggest you use __attribute__((packed)) as needed instead. I don't really know what the problem is, to be honest, but if you are using funky customizations like -fpack-struct, you are on your own. :) -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From bsfelton@mobilesque.com Thu Nov 9 23:56:47 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from onyx.mobilesque.com (ns.mobilesque.com [204.0.12.98]) by mail.gnome.org (Postfix) with ESMTP id E81722BCC8 for ; Thu, 9 Nov 2000 23:56:46 -0500 (EST) Received: from diamond (diamond.mobilesque.com [209.39.176.3]) by onyx.mobilesque.com (8.11.0/8.11.0) with SMTP id eAA4ukg11870 for ; Thu, 9 Nov 2000 22:56:46 -0600 From: "Brentley S Felton" To: Subject: ORBit 0.5.4 compilation error(newbie) Date: Thu, 9 Nov 2000 22:57:08 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive the message when trying to run make after configure (with no options). Any help with this would be greatly appreciated. [bsfelton@opal ORBit-0.5.4]$ make make all-recursive Making all in popt make all-recursive Making all in intl Making all in po make: Fatal error in reader: Makefile, line 90: Macro assignment on dependency line Current working directory /usr/local/ORBit-0.5.4/popt/po *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/ORBit-0.5.4/popt *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' Current working directory /usr/local/ORBit-0.5.4/popt *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/ORBit-0.5.4 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' From wilhelmi@ira.uka.de Fri Nov 10 04:30:20 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id CD9F92D2CD for ; Fri, 10 Nov 2000 04:30:19 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Fri, 10 Nov 2000 10:30:14 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Fri, 10 Nov 2000 10:30:12 +0100 Message-ID: <3A0BC024.5CB6BE51@ira.uka.de> Date: Fri, 10 Nov 2000 10:30:12 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, Brentley S Felton Subject: Re: ORBit 0.5.4 compilation error(newbie) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Brentley, > I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive > the message when trying to run make after configure (with no options). Any > help with this would be greatly appreciated. > > [bsfelton@opal ORBit-0.5.4]$ make > make all-recursive > Making all in popt > make all-recursive > Making all in intl > Making all in po > make: Fatal error in reader: Makefile, line 90: Macro assignment on > dependency line > Current working directory /usr/local/ORBit-0.5.4/popt/po > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4 > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' It looks like you should install gnu make. (or run it, that is'gmake', when already installed). Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi From Margus.Sutt@mail.ee Fri Nov 10 04:30:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.ee (mail.ee [212.107.32.145]) by mail.gnome.org (Postfix) with SMTP id 38B1B2D2CD for ; Fri, 10 Nov 2000 04:30:25 -0500 (EST) Received: (qmail 16914 invoked from network); 10 Nov 2000 09:30:23 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 10 Nov 2000 09:30:23 -0000 Date: Fri, 10 Nov 2000 11:30:22 +0200 (EET) From: Margus Sutt Subject: php module for CORBA To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Message-Id: <20001110093025.38B1B2D2CD@mail.gnome.org> Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development HI! =09Anyone succeeded compiling php module (satellite), which supposed to add= =0ACORBA connectivity? =09Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS= =0Amade ORBit itself not compileable... =09Is this the right place to ask at all? -mts-- From david@2good.nu Fri Nov 10 08:28:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id AB94B2BAAA for ; Fri, 10 Nov 2000 08:28:13 -0500 (EST) Received: from gwan (david@gwan.roots [10.0.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id OAA26448 for ; Fri, 10 Nov 2000 14:28:02 +0100 From: David Eriksson Date: Fri, 10 Nov 2000 14:28:04 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="ISO-8859-1" To: orbit-list@gnome.org References: <20001110093025.38B1B2D2CD@mail.gnome.org> In-Reply-To: <20001110093025.38B1B2D2CD@mail.gnome.org> Subject: Re: php module for CORBA MIME-Version: 1.0 Message-Id: <00111014280401.01933@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Friday 10 November 2000 10:30, you wrote: >HI! > > Anyone succeeded compiling php module (satellite), which supposed to add >CORBA connectivity? > Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS >made ORBit itself not compileable... > Is this the right place to ask at all? There were changes to the CVS which I had not anticipated, so you will have to use a CVS checkout from a "safe" date. Please see the updated part of the README below. I would have hoped that my contributed patches to ORBit would have made it into ORBit 0.5.4 but obviously they did not. What version of ORBit is required? ---------------------------------- You need a CVS version of ORBit to use Satellite! This does NOT work with ORBit 0.5.3 or earlier. The latest version of ORBit in CVS requires glib-2.0 and has not been tested. Because of this we checkout a CVS version from a know safe date. How to install ORBit from CVS ----------------------------- (1) Get it from CVS CVS root: :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome Password: Empty string Directory: ORBit Safe date: 2000-09-02 (yyyy-mm-dd) More about GNOME:s CVS on http://www.gnome.org/start/source.html Sample session at command line to checkout: $ export CVSROOT=":pserver:anonymous@anoncvs.gnome.org:/cvs/gnome" $ cvs login (Logging in to anonymous@anoncvs.gnome.org) CVS password: $ cvs checkout -D "2000-09-02" ORBit cvs server: Updating ORBit . . . (2) Set the environment variable CERTIFIED_GNOMIE to whatever you like. (3) Run ./autogen.sh, gmake och gmake install How to install ORBit from snapshot ---------------------------------- (1) Download snapshot from one of these addresses: http://download.2good.nu/satellite/ORBit-20000902.tgz http://www.2good.com/satellite/ORBit-20000902.tgz (2) Run ./configure, gmake and gmake install -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From chardros@ashtech.net Fri Nov 10 08:44:49 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ashtech.net (ashtech.pa.net [205.166.61.57]) by mail.gnome.org (Postfix) with SMTP id 43DAA2BAA0 for ; Fri, 10 Nov 2000 08:44:46 -0500 (EST) Received: (qmail 21989 invoked from network); 10 Nov 2000 13:44:32 -0000 Received: from ip134.49.blca.blazenet.net (HELO neptune.jlab.int) (24.104.49.134) by ashtech.pa.net with SMTP; 10 Nov 2000 13:44:32 -0000 Received: (from chardros@localhost) by neptune.jlab.int (8.11.0/8.9.3) id eAADiua16898 for orbit-list@gnome.org; Fri, 10 Nov 2000 08:44:56 -0500 Date: Fri, 10 Nov 2000 08:44:56 -0500 From: Jason Pincin To: orbit-list@gnome.org Subject: Re: php module for CORBA Message-ID: <20001110084441.A16893@neptune.jlab.int> References: <20001110093025.38B1B2D2CD@mail.gnome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001110093025.38B1B2D2CD@mail.gnome.org>; from Margus.Sutt@mail.ee on Fri, Nov 10, 2000 at 11:30:22AM +0200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Where does one aquire this satellite module for php? I've been looking at php-ORBit, which is different. I'd love to take a look at satellite and see how it compares. On Fri, Nov 10, 2000 at 11:30:22AM +0200, Margus Sutt wrote: > HI! > > Anyone succeeded compiling php module (satellite), which supposed to add > CORBA connectivity? > Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS > made ORBit itself not compileable... > Is this the right place to ask at all? > > -mts-- > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From david@2good.nu Fri Nov 10 08:52:38 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id 6F6052BAA0 for ; Fri, 10 Nov 2000 08:52:37 -0500 (EST) Received: from gwan (david@gwan.roots [10.0.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id OAA26606 for ; Fri, 10 Nov 2000 14:52:36 +0100 From: David Eriksson Date: Fri, 10 Nov 2000 14:52:38 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" To: orbit-list@gnome.org References: <20001110093025.38B1B2D2CD@mail.gnome.org> <20001110084441.A16893@neptune.jlab.int> In-Reply-To: <20001110084441.A16893@neptune.jlab.int> Subject: Re: php module for CORBA MIME-Version: 1.0 Message-Id: <00111014523803.01933@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Friday 10 November 2000 14:44, you wrote: >Where does one aquire this satellite module for php? I've been looking > at php-ORBit, which is different. I'd love to take a look at satellite > and see how it compares. It's included in the latest release of PHP 4. Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From genaud@icps.u-strasbg.fr Fri Nov 10 09:27:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id BD94F2BC51 for ; Fri, 10 Nov 2000 09:27:15 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id PAA17766 for ; Fri, 10 Nov 2000 15:27:15 +0100 Message-ID: <3A0C0631.28AAEC79@icps.u-strasbg.fr> Date: Fri, 10 Nov 2000 15:29:05 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: server code segfaults Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, could someone help me with a memory management problem. I have a client asking for a sequence of bytes to be returned by a server. The client gets the correct values but the server segfault once it has returned the sequence. My client code calls : VSERV_image_bytevect *img; .... img = VSERV_image_readpixel(image_obj,&width, &height, &ev); .... if (CORBA_sequence_get_release(img)) CORBA_free(img->_buffer); and after this, the img->_buffer do contains the correct values, img->_length contains was what put in the server, but img->_maximum=0 though the C mappings say (page 1-14) "Upon successful return from the invocation the _maximum member will contain the size of the allocated array". And this is my server-side code : static VSERV_image_bytevect * impl_VSERV_image_readpixel(impl_POA_VSERV_image * servant, CORBA_short * width, CORBA_short * height, CORBA_Environment * ev) { VSERV_image_bytevect *retval; guchar *buff; gulong img_size; retval = VSERV_image_bytevect__alloc(); CORBA_sequence_set_release(retval,TRUE); buff = pbuffer_readpixel_with_dim((gint *)width,(gint *) height); img_size = (gulong) (*width) * (*height) * 3; /* in bytes */ retval->_length = img_size; retval->_buffer = CORBA_sequence_CORBA_octet_allocbuf(img_size*sizeof(guchar) ); memcpy(retval->_buffer, buff, img_size*sizeof(guchar) ); return retval; /* segfaults after this */ } Has someone a clue of what i'm doing wrong or why the server segfaults ? Thanks. From bsfelton@mobilesque.com Fri Nov 10 13:48:59 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from onyx.mobilesque.com (ns.mobilesque.com [204.0.12.98]) by mail.gnome.org (Postfix) with ESMTP id 999A12BDA1 for ; Fri, 10 Nov 2000 13:48:59 -0500 (EST) Received: from diamond (diamond.mobilesque.com [209.39.176.3]) by onyx.mobilesque.com (8.11.0/8.11.0) with SMTP id eAAImxg12404 for ; Fri, 10 Nov 2000 12:48:59 -0600 From: "Brentley S Felton" To: Subject: RE: ORBit 0.5.4 compilation error(newbie) Date: Fri, 10 Nov 2000 12:49:25 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A0BC024.5CB6BE51@ira.uka.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks Sebastian. I will give this a whirl. -----Original Message----- From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On Behalf Of Sebastian Wilhelmi Sent: Friday, November 10, 2000 3:30 AM To: orbit-list@gnome.org; Brentley S Felton Subject: Re: ORBit 0.5.4 compilation error(newbie) Hi Brentley, > I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive > the message when trying to run make after configure (with no options). Any > help with this would be greatly appreciated. > > [bsfelton@opal ORBit-0.5.4]$ make > make all-recursive > Making all in popt > make all-recursive > Making all in intl > Making all in po > make: Fatal error in reader: Makefile, line 90: Macro assignment on > dependency line > Current working directory /usr/local/ORBit-0.5.4/popt/po > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4 > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' It looks like you should install gnu make. (or run it, that is'gmake', when already installed). Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi _______________________________________________ orbit-list mailing list orbit-list@gnome.org http://mail.gnome.org/mailman/listinfo/orbit-list From pbouton@mediabolic.com Fri Nov 10 16:08:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 4E4562DE07 for ; Fri, 10 Nov 2000 16:08:41 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01730 for ; Fri, 10 Nov 2000 14:07:46 -0800 Message-ID: <3A0C71B2.A0584D15@mediabolic.com> Date: Fri, 10 Nov 2000 14:07:46 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit without gnome Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello- Does ORBit rely on gnome? Is it possible to use ORBit without gnome running? It looked like at least the name-server used gnome. If we come up with a different scheme for finding our CORBA servant can we run without gnome? Thanks, Peter Bouton From mas@echo.fr Fri Nov 10 16:12:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id 336352DC35 for ; Fri, 10 Nov 2000 16:12:25 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 9C5A547D8; Fri, 10 Nov 2000 22:12:23 +0100 (CET) To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> From: Roland Mas Date: 10 Nov 2000 22:12:23 +0100 In-Reply-To: Peter Bouton's message of "Fri, 10 Nov 2000 14:07:46 -0800" Message-ID: <8766lvzg3s.fsf@cachemir.echo-net.net> Lines: 26 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Peter Bouton (2000-11-10 14:07:46 -0800) : > Does ORBit rely on gnome? Nope, GNOME relies on ORBit. > Is it possible to use ORBit without gnome running? Completely. > It looked like at least the name-server used gnome. Wrong again, GNOME uses the name-server. > If we come up with a different scheme for finding our CORBA servant > can we run without gnome? No problem. I do it everyday (unless these GNOME guys have a particularly perverse way of hiding processes from me :-) Roland. -- Roland Mas Au royaume des aveugles, il y a des borgnes à ne pas dépasser. -- in Soeur Marie-Thérèse des Batignoles (Maëster) From pbouton@mediabolic.com Fri Nov 10 16:50:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 23E9E2BACA for ; Fri, 10 Nov 2000 16:50:28 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01754 for ; Fri, 10 Nov 2000 14:50:33 -0800 Message-ID: <3A0C7BB9.41FE930E@mediabolic.com> Date: Fri, 10 Nov 2000 14:50:33 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> <8766lvzg3s.fsf@cachemir.echo-net.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks. My confusion arose from the discussion of how the Naming Service works in the Beginner's docs http://icps.u-strasbg.fr/~genaud/ORBIT/x374.htm#COSNAMEINGSERVICE. I assumed the gnome_name_service_get was from the gnome libraries. Is this the same service name lookup approach used for non-gnome apps? Thanks, Pete Roland Mas wrote: > Peter Bouton (2000-11-10 14:07:46 -0800) : > > > Does ORBit rely on gnome? > > Nope, GNOME relies on ORBit. > > > Is it possible to use ORBit without gnome running? > > Completely. > > > It looked like at least the name-server used gnome. > > Wrong again, GNOME uses the name-server. > > > If we come up with a different scheme for finding our CORBA servant > > can we run without gnome? > > No problem. I do it everyday (unless these GNOME guys have a > particularly perverse way of hiding processes from me :-) > > Roland. > -- > Roland Mas > > Au royaume des aveugles, il y a des borgnes à ne pas dépasser. > -- in Soeur Marie-Thérèse des Batignoles (Maëster) > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From pbouton@mediabolic.com Fri Nov 10 16:52:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 7323B2BACA for ; Fri, 10 Nov 2000 16:52:56 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01759 for ; Fri, 10 Nov 2000 14:52:57 -0800 Message-ID: <3A0C7C49.745A8270@mediabolic.com> Date: Fri, 10 Nov 2000 14:52:57 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit with Java Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello- Any code examples out there for using ORBit where the server methods are written in Java? Thanks, Peter Bouton From djohnston@teamlogisco.com Fri Nov 10 17:14:18 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id C18D82BAEE for ; Fri, 10 Nov 2000 17:14:17 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id SAA03339 for ; Fri, 10 Nov 2000 18:11:49 -0500 From: David Johnston Date: Fri, 10 Nov 2000 23:11:49 GMT Message-ID: <20001110.23114900@david.baxterharriss.com> Subject: Orbit's temp. directory To: orbit-list@gnome.org X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On my system, a directory named /tmp/orbit-USERNAME gets created for=20 every user who starts Gnome. I would prefer that this be created in=20 /home/USERNAME/tmp/orbit. How would I go about doing this? Regards, David Johnston djohnston@teamlogisco.com From binnema@djcb.dyndns.org Sun Nov 12 07:22:15 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn75.dh.casema.net [213.17.5.75]) by mail.gnome.org (Postfix) with SMTP id 2F24A2BD79 for ; Sun, 12 Nov 2000 07:22:12 -0500 (EST) Received: (qmail 721 invoked by uid 550); 12 Nov 2000 12:28:37 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 12 Nov 2000 12:28:37 -0000 Date: Sun, 12 Nov 2000 13:30:19 +0100 From: "Dirk-Jan C. Binnema" To: orbit-list@gnome.org Subject: trivial hack to do cmdline oaf queries Message-ID: <20001112133009.A2419@mindcrime.djb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi all, I wrote a little program to do command line oaf queries. It's rather trivial, but I've found it useful, so maybe you will do so as well. There are some improvements that could be made, such as some shortcuts for asking 'repo_ids.has()' etc. If typing OAF queries irritates me enough I might make those improvements. [Hmmm... I assume this is the appropriate list for OAF related stuff. If not, I'm sorry.] Cheers, Dirk-Jan. /* ** lsoaf.c -- trivial hack to do cmdline oaf queries ** ** compile with: ** gcc -o lsoaf lsoaf.c `oaf-config --libs` `oaf-config --cflags` ** ** Copyright (C) 2000 Dirk-Jan C. Binnema ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ** */ #include #include static int do_query (gchar *query, gint argc, gchar *argv[]); static gchar* parse_arguments (gint argc, gchar *argv[]); static gboolean display_server_type= FALSE, display_properties = FALSE, display_location = FALSE, display_username = FALSE, display_hostname = FALSE, display_domain = FALSE, display_all = FALSE; int main (int argc, char *argv[]) { gboolean retval; gchar *query; query = parse_arguments (argc, argv); if (!query) return 1; else { retval = do_query (query, argc, argv); g_free (query); return retval; } } static gchar* parse_arguments (int argc, gchar *argv[]) { poptContext option_context; gchar *query; gchar c; const struct poptOption options[] = { { "location", 'l', POPT_ARG_NONE, &display_location, 0, "show location information", NULL }, { "properties", 'p', POPT_ARG_NONE, &display_properties, 0, "show properties", NULL }, { "username", 'u', POPT_ARG_NONE, &display_username, 0, "show the username", NULL }, { "hostname", 'h', POPT_ARG_NONE, &display_hostname, 0, "show the hostname", NULL }, { "domain", 'd', POPT_ARG_NONE, &display_domain, 0, "show domain", NULL }, { "query", 'q', POPT_ARG_STRING, &query, 0, "search for objects using the given oaf query", NULL }, { NULL, 0, 0, NULL, 0 } }; static gchar* usage_msg = "\n-l : display location" "\n-p : display properties" "\n-u : display user name" "\n-h : display hostname" "\n-d : display domain" "\n-q : an OAF query" "\n\nexample: $ lsoaf -lp -q \"repo_ids.has('IDL:Bonobo/Control:1.0')\"\n"; option_context = poptGetContext (NULL, argc, (const char**)argv, options, 0); poptSetOtherOptionHelp (option_context, usage_msg); if (argc < 2) { poptPrintUsage (option_context, stderr, 0); exit (1); } while ((c = poptGetNextOpt(option_context)) >= 0) g_print ("*** %c\n", c); poptFreeContext (option_context); return g_strdup(query); } static gboolean do_query (gchar* query, gint argc, gchar *argv[]) { CORBA_ORB orb; CORBA_Environment ev; OAF_Property oaf_prop; OAF_ServerInfoList *query_result; OAF_ServerInfo server_info; gint i,j,k, prop_num, string_num; gchar *order_by = NULL; gboolean display_anything = display_server_type || display_properties || display_location || display_username || display_hostname || display_domain; CORBA_exception_init(&ev); orb = oaf_init (argc,argv); if (!orb) g_error ("%s", "failed to initialize orb"); if (!oaf_is_initialized()) g_error ("%s", "failed to initialize oaf"); query_result = oaf_query (query, &order_by, &ev); if (ev._major != CORBA_NO_EXCEPTION) { g_print ( "CORBA exception: %s\n", CORBA_exception_id(&ev)); CORBA_exception_free (&ev); return 1; } for (i = 0; i < query_result->_length; ++i) { server_info = query_result->_buffer[i]; if (display_server_type) g_print ("type : %s\n", server_info.server_type); if (display_location) g_print ("location : %s\n", server_info.location_info); if (display_username) g_print ("username : %s\n", server_info.username); if (display_hostname) g_print ("hostname : %s\n", server_info.hostname); if (display_domain) g_print ("domain : %s\n", server_info.domain); if (display_properties) { prop_num = query_result->_buffer[i].props._length; for (j=0; j < prop_num; ++j) { oaf_prop = query_result->_buffer[i].props._buffer[j]; g_print ("property [%d]: '%s' => ", j+1, oaf_prop.name); switch (oaf_prop.v._d) { case OAF_P_STRING: g_print ("\"%s\" (string)\n",oaf_prop.v._u.value_string); break; case OAF_P_NUMBER: g_print ("%d (number)\n",oaf_prop.v._u.value_number); break; case OAF_P_BOOLEAN: g_print ("%s (boolean)\n",oaf_prop.v._u.value_number?"true":"false"); break; case OAF_P_STRINGV: string_num = oaf_prop.v._u.value_stringv._length; for (k = 0; k < string_num; ++k) { g_print ("\"%s\"", oaf_prop.v._u.value_stringv._buffer[k]); if ( k < string_num - 1) g_print (", "); } g_print (" (string list [%d])\n", string_num); break; default: g_print ("error: unknown type\n"); } } } if (display_anything) g_print ("\n"); } if (CORBA_sequence_get_release (query_result)) CORBA_free(query_result->_buffer); CORBA_exception_free (&ev); return 0; } +--------------------------------------------------+ Dirk-Jan C. Binnema http://www.casema.net/~devnull -------------------------------------------------- PGP/GPG fingerprint: BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F +--------------------------------------------------+ From garry.chan@alumni.ust.hk Sun Nov 12 09:55:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailgw.ust.hk (mailgw.ust.hk [143.89.14.35]) by mail.gnome.org (Postfix) with ESMTP id 9EF502BC87 for ; Sun, 12 Nov 2000 09:55:21 -0500 (EST) Received: from dma100 (dma100.resnet.ust.hk [143.89.220.100]) by mailgw.ust.hk (8.11.0/8.11.0) with SMTP id eACErBP11853 for ; Sun, 12 Nov 2000 22:53:11 +0800 (HKT) Message-ID: <002801c04cb8$9ce487d0$64dc598f@resnet> From: "Garry Chan" To: References: Date: Sun, 12 Nov 2000 22:55:33 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Subject: (no subject) Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi all, I want to unsubscribe to this mailing list. I know that this is not the right address to do so. I have tried to submit my request to orbit-list-request@cuc.edu but got a error message reply. Could anyone tell me the correct way to unsubscribe? Thank you Gary From simon.britnell@peace.com Sun Nov 12 16:03:53 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id 9FAB12BBBA for ; Sun, 12 Nov 2000 16:03:51 -0500 (EST) Message-ID: <3A0F044A.1020104@peace.com> Date: Mon, 13 Nov 2000 09:57:46 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit with Java References: <3A0C7C49.745A8270@mediabolic.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development For this you're best to look at the examples that come with the Java ORB you're using (we find JacORB to be good). Peter Bouton wrote: > Hello- > > Any code examples out there for using ORBit where the server methods are > written in Java? From sopwith@redhat.com Sun Nov 12 16:43:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 8240D2BBBA for ; Sun, 12 Nov 2000 16:43:22 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eACLhMV00857 for ; Sun, 12 Nov 2000 16:43:22 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Sun, 12 Nov 2000 16:43:22 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001110.23114900@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri, 10 Nov 2000, David Johnston wrote: > On my system, a directory named /tmp/orbit-USERNAME gets created for > every user who starts Gnome. I would prefer that this be created in > /home/USERNAME/tmp/orbit. How would I go about doing this? Basically, you can hack the ORBit code yourself It would be a really bad idea. /home is very often on NFS, and UNIX sockets on an NFS-mounted path don't work on a number of operating systems, and the directory is per-[machine,user], not simply per-user. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Sun Nov 12 16:44:10 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 757A82BBBA for ; Sun, 12 Nov 2000 16:44:10 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eACLiAK00898 for ; Sun, 12 Nov 2000 16:44:10 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Sun, 12 Nov 2000 16:44:10 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: trivial hack to do cmdline oaf queries In-Reply-To: <20001112133009.A2419@mindcrime.djb.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, 12 Nov 2000, Dirk-Jan C. Binnema wrote: > I wrote a little program to do command line oaf queries. There is already one included in OAF - oaf-client -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From binnema@djcb.dyndns.org Sun Nov 12 17:19:51 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn75.dh.casema.net [213.17.5.75]) by mail.gnome.org (Postfix) with SMTP id 84C7C2BBBA for ; Sun, 12 Nov 2000 17:19:49 -0500 (EST) Received: (qmail 2117 invoked by uid 550); 12 Nov 2000 22:26:24 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 12 Nov 2000 22:26:24 -0000 Date: Sun, 12 Nov 2000 23:28:10 +0100 From: "Dirk-Jan C. Binnema" To: orbit-list@gnome.org Subject: Re: trivial hack to do cmdline oaf queries Message-ID: <20001112232800.D2419@mindcrime.djb.nl> References: <20001112133009.A2419@mindcrime.djb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from sopwith@redhat.com on Sun, Nov 12, 2000 at 04:44:10PM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun Nov 12, 2000 at 04:44:10PM -0500, Elliot Lee wrote: -> On Sun, 12 Nov 2000, Dirk-Jan C. Binnema wrote: -> -> > I wrote a little program to do command line oaf queries. -> -> There is already one included in OAF - oaf-client yeah, i know, but I didn't like the name... [ok, this is silly.... at least I had fun while coding.] --Dirk-Jan. +--------------------------------------------------+ Dirk-Jan C. Binnema http://www.casema.net/~devnull -------------------------------------------------- PGP/GPG fingerprint: BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F +--------------------------------------------------+ From andrewm@treshna.com Sun Nov 12 23:24:33 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp4.ihug.co.nz (smtp4.ihug.co.nz [203.109.252.5]) by mail.gnome.org (Postfix) with ESMTP id 28E4E2BCCA for ; Sun, 12 Nov 2000 23:24:31 -0500 (EST) Received: from nikita.treshna.com (p7-max7.chc.ihug.co.nz [203.173.225.135]) by smtp4.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id RAA11379 for ; Mon, 13 Nov 2000 17:24:22 +1300 X-Authentication-Warning: smtp4.ihug.co.nz: Host p7-max7.chc.ihug.co.nz [203.173.225.135] claimed to be nikita.treshna.com Received: from nikita.treshna.com ([101.101.101.1] helo=treshna.com) by nikita.treshna.com with esmtp (Exim 3.16 #1 (Debian)) id 13vBAB-0006fM-00 for ; Mon, 13 Nov 2000 17:24:11 +1300 Message-ID: <3A0F6CEB.9148A9A5@treshna.com> Date: Mon, 13 Nov 2000 17:24:11 +1300 From: Andrew Murie X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test9 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Java + ORBit Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I'm attempting to write a Java client to communicate with a server written in C, using ORBit. I beleive I have used the -IIOPIPV4=1 option correctly, and it ought to be able to connect, but still the Java client just throws COMM_FAILURE exceptions. The ORBit server is running on Linux, and the Java client on WinNT4. There doesn't appear to be a network problem, so I suspect a configuration problem. I'm copying the stringified object reference from the Linux box to the NT machine, as I haven't gotten around to setting up the name service. Can anyone offer any suggestions for getting this to work? From cactus@cactus.rulez.org Mon Nov 13 00:38:47 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from booster.telnet.hu (booster.telnet.hu [212.75.128.38]) by mail.gnome.org (Postfix) with ESMTP id 8D8722BC26 for ; Mon, 13 Nov 2000 00:38:46 -0500 (EST) Received: from sendmail.telnet.hu ([212.75.128.13] ident=qmailr) by booster.telnet.hu with smtp (Exim 3.12 #1 (Debian)) id 13vCKI-00070x-00 for ; Mon, 13 Nov 2000 06:38:42 +0100 Received: (qmail 1274 invoked from network); 13 Nov 2000 05:38:41 -0000 Received: from port060.bp1.telnet.hu (HELO mail.cactus) (212.75.128.188) by mail.telnet.hu with SMTP; 13 Nov 2000 05:38:41 -0000 Received: from ds9.cactus (really [10.0.0.1]) by mail.cactus via smail with esmtp id (Debian Smail3.2.0.102) for ; Mon, 13 Nov 2000 06:38:11 +0100 (CET) Date: Mon, 13 Nov 2000 06:38:10 +0100 (CET) From: ERDI Gergo X-Sender: cactus@ds9.cactus To: orbit-list@gnome.org Subject: Re: Java + ORBit In-Reply-To: <3A0F6CEB.9148A9A5@treshna.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, Andrew Murie wrote: > configuration problem. I'm copying the stringified object reference from > the Linux box to the NT machine, as I haven't gotten around to setting > up the name service. Use the ior-decode utility on the Linux box to make sure ORBit is using TCP transport (you should see a TAG_INTERNET_IOP part) --=20 .--=3D ULLA! =3D----------------------------. finger cactus@cactus.rule= z.org \ http://cactus.rulez.org \ for PGP public key `----------=3D cactus@cactus.rulez.org =3D--' A szinon=EDma olyan sz=F3, amit akkor haszn=E1lsz, ha nem tudsz valamit hel= yesen le=EDrni. From MVerwerft@nedcar.nl Mon Nov 13 03:20:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from nedcar.nl (unknown [193.172.11.178]) by mail.gnome.org (Postfix) with ESMTP id 9AE242BB05 for ; Mon, 13 Nov 2000 03:20:57 -0500 (EST) Received: by gateborn.nedcar.nl id <117125>; Mon, 13 Nov 2000 09:22:05 +0100 Message-Id: <00Nov13.092205cet.117125@gateborn.nedcar.nl> From: "Verwerft, Marc" To: "'orbit-list@gnome.org'" Subject: RE: Java + ORBit Date: Mon, 13 Nov 2000 09:20:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Maybe your client can send out only giop1.2 requests ? Or write a small client test program in orbit for windoze ? At least you'll know whether or not it is related to the two different products (Orbit and ...) and not to network settings, firewall configurations, etc. > ---------- > From: Andrew Murie[SMTP:andrewm@treshna.com] > Reply To: orbit-list@gnome.org > Sent: Monday 13 November 2000 05:24 > To: orbit-list@gnome.org > Subject: Java + ORBit > > I'm attempting to write a Java client to communicate with a server > written in C, using ORBit. I beleive I have used the -IIOPIPV4=1 option > correctly, and it ought to be able to connect, but still the Java client > just throws COMM_FAILURE exceptions. > > The ORBit server is running on Linux, and the Java client on WinNT4. > There doesn't appear to be a network problem, so I suspect a > configuration problem. I'm copying the stringified object reference from > the Linux box to the NT machine, as I haven't gotten around to setting > up the name service. > > Can anyone offer any suggestions for getting this to work? > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From dick@dick.i2it.co.uk Mon Nov 13 05:03:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dick.i2it.co.uk (dick.i2it.co.uk [212.250.92.12]) by mail.gnome.org (Postfix) with ESMTP id BC2382CB10 for ; Mon, 13 Nov 2000 05:02:35 -0500 (EST) Received: (from dick@localhost) by dick.i2it.co.uk (8.8.7/8.8.7) id KAA00875 for orbit-list@gnome.org; Mon, 13 Nov 2000 10:02:34 GMT Date: Mon, 13 Nov 2000 10:02:34 +0000 From: Dick Porter To: orbit-list@gnome.org Subject: Re: (no subject) Message-ID: <20001113100234.Y10471@dick.i2it.co.uk> References: <002801c04cb8$9ce487d0$64dc598f@resnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <002801c04cb8$9ce487d0$64dc598f@resnet>; from garry.chan@alumni.ust.hk on Sun, Nov 12, 2000 at 10:55:33PM +0800 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, Nov 12, 2000 at 10:55:33PM +0800, Garry Chan wrote: > Hi all, > > Could anyone tell me the correct way to unsubscribe? You could try following the URL at the bottom of every message (I'm posting this publically to head off the spate of me too! :-) ) > > Thank you > Gary - Dick From jp.roumian@mobileway.com Mon Nov 13 11:36:26 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.fr.uu.net (smtp2.fr.uu.net [194.98.0.8]) by mail.gnome.org (Postfix) with ESMTP id A16062CFF2 for ; Mon, 13 Nov 2000 11:36:26 -0500 (EST) Received: from brainwasher.iway.fr (brainwasher.iway.fr [212.208.127.1]) by mail.fr.uu.net (Postfix) with ESMTP id C97C431EE8 for ; Mon, 13 Nov 2000 17:36:11 +0100 (MET) Received: from mobileway.com ([194.98.169.20]) by brainwasher.iway.fr (8.9.3/8.8.7) with ESMTP id RAA10951354 for ; Mon, 13 Nov 2000 17:33:23 +0100 (MET) Message-ID: <3A1018B9.8E14C32E@mobileway.com> Date: Mon, 13 Nov 2000 17:37:13 +0100 From: jean-paul roumian X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Deconnection detection. Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGVsbG8sDQoNCldoZW4gSSB1c2UgdGhlICdlY2hvLWNsaWVudC9zZXJ2ZXIgJyBmcm9tIGV4 YW1wbGVzIGluIE9SQml0IHNvdXJjZSwNCmlmIHRoZSBlY2hvLXNlcnZlciBpcyBraWxsZWQg d2l0aCBLSUxMIHNpZ25hbCwgdGhlIGVjaG8tY2xpZW50IGlzDQpoYW5naW5nLiAoIG9uIGEg c2VsZWN0IGNhbGwNCmluIGNvbm5lY3Rpb24uYywgZ2lvcF9jaGVja19jb25uZWN0aW9ucywg YmxvY2tfZm9yX3JlcGx5IGlzIFRSVUUpLg0KDQpJdCdzIHZlcnkgYW5ub2luZyBmcm9tIG15 IHBvaW50IG9mIHZpZXcgLiAob3VyIHNvZnR3YXJlcyB1c2UgY29ubmVjdGlvbg0KdGltZW91 dHMsIGFuZCByZXRyeSBtZWNhbmlzbXMpDQoNCkkndmUgZm91bmQgaW4gdGhlIG9yYml0LWxp c3QgYXJjaGl2ZXMgYWJvdXQgdGltZW91dHMsIGFuZCBJICd2ZQ0KY29uY2x1ZGVkIHRoYXQ6 IChjb3JyZWN0IG1lIGlmIEknbSB3cm9uZykNCg0KKiAgSUlPUCBpcyBidWlsdCBvdmVyIFRD UCwgc28gbm8gZGVjb25uZWN0aW9uIGRldGVjdGlvbiAoU09fS0VFUEFMSVZFIGlzDQoNCm5v dCBmbGV4aWJsZSBlbm91Z2ggKG5vIHBlci1jb25uZWN0aW9uIHRpbWVvdXQsICBub3Qgd2Vs bC1pbXBsZW1lbnRlZA0KZXZlcnkgVENQIHN0YWNrLC4uLikpLg0KKiBvbmx5IGEgbm9vcCBt ZXNzYWdlIGltcGxlbWVudGVkIG9uIGEgaGlnaGVyIGxheWVyIGNhbiBhY2hlaXZlIHRoaXMu DQoNCiogSXMgaXQgYSBiYWQgdGhpbmcgdG8gc2V0IHRoZSBzZWxlY3QgdGltZW91dCBieSBh biBvcmJpdC1zcGVjaWZpYyBhcGkNCmNhbGwsIGFuZCB0byBpbXBsZW1lbnQgYSAiTk9PUCIg bWVzc2FnZSBtZWNhbmlzbSAodW5kZXIsaW5zaWRlIG9yIG92ZXINCnRoZSBJSU9QIGxheWVy ID8pLiAoSScgZG9uJ3QgbWFzdGVyaXNlIElJT1Agc3BlY3MuLi4pDQoqIENhbiB0aGUgZXhj ZXB0aW9uIHJhaXNlZCBzYXkgcHJlY2lzZWx5ICJjb25uZWN0aW9uIHRsbWVvdXQiLCBub3Qg anVzdA0KY29tbSBmYWlsdXJlID8NCg0KVGhhbmtzLg0KDQo= From djohnston@teamlogisco.com Mon Nov 13 11:48:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 23A862BB71 for ; Mon, 13 Nov 2000 11:48:05 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id MAA14018 for ; Mon, 13 Nov 2000 12:45:07 -0500 From: David Johnston Date: Mon, 13 Nov 2000 17:45:07 GMT Message-ID: <20001113.17450700@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/12/00, 4:43:22 PM, Elliot Lee wrote regarding= =20 Re: Orbit's temp. directory: > On Fri, 10 Nov 2000, David Johnston wrote: > > /tmp/orbit-USERNAME gets created for every user who starts Gnome. > > I would prefer ... /home/USERNAME/tmp/orbit. How? > you can hack the ORBit code yourself... > It would be a really bad idea. /home is very often on NFS, and UNIX > sockets on an NFS-mounted path don't work on a number of operating > systems, and the directory is per-[machine,user], not simply per-user.= > -- Elliot Elliot, thanks for the explanation. I figured you did it that way for a reason.= Why aren't the orbit directories in /tmp removed when Orbit shuts down? = =20 Is the cookie intended to be persistent across Orbit sessions? Regards, David From dthompson@characterlink.net Mon Nov 13 12:01:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from clobntmail01.characterlink.net (clobntmail01.characterlink.net [207.27.152.48]) by mail.gnome.org (Postfix) with ESMTP id B70F32BC9C for ; Mon, 13 Nov 2000 12:01:27 -0500 (EST) Received: from darrint.thompsons (0a-19.ccrtc.com [205.243.45.25]) by clobntmail01.characterlink.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-38059U5000L500S0) with SMTP id AAA330 for ; Mon, 13 Nov 2000 10:53:19 -0600 From: dthompson@characterlink.net (Darrin Thompson) Date: Mon, 13 Nov 2000 17:01:35 GMT Message-ID: <20001113.17013500@darrint.thompsons> Subject: Re: Deconnection detection. To: orbit-list@gnome.org In-Reply-To: <3A1018B9.8E14C32E@mobileway.com> References: <3A1018B9.8E14C32E@mobileway.com> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development If you have time requirements that are this stringent, you probably=20 should be using an ORB built with those kind of requirements in mind. TA= O=20 is an example of these that is open enough for most people. ORBit is=20 quick and light, but introducing a time requirement on a corner case lik= e=20 what you have described is the domain of big fat bloated ORBs. Again,=20 look into the capabilities of TAO. Darrin On 11/13/00, 11:37:13 AM, jean-paul roumian =20 wrote regarding Deconnection detection.: > Hello, > When I use the 'echo-client/server ' from examples in ORBit source, > if the echo-server is killed with KILL signal, the echo-client is > hanging. ( on a select call > in connection.c, giop_check_connections, block_for_reply is TRUE). > It's very annoing from my point of view . (our softwares use connectio= n > timeouts, and retry mecanisms) > I've found in the orbit-list archives about timeouts, and I 've > concluded that: (correct me if I'm wrong) > * IIOP is built over TCP, so no deconnection detection (SO_KEEPALIVE = is > not flexible enough (no per-connection timeout, not well-implemented > every TCP stack,...)). > * only a noop message implemented on a higher layer can acheive this. > * Is it a bad thing to set the select timeout by an orbit-specific api= > call, and to implement a "NOOP" message mecanism (under,inside or over= > the IIOP layer ?). (I' don't masterise IIOP specs...) > * Can the exception raised say precisely "connection tlmeout", not jus= t > comm failure ? > Thanks. > =A2=B6=E2=B6X=AC=B6f=A2=96)=E0=96+-=A2=B6=E2=B6X=AC=B6 =E8=99=EA= +=82=1Bm=A7=FF=E6j)`=9E=89=9E=A2=B8?=99=A8=A5=99=A9=FF=96+-=8Aw=E8=FE=8A= =DB=8A=D9b From sopwith@redhat.com Mon Nov 13 12:04:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 7464A2BC9C for ; Mon, 13 Nov 2000 12:04:24 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eADH4Ol07175 for ; Mon, 13 Nov 2000 12:04:24 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 13 Nov 2000 12:04:24 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.17450700@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > thanks for the explanation. I figured you did it that way for a reason. > > Why aren't the orbit directories in /tmp removed when Orbit shuts down? > Is the cookie intended to be persistent across Orbit sessions? . The cookie file is created by gnome, not ORBit. It usually stays around there "just because". . The orb-* UNIX socket connection points are usually removed by ORBit when the application exits, but may be left around if the application crashes or is killed. . The /tmp/orbit-username directory itself doesn't get removed because multiple programs and libraries can be using the one directory. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From djohnston@teamlogisco.com Mon Nov 13 12:28:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 64D542D4C3 for ; Mon, 13 Nov 2000 12:28:23 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id NAA14220 for ; Mon, 13 Nov 2000 13:26:03 -0500 From: David Johnston Date: Mon, 13 Nov 2000 18:26:03 GMT Message-ID: <20001113.18260300@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/13/00, 12:04:24 PM, Elliot Lee wrote regardin= g=20 Re: Orbit's temp. directory: > On Mon, 13 Nov 2000, David Johnston wrote: > > Why aren't the orbit directories in /tmp removed when Orbit shuts do= wn? > > Is the cookie intended to be persistent across Orbit sessions? > . The cookie file is created by gnome, not ORBit. It usually stays aro= und > there "just because". > . The orb-* UNIX socket connection points are usually removed by > ORBit when the application exits, but may be left around if the > application crashes or is killed. > . The /tmp/orbit-username directory itself doesn't get removed because= > multiple programs and libraries can be using the one directory. Thanks. Since you mentioned application crashes, I have a related question. I=20 have had problems with my X server locking up or crashing from time to=20 time. When it goes down, some X applications seem to stay up. A ps=20 listing shows that their parent is init instead of the X session. I'm=20 curious: when X comes back up, is there a way to reconnect to these "los= t=20 children?" -David From sopwith@redhat.com Mon Nov 13 12:31:52 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 958622D389 for ; Mon, 13 Nov 2000 12:31:52 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eADHVqb11773 for ; Mon, 13 Nov 2000 12:31:52 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 13 Nov 2000 12:31:52 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.18260300@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > Since you mentioned application crashes, I have a related question. I > have had problems with my X server locking up or crashing from time to > time. When it goes down, some X applications seem to stay up. A ps > listing shows that their parent is init instead of the X session. I'm > curious: when X comes back up, is there a way to reconnect to these "lost > children?" No. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From djohnston@teamlogisco.com Mon Nov 13 14:51:49 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 2E5672BEB8 for ; Mon, 13 Nov 2000 14:51:49 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id OAA14433 for ; Mon, 13 Nov 2000 14:29:03 -0500 From: David Johnston Date: Mon, 13 Nov 2000 19:29:03 GMT Message-ID: <20001113.19290300@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/13/00, 12:31:52 PM, Elliot Lee wrote regardin= g=20 Re: Orbit's temp. directory: > On Mon, 13 Nov 2000, David Johnston wrote: > > Since you mentioned application crashes, I have a related question. = I > > have had problems with my X server locking up or crashing from time = to > > time. When it goes down, some X applications seem to stay up. A ps= > > listing shows that their parent is init instead of the X session. I= 'm > > curious: when X comes back up, is there a way to reconnect to these = "lost > > children?" > No. Dear Mr. Coolidge: why not? -David From andrewm@treshna.com Mon Nov 13 22:47:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp2.ihug.co.nz (smtp2.ihug.co.nz [203.109.252.8]) by mail.gnome.org (Postfix) with ESMTP id 4F5422BE8A for ; Mon, 13 Nov 2000 22:47:03 -0500 (EST) Received: from nikita.treshna.com (p33-tnt1.chc.ihug.co.nz [203.173.227.33]) by smtp2.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id QAA00815 for ; Tue, 14 Nov 2000 16:46:58 +1300 X-Authentication-Warning: smtp2.ihug.co.nz: Host p33-tnt1.chc.ihug.co.nz [203.173.227.33] claimed to be nikita.treshna.com Received: from castle.treshna.com ([101.101.101.4] helo=treshna.com) by nikita.treshna.com with esmtp (Exim 3.16 #1 (Debian)) id 13vX3i-0000g7-00 for ; Tue, 14 Nov 2000 16:46:58 +1300 Message-ID: <3A10B6AB.21222C73@treshna.com> Date: Tue, 14 Nov 2000 16:51:07 +1300 From: Andrew Murie X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Java + ORBit (solved) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks to the people who helped with this problem. It turned out that the IOR file had the correct host name in it, but the DNS server didn't connect it to the correct IP address, so nothing could work. (this is on the local LAN) fixing the winNT settings solved the problem, and it's working fine now. From dsdan@sesa.nju.edu.cn Tue Nov 14 01:09:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sesa.nju.edu.cn (sesa.nju.edu.cn [202.119.44.17]) by mail.gnome.org (Postfix) with ESMTP id 034FF2BD68 for ; Tue, 14 Nov 2000 01:09:47 -0500 (EST) Received: from netra (coff218.nju.edu.cn [202.119.44.12]) by sesa.nju.edu.cn (8.9.3/8.8.7) with SMTP id OAA15496 for ; Tue, 14 Nov 2000 14:11:01 +0800 Message-ID: <008c01c04e02$23945a40$0c2c77ca@nju.edu.cn> From: "DSD" To: Subject: why echo example can not communicate in different machine? Date: Tue, 14 Nov 2000 14:14:23 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0089_01C04E45.306047A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. ------=_NextPart_000_0089_01C04E45.306047A0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SSB1c2UgdGhlIGVjaG8gZXhhbXBsZSBhcyBteSBmaXJzdCBPcmJpdCBsZXNzb24uIFRoZSBjbGll bnQgY2FuIHJlY2VpdmUgdGhlIG1lc3NhZ2UgaWYgdGhlIHNlcnZlciBydW5zIGluIHRoZSANCnNh bWUgbWFjaGluZS4gQnV0IHdoZW4gSSBtb3ZlIHRoZSBjbGllbnQgdG8gYW5vdGhlciBtYWNoaW5l LCBpdCB3aWxsIGdpdmUgbWUgdGhlIGZvbGxvdyBtZXNzYWdlOg0KIHdlIGdvdCBleGNlcHRpb24g MiBmcm9tIGVjaG9TdHJpbmchDQpJIHVzZSBlY2hvLXNlcnZlciAtT1JCSUlPUElQdjQ9MSB0byBy dW4gc2VydmVyIHByb2dyYW0uYW5kIGNhbGwgZWNoby1jbGllbnQgLS1PUkJJSU9QSVB2ND0xIGlu IGNsaWVudC4NCkNhbiBhbnlvbmUgb2ZmZXIgYW55IHN1Z2dlc3Rpb25zIGZvciB0aGUgcHJvYmxl bT8NCg== ------=_NextPart_000_0089_01C04E45.306047A0 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWdi MjMxMiIgaHR0cC1lcXVpdj1Db250ZW50LVR5cGU+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNS4w MC4yNjE0LjM1MDAiIG5hbWU9R0VORVJBVE9SPg0KPFNUWUxFPjwvU1RZTEU+DQo8L0hFQUQ+DQo8 Qk9EWSBiZ0NvbG9yPSNmZmZmZmY+DQo8RElWPjxGT05UIHNpemU9Mj5JJm5ic3A7dXNlIHRoZSBl Y2hvIGV4YW1wbGUmbmJzcDthcyBteSBmaXJzdCBPcmJpdCBsZXNzb24uIFRoZSANCmNsaWVudCBj YW4gcmVjZWl2ZSB0aGUgbWVzc2FnZSBpZiB0aGUgc2VydmVyIHJ1bnMgaW4gdGhlIDwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPnNhbWUgbWFjaGluZS4gQnV0IHdoZW4gSSBtb3ZlIHRo ZSBjbGllbnQgdG8gYW5vdGhlciBtYWNoaW5lLCANCml0IHdpbGwgZ2l2ZSBtZSB0aGUgZm9sbG93 IG1lc3NhZ2U6PC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+Jm5ic3A7d2UgZ290IGV4 Y2VwdGlvbiAyIGZyb20gZWNob1N0cmluZyE8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9 Mj5JIHVzZSBlY2hvLXNlcnZlciAtT1JCSUlPUElQdjQ9MSB0byBydW4gc2VydmVyIHByb2dyYW0u YW5kIA0KY2FsbCBlY2hvLWNsaWVudCAtLU9SQklJT1BJUHY0PTEgaW4gY2xpZW50LjwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPkNhbiBhbnlvbmUmbmJzcDtvZmZlciZuYnNwO2FueSBz dWdnZXN0aW9ucyBmb3IgdGhlIA0KcHJvYmxlbT88L0ZPTlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4N Cg== ------=_NextPart_000_0089_01C04E45.306047A0-- From Rolf.Beutner@telekom.de Tue Nov 14 04:14:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from fw1a.telekom.de (gw1.telekom.de [194.25.15.11]) by mail.gnome.org (Postfix) with SMTP id 57F082BBA9 for ; Tue, 14 Nov 2000 04:14:22 -0500 (EST) Received: by fw1a.telekom.de; (5.65v4.0/1.3/10May95) id AA19650; Tue, 14 Nov 2000 10:14:17 +0100 Received: from Q8N09.bmbg01.telekom.de by U9JWN.mgb01.telekom.de with ESMTP for orbit-list@gnome.org; Tue, 14 Nov 2000 10:10:18 +0100 Received: from u8n10.bmbg01.telekom.de by q8n09.bmbg01.telekom.de with ESMTP for orbit-list@gnome.org; Tue, 14 Nov 2000 10:08:23 +0100 Received: by U8N10 with Internet Mail Service (5.5.2650.21) id ; Tue, 14 Nov 2000 10:08:22 +0100 Message-Id: <6B1E772C5C61D4119FEF009027CAA1E406590B@U8NM3.bmbg01.telekom.de> From: "Beutner, Rolf" To: orbit-list@gnome.org Cc: Markus.Hirche@telekom.de Subject: Connection of a client using ORBit to connect to another CORBA-compliant Server(Jaguar/Sybase-DB-ORB) Date: Tue, 14 Nov 2000 10:07:36 +0100 Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello List, I want to connect a client with to a so called corba-compliant server via corba. The server uses the "IIOP implementation, allows you to use any CORBA-compliant client ORB to invoke Jaguar components" - so far the datasheet of Jaguar, the ORB of the Sybase Database. Now I have the IOR of the Server (using Jaguar-ORB) and the IDL-Files. My local ORBit-installation works fine, I have some servers and some clients, also at different machines, which can do their corba-talk. I have a Java-Client which can communicate to the Sybase-DB, BUT with the jaguar-java-orb-classes. telnet to the Sybase-machine/port works fine, there's no firewall - so there should not be a general communication problem. Now my questions: I'm using "-ORBIIOPIPv4=1". What else have I to do to be able to do this ORB-to-ORB-communication? Have I to use the orbit-ird or any other orbit-tool? When I try to connect I get the error-message "Can't get interface". Thanks in advance!!! Regards Rolf Beutner --------------------------------------------------------------------- MATERNA Information & Communications [eMail] mailto:Rolf.Beutner@telekom.de From genaud@icps.u-strasbg.fr Tue Nov 14 05:32:23 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 4CF7E2BE74 for ; Tue, 14 Nov 2000 05:32:22 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id LAA05047 for ; Tue, 14 Nov 2000 11:32:21 +0100 Message-ID: <3A111535.4C7E6480@icps.u-strasbg.fr> Date: Tue, 14 Nov 2000 11:34:29 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> <8766lvzg3s.fsf@cachemir.echo-net.net> <3A0C7BB9.41FE930E@mediabolic.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Peter Bouton wrote: > > Thanks. My confusion arose from the discussion of how the Naming > Service works in the Beginner's docs > http://icps.u-strasbg.fr/~genaud/ORBIT/x374.htm#COSNAMEINGSERVICE. I > assumed the gnome_name_service_get was from the gnome libraries. Is > this the same service name lookup approach used for non-gnome apps? > Yes, gnome_name_service_get() is from the gnome libraries as the name says. Storing a service IOR in the X11 properties is a "gnome trick" and not generalized to all CORBA applications. In a simple CORBA app., you would have to start orbit-name-server which would output its IOR, register your service against this name-server with CosNaming_Namingcontext_bind(), and then a client can ask the name server the reference to this service (provided it knows the name server IOR of course) wih CORBA_ORB_resolve_initial_service(). S.G. From chris_favret@yahoo.com Tue Nov 14 10:21:21 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web1604.mail.yahoo.com (web1604.mail.yahoo.com [128.11.23.204]) by mail.gnome.org (Postfix) with SMTP id 004402BC0E for ; Tue, 14 Nov 2000 10:21:20 -0500 (EST) Received: (qmail 25806 invoked by uid 60001); 14 Nov 2000 15:45:31 -0000 Message-ID: <20001114154531.25805.qmail@web1604.mail.yahoo.com> Received: from [208.209.44.10] by web1604.mail.yahoo.com; Tue, 14 Nov 2000 07:45:31 PST Date: Tue, 14 Nov 2000 07:45:31 -0800 (PST) From: Christopher Favret Subject: Re: why echo example can not communicate in different machine? To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I had a similar problem. I don't know if it's exactly the same but my problem was with my DNS. Once I added the each machine to the others hosts file it worked fine. Make sure you can ping the machines by their names. If you can't then that's probably the problem. Also, somewhere there is an ior-decode program which will allow you to decode an IOR and see what name the ORBs are looking for (just in case it's different than the host name). --- DSD wrote: > I use the echo example as my first Orbit lesson. The > client can receive the message if the server runs in > the > same machine. But when I move the client to another > machine, it will give me the follow message: > we got exception 2 from echoString! > I use echo-server -ORBIIOPIPv4=1 to run server > program.and call echo-client --ORBIIOPIPv4=1 in > client. > Can anyone offer any suggestions for the problem? > ===== Christopher P. Favret chris_favret@yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ From tlewis@secureworks.net Tue Nov 14 11:46:30 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id DBC972BABE for ; Tue, 14 Nov 2000 11:46:29 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id MAA15212 for ; Tue, 14 Nov 2000 12:47:00 GMT (envelope-from tlewis@secureworks.net) Date: Tue, 14 Nov 2000 11:46:29 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, 12 Nov 2000, Elliot Lee wrote: > Basically, you can hack the ORBit code yourself > > It would be a really bad idea. /home is very often on NFS, and UNIX > sockets on an NFS-mounted path don't work on a number of operating > systems, and the directory is per-[machine,user], not simply per-user. But you don't _really_ know that /tmp is not on NFS either. Would it not be better to have the default be overrideable with an environmental orbit-path variable (or something) and then have ORBit always check to confirm that UDSs work in whatever directory it is using, raising a fatal error if not? -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz From tlewis@secureworks.net Tue Nov 14 12:34:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id 1DE2B2BAC4 for ; Tue, 14 Nov 2000 12:34:32 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id NAA15569 for ; Tue, 14 Nov 2000 13:34:59 GMT (envelope-from tlewis@secureworks.net) Date: Tue, 14 Nov 2000 12:34:28 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.19290300@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > > No. > > Dear Mr. Coolidge: > why not? Dear Mr. Historian: Because of X. -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz From sopwith@redhat.com Tue Nov 14 12:50:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1D90A2CF17 for ; Tue, 14 Nov 2000 12:50:50 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEHooq00928 for ; Tue, 14 Nov 2000 12:50:50 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 12:50:49 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Todd Lewis wrote: > But you don't _really_ know that /tmp is not on NFS either. If /tmp is on NFS, then you are running a diskless workstation anyways and there's no place to hide. Even more important than having /tmp on local storage is making sure that it is system-specific and not shared between a bunch of systems. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From simon.britnell@peace.com Tue Nov 14 13:10:13 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id 287582BF26 for ; Tue, 14 Nov 2000 13:10:12 -0500 (EST) Message-ID: <3A117E9B.3080505@peace.com> Date: Wed, 15 Nov 2000 07:04:11 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I don't know if I should laugh or cry. Elliot Lee wrote: > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg > Address had 286 words, the Declaration of Independence, 1,300 words and finally the > European Commission's regulation on the sale of cabbage: 26,911 words." From cb@gosargon.com Tue Nov 14 14:41:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 2226E2BAFB for ; Tue, 14 Nov 2000 14:41:40 -0500 (EST) Received: (qmail 7499 invoked from network); 14 Nov 2000 19:41:39 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 19:41:39 -0000 Message-ID: <3A119575.2E80CAA8@gosargon.com> Date: Tue, 14 Nov 2000 14:41:41 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Beginner ORBit/C problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Greetings all, I am trying to learn to use ORBit/Goad from C, I apologize if this is not quite the right forum for a more GNOME/ORBit related question (if not, please direct me to it) I'm new at GNOME, ORBit/CORBA, and Linux programming in general, so please don't be too critical ;) I wrote a very simple program just to test my understanding of some of the simpler Gnorba functions - while my program compiles, it will not link, and I've spent quite a few hours adding -l directives, trying to guess exactly what I have to link against. So far I've got this command line: g++ -o goadtest goadtest.cpp -I/usr/lib/glib/include -I/usr/include -I/usr/lib/gnome-libs/include -L/usr/lib -lORBit -lIIOP -lORBitutil -lglib -lm -lgnorba -lgnomesupport -lgdk -lgtk -lgnorbagtk -lgnome -lesd -ldb -lgnomeui -lart_lgpl -lpopt It seems to me that that's a heck of a lot of libraries to link against, so I must be missing something. That's the list I've got so far, I get undefined reference errors from ld, so I've been trying to guess where they might be defined - often when I add a new link command, it resolves previous errors, buts adds new ones. For example, when I added -lgnome I suddenly got a lot of errors for esd* functions, so I had to add -lesd Currently, I'm down to only a few errors: /usr/bin/ld: warning: libdb.so.2, needed by /usr/lib/libgnomeui.so, may conflict with libdb.so.3 /tmp/ccqGd5mG.o: In function 'main': /tmp/ccqGd5mG.o:(.text+0x38): undefined reference to 'gnorba_CORBA_init(int *, char **, GnorbaInitFlags, CORBA_Environment_type *)' /tmp/ccqGd5mG.o:(.text+0x38): relocation truncated to fit: R_PPC_REL24 gnorba_CORBA_init(int *, char **, GnorbaInitFlags, CORBA_Environment_type *) /tmp/ccqGd5mG.o:(.text+0x44): undefined reference to 'goad_server_list_get(void)' /tmp/ccqGd5mG.o:(.text+0x44): relocation truncated to fit: R_PPC_REL24 goad_server_list_get(void) /tmp/ccqGd5mG.o:(.text+0xb0): undefined reference to 'goad_server_list_free(GoadServerList *)' /tmp/ccqGd5mG.o:(.text+0xb0): relocation truncated to fit: R_PPC_REL24 goad_server_list_free(GoadServerList *) collect2: ld returned 1 exit status Given the names of those functions, I though that libgnorba would provide them, but that appears not to be the case. What am I missing? My system: PowerMac G4 450MP YellowDog Linux CS 1.2.1 Helix Gnome 1.2 ( I *think* I installed all the development packages) XFree 4.01 gcc version 2.95.2 Any help is appreciated! Chris Backas From Igor.Borojevic@ireland.sun.com Tue Nov 14 14:48:51 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id B9E762BAAF for ; Tue, 14 Nov 2000 14:48:50 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA25888 for ; Tue, 14 Nov 2000 11:48:48 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.9) with ESMTP id TAA24043 for ; Tue, 14 Nov 2000 19:48:46 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id TAA15373 for ; Tue, 14 Nov 2000 19:48:43 GMT Message-ID: <3A11971A.A043DB9A@ireland.sun.com> Date: Tue, 14 Nov 2000 19:48:42 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: OAF questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Is there any examples of using oaf? What I want to do is to launch some applications i.e. gcalc or applets i.e. geyes_applet. And, of course, I want to "see" them on my desktop after I "activate" them. Here's the code that doesan't work yet.. -- #include #include int main (int argc, char **argv) { CORBA_Environment ev; OAF_ActivationContext ac; OAF_ServerInfoList *slist; CORBA_ORB orb; CORBA_Object obj; const OAF_ActivationID aid = "control_center"; OAF_ActivationFlags flags = OAF_FLAG_PRIVATE;/* = OAF_FLAG_NO_LOCAL;*/ OAF_ActivationID *ret_aid; CORBA_exception_init (&ev); orb = oaf_init (argc, argv); if ( oaf_is_initialized() ) printf("OAF initialized...\n"); obj = oaf_activate_from_id (aid, flags, ret_aid, &ev); printf("That's all folks.\n"); CORBA_exception_free (&ev); exit(0); } -- From sopwith@redhat.com Tue Nov 14 15:26:15 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id BCA6E2CB43 for ; Tue, 14 Nov 2000 15:26:15 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEKQFE20091 for ; Tue, 14 Nov 2000 15:26:15 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 15:26:15 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems In-Reply-To: <3A119575.2E80CAA8@gosargon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Chris Backas wrote: > Greetings all, > > I am trying to learn to use ORBit/Goad from C, I apologize if this is > not quite the right forum for a more GNOME/ORBit related question (if > not, please direct me to it) I'm new at GNOME, ORBit/CORBA, and Linux > programming in general, so please don't be too critical ;) > > I wrote a very simple program just to test my understanding of some of > the simpler Gnorba functions - while my program compiles, it will not > link, and I've spent quite a few hours adding -l directives, trying to > guess exactly what I have to link against. So far I've got this command > line: > g++ -o goadtest goadtest.cpp -I/usr/lib/glib/include -I/usr/include > -I/usr/lib/gnome-libs/include -L/usr/lib -lORBit -lIIOP -lORBitutil > -lglib -lm -lgnorba -lgnomesupport -lgdk -lgtk -lgnorbagtk -lgnome -lesd > -ldb -lgnomeui -lart_lgpl -lpopt > > It seems to me that that's a heck of a lot of libraries to link against, > so I must be missing something. g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs gnorba gnomeui` -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Tue Nov 14 15:35:38 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 99B9F2BAAF for ; Tue, 14 Nov 2000 15:35:38 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEKZc021644 for ; Tue, 14 Nov 2000 15:35:38 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 15:35:38 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: OAF questions In-Reply-To: <3A11971A.A043DB9A@ireland.sun.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer wrote: > Is there any examples of using oaf? > > What I want to do is to launch some applications i.e. gcalc or applets > i.e. geyes_applet. OAF activates CORBA objects, not applications or applets. There is a rather important distinction here... Applications are just executables that get run. Applets are applications that implement CORBA objects that the panel communicates with. To launch applications, you have to run the executable. OAF does not help you here. To launch/use an applet, you have to use the panel, because there is a lot more to an applet's activation and functionality than just activating the CORBA object. The panel will eventually use OAF (for GNOME 2.0), but currently it uses GOAD. It seems that OAF is pretty irrelevant in what I think you want to do (test applications and applets). -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From cb@gosargon.com Tue Nov 14 16:03:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 80D732BAA8 for ; Tue, 14 Nov 2000 16:03:54 -0500 (EST) Received: (qmail 9502 invoked from network); 14 Nov 2000 21:03:55 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 21:03:55 -0000 Message-ID: <3A11A8BB.576982C7@gosargon.com> Date: Tue, 14 Nov 2000 16:03:55 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > > It seems to me that that's a heck of a lot of libraries to link against, > > so I must be missing something. > > g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs gnorba gnomeui` > Thanks, that's a *much* easier way to come up with the command line ;) However, it did not fix the linkage errors with the goad_server_list_get() , goad_server_list_free() and gnorba_CORBA_init() functions. These are still showing as undefined for some reason (same errors as I posted earlier) Chris Backas From gthomson@targetnet.com Tue Nov 14 16:54:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp.tor3.targetnet.com (smtp.tor3.targetnet.com [207.176.132.71]) by mail.gnome.org (Postfix) with ESMTP id 15F1D2BA85 for ; Tue, 14 Nov 2000 16:54:24 -0500 (EST) Received: from gw-101.tor1.targetnet.com ([216.13.75.130] helo=wrk120) by smtp.tor3.targetnet.com with smtp (Exim 3.16 #1) id 13vo1m-000Hyd-00 for orbit-list@gnome.org; Tue, 14 Nov 2000 16:54:07 -0500 From: "Garret Thomson" To: Subject: RE: Beginner ORBit/C problems Date: Tue, 14 Nov 2000 16:55:01 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A11A8BB.576982C7@gosargon.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Here's a general way to troubleshoot unresolved symbols: Note that 'nm' will display the symbols in a given library. So you can kinda search for symbols in libraries with it: [gthomson@mybox /usr/local/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' [gthomson@mybox /usr/X11R6/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' (The -C flag demangles C++ function names) Unfortunately, I'm not booted onto the freeBSD side of my box so I can't show you the results ... try out a 'man nm' It may be that you'll find them in the same libs that the gnome-config spits out below, in which case, I can't help ya, but hey, you can't go wrong by learning more .. ;) Garret > -----Original Message----- > From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On > Behalf Of Chris Backas > Sent: Tuesday, November 14, 2000 4:04 PM > To: orbit-list@gnome.org > Subject: Re: Beginner ORBit/C problems > > > > > It seems to me that that's a heck of a lot of libraries to > link against, > > > so I must be missing something. > > > > g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs > gnorba gnomeui` > > > > Thanks, that's a *much* easier way to come up with the command > line ;) However, it > did not fix the linkage errors with the goad_server_list_get() , > goad_server_list_free() and gnorba_CORBA_init() functions. These > are still showing as > undefined for some reason (same errors as I posted earlier) > > Chris Backas > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > > From cb@gosargon.com Tue Nov 14 17:29:02 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 268D82D055 for ; Tue, 14 Nov 2000 17:27:26 -0500 (EST) Received: (qmail 11384 invoked from network); 14 Nov 2000 22:27:24 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 22:27:24 -0000 Message-ID: <3A11BC4D.9A6EE2A@gosargon.com> Date: Tue, 14 Nov 2000 17:27:25 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Garret Thomson wrote: > Here's a general way to troubleshoot unresolved symbols: > > Note that 'nm' will display the symbols in a given library. So you can kinda > search for symbols in libraries with it: > > [gthomson@mybox /usr/local/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' > [gthomson@mybox /usr/X11R6/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' > > (The -C flag demangles C++ function names) > > Unfortunately, I'm not booted onto the freeBSD side of my box so I can't > show you the results ... try out a 'man nm' > It may be that you'll find them in the same libs that the gnome-config spits > out below, in which case, I can't help ya, but hey, you can't go wrong by > learning more .. ;) > > Garret Thanks, that's a useful little utility to know about, and the results were interesting. gnorba_CORBA_init appears to be in (surprise surprise) libgnorba. I see this output from nm: libgnorba.so:0000a04c T gnorba_CORBA_init libgnorba.so:00007438 T goad_server_list_get libgnorba.so:00007b34 T goad_server_list_free Those are the three functions in question. So now I'm quite a bit more confused than before, they're there, but the linker doesn't "see" them. Any thoughts? Thanks! Chris Backas From velco@fadata.bg Tue Nov 14 17:43:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id BE3F12BE0D for ; Tue, 14 Nov 2000 17:43:42 -0500 (EST) Received: (qmail 12066 invoked by uid 1000); 14 Nov 2000 22:48:40 -0000 To: orbit-list@gnome.org Subject: Can't invoke a collocated object from inside the servant From: Momchil Velikov Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_15_00:48:39_2000-1" Content-Transfer-Encoding: 7bit Date: 15 Nov 2000 00:48:40 +0200 Message-ID: <87em0ew4on.fsf@fadata.bg> Lines: 133 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: text/plain; charset=US-ASCII Hi, I'm unable to invoke a operation from inside a servant. The invoked object is received as a parameter and is in the same process as the invoking object. Attached is the test program: server.c is the server program client.c is the client program Server-impl.c is the object implementations. Regards, -velco --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: application/octet-stream; type=tar+gzip Content-Disposition: attachment; filename="orbperf.tar.gz" Content-Transfer-Encoding: base64 H4sIAOm/EToAA+09a3PbOJL5av4KnDOZlTySLeppy4lrE8WT9awTp2xnaqput1g0RUmckUkd SSmZy+Z++zXeAF+ibEvOroWaiikA/UAD6G40HhOENzM3HB08W2NqNNrNXqcDfxtmr9NQ//L0 rNFrNtqtVq/X7D5rmGan1XuGOutkiqd5FNshQs8W7tQJCuotK/83TQHr//f2H+7Im7rroNEw G41uu53T/2aj3euI/u+0m1C/BeXPUGMdzCTTE+//58ZzNJgEQeQi20cXl2/2ETIgE77QKwSj w3bmEf8Z24EoufU9Q1TyYsMgmILbGQyisIamnv8HcodeHMAPN3Yo2sv3UD+8RfWRYQwG8D12 HGPw8/nrd1fwoz6G3N9+gy/np5+M5/ApSi6ahvoTKp6/5fXO37J8Q3yRGpihc+8mtEPPhSYY 52dvcJFheCP3f1DlhwqwX61Bm6q06CcAOz+YR+HBNHDs6QGUHEy9G1SfXr++gH9fD04N1x96 owQGLAoFxRT/hoIWfMbO7HNoz979nWXHk9C1h9lYqKhzeGGljJ+LN/DPL9cD+HdWjNKLq7zd P1SiiTud0u6qO4E/8saoXgeMEYrccOGGVY4FS+5j6M7CwHGjKAjRaGqPsQjTkht8/Chk/vbT 1alFZPX2b69/PbU+Xry2Bp8uL08/XKP6WUKynu9M50MXujkTQ171/A5I4bl4/+EMPi3ry2HX ssgXjMr5F/Z9cfXr6eXV2cUHy3rVBIL7xd2SRn/55vXg01V2Y/f1FvDuK2wF7S2FTk6POaQ3 svrs7O05ctgUzOwtXIFMY8sbTvEv0aR3LmrAvzkDiQiYAuPvBDCq3zhfvhSLjwJniOTG8w8S +IznKmd1P6hD5fotaBM79gK/SHqMRyKwZBPze5hBWleXA1zzikh2H8O708hVi95N/5xNcIlW KQMrEfe70w/Wz2fnp7QzRwHMVGeCvBr84DirNSTTPwyUSD9UZnYczW+iGL3AtGovBvsTgPeq q0B4K0M4s5mAKQNxtTJXVytzdbU6V9a1wldZCG9lCM5X1SBdzsZKfo+vqw/uIh/JO2b94s0v lHXejv4LXOPVi/2gWqAa1jHQ9ycrD6m/7zuO0pil/bAcRaY8HE0cOQpvVZGUlElNSKQsCO5g CVQGxIr+cKeSVHkQRqqk9Fdt+10bonG1+gCn5uH+3ZnZm6iwO9Mg4AXc3gb+vsMgy4BgIUQC ohxIDD/3V5pLK7b90RqSOQCWdv/Z+48J96Du3c5gbNEShlQtCZjvoAAS5+GMgDmsLvulYQGx cqC0trk6vfyVV6Qe4H7AIXB2lbWMfBuD8w/XvLYz9Vw/JrVlBcOeTvto7PoRiMq+nTGcrLJh 0J99gBGEq8bOD5Xzt5gQW29VUR2w/lWrhEth3VE1nKlr+/0+Brp8X+X4vSDE0YZsYfN29XkL HQw9GAAdB/AOGFH4Yr4yfL80DN7APm9qKTAmVwqCGypkVtRQWSmvoVyC0Hmoj4iSIez89hvn h61n0w0RIM7KEKUEZcj+7it+rHRuMRaY2lU6wxmk4vB6Iz/da1kwEiMV804czEF3SPpJqSkl hpyi1b5WAN9WcPN71NeHMp52Il9OCCNJgwIRZV7V83iHKrNJzDE+ujjE3v8ZxmMHbx4g8fif 6Kk10CiO/zUanV6Xxf/MRhPXM1uthrmN/20iPYe5PHRH6OfQjZzAIsOABAeeQ67nu+kC4zYY zqe8wPgKVtjzYxhDtuOi69CG6RLZ02NDyyfgkPOV2OxF4A3RTTD8E1U8n5ahcfVYlsUUjUvK BU4Uq3UWXuTFmRW+JYiLcp0BjYjKRBKelP1sO3EQ/ilQUIBb+w/XGpPPCmNOckMKY/GzwpHD f8+pPnzs3pfzX2r3h6exbP63mzz+b5qdDt7/abW77e3830RKzH86DLIUgFJiPGdxTPRSmI2T tF7Q5tCVE7quL2bPNPDH+gQkOX4N6fOZ/C6am5QtfVayqQo+Q2yN2DefnZQPUhTRz+9yWm4s afafrEYmk4emsWT+m+1Gm87/ZrPVbvbw/O+1e9v5v4nE5/+Y2nfsQk8mFhKzP5kPc3+E67ON GqkKdskIGuxPdpN5VySPb1NIcLw/k6wLoy+7Lt1sUTTPxZuDAc7dn5ykkaR4YCEtiXseeVjf 2LduNMN6hGqtY7xYsKNILtVhWTWb30w9B+ENHlqr36fuzFeDFvUNpABgfQIZCy+M56DCFF+H cjKLQ6JxtArMmRGaL7uWVJjpisYsDGLXid2hYMdawMjGpC2i3FjTBGh+86TDpDYxhxW1Vd90 ATJFvESO3LPKoiWQpz0tXkUTRZbPJfQ6OthDyQGN9g6ekrpPpbT+d5yHprFE/zcbXXb+p9lt gQkg+r/V3Or/TaSEnmQewK5Qvsm9bcP9Aq6Xjz4GYWzfTF3qf/X7g3kYun5MVM4ssB36U3hU hiHQs1nPdCVZPxIdhV4hTS30+5bvsRlsGFjpqDgSGhW8w0JMw/kMNIsdg74aZyPM0a2wpKRL 3BGqEHvT73sRZYzQ2vf8SrVapatKqsTpIpREf3FuXD+RuBWYTC6y7ACwgL7yupr2VrlOiQJz /F8ay9B0yujX3N6lgfRk5+IarGNBtrJ76yfYj4ZS4V6nYS9ufgerdDYkCLDlSCMISBVYWiho pAQwXKx0qSjBA8QOw+AzqgDG+ok3tOLACt2RC6jBpFeAGusejnWs9kXM++G56KtEDZ2JihVP vAhRfGxcY5BvuCOF+I2k5ev3NdNF+kbOgD1siaB1vvtZ5mJ2QzeewzzDxfUTTpmMGW1w5JFT TSAhqZt9laxeQrsgl/pj66ttetikx3/WswBctv5rNrty/Ufiv22z1dra/00kvv6LWHiH+cWW WAAmC5BZsAakoyixCKSZJVeBLA55z2Ugx5JmY9WFII0X5a9gWFwra+3CbO+5HupScmv62qWG spdScmrmsEBDYCoLCkhiOaqaC+otpIJkvCptmqikhMvSS02OEdtJhs3CuBgOnE3h2VJUWZCl BtgTX5FtNmXo/wdfAC7T/y185h/0f6vTNDtNqv/NbfxvIympH8UCsGBhyHVv7N26WO8aik4z pMJUVyeqLvQTeg9H+VOrFxXAIxoMU7NihLsLAEB/0J2A9LpsXEX/+hdKZMZs6cMc27pJoAky fCIacKNKg6i/UQCuvgeZjWPkoZfIhz8//VRNr+XohgQwoiGQzrPahAquVqf0qBcvxc01uLoi ToXP9rBWVdcJSiHhmildqII/VaddqGGKCPSwzxDJbIyCKWh8sAiqJBYdSbuh8a/bENIAJgMV TF+Gc4aVxbA0OCnswvioyGl9HS1rhIL1sWfY9524/ucnrR48+PesRPyv00zG/1qt7f7vRpLU 5qMoDl37VnGjX0be2LenWa718jhhuQAhKJucikr4j7vqHtS/tT0f7xfHyA7HTg05Ezvcw9+L //4nVQ4HB+jM92LPnnr/66J44lJFjC+FSLsC/9KAVHgDLCiZno/jbxQ3xgrkdyjSd25MsIVB EGP/W0FG41cE383v9P5J/QS882C6cAlGYEYGpqLK7iXgABS7xILkRdtCWilDRJArgl8VIMm1 XUFYrxRjqLILUKwDKHNlu4oF4hRmeK8R4b12Ym+BFbQqwb9E0J2+PSb79xltfE8LiTBuxyG+ OkhFAlZ44lqyBl23QJX6ic0IMcMHpAcwqhlhpuQQ0pdIe1G44BZR5B7n9S+IC5vIcJGwsUDq I12cSVLo7OKSkmOoruIQlpsElReEvEdYADQOrIiUEzkCHS5KggHwfw491hIMHMxhQAbIRuQk LXQxm8G4oLLLTtjSXsRVX74kUPBnNJ1HE4n1cu4TnPg2p7vAPT0NghmGIqNl7m8jf/+5idt/ fmT6Eex/q9lh57+aYPa71P6b2/vfG0mKsSeqRzX/GR6BF6Tz2BVkshJcLTKoHBlZKTD4sGdG soKF8hwJx8vCoVeD0w+n1tvTj9d/QzCsRf75xcVHa3Dx6cM1zm7khxXBdTGynBi0pzoxd3BT yGKYWQCwG7oBYHYF8o7J8Tl0ckJ/CEtIY3TEEHITLK06NgQUBTZS1FxBAwJYMGCTxfbEspfj gFPdJP3KNtocZpN2B7b/lxhHGLExk6ZzFxeC8Kd8705ZudNdt4LYIzfQ6eBmBoOsQkkm6T4e g1nOJPU1klFQlT/tGGKW/Eh5WRFi+RGAUvJL7LKKPcNXvIH1k4wDNZpfZaOpF8XgfFDJRNTd keePJqAaamhMoPB3Crd6pmcMpbiSiMNoYSAZk1FmoRKd4XKRxB3eeKeQLNv4pWcKHOl1kXx8 dUoRmRD6NQ759ImYqcTV2JCiDg6wQqhJ4RL0NdJMSkntqDtg76wTubk25GXxsmHb2Lqga0nc /2P3lvfjL/GD01h2/r/F7/80e52Wyc5/Nbb+3yYSVmyx+yXegb9DO7bxX3QTReTv0HXI34n7 ZQf7EtidAYAe3qeHArPT7jRJBbOLfx/2DjsNkt9r2jvUhQqgftPstLq4XrfH6iOE6zUPm4eH JN89bOwo53QxUMfsmriyCYPnkBJpYKBuE0YK/j3qwG/mu2EA87DRIxU7zSONSqvVIwCdm7a9 o+4CB1uFos5/L17L7C8x/1sNMf+bTfL+F1YJ2/m/gXSX+Q9TqW3SGUanIptpkN+l+c2WyWYa v+ePZyhqHlE9IOqzvyL/BmYwg6OX/QlY6+ionQUm8kdHtgAjF/63M7ts4vM/toM1zf4S939b PWn/6fxvdLb7PxtJd7L/rcbREbas3dYhnZCtLv57dHTYwvnmYWc02mHBHWLLj9pdbJrNo26v q9jy3lGzTRyJVufQ2WGXhQJDm+oJDSN+m20GYF1TGq12u0toNLrUX2gSp6TX7BG3wDQdYf4p V+1m67BDqB9xt4Q4Dp1uu3lE5OF0hzv89Fp5thgE4euxu3dpSu7/roPGsvM/Zqsr3v9sdcj9 /2Zje/9jIykZBqWP16ix0JdRPPQCEt0ttwFLo5k8ukgiODgWi4OYYlPNOvUXXhj4t3i7yV3g fO2eMQsCprdHyW2DWWAT3EpY1JJR0R9lWLSGdulbgOTNQfyM4G4N/egu+NYmQFfS+KsKyqLN UkAHBPhebo3jTSPkG5l8czKLqGXhYGBiXxNYpPwKrg1+YBJYJ0cm9evZlkOjchKShmXJXqNs VcaGI24LxazAzaAwHpFILz0bRbYOUQWGRDCPq3oHW+HcZ4gogm3A5vtP+vlPNvsfmMbS/b8u 8//w6Z9ul57/3Or/jaTM8/95x//56f/0zpkR/zlzCZ44nDsxsQPyjDp9PYbgsvGlwHyljrT3 ZsTlZfq2UxLh8TKy8iGJEqQzqKiv2ZRoIH93ogSxnBYxDEvJsVcs7kSIwi4nIe3wSn3GhaDe AkhwLS4CpHljVt8wtGGgGjoaJhR2LpupmrGDU9rV2EPUtJE77Blohy5II8DvEmV1D4AzeVAC Gb4MJ5AagSoxue1Wrh35DUm1Q0Gd2xbJVLI9OC1tk9bNKRny3diSLUPFNLP7SdAo7i7O4x6l xZu6vIVsoGr+FR205Vq1SoM44tymMGZSXbW8FeypxQIv8eFawRDnt4Iys0Ir5BWhpA3aXhB6 uJTl/232/k+zY5ri///SabeI/9fYxv83k9K3eXIjAsbB3t4ewmdjXTxRyVv8CMfbEb4PGGB3 IkJQ5cAwIlzqkJdijLSVZS//lbCwWtG4SHMXU1ReGitBFVuklKkstBvF1PlLhWVI35lujheQ 33LFCzCEKRY2MiF5WWMpMypkWhjcdKtncIqN90ouis6DfMeomA/leFMZRwKV8CQYI7QCftvO yDD6+Z2TafSVtrPX8kRuxrBJlpWfRBlNNzKMvXa4rpy9L0ua3arOIcpPzJWiiZZ4mFSrubMF WwfNw6QWSzhJVxT5GztyLQvDZSg4XIaLXpEzaR8+nZ/XcPPBl7FmIQ0B4s0W7MnoxbDmpvdW wmAe4/V3qgas2Oz5lL66olT6dizYTQzePCaX8EcIV8azgLy1WEU/ZrUTFHnNWF6Pj/MydYmy hIpKg1aQv1R830sfKAuyfGbv1RdpZX9n8Wmq8XuRoL7kK2T5/mM6bZ9KDNpsY0J74S7dwMzD 99IBfImaw+a9hJ6whHceuazOdyMyth7OYfN+IkuZ3+IhmrKcbGASw7cotHwpU7LItiUL2aAf 881hLbuYlCzTnSnCytH1HOJpW5BiQNPAOUzo6idbAOIKQpEckno1WxyKKqtp+iM9H1O88HsG OVwk1EqKvpzPOaLgozpNmF0hySOsT840YTEranJkXuGVpaetNvnwLF5iLA1v5TmDJASuecuh Gy9scgw9Z/Hmu5/zI+T86Tu0F9z87tH3KiQA/r9fWvCzkbPoqCGT7LlKiPoJ+9hngs6YTLgk CSWe7UsW8NcS2Rbum19OB9fWh7Pz44zNDYvtrieFyrRyVUFcQ2wnnDQ7dW+YtJRvhYvLRKRj MnBQ3kYwMsmtWG/I36dbkHsqGagZhsRjgNn45QUD3tX8ocX7bg4ULDroVsvysVIgPqWN+NlE tatrKCnCDPihm+oAHQehXdgJmWMErKhXMEaSnI0ZTpZPH+zYcPAo8Vgm6wlLXL/SJgvhnN42 0mqH7tS1Izez+rEh4iqpKUeh1ddJGchSOaw1pKU/eVpaJLmhL9HvsuvFm5sFIau4hjLluVQ4 a4q4gVi+pbf2jGyP4iGskGQq3xIpcbz1WCNBYFWLpLtohVYp2+l7uhbnXtu4T8jsKHJap+lZ MZ6ud0d5O/Qtc489P3hdah+32A3JCnMv8XpFNHyNzi+jcScfWF2MlVU6ulifrt650/GK1A7N E1JAusAeUAc93jaa+sReweJal1vCL3vkDbi8JmR4Z9nNKNiHKncQqIzSZZt8+eqW7wKuR9FS 7KuqWCXGVFa5cpE9XbV6t0NeSyfpf5gu5VJ6QC36b7T/Lt/9odhLvXqbXJrT8IF4/zZZHCuL 9fu9hFu8ah/LZX7u87gV2dZqxvu4Wmg46yTAg2hgAlKkgWmFdWlgl963WVEDuyLYXjrSqzwP vHw1IS1hginxQHCRQVShM/YOnrARcO9yRvbJGQEmpTW50hs5z6S6n3mB3tTUzPOhN3YWaiWu mS4QTD/2OdZtultKvv+5DhrL3v9um21+/6/bpf//Z7Ozff9zI6nwGUzl6veK7182yl4W1x3e B7gurjvwEbvsVnhHTSlWHPjUZUT1JcP73Dw3lCvcEkP6eU1yk5rIyvynvLUuHpDMtwWRq17j RsqjmAUGLwkk/5d7xfEafgRJNo698rgsXJUApC8tVlSoaq4Zol0h2pdYpxS/Dqn1qfZA5Moc J9GxzWlY/Th6pey94rFeKfnSJL98T15U7KMX0+E//N2aPsCVZRc724Uynp6sISkw+vTBA6Du rA2zuR7MaaTG9nnJbdqmbXq66f8BrXRoOwCgAAA= --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_15_00:48:39_2000-1-- From Igor.Borojevic@ireland.sun.com Wed Nov 15 06:23:39 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id 99CE82CECA for ; Wed, 15 Nov 2000 06:23:38 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA00376 for ; Wed, 15 Nov 2000 03:23:35 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.9) with ESMTP id LAA15099 for ; Wed, 15 Nov 2000 11:23:33 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA15769 for ; Wed, 15 Nov 2000 11:23:28 GMT Message-ID: <3A127230.268E5CF9@ireland.sun.com> Date: Wed, 15 Nov 2000 11:23:28 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Chris Backas wrote: > Thanks, that's a useful little utility to know about, and the results were > interesting. > > gnorba_CORBA_init appears to be in (surprise surprise) libgnorba. I see this > output from nm: > libgnorba.so:0000a04c T gnorba_CORBA_init > libgnorba.so:00007438 T goad_server_list_get > libgnorba.so:00007b34 T goad_server_list_free > > Those are the three functions in question. > > So now I'm quite a bit more confused than before, they're there, but the linker > doesn't "see" them. Any thoughts? Thanks! echo $LD_LIBRARY_PATH /opt/gnome/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib If you don't have gnome/lib in path try adding it, might help. Regards, Igor Borojevic From attuomin@cc.helsinki.fi Wed Nov 15 07:59:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by mail.gnome.org (Postfix) with ESMTP id BC42B2BC61 for ; Wed, 15 Nov 2000 07:59:35 -0500 (EST) Received: from localhost (attuomin@localhost) by sirppi.helsinki.fi (8.10.1/8.10.1) with ESMTP id eAFCxY112516 for ; Wed, 15 Nov 2000 14:59:34 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: attuomin owned process doing -bs Date: Wed, 15 Nov 2000 14:59:34 +0200 (EET) From: Antti T Tuominen To: Subject: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I'm aiming this mostly at Sebastian, buy I though that maybe others would like to know as well. I'm using ORBit-mt-0.5.3a and found two bugs regarding octet sequences. I believe that the _maximum field in a sequence should be the allocated size of the _buffer, and the _length field is the used part of that buffer. I'm getting _maximum -values like 3210738884 on the server side immediately after a sequence is passed to a function as a parameter. Another issue is that sometimes the content of the _buffer gets corrupted as well. I put together a piece of code demonstrating the bugs, it is available at http://www.cs.helsinki.fi/u/attuomin/demo.tgz Regards, Antti -- main(m){char*s="O@DDDQ@DD@QM__D_SDDDQQDDDQQLLL",O=1;for(;*s;(m*=2)>32&&++O%6 ?s++,m=1:2)putchar(*s&m?"\n" "Antti: www.helsinki.fi/~attuomin" [O%6]:32);} From velco@fadata.bg Wed Nov 15 10:16:13 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from relay1-us.simplemente.net (relay1.us.simplemente.net [216.167.121.82]) by mail.gnome.org (Postfix) with ESMTP id 0CBF42BAAE for ; Wed, 15 Nov 2000 10:16:13 -0500 (EST) Received: from emerald.fadata.bg (emerald.fadata.bg [212.56.7.195]) by relay1-us.simplemente.net (Postfix) with SMTP id 3F765D7824 for ; Wed, 15 Nov 2000 10:16:08 -0500 (EST) Received: (qmail 21056 invoked from network); 15 Nov 2000 14:18:27 -0000 Received: from merlin.da.fadata.bg (HELO fadata.bg) (192.168.4.130) by emerald.fadata.bg with SMTP; 15 Nov 2000 14:18:27 -0000 Received: (qmail 11936 invoked by uid 1000); 15 Nov 2000 17:21:52 -0000 To: orbit-list@gnome.org Subject: Wrong default activation policy Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: Momchil Velikov Date: 15 Nov 2000 17:21:52 +0000 Message-ID: <87ofzhm9qn.fsf@fadata.bg> Lines: 10 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Both ORBit-0.5.4 and ORBit-mt-0.5.3a create the POAs with the NO_IMPLICIT_ACTIVATION policy, which contradicts to the CORBA spec. Regards, -velco PS. No patch is provided, it is a three chars change in orbit_poa.c:296. From cb@gosargon.com Wed Nov 15 12:35:57 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 0E16D2DC63 for ; Wed, 15 Nov 2000 12:35:57 -0500 (EST) Received: (qmail 1129 invoked from network); 15 Nov 2000 17:35:57 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 15 Nov 2000 17:35:57 -0000 Message-ID: <3A12C97F.EF3EB0D3@gosargon.com> Date: Wed, 15 Nov 2000 12:35:59 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> <3A127230.268E5CF9@ireland.sun.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > > echo $LD_LIBRARY_PATH > /opt/gnome/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib > > If you don't have gnome/lib in path try adding it, might help. > I have the following in /etc/ld.so.conf: /usr/lib /usr/lib/qt-2.1.0/lib /usr/lib/qt-1.45/lib /usr/X11R6/lib /usr/local/lib All the gnome libs I can find on my system live in /usr/lib, including libgnorba, which is the one in question. I'm fairly stumped, there must be an easy answer, but I can't see it =P Thanks for trying guys, I appreciate it! Chris Backas From remal@telnor.com Wed Nov 15 13:54:08 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id 1827F2DB88 for ; Wed, 15 Nov 2000 13:54:08 -0500 (EST) Received: from telnor.com (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id KAA11274; Wed, 15 Nov 2000 10:53:56 -0800 (PST) Message-ID: <3A12DC59.31A66B61@telnor.com> Date: Wed, 15 Nov 2000 10:56:25 -0800 From: Rene Maldonado Organization: Telefonos del Noroeste S.A de C.V. X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, CORBA Subject: NamingService Content-Type: multipart/mixed; boundary="------------04802409470805CD8A5004E8" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------04802409470805CD8A5004E8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I'm trying to use the Naming Service whith the CosNaming Interface, I'm using ORBit 0.4.3 with Redhat 6.2 I'm using as a guide the example5 from http://www.nd.edu/~rgarcia4/orbit/examples/example5/account.idl and I can't run the server, in my example is reloj-server after the next line is executed, the name_serv is NULL name_serv = CORBA_ORB_resolve_initial_references(orb,"RootPOA", ev); and in the next line the server crash reloj= CosNaming_NamingContext_resolve(name_serv, name, ev); whith the next message: Segmentation fault (core dumped) I have readed in other mail's from this list that I have to do the next: orbit-name-server > ior & yourserver -ORBNamingIOR = 'cat ior' yourclient -ORBNamingIOR = 'cat ior' but when I do that, I get the same message (Segmentation fault ...) after the nexy line root_poa = (PortableServer_POA) CORBA_ORB_resolve_initial_references(orb, "RootPOA", ev); What can I do, or where can I find some information about this problem. Thanks --------------04802409470805CD8A5004E8 Content-Type: text/x-vcard; charset=us-ascii; name="remal.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="remal.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------04802409470805CD8A5004E8-- From velco@fadata.bg Wed Nov 15 14:10:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id D3BE12CBE6 for ; Wed, 15 Nov 2000 14:10:37 -0500 (EST) Received: (qmail 30530 invoked by uid 1000); 15 Nov 2000 19:15:23 -0000 To: orbit-list@gnome.org Cc: CORBA Subject: Re: NamingService References: <3A12DC59.31A66B61@telnor.com> From: Momchil Velikov In-Reply-To: Rene Maldonado's message of "Wed, 15 Nov 2000 10:56:25 -0800" Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII Date: 15 Nov 2000 21:15:23 +0200 Message-ID: <87r94dcaic.fsf@fadata.bg> Lines: 12 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development >>>>> "Rene" == Rene Maldonado writes: Rene> orbit-name-server > ior & Rene> yourserver -ORBNamingIOR = 'cat ior' Rene> yourclient -ORBNamingIOR = 'cat ior' Did you misspell in the message or on the command line - it should be with back quotes - `cat ior` ? Regards, -velco From sopwith@redhat.com Wed Nov 15 14:10:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1FBEF2CBE6 for ; Wed, 15 Nov 2000 14:10:48 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAFJAiq25800 for ; Wed, 15 Nov 2000 14:10:44 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 15 Nov 2000 14:10:44 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Wed, 15 Nov 2000, Antti T Tuominen wrote: > I'm aiming this mostly at Sebastian, buy I though that maybe others > would like to know as well. > > I'm using ORBit-mt-0.5.3a and found two bugs regarding octet > sequences. I believe that the _maximum field in a sequence should be > the allocated size of the _buffer, and the _length field is the used > part of that buffer. I'm getting _maximum -values like 3210738884 on > the server side immediately after a sequence is passed to a function > as a parameter. Another issue is that sometimes the content of the > _buffer gets corrupted as well. I put together a piece of code > demonstrating the bugs, it is available at Right now, _maximum just never gets touched - it is pretty irrelevant to user-level code, since the only place it could matter is in (de)marshalling, and ORBit doesn't pay attention to it there yet. I will make sure to convince ORBit2 to set it, but your code shouldn't really be reading _maximum anyways AFAICS. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From mas@echo.fr Wed Nov 15 14:22:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id BF8512CAC3 for ; Wed, 15 Nov 2000 14:22:39 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 7B0624811; Wed, 15 Nov 2000 20:22:37 +0100 (CET) To: orbit-list@gnome.org Subject: Re: NamingService References: <3A12DC59.31A66B61@telnor.com> <87r94dcaic.fsf@fadata.bg> From: Roland Mas Date: 15 Nov 2000 20:22:36 +0100 In-Reply-To: Momchil Velikov's message of "15 Nov 2000 21:15:23 +0200" Message-ID: <87k8a52g77.fsf@cachemir.echo-net.net> Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Momchil Velikov (2000-11-15 21:15:23 +0200) : > >>>>> "Rene" == Rene Maldonado writes: > > Rene> orbit-name-server > ior & > Rene> yourserver -ORBNamingIOR = 'cat ior' > Rene> yourclient -ORBNamingIOR = 'cat ior' > > Did you misspell in the message or on the command line - it should be > with back quotes - `cat ior` ? Maybe try without the spaces around the '=' sign... They look suspicious to me. -- Roland Mas 'And what would humans be without love?' RARE, said Death. -- in Sourcery (Terry Pratchett) From velco@fadata.bg Wed Nov 15 15:17:35 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id 0F7852BABE for ; Wed, 15 Nov 2000 15:17:30 -0500 (EST) Received: (qmail 8705 invoked by uid 1000); 15 Nov 2000 20:22:15 -0000 To: orbit-list@gnome.org Subject: ORBit2 compile fixes From: Momchil Velikov Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_15_22:22:15_2000-1" Content-Transfer-Encoding: 7bit Date: 15 Nov 2000 22:22:15 +0200 Message-ID: <87n1f1c7ew.fsf@fadata.bg> Lines: 33 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: text/plain; charset=US-ASCII Hi, The attached patch fixes a compile problem ("corba-defs.h: No such file ...") and fixes orbit-config, so it does not report flags and stuff from an old version of glib. Regards, -velco --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: application/octet-stream; type=gzip Content-Disposition: attachment; filename="orbit2-compile-fixes.diff.gz" Content-Transfer-Encoding: base64 H4sICLrvEjoAA29yYml0Mi1jb21waWxlLWZpeGVzLmRpZmYAtVJtb5swEP6Mf8Up48Mq4mDT LEFMkVjpGiFlpQrtt0kOAUOsEZjAzSZV/e+1nXV9TVVpGhLnu8P3PHfcEzcF/x1A262FxHnb lKIaiQbN/v1ByyiFUtQ8ADff9W7VtFvuJssTIT33Gd9whzouO8F3oqmgU0cv2gboyEeFKEvA 14A7Fb3oE2P8PGd5hBCXUpdMgdCA+sGYWBrJcZyDd+kn8EhAj4PxBIUh4LE3nIJjbBgiQJCX dVb1szKre46gFut7H8sNZyYe2Pcu4IWtzkJ0gGszMawqlfhDDBjrWysIF/FJqtjq7QA578Sx b+aqikXJ+Vk8Zx4jt6/CgcbY97zHM/6B8v1wK8CxLZq8vi64oTxVlPGlN6MD/Qd+bdQuQfJe gv0BcCWBfIaiRfFeQX2X663qV43Zcfdb9oPr9Y+y7X+X01vkB7VFn4qL+vC4Za2st2AfZOYD IcHxJKATy4Bqnb2r8kF0UyM6f+iDo42WnKW2eR6x6GzxZZ4aCaolKzim4VidsTS5WkZf0xl8 R9iyP8bJBYtPF8nV5ZHKgM78jZxXvycX6ZOMAl5nWJlRbmLlbaT8aaI7DJaIAicEAAA= --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_15_22:22:15_2000-1-- From cb@gosargon.com Wed Nov 15 15:21:34 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 2B6182BABE for ; Wed, 15 Nov 2000 15:21:34 -0500 (EST) Received: (qmail 4667 invoked from network); 15 Nov 2000 20:21:31 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 15 Nov 2000 20:21:31 -0000 Message-ID: <3A12F04C.A6348BB4@gosargon.com> Date: Wed, 15 Nov 2000 15:21:32 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: SOLVED Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> <3A127230.268E5CF9@ireland.sun.com> <3A12C97F.EF3EB0D3@gosargon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks to all who've replied, I learned a lot even if it wasn't directly the answer to my problem. The solution lies in the fact that I'm writing a C++ program; the linker couldn't find the functions because the names in the header were mangled - the gnorba.h header is not protected against mangling with an "extern "C" {}" block. I don't know anything about who SHOULD be doing that, so I took the attitude that "headers are never to be modified" and did this: extern "C"{ #include }; and lo and behold, it compiled and linked ;) Now to get on to more interesting things... like making code that actually does something useful Chris Backas From jangjh@etri.re.kr Wed Nov 15 17:55:18 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cms2.etri.re.kr (cms2.etri.re.kr [129.254.16.12]) by mail.gnome.org (Postfix) with ESMTP id D983F2DD4A for ; Wed, 15 Nov 2000 17:55:17 -0500 (EST) Received: by cms2.etri.re.kr with Internet Mail Service (5.5.2650.21) id ; Thu, 16 Nov 2000 07:55:35 +0900 Received: from jangjh (jangjh.etri.re.kr [129.254.196.12]) by cms1.etri.re.kr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id W8X41KGV; Thu, 16 Nov 2000 07:55:14 +0900 From: jangjh@etri.re.kr To: orbit-list@gnome.org Subject: RE: ORBit2 compile fixes Date: Thu, 16 Nov 2000 07:55:43 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <87n1f1c7ew.fsf@fadata.bg> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development DQoNCkhlbGxvDQoNCkkgYW0gdmVyeSBpbnRlcmVzdGluZyBpbiBPUkJpdC4NCg0KSSBjYW4ndCBm aW5kIE9SQml0MiB2ZXJzaW9uLg0KDQpXaGVyZSBDYW4gSSBnZXQgT1JCaXQyIHZlcnNpb24gPw0K DQoNClRoYW5rIHlvdS4NCg0KDQpFVFJJLCBKYW5nIEpvbmYgSHl1bg0K From sopwith@redhat.com Wed Nov 15 19:47:53 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 812382CDD0 for ; Wed, 15 Nov 2000 19:47:53 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAG0lro06144 for ; Wed, 15 Nov 2000 19:47:53 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 15 Nov 2000 19:47:53 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: RE: ORBit2 compile fixes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 16 Nov 2000 jangjh@etri.re.kr wrote: > I am very interesting in ORBit. > > I can't find ORBit2 version. > > Where Can I get ORBit2 version ? It's in CVS... If you don't know how to get it, you probably don't want to (attempt to) be using it. :) -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From attuomin@cc.helsinki.fi Thu Nov 16 05:47:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by mail.gnome.org (Postfix) with ESMTP id 846DC2CE0C for ; Thu, 16 Nov 2000 05:47:49 -0500 (EST) Received: from localhost (attuomin@localhost) by sirppi.helsinki.fi (8.10.1/8.10.1) with ESMTP id eAGAlmL13160 for ; Thu, 16 Nov 2000 12:47:48 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: attuomin owned process doing -bs Date: Thu, 16 Nov 2000 12:47:48 +0200 (EET) From: Antti T Tuominen To: Subject: Re: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > Right now, _maximum just never gets touched - it is pretty irrelevant to > user-level code, since the only place it could matter is in > (de)marshalling, and ORBit doesn't pay attention to it there yet. > I will make sure to convince ORBit2 to set it, but your code shouldn't > really be reading _maximum anyways AFAICS. I'm not. I just accidentally discovered the "never gets touched" part while pondering with the buffer corruption. (I copy the _length -field there when I create new sequences, and wondered, what happened to the _maximum field that was set so nicely...) Antti -- main(m){char*s="O@DDDQ@DD@QM__D_SDDDQQDDDQQLLL",O=1;for(;*s;(m*=2)>32&&++O%6 ?s++,m=1:2)putchar(*s&m?"\n" "Antti: www.helsinki.fi/~attuomin" [O%6]:32);} From velco@fadata.bg Thu Nov 16 10:31:37 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from emerald.fadata.bg (emerald.fadata.bg [212.56.7.195]) by mail.gnome.org (Postfix) with SMTP id 32EAC2BC76 for ; Thu, 16 Nov 2000 10:31:33 -0500 (EST) Received: (qmail 30497 invoked from network); 16 Nov 2000 14:34:50 -0000 Received: from merlin.da.fadata.bg (HELO fadata.bg) (192.168.4.130) by emerald.fadata.bg with SMTP; 16 Nov 2000 14:34:50 -0000 Received: (qmail 1598 invoked by uid 1000); 16 Nov 2000 15:38:08 -0000 To: orbit-list@gnome.org Subject: Looks like typo ... Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: Momchil Velikov Date: 16 Nov 2000 17:38:08 +0200 Message-ID: <87vgtoudun.fsf@merlin.da.fadata.bg> Lines: 31 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Browsing the sources, I came to the following code in corba_object.c: 395 static void profile_hash(gpointer item, gpointer data) 396 { 397 ORBit_Object_info *info = (ORBit_Object_info *)item; 398 CORBA_unsigned_long *retval = (CORBA_unsigned_long *)data; 399 400 g_assert(info); 401 g_assert(retval); 402 403 *retval ^= info->object_key._length; 404 405 if(info->profile_type == IOP_TAG_INTERNET_IOP) { 406 *retval ^= !info->tag.iopinfo.port; 407 } else if(info->profile_type == IOP_TAG_ORBIT_SPECIFIC) { 408 *retval ^= g_str_hash(info->tag.orbitinfo.unix_sock_path); 409 *retval ^= !info->tag.orbitinfo.ipv6_port; 410 } 411 } Isn't it supposed lines 406 and 409 to be 406 *retval ^= ~info->tag.iopinfo.port; and 409 *retval ^= ~info->tag.orbitinfo.ipv6_port; ? Regards, -velco From mathieu@eazel.com Thu Nov 16 15:47:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id A4E202BF16 for ; Thu, 16 Nov 2000 15:47:40 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G44XRG00.GA4 for ; Thu, 16 Nov 2000 12:47:40 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id PAA26007; Thu, 16 Nov 2000 15:50:41 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: ORBit's IR Original-Sender: mathieu@eazel.com From: Mathieu Lacage Date: 16 Nov 2000 15:50:41 -0800 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development hi all, I am in dire need of an easy to use IR for ORBit. Here is my list of the necessary features: - automatic loading of data in the IR. - no client-side code necessary to load the data in there. 1) The simplest way to do this would be to make the IR look in a specific directory and load all the IDL files it finds there in memory. 2) Another approach would be to write a simple daemon which looks in those directories and loads the IDL files and feeds them to the IR. Whatever the solution used, I will implement it pretty soon and I was wondering if anyone had any other idea. In case 1) were to be used, I would need either to get a patch applied in ORBit or to fork the IR for my own use (although I do not really like this). In case 2) is used, I can develop my own daemon to do this outside of ORBit... comments ? Mathieu -- Mathieu Lacage From mas@echo.fr Fri Nov 17 04:20:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id 1F1982BB58 for ; Fri, 17 Nov 2000 04:20:41 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 89CA14828; Fri, 17 Nov 2000 10:20:26 +0100 (CET) To: orbit-list@gnome.org Subject: Re: ORBit's IR References: From: Roland Mas Date: 17 Nov 2000 10:20:25 +0100 In-Reply-To: Mathieu Lacage's message of "16 Nov 2000 15:50:41 -0800" Message-ID: <871ywbuf8m.fsf@cachemir.echo-net.net> Lines: 22 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Mathieu Lacage (2000-11-16 15:50:41 -0800) : > I am in dire need of an easy to use IR for ORBit. You might have a look at ORBit-Python (see Sourceforge). I'm not quite sure what an IR exactly is supposed to do, but there's something loading all the IDL files in a directory, so I guess it could be related. If you decide to have a go, make sure you grab the CVS version and not the released version, which is getting antique. If you find something interesting in there, keep me (and Jason Tackaberry, the main author) informed, as we might well take it back when you've improved it :-) Roland. -- Roland Mas Luck, like a Russian car, generally only works if you push it. -- Regalian, in My Hero (Tom Holt) From aimass@aimass.org Fri Nov 17 10:46:29 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 1C73B2BC66 for ; Fri, 17 Nov 2000 10:46:29 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id HAA26219 for ; Fri, 17 Nov 2000 07:46:02 -0800 (PST) Message-ID: <3A15518F.62E41E45@aimass.org> Date: Fri, 17 Nov 2000 11:41:03 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Name Service problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi All. I'm having trouble getting a simple object (an extended echo example) to communicate over the network, using the orbit naming services. It works fine on the local machine but when I try to run it on two different machine it fails. Here is what I do: 1) run orbit-name-server and save the IOR in a file called server.ior. 2) run my server like this: ./test-server -ORBNamingIOR=and the ior here 3) copy the client application to another directory on the same machine along with the server.ior 4) run my client application like this: ./test-client -ORBNamingIOR=and the ior here If I try moving the client to a different machine it does not work, I get core dumped. So my questions are: 1) does the orbit-name-server need to be running on the client machine? 2) if (1) is yes, then which IOR should I use for the client: the local or the one I got from the name server where the object is registered? 3) I have read that there should be a file in /etc called orbitrc, but none of my redhat systems have contained this file initially.I have created it /etc and have added ORBIIOPUSock=1, ORBIIOPIPv4=1, and ORBIIOPIPv6=1 just in case. 4) I have tested the application running on each individual server and it works fine on both. Why does it fail over the network???? I'm running on redhat linux w/ ORBit 0.4.x (one is redhat 6.0 and the other is redhat 6.1, and yes... I AM recompiling the client when I'm testing ;-] ) Thanks, Alejandro From aimass@aimass.org Fri Nov 17 10:55:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id AD8CF2D1D3 for ; Fri, 17 Nov 2000 10:55:26 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id HAA26391 for ; Fri, 17 Nov 2000 07:55:01 -0800 (PST) Message-ID: <3A1553AD.EA82CAD6@aimass.org> Date: Fri, 17 Nov 2000 11:50:05 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: BTW I helping a friend... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I trying to help a firnd w/ CORBA but he does not have the time to partition his machine w/ GNU/Linux. So I sugested for the mean time he tried the win32 port found at labs.redhat.com but he has not been able to get it working because it has absolutely no documentation on the port itself. Does anyone know about this win32 port, and if so do you know of any documentation, like for eample how to install it??? Thanks, AI From aimass@aimass.org Fri Nov 17 13:54:11 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 1A4352BDA8 for ; Fri, 17 Nov 2000 13:54:03 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id KAA00111 for ; Fri, 17 Nov 2000 10:53:38 -0800 (PST) Message-ID: <3A157D8D.80DE3449@aimass.org> Date: Fri, 17 Nov 2000 14:48:45 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: OK. Since nobody answered! Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development T0suIEkgZGVidWdnZWQgdGhlIG5hbWUgc2VydmVyIElPUiBhbmQgSSBmaW5kIGl0J3Mgc2Vy dmluZw0KbG9jYWxob3N0LmxvY2FsZG9tYWluDQoNCkhPVyBETyBJIENIQU5HRSBUSElTLiBQ TEVBU0UgISEhDQoNCg0KVGhhbmtzLA0KQWxlamFuZHJvDQo= From aimass@aimass.org Fri Nov 17 14:29:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 829472BEBF for ; Fri, 17 Nov 2000 14:29:36 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id LAA00794 for ; Fri, 17 Nov 2000 11:29:11 -0800 (PST) Message-ID: <3A1585E3.445A4A04@aimass.org> Date: Fri, 17 Nov 2000 15:24:19 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: line parameters Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGkuLg0KDQoNCldoZXJlIGRvZXMgb25lIGZpbmQgYSBsaXN0IG9mIGFsbCBsaW5lIHBhcmFt ZXRlcnMgbGlrZSAtT1JCTmFtaW5nSU9SDQotT1JCSW5pdCBldGMuLi4NCg0KDQpUaGFua3Ms DQpBSQ0K From mathieu@eazel.com Fri Nov 17 14:44:03 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 9CD572BDEB for ; Fri, 17 Nov 2000 14:44:02 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G46PHD00.E8Q for ; Fri, 17 Nov 2000 11:44:01 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id OAA17747; Fri, 17 Nov 2000 14:47:00 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: Re: ORBit's IR References: <871ywbuf8m.fsf@cachemir.echo-net.net> Original-Sender: mathieu@eazel.com From: Mathieu Lacage In-Reply-To: Roland Mas's message of "17 Nov 2000 10:20:25 +0100" Date: 17 Nov 2000 14:47:00 -0800 Message-ID: Lines: 47 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Roland Mas writes: > Mathieu Lacage (2000-11-16 15:50:41 -0800) : > > > I am in dire need of an easy to use IR for ORBit. > > You might have a look at ORBit-Python (see Sourceforge). I'm not > quite sure what an IR exactly is supposed to do, but there's something > loading all the IDL files in a directory, so I guess it could be > related. I will have a look. > > If you decide to have a go, make sure you grab the CVS version and > not the released version, which is getting antique. > > If you find something interesting in there, keep me (and Jason > Tackaberry, the main author) informed, as we might well take it back > when you've improved it :-) hrm, after some thoughts, I think I will go around to use option 2) whcih is to write a separate process to feed data in the IR. Btw, if you are curious as to why I want to do all this, you could have a look at the cvs module 'mango' : cvs -z3 co mango I would be happy for any feedback or flame about it. Mathieu > > Roland. > -- > Roland Mas > > Luck, like a Russian car, generally only works if you push it. > -- Regalian, in My Hero (Tom Holt) > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- Mathieu Lacage From jason@ancept.com Sun Nov 19 17:51:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from neptune.ancept.com (Ancept-18.completeis.com [206.146.185.178]) by mail.gnome.org (Postfix) with ESMTP id E6D0A2BEA9 for ; Sun, 19 Nov 2000 17:51:26 -0500 (EST) Received: by Ancept-18.CompleteIS.com with Internet Mail Service (5.5.2650.21) id ; Sun, 19 Nov 2000 16:51:45 -0600 Message-ID: From: Jason Cwik To: "'orbit-list@gnome.org'" Subject: compiling 0.5.4 on AIX Date: Sun, 19 Nov 2000 16:51:43 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0527B.49DF7270" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0527B.49DF7270 Content-Type: text/plain; charset="iso-8859-1" Hello all- I am trying to compile ORBit 0.5.4 on AIX 4.3.3 using gcc 2.95.2. The IDL compiler seems to build fine, but when it attempts to IDL compile interface_repository.idl I see: Making all in orb ../../src/orbit-idl-compiler/orbit-idl --noskels ../../././src/daemons/interface_repository/interface_repository.idl Error: syntax error ** WARNING **: ../../././src/daemons/interface_repository/interface_repository.idl compilation failed Has anyone seen problems like this? Anyone compiled ORBit on AIX successfully? Thanks in advance, Jason Cwik ------_=_NextPart_001_01C0527B.49DF7270 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable compiling 0.5.4 on AIX

Hello all-

I am trying to compile ORBit 0.5.4 on AIX 4.3.3 using = gcc 2.95.2.  The IDL compiler seems to build fine, but when it = attempts to IDL compile interface_repository.idl I see:

Making all in orb
        = ../../src/orbit-idl-compiler/orbit-idl --noskels = ../../././src/daemons/interface_repository/interface_repository.idl

Error: syntax error

** WARNING **: = ../../././src/daemons/interface_repository/interface_repository.idl = compilation failed

Has anyone seen problems like this?  Anyone = compiled ORBit on AIX successfully?

Thanks in advance,

Jason Cwik

------_=_NextPart_001_01C0527B.49DF7270-- From michael@rumpfonline.de Mon Nov 20 02:40:43 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.brokat.de (mail.brokat.de [212.9.175.131]) by mail.gnome.org (Postfix) with ESMTP id 455A32D20C for ; Mon, 20 Nov 2000 02:40:43 -0500 (EST) Received: by mail.brokat.de (Smail3.2.0.111/mail.brokat.de) via LF.net GmbH Internet Services via remoteip 172.17.23.29 via remotehost pcmrumpf with smtp for mail.gnome.org id m13xlcU-005lKVC; Mon, 20 Nov 2000 08:44:06 +0100 (CET) Message-ID: <000901c052c5$73201050$1d1711ac@brokat.de> From: "Michael Rumpf" To: References: <3A1585E3.445A4A04@aimass.org> Subject: Re: line parameters Date: Mon, 20 Nov 2000 08:42:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, you can find a list of parameters on http://orbit-resource.sourceforge.net/faq.html#orbit ! Or, In doubt, have a look at the source-code. Michael ----- Original Message ----- From: "Alejandro Imass" To: Sent: Freitag, 17. November 2000 20:24 Subject: line parameters > Hi.. > > > Where does one find a list of all line parameters like -ORBNamingIOR > -ORBInit etc... > > > Thanks, > AI > ¢¶â¶X¬¶f¢-)à-+-¢¶â¶X¬¶ èTê+,m§ÿæj)`z?z¢¸?T¨¥T©ÿ-+-SwèþSÛSÙb From michael@rumpfonline.de Mon Nov 20 02:43:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.brokat.de (mail.brokat.de [212.9.175.131]) by mail.gnome.org (Postfix) with ESMTP id A54C02D20C for ; Mon, 20 Nov 2000 02:43:40 -0500 (EST) Received: by mail.brokat.de (Smail3.2.0.111/mail.brokat.de) via LF.net GmbH Internet Services via remoteip 172.17.23.29 via remotehost pcmrumpf with smtp for mail.gnome.org id m13xlfM-005lKbC; Mon, 20 Nov 2000 08:47:04 +0100 (CET) Message-ID: <000f01c052c5$dd2d6ab0$1d1711ac@brokat.de> From: "Michael Rumpf" To: References: <3A157D8D.80DE3449@aimass.org> Subject: Re: OK. Since nobody answered! Date: Mon, 20 Nov 2000 08:45:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I think that these are the network settings you have chosen for your linux box. It depends on the distro you are using, but /etc/hosts is definitely the place to do it manually... Michael ----- Original Message ----- From: "Alejandro Imass" To: Sent: Freitag, 17. November 2000 19:48 Subject: OK. Since nobody answered! > OK. I debugged the name server IOR and I find it's serving > localhost.localdomain > > HOW DO I CHANGE THIS. PLEASE !!! > > > Thanks, > Alejandro > ¢¶¶X¶f-)-+¢¶¶X¶ Tê,m§ÿæj)`z?z¢¸?T¨¥T©ÿ-+-SwèþSÛSÙb From genaud@icps.u-strasbg.fr Mon Nov 20 07:35:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 634982CED9 for ; Mon, 20 Nov 2000 07:35:17 -0500 (EST) Received: from icps.u-strasbg.fr (marathon.u-strasbg.fr [130.79.185.20]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id NAA25458; Mon, 20 Nov 2000 13:34:18 +0100 Message-ID: <3A191A5A.378C4269@icps.u-strasbg.fr> Date: Mon, 20 Nov 2000 13:34:34 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-15mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, aimass@aimass.org Subject: Re: OK. Since nobody answered! References: <3A157D8D.80DE3449@aimass.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Alejandro Imass wrote: > > OK. I debugged the name server IOR and I find it's serving > localhost.localdomain > > HOW DO I CHANGE THIS. PLEASE !!! > > Thanks, > Alejandro This is not an ORBit question but an OS one. You should give more details about your configuration and about what yo are trying to do with ORBit. There are many ways to change your machine name ; On linux boxes you can use "netconf" (part of linuxconf) or such, or by directly editing /etc/hosts AND /etc/sysconfig/network on RedHat or Mandrake distros, to setup your network parameters. S.G. From aimass@aimass.org Mon Nov 20 09:03:06 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id CC7C92BCC8 for ; Mon, 20 Nov 2000 09:03:05 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id GAA25799; Mon, 20 Nov 2000 06:02:03 -0800 (PST) Message-ID: <3A192DBD.CA0C116F@aimass.org> Date: Mon, 20 Nov 2000 09:57:17 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?St=E9phane?= Genaud Cc: orbit-list@gnome.org Subject: Re: OK. Since nobody answered! References: <3A157D8D.80DE3449@aimass.org> <3A191A5A.378C4269@icps.u-strasbg.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks All for Answering. I have always left 127.0.0.1 as localhost.localdomain w/ alis localhost and have changed the name w/ my first interface (eth0) as follows 172.16.2.x myhostname.mydomain w/ alias myhostname But now that you all mention it , I suppose the base hostname should be set w/ the lo (127.0.0.1) since a Unix machine can have many active interfaces ;-] And also, what would happen if there is no interface card! lo still works: duuuuhhhh.........! I will try this. Thanks again. Alejandro Imass From sopwith@redhat.com Mon Nov 20 11:17:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 7DA9F2CA5C; Mon, 20 Nov 2000 11:17:28 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAKGHS330507; Mon, 20 Nov 2000 11:17:28 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 20 Nov 2000 11:17:28 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org, gnome-devel-list@gnome.org Subject: ORBit 2.3.90 test release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a test release of the ORBit2 tree that I've been hacking on the past few months. It is intended to fix whatever big things are broken in ORBit stable tree, break whatever already works, and add just a few new features. This _test_ release is _not_ intended for production use, just your _testing_ pleasure. It requires linc 0.1.0 (ftp://ftp.gnome.org/people/sopwith/linc-0.1.0.tar.gz) and glib 1.3.2 to be installed. The release itself is at ftp://ftp.gnome.org/people/sopwith/ORBit-2.3.90.tar.gz Enjoy, -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From genaud@icps.u-strasbg.fr Thu Nov 23 05:32:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 5E2852CB09 for ; Thu, 23 Nov 2000 05:32:58 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id LAA04718 for ; Thu, 23 Nov 2000 11:32:42 +0100 Message-ID: <3A1CF268.E0F37D42@icps.u-strasbg.fr> Date: Thu, 23 Nov 2000 11:33:12 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: server code segfaults (again) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, i am sorry to repost this message but i had no response previously and this code is very important to me. I can set up an archive of the whole code if someone wants a deeper look. ------------------------------------------------------------------- Could someone help me with a memory management problem. I have a client asking for a sequence of bytes to be returned by a server. The client gets the correct values but the server segfault once it has returned the sequence. My client code calls : VSERV_image_bytevect *img; .... img = VSERV_image_readpixel(image_obj,&width, &height, &ev); .... if (CORBA_sequence_get_release(img)) CORBA_free(img->_buffer); and after this, the img->_buffer do contains the correct values, (that is the server has returned the sequence before segfaulting) img->_length contains was what put in the server, but img->_maximum=0 though the C mappings say (page 1-14) "Upon successful return from the invocationthe _maximum member will contain the size of the allocated array". And this is my server-side code : static VSERV_image_bytevect * impl_VSERV_image_readpixel(impl_POA_VSERV_image * servant, CORBA_short * width, CORBA_short * height, CORBA_Environment * ev) { VSERV_image_bytevect *retval; guchar *buff; gulong img_size; retval = VSERV_image_bytevect__alloc(); CORBA_sequence_set_release(retval,TRUE); buff = pbuffer_readpixel_with_dim((gint *)width,(gint *) height); img_size = (gulong) (*width) * (*height) * 3; /* in bytes */ retval->_length = img_size; /* retval->_maximum = img_size; this does not solve the problem */ retval->_buffer = CORBA_sequence_CORBA_octet_allocbuf(img_size*sizeof(guchar) ); memcpy(retval->_buffer, buff, img_size*sizeof(guchar) ); return retval; /* segfaults after this */ } Has someone a clue of what i'm doing wrong or why the server segfaults ? Thanks. From philipd@users.sourceforge.net Fri Nov 24 04:48:00 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from beamail.beasys.com (unknown [63.96.163.38]) by mail.gnome.org (Postfix) with ESMTP id E83FA2BBE3 for ; Fri, 24 Nov 2000 04:47:59 -0500 (EST) Received: from london.beasys.com (london [10.5.1.10]) by beamail.beasys.com (8.9.1b+Sun/8.9.1) with ESMTP id BAA17372 for ; Fri, 24 Nov 2000 01:48:00 -0800 (PST) Received: from cuckoo.dawes.net (lhr-modem2.beasys.com [10.5.1.13]) by london.beasys.com (8.9.3+Sun/8.9.1) with SMTP id JAA04071 for ; Fri, 24 Nov 2000 09:47:48 GMT X-Mailer: 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid (via feedmail 8 Q); VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid From: "Phil Dawes" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14876.60916.424679.587796@cuckoo.dawes.net> Date: Thu, 23 Nov 2000 10:14:12 +0000 (GMT) To: orbit-list@gnome.org Subject: Re: ORBit 2.3.90 test release In-Reply-To: References: Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hey Elliot, I had some spare cycles to waste, so I've given ORBit-2.3.0 a try. I ran into some configuration problems, so here's some feedback: - both linc and ORBit-2 rely on glib-1.3.2 APIs, but the configure scripts only check for 1.3.1 - linc doesn't compile if you haven't got openssl installed. The LINC_SSL_SUPPORT check works, but the line in linc-config.h.in: #define LINC_SSL_SUPPORT @LINC_SSL_SUPPORT@ results in LINC_SSL_SUPPORT being defined whether openssl is installed or not. - in ORBit-2.3.0, the ORBit.m4 script checks for orbit_major_version etc.., but this is not defined in any .c file AFAIK, and thus you get a link error when you try and use this in client programs. Are you accepting patches for 0.2.3, or would you prefer to fix these yourself? Cheers, Phil Elliot Lee writes: > This is a test release of the ORBit2 tree that I've been hacking on the > past few months. It is intended to fix whatever big things are broken in > ORBit stable tree, break whatever already works, and add just a few new > features. > > This _test_ release is _not_ intended for production use, just your > _testing_ pleasure. > > It requires linc 0.1.0 > (ftp://ftp.gnome.org/people/sopwith/linc-0.1.0.tar.gz) and glib 1.3.2 to > be installed. > > The release itself is at > ftp://ftp.gnome.org/people/sopwith/ORBit-2.3.90.tar.gz > > Enjoy, > -- Elliot > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67 words, the 10 Commandments have 179 words, the > Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and > finally the European Commission's regulation on the sale of cabbage: 26,911 words." > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From a_kothare@yahoo.com Sat Nov 25 06:11:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web3606.mail.yahoo.com (web3606.mail.yahoo.com [204.71.203.110]) by mail.gnome.org (Postfix) with SMTP id 557AD2C81E for ; Sat, 25 Nov 2000 06:11:41 -0500 (EST) Message-ID: <20001125111140.28412.qmail@web3606.mail.yahoo.com> Received: from [202.54.1.21] by web3606.mail.yahoo.com; Sat, 25 Nov 2000 03:11:40 PST Date: Sat, 25 Nov 2000 03:11:40 -0800 (PST) From: Advait Kothare Subject: Supported Platforms To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development As per the User Documentation for documentation the ORBIT implementation has been tested on SOlaris 2.6 (UltraSparc). Please let me know if it has worked on the following conifiguration : Netra T1 105 (Sun machine) Solaris 2.7 (O.S) where can i get more information on installion procedures? __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From Igor.Borojevic@ireland.sun.com Mon Nov 27 06:41:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id A9B1A2CE2D for ; Mon, 27 Nov 2000 06:41:53 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA26864 for ; Mon, 27 Nov 2000 03:41:51 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.0) with ESMTP id LAA05649 for ; Mon, 27 Nov 2000 11:41:50 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA21492 for ; Mon, 27 Nov 2000 11:41:45 GMT Message-ID: <3A224879.76394CF@ireland.sun.com> Date: Mon, 27 Nov 2000 11:41:45 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Supported Platforms References: <20001125111140.28412.qmail@web3606.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi! I have it working on my Ultra 5, Solaris 8 Regards, Igor Advait Kothare wrote: > > As per the User Documentation for documentation the > ORBIT implementation has been tested on SOlaris 2.6 > (UltraSparc). > > Please let me know if it has worked on the following > conifiguration : > Netra T1 105 (Sun machine) > Solaris 2.7 (O.S) > > where can i get more information on installion > procedures? > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Thousands of Stores. Millions of Products. > http://shopping.yahoo.com/ > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From dsevilla@ditec.um.es Mon Nov 27 07:19:59 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from zape.um.es (zape.um.es [155.54.0.102]) by mail.gnome.org (Postfix) with ESMTP id 5C57D2BB58 for ; Mon, 27 Nov 2000 07:19:51 -0500 (EST) Received: from ditec.um.es (neuromancer.dif.um.es [155.54.12.241]) by zape.um.es (8.9.1b+Sun/8.9.1) with ESMTP id NAA20449 for ; Mon, 27 Nov 2000 13:17:54 +0100 (MET) Message-ID: <3A224FFF.238DC695@ditec.um.es> Date: Mon, 27 Nov 2000 13:13:51 +0100 From: "Diego Sevilla Ruiz (dsevilla@um.es)" Organization: Universidad de Murcia X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-5.0 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit or ORBit2? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, This may be a silly question... but, what CVS module should I checkout, ORBit or ORBit2? Or are them the same? Also, what is the status of the event service? I would be interested in it, or finishing it in the case it is not. Regards. diego. -- Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es Departamento de Ingeniería y Tecnología de Computadores Facultad de Informática. Universidad de Murcia Campus de Espinardo - 30080 Murcia (SPAIN). - Tel. +34-968-367658 PGP: http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xC9B964B7 \huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern-.1em@um.es perl -e'$_="\x4\@FLe\x2&B";for(/../g){print unpack("b*",$_),"\n"}'|tr 01 " #" -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: Y0x/Djs1A/hSmAKW5RjqpBwjdKbBEU4Z iQA/AwUAOiJQANoq0AfJuWS3EQLI5gCfUEqb0YX+5ZkzkVUcfblnxxpkd/kAn2eH 5DqWJv/VWO6SeVgQb0NafSwt =qzMm -----END PGP SIGNATURE----- From sopwith@redhat.com Mon Nov 27 13:52:19 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 669D82DE98 for ; Mon, 27 Nov 2000 13:52:19 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eARIqJ718391 for ; Mon, 27 Nov 2000 13:52:19 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 27 Nov 2000 13:52:19 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: ORBit or ORBit2? In-Reply-To: <3A224FFF.238DC695@ditec.um.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 27 Nov 2000, Diego Sevilla Ruiz (dsevilla@um.es) wrote: > This may be a silly question... but, what CVS module should I > checkout, ORBit or ORBit2? Or are them the same? The orbit-stable-0-5 branch of the ORBit module is the only thing intended for public consumption. > Also, what is the status of the event service? I would be > interested in it, or finishing it in the case it is not. Have at it, but I think there was noise about needing thread safety to use it. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From MVerwerft@NedCar.nl Tue Nov 28 03:37:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from nedcar.nl (unknown [193.172.11.178]) by mail.gnome.org (Postfix) with ESMTP id 6C9342BC6A for ; Tue, 28 Nov 2000 03:37:41 -0500 (EST) Received: by gateborn.nedcar.nl id <117132>; Tue, 28 Nov 2000 09:37:55 +0100 Message-Id: <00Nov28.093755cet.117132@gateborn.nedcar.nl> From: "Verwerft, Marc" To: "'orbit-list@gnome.org'" Subject: RE: ORBit or ORBit2? Date: Tue, 28 Nov 2000 09:37:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Diego, I wrote clients that can send and receive events (push-style) based on = the examples. The eventchannel itself is written in javaorb = (CosEventPOA/javaorb 2.2.7). Everything runs just fine. Regards, Marc =20 > ---------- > From: Diego Sevilla Ruiz > (dsevilla@um.es)[SMTP:dsevilla@ditec.um.es] > Reply To: orbit-list@gnome.org > Sent: Monday 27 November 2000 13:13 > To: orbit-list@gnome.org > Subject: ORBit or ORBit2? >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hi all, >=20 > This may be a silly question... but, what CVS module should I > checkout, ORBit or ORBit2? Or are them the same? >=20 > Also, what is the status of the event service? I would be > interested in it, or finishing it in the case it is not. >=20 > Regards. > diego. >=20 > -- > Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es > Departamento de Ingenier=EDa y Tecnolog=EDa de Computadores > Facultad de Inform=E1tica. Universidad de Murcia > Campus de Espinardo - 30080 Murcia (SPAIN). - Tel. +34-968-367658 > PGP: = http://pgp.rediris.es:11371/pks/lookup?op=3Dget&search=3D0xC9B964B7 > \huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern-.1em@um.es > perl -e'$_=3D"\x4\@FLe\x2&B";for(/../g){print = unpack("b*",$_),"\n"}'|tr 01 " > #" >=20 >=20 >=20 >=20 > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 5.0i for non-commercial use > MessageID: Y0x/Djs1A/hSmAKW5RjqpBwjdKbBEU4Z >=20 > iQA/AwUAOiJQANoq0AfJuWS3EQLI5gCfUEqb0YX+5ZkzkVUcfblnxxpkd/kAn2eH > 5DqWJv/VWO6SeVgQb0NafSwt > =3DqzMm > -----END PGP SIGNATURE----- >=20 > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list >=20 From wilhelmi@ira.uka.de Tue Nov 28 10:14:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id 846752DCA5 for ; Tue, 28 Nov 2000 10:14:27 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Tue, 28 Nov 2000 16:14:24 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Tue, 28 Nov 2000 16:14:22 +0100 Message-ID: <3A23CBCE.7978F9BC@ira.uka.de> Date: Tue, 28 Nov 2000 16:14:22 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, =?iso-8859-1?Q?St=E9phane?= Genaud Subject: Re: server code segfaults (again) References: <3A1CF268.E0F37D42@icps.u-strasbg.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi St=E9phane, > i am sorry to repost this message but i had no response previously > and this code is very important to me. > I can set up an archive of the whole code if someone wants a deeper > look. Yes, please. I had a brief look, but I didn't see something fundamentally= wrong, which doesn't mean, there isn't ;-) And please, send me a full archive with Makefile, such that I only need t= o type make to make the programs. Bye, Sebastian -- = Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi From mathieu@eazel.com Tue Nov 28 17:51:11 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 02E902BB7B for ; Tue, 28 Nov 2000 17:51:11 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G4RBHA00.UU2 for ; Tue, 28 Nov 2000 14:51:10 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id RAA24722; Tue, 28 Nov 2000 17:54:18 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: weird semantics for the IR's create_interface Original-Sender: mathieu@eazel.com From: Mathieu Lacage Date: 28 Nov 2000 17:54:18 -0800 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development hi all, I have been playing with the Interface repository of ORBit lately. I have fixed a few segfaults in my local copy and I will send a patch for those later when I get something more useful working. However, I am getting in some weird bug: I want to create a top-level interface with CORBA::Container::create_interface. To do so, I passed a zero-length sequence as base_interfaces parameter. It happens that the ORBit implementation is checking explicitely in its code for either a zero-length sequence or a NULL sequence and if so, refuses to create the interface.... ie: code in (interfacedefseq_verify) called from impl_CORBA_interfaceDef__create. As I see it, the correct fix is to make (interfacedefseq_verify) not check for a zero-length sequence and make its code be able to handle such zero-length sequence later. Is this right ? Mathieu -- Mathieu Lacage From anene@cup.hp.com Wed Nov 29 03:49:06 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by mail.gnome.org (Postfix) with ESMTP id 3C9262BAB1 for ; Wed, 29 Nov 2000 03:49:06 -0500 (EST) Received: from hpejl189.cup.hp.com (hpejl189.cup.hp.com [15.28.97.98]) by palrel3.hp.com (Postfix) with ESMTP id 2D7452BD for ; Wed, 29 Nov 2000 00:49:02 -0800 (PST) Received: from localhost (anene@localhost) by hpejl189.cup.hp.com (8.11.0/8.9.3/client.cv) with ESMTP id eAT8mfT28934 for ; Wed, 29 Nov 2000 00:48:44 -0800 X-Authentication-Warning: hpejl189.cup.hp.com: anene owned process doing -bs Date: Wed, 29 Nov 2000 00:48:41 -0800 (PST) From: "Amitabh A. Nene" To: orbit-list@gnome.org Subject: optimizing link between client and server In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I wanted to know how does one go about optimizing the link between a CORBA client and server using ORBit / any other ORB in general. In other words, how does one configure the link depending on whether the client and server are in the same address space, different address spaces on the same physical machine, or on separate physical machines ? Also, in the current ORBit implementation, do these paths translate to dyn-call/no-marshaling, shared-mem, and RPC respectively, if at all ? Thanks in advance. -Amit From dick@acm.org Wed Nov 29 04:46:21 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dick.i2it.co.uk (dick.i2it.co.uk [212.250.92.12]) by mail.gnome.org (Postfix) with ESMTP id 2DC822BAB1 for ; Wed, 29 Nov 2000 04:46:21 -0500 (EST) Received: (from dick@localhost) by dick.i2it.co.uk (8.8.7/8.8.7) id JAA00189 for orbit-list@gnome.org; Wed, 29 Nov 2000 09:46:19 GMT Date: Wed, 29 Nov 2000 09:46:19 +0000 From: Dick Porter To: orbit-list@gnome.org Subject: Re: weird semantics for the IR's create_interface Message-ID: <20001129094619.L29335@dick.i2it.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mathieu@eazel.com on Tue, Nov 28, 2000 at 05:54:18PM -0800 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote: > hi all, > > I have been playing with the Interface repository of ORBit lately. > I have fixed a few segfaults in my local copy and I will send a patch for > those later when I get something more useful working. Excellent, the IR is -><- this close to being almost useful. > > However, I am getting in some weird bug: I want to create a top-level interface > with CORBA::Container::create_interface. > > To do so, I passed a zero-length sequence as base_interfaces parameter. > > It happens that the ORBit implementation is checking explicitely in its code > for either a zero-length sequence or a NULL sequence and if so, refuses > to create the interface.... If it's explicitly checking then there is a good chance that the IR spec demands this check. I don't have the spec in front of me to check though. > Mathieu - Dick From mathieu@eazel.com Wed Nov 29 12:19:43 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 1AD3D2BAB1 for ; Wed, 29 Nov 2000 12:19:43 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G4SQSU00.6RJ for ; Wed, 29 Nov 2000 09:19:42 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id MAA29187; Wed, 29 Nov 2000 12:22:48 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: Re: weird semantics for the IR's create_interface References: <20001129094619.L29335@dick.i2it.co.uk> Original-Sender: mathieu@eazel.com From: Mathieu Lacage In-Reply-To: Dick Porter's message of "Wed, 29 Nov 2000 09:46:19 +0000" Date: 29 Nov 2000 12:22:48 -0800 Message-ID: Lines: 40 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Dick Porter writes: > On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote: > > hi all, > > > > I have been playing with the Interface repository of ORBit lately. > > I have fixed a few segfaults in my local copy and I will send a patch for > > those later when I get something more useful working. > > Excellent, the IR is -><- this close to being almost useful. > > > > > However, I am getting in some weird bug: I want to create a top-level interface > > with CORBA::Container::create_interface. > > > > To do so, I passed a zero-length sequence as base_interfaces parameter. > > > > It happens that the ORBit implementation is checking explicitely in its code > > for either a zero-length sequence or a NULL sequence and if so, refuses > > to create the interface.... > > If it's explicitly checking then there is a good chance that the IR spec > demands this check. I don't have the spec in front of me to check though. I do not think the spec says this: I have looked in it and could not really find any description of the correct behaviour in that case. > > > Mathieu > > - Dick > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- Mathieu Lacage From simon.britnell@peace.com Wed Nov 29 13:23:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id B5EB32D625 for ; Wed, 29 Nov 2000 13:23:48 -0500 (EST) Message-ID: <3A254855.9060502@peace.com> Date: Thu, 30 Nov 2000 07:17:57 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: optimizing link between client and server References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Amitabh A. Nene wrote: > I wanted to know how does one go about optimizing the link between a CORBA > client and server using ORBit / any other ORB in general. In other words, > how does one configure the link depending on whether the client and server > are in the same address space, different address spaces on the same > physical machine, or on separate physical machines ? Hmmm. I'm a little unsure of what you're asking. Your question appears to be "How do I select which transport an ORB is using (SHM,TCP/IP,Unix Sockets,Sun RPC,etc) for any ORB?" The answer is "That depends on the ORB." ORBit specifically has a configuration file /etc/orbitrc which switches between unix sockets and tcp/ip as these are the transports it provides.". Many ORBs automatically make the decision to use dync-call/no marshalling whenever they detect that they are both the client and the server for an IOR. I *think* ORBit is one of these. It also occurs to me that your real issue may be a performance one, in which case I can only say "Minimise round trips". The further the distance between your client and server, the bigger the latency penalty you will pay. Calling a remote object method fetchNextFoo() repeatedly to fetch a thousand records will perform fine over SHM where latency is <1ms, but will die screaming over the internet even at a latency of only 100ms (giving a 10 second response time for 1000 records in latency alone) and >500ms latencies are not uncommon. Far better to implement a method fetchAllFoo() which is called once. > Also, in the current ORBit implementation, do these paths translate to > dyn-call/no-marshaling, shared-mem, and RPC respectively, if at all ? I don't think ORBit does SHM yet. I know it does dyn-call, unix sockets, tcp/ip4 and tcp/ip6 (same ram address space, same machine, seperated by network). Hope this helps. From sopwith@redhat.com Wed Nov 29 15:37:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 28CA72CE82 for ; Wed, 29 Nov 2000 15:37:36 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eATKba205500 for ; Wed, 29 Nov 2000 15:37:36 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 29 Nov 2000 15:37:35 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: Re: optimizing link between client and server In-Reply-To: <3A254855.9060502@peace.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Simon Britnell wrote: > I don't think ORBit does SHM yet. It's not going to unless someone comes up with a SHM message send/receive implementation that shows significant performance improvements over UNIX domain sockets. SHM is good for sharing chunks of large data between apps, but for normal message-oriented traffic it's no good, because you still need a signalling mechanism, and latency can be a bigger problem than bandwidth in many cases. If you have to pass large amounts of data and still need to use CORBA, I recommend using CORBA to negotiate/control a directly-accessed SHM segment. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From kiko@async.com.br Wed Nov 29 18:11:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 5CAE42E0C9 for ; Wed, 29 Nov 2000 18:10:02 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id VAA24302; Wed, 29 Nov 2000 21:09:56 -0200 Date: Wed, 29 Nov 2000 21:09:56 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: RootPOA Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is more of a Orbit question but I'll crosspost so Jason gets some email :-) AFAICS, Orbit-0.5.3 only implements RootPOA as a possible request to resolve_initial_references. Is this true? Can I not access the NameService object? I've been quite confused about how exactly this would work. I understand I can set an IOR for the name server in orbitrc, but how far down Orbit and orbit-python this goes is unknown to me. Can I actually use this inside orbit-python today? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From kiko@async.com.br Wed Nov 29 18:15:35 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 97A202D42A for ; Wed, 29 Nov 2000 18:15:34 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id VAA24311; Wed, 29 Nov 2000 21:15:19 -0200 Date: Wed, 29 Nov 2000 21:15:19 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: Implementing list_initial_handlers for orbit-python Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I've taken a couple of shots at implementing list_initial_handlers for orbit-python in CORBA_ORB.c but since I've failed miserably I've come here to ask for a bit of help: As far as I can see all I need to do is request the list and parse the sequence back into a python object, returning it. Requesting the list isn't a problem at all, but I'm running into trouble figuring out exactly what to do with it: should I use demarshal_sequence on the ObjectIdList or is this more envolved than I think? What exactly is this list - just a CORBA sequence of ObjectIds, or something complex? Tracking down what types go where in Orbit is rather complicated, but I'm still digging through it. One problem I've found is that if I am effectively to use demarshal_sequence, I'll have to put together a TypeCode structure, and this isn't exactly trivial to me. If anyone could lend me a hand, it would be great. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From tack@orion.dok.org Wed Nov 29 19:28:33 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from orion.dok.org (h24-70-128-84.su.shawcable.net [24.70.128.84]) by mail.gnome.org (Postfix) with SMTP id 5AECD2CF0E for ; Wed, 29 Nov 2000 19:28:32 -0500 (EST) Received: (qmail 16318 invoked by uid 500); 30 Nov 2000 00:28:53 -0000 Date: Wed, 29 Nov 2000 19:28:53 -0500 From: Jason Tackaberry To: Christian Robottom Reis Cc: Orbit-python-list@lists.sourceforge.net, orbit-list@gnome.org Subject: Re: [Orbit-python-list] RootPOA Message-ID: <20001129192853.C15920@linux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from kiko@async.com.br on Wed, Nov 29, 2000 at 09:09:56PM -0200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > This is more of a Orbit question but I'll crosspost so Jason gets some > email :-) Aww, gee, thanks for thinking of me. :) First, a disclaimer: I haven't looked at this code in a while and I'm awfully rusty. I'm especially sticking my neck out when I talk about ORBit internals, so pay more attention to say Elliot or Owen before me. :) > AFAICS, Orbit-0.5.3 only implements RootPOA as a possible request to > resolve_initial_references. Is this true? Can I not access > the NameService object? I was reasonably sure you couldn't pass NameService to resolve_initial_references with ORBit, and a quick perusal of ORBit's source shows this to be the case. The name service object only seems to be set on calling set_initial_references, which doesn't help much when you don't have a reference to the object to begin with. Fetching a reference to GNOME's name service, at least, is done with Gnorba's gnome_name_service_get(). I don't think there is some elegant way with strictly ORBit (please correct me if I'm wrong). For now it's a matter of finding the IOR from the naming service and calling string_to_object on it. > I've been quite confused about how exactly this would work. I understand I > can set an IOR for the name server in orbitrc, but how far down Orbit and > orbit-python this goes is unknown to me. Can I actually use this inside > orbit-python today? In theory if you import the CosNaming module (in non-cvs versions you do this with load_idl, with the CVS version just import CosNaming and it does everything magically) and pass the IOR to string_to_object, you should have a NamingContext object to play with. In practice, there seems to be some sort of bug with ORBit-Python that I still need to track down and this will fail. Jason. From kiko@async.com.br Thu Nov 30 09:11:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 65FAF2D9BB for ; Thu, 30 Nov 2000 09:11:15 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id MAA31892; Thu, 30 Nov 2000 12:11:01 -0200 Date: Thu, 30 Nov 2000 12:11:01 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: random.org Random.ior and orbit-python Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Does anyone have an idea why we get a Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 Traceback (innermost last): File "./random", line 14, in ? o = myorb.string_to_object(ior) CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 when trying to string_to_object random.org's IOR: IOR:000000000000000f49444c3a52616e646f6d3a312e3000000000000100000000000000500001000000000016706c616e7874792e6473672e63732e7463642e69650006220000002c3a5c706c616e7874792e6473672e63732e7463642e69653a52616e646f6d3a303a3a49523a52616e646f6d00 The c client that random.org provides works perfectly, so I wouldn't think it's an Orbit issue, but it appears Orbit _is_ raising an exception, so I'm left wondering. Any ideas? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From kiko@async.com.br Thu Nov 30 09:24:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id D1B462C81E for ; Thu, 30 Nov 2000 09:24:41 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id MAA31996; Thu, 30 Nov 2000 12:24:35 -0200 Date: Thu, 30 Nov 2000 12:24:35 -0200 (BRST) From: Christian Robottom Reis To: Jason Tackaberry Cc: Orbit-python-list@lists.sourceforge.net, orbit-list@gnome.org Subject: Re: [Orbit-python-list] RootPOA In-Reply-To: <20001129192853.C15920@linux.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Wed, 29 Nov 2000, Jason Tackaberry wrote: > I was reasonably sure you couldn't pass NameService to > resolve_initial_references with ORBit, and a quick perusal of ORBit's > source shows this to be the case. The name service object only seems to > be set on calling set_initial_references, which doesn't help much when > you don't have a reference to the object to begin with. Apparently you can set an IOR for the NameService in your orbitrc, but I have yet to see this work. This code fragment in 0.5.3 indicates it does something when you send NameService on to it: else if(!strcmp(identifier, "NameService")) return CORBA_Object_duplicate(orb->naming, ev); orb->naming being set through naming_ior or naming_addr. I don't know if this code is actually being used but it is there. > Fetching a reference to GNOME's name service, at least, is done with > Gnorba's gnome_name_service_get(). I don't think there is some elegant I thought the name service IOR for gnome came through X hints.. I can't use hints as I have a real distributed operation here. However, setting the IOR through orbitrc or through the commandline would be an initial solution, though I would have to fill this out manually until the time came where I'd have persistent object being started up by orbit (if this ever gets done :-) I suppose nobody has effectively used orbitrc or argv parameters to poison NameService so far, however. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From sopwith@redhat.com Thu Nov 30 10:46:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id A26022BAFB for ; Thu, 30 Nov 2000 10:46:58 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUFkwQ15341; Thu, 30 Nov 2000 10:46:58 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 10:46:58 -0500 (EST) From: Elliot Lee X-Sender: To: Cc: Subject: Re: random.org Random.ior and orbit-python In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Christian Robottom Reis wrote: > > Does anyone have an idea why we get a > > Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 > Traceback (innermost last): > File "./random", line 14, in ? > o = myorb.string_to_object(ior) > CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 > > when trying to string_to_object random.org's IOR: > > IOR:000000000000000f49444c3a52616e646f6d3a312e3000000000000100000000000000500001000000000016706c616e7874792e6473672e63732e7463642e69650006220000002c3a5c706c616e7874792e6473672e63732e7463642e69653a52616e646f6d3a303a3a49523a52616e646f6d00 > > The c client that random.org provides works perfectly, so I wouldn't think > it's an Orbit issue, but it appears Orbit _is_ raising an exception, so > I'm left wondering. Maybe the 'ior' that you are passing has trailing newlines or something - the string_to_object routine in ORBit releases doesn't strip off whitespace... -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From tack@orion.dok.org Thu Nov 30 10:54:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from orion.dok.org (h24-70-128-84.su.shawcable.net [24.70.128.84]) by mail.gnome.org (Postfix) with SMTP id 1E1822DE2C for ; Thu, 30 Nov 2000 10:54:05 -0500 (EST) Received: (qmail 17682 invoked by uid 500); 30 Nov 2000 15:54:32 -0000 Date: Thu, 30 Nov 2000 10:54:32 -0500 From: Jason Tackaberry To: Elliot Lee Cc: orbit-list@gnome.org, Orbit-python-list@lists.sourceforge.net Subject: Re: [Orbit-python-list] Re: random.org Random.ior and orbit-python Message-ID: <20001130105432.M17237@linux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from sopwith@redhat.com on Thu, Nov 30, 2000 at 10:46:58AM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > Maybe the 'ior' that you are passing has trailing newlines or something - > the string_to_object routine in ORBit releases doesn't strip off > whitespace... Yep, that's exactly the problem, and I was just committing the fix to cvs as you replied. :) Thanks, Jason. From kiko@async.com.br Thu Nov 30 11:28:44 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 0AE752C81E for ; Thu, 30 Nov 2000 11:28:42 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id OAA00765; Thu, 30 Nov 2000 14:28:34 -0200 Date: Thu, 30 Nov 2000 14:28:34 -0200 (BRST) From: Christian Robottom Reis To: Elliot Lee Cc: orbit-list@gnome.org Subject: Re: [Orbit-python-list] Re: random.org Random.ior and orbit-python In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Elliot Lee wrote: > Maybe the 'ior' that you are passing has trailing newlines or something - > the string_to_object routine in ORBit releases doesn't strip off > whitespace... No, it works fine in the C implementation; it's something that orbit-python does wrong. I'm still delving into it! Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From Colm.Smyth@ireland.sun.com Thu Nov 30 12:19:14 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id EFDEE2C7C5 for ; Thu, 30 Nov 2000 12:19:13 -0500 (EST) Received: from ireserver.Ireland.Sun.COM ([129.156.220.7]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA11856 for ; Thu, 30 Nov 2000 09:19:10 -0800 (PST) Received: from dbl-ray-3 (dbl-ray-3 [129.156.237.102]) by ireserver.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.0) with SMTP id RAA12477 for ; Thu, 30 Nov 2000 17:19:09 GMT Message-Id: <200011301719.RAA12477@ireserver.Ireland.Sun.COM> Date: Thu, 30 Nov 2000 17:19:09 +0000 (GMT) From: Colm Smyth To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: Qzmgy2HvktoGA95NwpCERw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc Subject: (no subject) Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I'm using some purify-like features of Sun's debugging tool (dbx) to track down possible errors in some of the core GNOME libraries, including ORBit. One rui (read uninitialised) error that recurs frequently is caused by the fact that ORBit aligns int/long values encoded into a CDR_Codec using the ALIGN_ADDRESS() macro in CDR_buffer_putn(). The alignment moves the wptr forward which leaves an unnitialised "hole". It's quite trivial to fix: orbit/src/orb/cdr.c: static CORBA_boolean CDR_buffer_putn(CDR_Codec *codec, void *datum, int bsize) { #ifdef PURIFY unsigned int forward = (unsigned long)ALIGN_ADDRESS(codec->wptr, bsize); while (forward > codec->wptr) codec->buffer[codec->wptr++] = '\0'; #else codec->wptr = (unsigned int)ALIGN_ADDRESS(codec->wptr, bsize); #endif (as an aside, I changed the unsigned long cast to unsigned int to match the declaration of CDR_Codec.wptr. In a dbx-purify run of some test programs, only one other warning is reported because of the deliberate use of uninitialised data in genrand_unix(). It's very nice to see that ORBit is very clean ;) but more importantly if this fix is accepted, it's easier to purify applications based on ORBit. By the way, I wonder if the alignment is strictly necessary since data is always copied byte-wise to and from a CDR_Codec buffer. Colm. From sopwith@redhat.com Thu Nov 30 12:43:34 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id B63802BAAA for ; Thu, 30 Nov 2000 12:43:34 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUHhYW30023 for ; Thu, 30 Nov 2000 12:43:34 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 12:43:34 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: Re: (no subject) In-Reply-To: <200011301719.RAA12477@ireserver.Ireland.Sun.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Colm Smyth wrote: > CDR_buffer_putn(CDR_Codec *codec, void *datum, int bsize) > { > #ifdef PURIFY > unsigned int forward = (unsigned long)ALIGN_ADDRESS(codec->wptr, > bsize); > while (forward > codec->wptr) > codec->buffer[codec->wptr++] = '\0'; > #else > codec->wptr = (unsigned int)ALIGN_ADDRESS(codec->wptr, bsize); > #endif > > (as an aside, I changed the unsigned long cast to unsigned int to match > the declaration of CDR_Codec.wptr. > > In a dbx-purify run of some test programs, only one other warning is > reported because of the deliberate use of uninitialised data in > genrand_unix(). > > It's very nice to see that ORBit is very clean ;) but more importantly > if this fix is accepted, it's easier to purify applications based > on ORBit. I have put basically this patch into the orbit-stable-0-5 branch in CVS - the change will be in version 0.5.5. > By the way, I wonder if the alignment is strictly necessary since data is > always copied byte-wise to and from a CDR_Codec buffer. The alignment is for the CDR stream, not to facilitate local machine usage (well, that's partially false - the CDR alignment rules exist to facilitate local machine usage). -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Thu Nov 30 13:14:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id AA8852BAAA for ; Thu, 30 Nov 2000 13:14:54 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUIEss02927 for ; Thu, 30 Nov 2000 13:14:54 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 13:14:54 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: ORBit 0.5.5 release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development It's up on ftp.gnome.org. The biggest thing about it is DynAny support, courtesy of Michael Meeks. There are also the usual bug fixes. ftp://ftp.gnome.org/pub/ORBit/ORBit-0.5.5.tar.gz Share & enjoy, -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From chardros@ashtech.net Thu Nov 30 15:32:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ashtech.net (ashtech.pa.net [205.166.61.57]) by mail.gnome.org (Postfix) with SMTP id 9E1982CDC3 for ; Thu, 30 Nov 2000 15:32:50 -0500 (EST) Received: (qmail 7132 invoked from network); 30 Nov 2000 20:32:44 -0000 Received: from ip134.49.blca.blazenet.net (HELO neptune.jlab.int) (24.104.49.134) by ashtech.pa.net with SMTP; 30 Nov 2000 20:32:44 -0000 Received: (from chardros@localhost) by neptune.jlab.int (8.11.0/8.9.3) id eAUKXuD32280 for orbit-list@gnome.org; Thu, 30 Nov 2000 15:33:56 -0500 Date: Thu, 30 Nov 2000 15:33:36 -0500 From: Jason Pincin To: orbit-list@gnome.org Subject: Re: ORBit 0.5.5 release Message-ID: <20001130153329.A32275@neptune.jlab.int> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sopwith@redhat.com on Thu, Nov 30, 2000 at 01:14:54PM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Does this release contain the needed fixes to play nice with Sattelite in PHP? I know I was unable to move to the official 0.5.4 because of some issue (discussed earlier on this list), and had to run a snap shot or ORBit. Anyone know yet? Jason On Thu, Nov 30, 2000 at 01:14:54PM -0500, Elliot Lee wrote: > It's up on ftp.gnome.org. The biggest thing about it is DynAny support, > courtesy of Michael Meeks. There are also the usual bug fixes. > > ftp://ftp.gnome.org/pub/ORBit/ORBit-0.5.5.tar.gz > > Share & enjoy, > -- Elliot > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67 words, the 10 Commandments have 179 words, the > Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and > finally the European Commission's regulation on the sale of cabbage: 26,911 words." > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From david@2good.nu Thu Nov 30 15:46:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id BB91E2C8A2 for ; Thu, 30 Nov 2000 15:46:21 -0500 (EST) Received: from gwan (david@gwan.roots [172.16.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id VAA16522 for ; Thu, 30 Nov 2000 21:46:20 +0100 From: David Eriksson To: orbit-list@gnome.org Subject: Re: ORBit 0.5.5 release Date: Thu, 30 Nov 2000 21:46:23 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" References: <20001130153329.A32275@neptune.jlab.int> In-Reply-To: <20001130153329.A32275@neptune.jlab.int> MIME-Version: 1.0 Message-Id: <00113021462303.00276@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thursday 30 November 2000 21:33, you wrote: >Does this release contain the needed fixes to play nice with Sattelite >in PHP? I know I was unable to move to the official 0.5.4 because of > some issue (discussed earlier on this list), and had to run a snap shot > or ORBit. Anyone know yet? It does not contain the fixes that Satellite needs :-( -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From trohed@yahoo.com Thu Nov 30 16:49:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web10301.mail.yahoo.com (web10301.mail.yahoo.com [216.136.130.79]) by mail.gnome.org (Postfix) with SMTP id 7594B2BAAA for ; Thu, 30 Nov 2000 16:49:05 -0500 (EST) Message-ID: <20001130214901.77066.qmail@web10301.mail.yahoo.com> Received: from [206.31.111.24] by web10301.mail.yahoo.com; Thu, 30 Nov 2000 13:49:01 PST Date: Thu, 30 Nov 2000 13:49:01 -0800 (PST) From: trohed Subject: multithreaded and POA information To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Can you please point me in the direction of some documentation on writing multi-threaded corba servers and some information on POA. Thanks __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From dietmar@maurer-it.com Wed Nov 1 06:09:09 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id DBA9D2BB98 for ; Wed, 1 Nov 2000 06:09:08 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Wed, 1 Nov 2000 11:57:03 +0100 (CET) Message-ID: <39FFF6FD.9830BE7A@maurer-it.com> Date: Wed, 01 Nov 2000 11:57:03 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: howto get the servant from the object reference Content-Type: multipart/alternative; boundary="------------49AFFAFA9FC28A2EEA4580B5" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --------------49AFFAFA9FC28A2EEA4580B5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the PortableServer_Servant if I only have a CORBA_Object (if the object is local)? What I need is something like this: if (servant = servant_from_object (obj)) { /* found the servant */ } else { /* object is not local */ } --------------49AFFAFA9FC28A2EEA4580B5 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the PortableServer_Servant if I only
have a CORBA_Object (if the object is local)?

What I need is something like this:

if (servant = servant_from_object (obj)) {
     /* found the servant */
} else {
    /* object is not local */
} --------------49AFFAFA9FC28A2EEA4580B5-- From mkul@zenon.net Wed Nov 1 10:19:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from pb.zenon.net (cleopatra.zenon.net [195.2.64.6]) by mail.gnome.org (Postfix) with ESMTP id D44AB2BAEA for ; Wed, 1 Nov 2000 10:19:56 -0500 (EST) Received: from mp.aha.ru (mp.hq.zenon.net [192.168.9.150]) by pb.zenon.net (8.9.3/8.9.3) with ESMTP id SAA45831 for ; Wed, 1 Nov 2000 18:08:23 +0300 (MSK) (envelope-from mkul@zenon.net) Received: from [192.168.13.39] (HELO zenon.net) by mp.aha.ru (CommuniGate Pro SMTP 3.4b2) with ESMTP id 4130854 for orbit-list@gnome.org; Wed, 01 Nov 2000 18:06:28 +0300 Message-ID: <3A003143.84E5DC2F@zenon.net> Date: Wed, 01 Nov 2000 18:05:39 +0300 From: Michael Kulakov Organization: Zenon X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: make async. work with orbit Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello! CORBA_boolean CORBA_ORB_work_pending(CORBA_ORB orb, CORBA_Environment *ev) { g_assert(!"Not yet implemented"); return(CORBA_FALSE); } /* Section 4.9.2 */ void CORBA_ORB_perform_work(CORBA_ORB orb, CORBA_Environment *ev) { g_assert(!"Not yet implemented"); return; } What about any plans to implement this functions ? Michael From zhonghm@163.net Wed Nov 1 20:34:03 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from bjapp2.163.net (unknown [202.108.255.212]) by mail.gnome.org (Postfix) with ESMTP id 6150D2BD01 for ; Wed, 1 Nov 2000 20:34:02 -0500 (EST) Received: from main (unknown [61.129.38.105]) by bjapp2.163.net (Postfix) with SMTP id 341DF1C6E2A18 for ; Thu, 2 Nov 2000 09:20:56 +0800 (CST) Message-ID: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> From: "Zhong Haoming" To: Subject: =?hz-gb-2312?B?fns7WDg0fn06IGhvd3RvIGdldCB0aGUgc2VydmFudCBmcm9tIHQ=?= =?hz-gb-2312?B?aGUgb2JqZWN0IHJlZmVyZW5jZQ==?= Date: Thu, 2 Nov 2000 09:22:51 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01C044AE.7933A580" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C044AE.7933A580 Content-Type: text/plain; charset="hz-gb-2312" Content-Transfer-Encoding: quoted-printable Hi! I think you can not do that. -----Original Message----- ~{7"<~HK~}: Dietmar Maurer ~{JU<~HK~}: orbit-list@gnome.org ~{HUFZ~}: 2000~{Dj~}11~{TB~}1~{HU~} 23:21 ~{VwLb~}: howto get the servant from the object reference =20 =20 Is it possible to get the PortableServer_Servant if I only=20 have a CORBA_Object (if the object is local)?=20 What I need is something like this:=20 if (servant =3D servant_from_object (obj)) {=20 /* found the servant */=20 } else {=20 /* object is not local */=20 }=20 ------=_NextPart_000_0039_01C044AE.7933A580 Content-Type: text/html; charset="hz-gb-2312" Content-Transfer-Encoding: quoted-printable

Hi!
I think you = can not do=20 that.
-----Original = Message-----
~{7"<~HK~}:=20 Dietmar Maurer <dietmar@maurer-it.com>
~{JU<~HK~}:=20 orbit-list@gnome.org = <orbit-list@gnome.org>
~= {HUFZ~}:=20 2000~{Dj~}11~{TB~}1~{HU~} 23:21
~{VwLb~}: howto get = the servant from the object=20 reference

Is it possible to get the=20 PortableServer_Servant if I only
have a CORBA_Object (if the = object is=20 local)?=20

What I need is something like this:=20

if (servant =3D servant_from_object (obj)) {=20
     /* found the servant */ =
} else=20 {
    /* object is not local */=20
}

------=_NextPart_000_0039_01C044AE.7933A580-- From joe@pinguind.co.id Thu Nov 2 02:06:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from penguin.idola.net.id (eskimo.penguin.idola.net.id [202.152.20.54]) by mail.gnome.org (Postfix) with SMTP id 965DB2DE29 for ; Thu, 2 Nov 2000 02:06:39 -0500 (EST) Received: (qmail 24961 invoked by uid 510); 2 Nov 2000 18:02:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Nov 2000 18:02:38 -0000 Date: Thu, 2 Nov 2000 13:02:38 -0500 (EST) From: Zulkarnaen Hatala To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() In-Reply-To: <1258-Tue31Oct2000101834+0000-starksb@ebi.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Here is my code from factory-server.c --code sniff-- CosNaming_NamingContext name_srv; --code sniff-- name_srv = CORBA_ORB_resolve_initial_references(orb, "NameService", &ev); if(name_srv==NULL){ g_message("name_srv is always null"); g_message("%d",ev._major); exit(0); } --code sniff-- CosNaming_NamingContext_bind(name_srv,fac_name, fac, &ev); --code sniff-- The fact is segmentation fault because name_srv is always NULL, somebody tell me how to fix this problem .. I still don't understand why ..:) -- joe Zulkarnaen Hatala L I V E email : joe@pinguind.co.id F R E E PinguinD Linux ONE STOP SOLUTIONS http://www.pinguind.co.id O * R UIN : 49727749 telp : 62-022-2509327 D I E From jiva@dharmabox.opnix.net Thu Nov 2 02:21:04 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id 336D62CB60 for ; Thu, 2 Nov 2000 02:21:04 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id C99591A712; Thu, 2 Nov 2000 00:08:24 -0700 (MST) Date: Thu, 2 Nov 2000 00:08:24 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Shortened IORs? Message-ID: <20001102000824.A4516@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Greetings! We're using ORBit for some internal projects here. We have been developping these applications using Mandrake 7.1, but recently, we tried running the apps on a Debian Woody box and on a Mandrake 7.2 box. Both of these machines cause our app to generate a bad IOR which is shorter than a normal one. When we run this through parseIOR, we get "invalid object ref" as an error. We have tried changing versions of ORBit on these boxes, but had no success. The versions of ORBit we've tried are: 0.5.4 0.5.2 0.5.1 All of them do the same thing. Question is: What would cause this, and what can I do to further diagnose the problem? -- From dietmar@maurer-it.com Thu Nov 2 02:29:10 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id E10922BAB8 for ; Thu, 2 Nov 2000 02:29:09 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 2 Nov 2000 08:17:02 +0100 (CET) Message-ID: <3A0114ED.14401930@maurer-it.com> Date: Thu, 02 Nov 2000 08:17:02 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I have just found a way: obj->servant Although I think this is ORBit specific? Zhong Haoming wrote: > Hi!I think you can not do that. > > Is it possible to get the PortableServer_Servant if I only > > have a CORBA_Object (if the object is local)? > > What I need is something like this: > > if (servant = servant_from_object (obj)) { > /* found the servant */ > } else { > /* object is not local */ > } > From jiva@dharmabox.opnix.net Thu Nov 2 02:33:01 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id AA0B22BAB8 for ; Thu, 2 Nov 2000 02:33:00 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id 6AD751A71E; Thu, 2 Nov 2000 00:20:30 -0700 (MST) Date: Thu, 2 Nov 2000 00:20:30 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Re: make async. work with orbit Message-ID: <20001102002030.A4555@opnix.com> References: <3A003143.84E5DC2F@zenon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A003143.84E5DC2F@zenon.net>; from mkul@zenon.net on Wed, Nov 01, 2000 at 06:05:39PM +0300 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I asked a very similar question a few weeks ago. I don't think there's plans for this right now, but you can accomplish virtually the same thing by sticking a glib main loop into your software and using it's work_pending constructs. This is actually signifigantly less work than it sounds like on the surface and I might be able to point you in the direction of some sample code if you are interested. On Wed, Nov 01, 2000 at 06:05:39PM +0300, Michael Kulakov wrote: > Hello! > > CORBA_boolean CORBA_ORB_work_pending(CORBA_ORB orb, CORBA_Environment > *ev) > { > g_assert(!"Not yet implemented"); > return(CORBA_FALSE); > } > > /* Section 4.9.2 */ > void CORBA_ORB_perform_work(CORBA_ORB orb, CORBA_Environment *ev) > { > g_assert(!"Not yet implemented"); > return; > } > > What about any plans to implement this functions ? > > Michael > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- From wilhelmi@ira.uka.de Thu Nov 2 04:50:30 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id CC3AF2BAB8 for ; Thu, 2 Nov 2000 04:50:29 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Thu, 2 Nov 2000 10:38:20 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Thu, 2 Nov 2000 10:38:19 +0100 Message-ID: <3A01360B.E2E2AD2A@ira.uka.de> Date: Thu, 02 Nov 2000 10:38:19 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, Jiva DeVoe Subject: Re: Shortened IORs? References: <20001102000824.A4516@opnix.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Jiva, > We're using ORBit for some internal projects here. We have been > developping these applications using Mandrake 7.1, but recently, we > tried running the apps on a Debian Woody box and on a Mandrake 7.2 > box. Both of these machines cause our app to generate a bad IOR which > is shorter than a normal one. When we run this through parseIOR, we > get "invalid object ref" as an error. We have tried changing versions > of ORBit on these boxes, but had no success. The versions of ORBit > we've tried are: See Question 2b) on http://orbit-resource.sourceforge.net/faq.html Bye, Sebastian -- = Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo= lnen mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runderli= gt bl=E5 http://goethe.ira.uka.de/~wilhelmi | From wilhelmi@ira.uka.de Thu Nov 2 04:55:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id C520A2BAB8 for ; Thu, 2 Nov 2000 04:55:41 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Thu, 2 Nov 2000 10:43:34 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Thu, 2 Nov 2000 10:43:33 +0100 Message-ID: <3A013744.F17F3E85@ira.uka.de> Date: Thu, 02 Nov 2000 10:43:32 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Zulkarnaen, > The fact is segmentation fault because name_srv is always NULL, > somebody tell me how to fix this problem .. > I still don't understand why ..:) You have to start the name-service. This sputs out an IOR. This IOR has t= o be given as an argument to the ORBit-program, just like the following exampl= e: orbit-name-server >/tmp/ior & yourserver -ORBNamingIOR=3D`cat /tmp/ior` & yourclient -ORBNamingIOR=3D`cat /tmp/ior` That should work. Bye, Sebastian -- = Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo= lnen mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runderli= gt bl=E5 http://goethe.ira.uka.de/~wilhelmi | From philipd@users.sourceforge.net Thu Nov 2 07:01:52 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from beamail.beasys.com (unknown [63.96.163.29]) by mail.gnome.org (Postfix) with ESMTP id 913282BAC0 for ; Thu, 2 Nov 2000 07:01:51 -0500 (EST) Received: from london.beasys.com (london [10.5.1.10]) by beamail.beasys.com (8.9.1b+Sun/8.9.1) with ESMTP id DAA22370 for ; Thu, 2 Nov 2000 03:49:42 -0800 (PST) Received: from pdawes.beasys.com (lhr-modem6.beasys.com [10.5.1.17]) by london.beasys.com (8.9.3+Sun/8.9.1) with SMTP id LAA10099 for ; Thu, 2 Nov 2000 11:49:33 GMT X-Mailer: 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid (via feedmail 8 I); VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid From: "Phil Dawes" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14849.21763.358000.653405@pdawes.beasys.com> Date: Thu, 2 Nov 2000 11:50:27 +0000 (GMT0:00) To: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference In-Reply-To: <3A0114ED.14401930@maurer-it.com> References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> <3A0114ED.14401930@maurer-it.com> Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Dietmar, Yes, this is definately ORBit specific (and it breaks the CORBA model) I'm curious - why do you want to do this? Cheers, Phil Dietmar Maurer writes: > I have just found a way: obj->servant > Although I think this is ORBit specific? > > Zhong Haoming wrote: > > > Hi!I think you can not do that. > > > > Is it possible to get the PortableServer_Servant if I only > > > > have a CORBA_Object (if the object is local)? > > > > What I need is something like this: > > > > if (servant = servant_from_object (obj)) { > > /* found the servant */ > > } else { > > /* object is not local */ > > } > > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From dietmar@maurer-it.com Thu Nov 2 07:53:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id 0B1AF2BD71 for ; Thu, 2 Nov 2000 07:53:32 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 2 Nov 2000 13:41:25 +0100 (CET) Message-ID: <3A0160F3.EB0D31B7@maurer-it.com> Date: Thu, 02 Nov 2000 13:41:23 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: philipd@users.sourceforge.net Cc: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> <3A0114ED.14401930@maurer-it.com> <14849.21763.358000.653405@pdawes.beasys.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Phil Dawes wrote: > Hi Dietmar, > > Yes, this is definately ORBit specific (and it breaks the CORBA model) > I'm curious - why do you want to do this? I want to use this for the bonobo storage implementation. There is a copyTo() method which copies one storage to another one. The operation can be highly optimized if both servers are local. It is also the only way to detect cyclic copies. From mkul@zenon.net Thu Nov 2 08:01:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from pb.zenon.net (cleopatra.zenon.net [195.2.64.6]) by mail.gnome.org (Postfix) with ESMTP id 159C22BF7E for ; Thu, 2 Nov 2000 08:01:49 -0500 (EST) Received: from mp.aha.ru (mp.hq.zenon.net [192.168.9.150]) by pb.zenon.net (8.9.3/8.9.3) with ESMTP id PAA43330 for ; Thu, 2 Nov 2000 15:50:21 +0300 (MSK) (envelope-from mkul@zenon.net) Received: from [192.168.13.39] (HELO zenon.net) by mp.aha.ru (CommuniGate Pro SMTP 3.4b2) with ESMTP id 4142231 for orbit-list@gnome.org; Thu, 02 Nov 2000 15:48:14 +0300 Message-ID: <3A016256.EE3BC50F@zenon.net> Date: Thu, 02 Nov 2000 15:47:18 +0300 From: Michael Kulakov Organization: Zenon X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() References: <3A013744.F17F3E85@ira.uka.de> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello! > orbit-name-server >/tmp/ior & > yourserver -ORBNamingIOR=`cat /tmp/ior` & > yourclient -ORBNamingIOR=`cat /tmp/ior` and: ssh -f nameservicemachine orbit-name-server > /tmp/ior scp /tmp/ior servermachine:/tmp/ior scp /tmp/ior clientmachine:/tmp/ior ssh -f servermachine yourserver -ORBNamingIOR=`cat /tmp/ior` ssh -f clientmachine yourclient -ORBNamingIOR=`cat /tmp/ior` truly distributed application :) Now we wanny to try to restart orbit-name-server :) Michael From sam@topic.com.au Thu Nov 2 22:30:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.topic.com.au (topic-gw2.topic.com.au [203.37.31.2]) by mail.gnome.org (Postfix) with ESMTP id EEE552E06C for ; Thu, 2 Nov 2000 22:30:30 -0500 (EST) Received: by mailhost.topic.com.au (Postfix, from userid 1) id 6B4201105D; Fri, 3 Nov 2000 14:18:19 +1100 (EST) Received: from beethoven.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id 1511FB0DA; Fri, 3 Nov 2000 14:18:08 +1100 (EST) Received: by beethoven.tsa (sSMTP sendmail emulation); Fri, 3 Nov 2000 14:19:12 +1100 From: Sam Couter Date: Fri, 3 Nov 2000 14:19:12 +1100 To: orbit-list@gnome.org, orbitcpp-list@lists.sourceforge.net Subject: CORBA_long_double type Message-ID: <20001103141912.A31610@topic.com.au> Mail-Followup-To: orbit-list@gnome.org, orbitcpp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: Linux 2.2.17 on a i586 X-AntiVirus: scanned for viruses by AMaViS perl-8 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable G'day all. I'm working on implementing Any in ORBit-C++, but have a problem. The C++ mapping spec says that the CORBA::LongDouble type must be distinct from other types for the purposes of overloading functions. CORBA::LongDouble is typedef'd to ORBit's CORBA_long_double type, which is in turn typedef'd to glib's gdouble type. CORBA::Double is likewise typedef'd to ORBit's CORBA_double type, which is also typed to glib's gdouble type. So the compiler can't tell them apart, and thinks the Any insertion operator for CORBA::LongDouble is a redeclaration of the insertion operator for CORBA::Double. That's no good. I tried changing the typedef for CORBA_long_double to "long double" (I would have used glib's gldouble if it had been defined) and rebuilding ORBit, but now if I try to send CORBA_long_double arguments I get garbage. I can't see anywhere that has a size hard-coded. Yes, I rebuilt the IDL compiler as well, and regenerated the stubs and skeletons with that. Can anyone help me make CORBA_long_double a distinct type from CORBA_double? Or more importantly, make CORBA::LongDouble distinct from CORBA::Double? I don't really want to write a CORBA::LongDouble class and implement all the standard arithmetic operators. :( --=20 Sam Couter | Internet Engineer | http://www.topic.com.au/ sam@topic.com.au | tSA Consulting | PGP key available on key servers PGP key fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6Ai6whTADrt6Jx1wRAr8lAJ9ttHLScUqu/FMEI095GfkW/JYj1gCgtoyv g7Vosptgbpq/e2FD+Mvb538= =Z3kh -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From sopwith@redhat.com Fri Nov 3 11:08:55 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1A6572BCB4 for ; Fri, 3 Nov 2000 11:08:55 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA3FuaY23305; Fri, 3 Nov 2000 10:56:36 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Fri, 3 Nov 2000 10:56:36 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Cc: orbitcpp-list@lists.sourceforge.net Subject: Re: CORBA_long_double type In-Reply-To: <20001103141912.A31610@topic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri, 3 Nov 2000, Sam Couter wrote: > I tried changing the typedef for CORBA_long_double to "long double" (I would > have used glib's gldouble if it had been defined) and rebuilding ORBit, but > now if I try to send CORBA_long_double arguments I get garbage. > Can anyone help me make CORBA_long_double a distinct type from CORBA_double? The problem is that 'long double' is totally undefined. On my Alpha box, it is the same size as a 'double'. On my x86 box, it is 12 bytes compared to 8 for a double. The CORBA spec seems to want it to be 16 bytes long. I am not sure if the ORBit IDL compiler even handles 'long double' properly... I would recommend avoiding it altogether if possible - it seems it is too much of a problem to actually implement... -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From jiva@dharmabox.opnix.net Fri Nov 3 22:56:19 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id C99CC2CC98 for ; Fri, 3 Nov 2000 22:56:19 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id 8E7CF25BD1; Fri, 3 Nov 2000 20:43:21 -0700 (MST) Date: Fri, 3 Nov 2000 20:43:21 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Calling corba within a corba calls? Message-ID: <20001103204321.A16399@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Is it OK to make another corba call within a handler of a corba call? ie: I have an object A that is called. Within it's handler of the call, it calls object B. Is that OK? -- Jiva DeVoe VP Of Software Development Opnix, Inc. - Simply sensous bandwidth. GPG Fingerprint: 0A17 DF84 516A 1DC4 B837 FE6D 3128 41CD 97CB 4AA7 From binnema@djcb.dyndns.org Sat Nov 4 07:07:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn84.dh.casema.net [213.17.5.84]) by mail.gnome.org (Postfix) with SMTP id 8EB832DEAA for ; Sat, 4 Nov 2000 07:07:53 -0500 (EST) Received: (qmail 3549 invoked by uid 550); 4 Nov 2000 13:03:23 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 4 Nov 2000 13:03:23 -0000 Date: Sat, 4 Nov 2000 13:04:10 +0100 From: "Dirk-Jan C . Binnema" To: Jiva DeVoe Cc: orbit-list@gnome.org Subject: Re: Calling corba within a corba calls? Message-ID: <20001104130400.A771@mindcrime.djb.nl> References: <20001103204321.A16399@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20001103204321.A16399@opnix.com>; from jiva@opnix.com on Fri, Nov 03, 2000 at 08:43:21PM -0700 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri Nov 03, 2000 at 08:43:21PM -0700, Jiva DeVoe wrote: -> Is it OK to make another corba call within a handler of a corba call? -> ie: -> -> I have an object A that is called. Within it's handler of the call, -> it calls object B. Is that OK? yes. From tlewis@secureworks.net Sun Nov 5 19:50:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id 796322DBC7 for ; Sun, 5 Nov 2000 19:50:25 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id UAA33478; Sun, 5 Nov 2000 20:38:42 GMT (envelope-from tlewis@secureworks.net) Date: Sun, 5 Nov 2000 19:38:08 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Cc: Jiva DeVoe Subject: Re: Calling corba within a corba calls? In-Reply-To: <20001104130400.A771@mindcrime.djb.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development You just have to make sure that you don't by call B call back into the handler which made call A and is blocked waiting on the return, or else you'll deadlock. If you are running multithreaded, then this is not a problem. -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz On Sat, 4 Nov 2000, Dirk-Jan C . Binnema wrote: > On Fri Nov 03, 2000 at 08:43:21PM -0700, Jiva DeVoe wrote: > -> Is it OK to make another corba call within a handler of a corba call? > -> ie: > -> > -> I have an object A that is called. Within it's handler of the call, > -> it calls object B. Is that OK? > > yes. > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From renfin@telnor.net Mon Nov 6 13:02:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id 358842D169 for ; Mon, 6 Nov 2000 13:02:23 -0500 (EST) Received: from telnor.net (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id KAA15350; Mon, 6 Nov 2000 10:02:15 -0800 (PST) Message-ID: <3A06F2B2.392AC3EA@telnor.net> Date: Mon, 06 Nov 2000 10:04:34 -0800 From: Rene Maldonado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, CORBA Subject: Strings in ORBit Content-Type: multipart/mixed; boundary="------------03A51EA2C393487CA8E636A5" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------03A51EA2C393487CA8E636A5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have a problem I can't pass a string from the server to the client, in fact, a pass the string, from the point of view of the client, everithing is OK, I call the client, an the string appear on the screen, but on the server side an error occur: ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef) aborting... Aborted (core dumped) Any one know what can I do??? if I pass an integer, a short, or any numeric type, nothing hapens, everithing is OK. --------------03A51EA2C393487CA8E636A5 Content-Type: text/x-vcard; charset=us-ascii; name="renfin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="renfin.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------03A51EA2C393487CA8E636A5-- From dietmar@maurer-it.com Mon Nov 6 13:27:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id EDDED2BB75 for ; Mon, 6 Nov 2000 13:27:55 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Mon, 6 Nov 2000 19:27:55 +0100 (CET) Message-ID: <3A06F82A.354B56DD@maurer-it.com> Date: Mon, 06 Nov 2000 19:27:54 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: renfin@telnor.net Cc: orbit-list@gnome.org Subject: Re: Strings in ORBit References: <3A06F2B2.392AC3EA@telnor.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Rene Maldonado wrote: > Hi All, > > I have a problem I can't pass a string from the server to the client, in > fact, a pass the string, from the point of view of the client, > everithing is OK, I call the client, an the string appear on the screen, > but on the server side an error occur: > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > (block->magic == 0xdeadbeef) > aborting... > Aborted (core dumped) > > Any one know what can I do??? You have to use the CORBA functions to allocate the memory for the string, or simply use CORBA_string_dup (string) From Andy_Marchewka@i2.com Mon Nov 6 14:12:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtpmta2.i2.com (smtpmta2.i2.com [64.26.226.11]) by mail.gnome.org (Postfix) with ESMTP id 223AE2BECC for ; Mon, 6 Nov 2000 14:12:27 -0500 (EST) Received: from i2Markham.i2.com ([10.77.2.10]) by smtpmta2.i2.com (Lotus Domino Release 5.0.5) with ESMTP id 2000110613121688:26013 ; Mon, 6 Nov 2000 13:12:16 -0600 Subject: Re: CORBA-DEV: Strings in ORBit To: Rene Maldonado Cc: corba-dev@randomwalk.com, orbit-list@gnome.org X-Mailer: Lotus Notes Release 5.0.2b (Intl) 16 December 1999 Message-ID: From: Andy_Marchewka@i2.com Date: Mon, 6 Nov 2000 14:12:16 -0500 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on i2Markham/Servers/i2Tech(Release 5.0.2b (Intl)|16 December 1999) at 11/06/2000 02:12:16 PM, Itemize by SMTP Server on SMTPMTA2/i2Tech(Release 5.0.5 |September 22, 2000) at 11/06/2000 01:12:17 PM, Serialize by Router on SMTPMTA2/i2Tech(Release 5.0.5 |September 22, 2000) at 11/06/2000 01:12:26 PM, Serialize complete at 11/06/2000 01:12:26 PM Content-type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Rene: May be a memory management issue.... Are you allocating a copy of the string for the client with CORBA::string_alloc() or CORBA::string_dup()? The server-side ORB will deallocate your string after it sends it to the client, so you need to allocate a copy specifically to return to the caller with one of the above functions. If you are sending a string that the server owns, you will likely have memory problems. - Andy Rene Maldonado To: orbit-list@gnome.org, CORBA r.net> cc: Subject: CORBA-DEV: Strings in ORBit 11/06/00 01:04 PM boundary="------------03A51EA2C393487CA8E636A5" This is a multi-part message in MIME format. --------------03A51EA2C393487CA8E636A5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have a problem I can't pass a string from the server to the client, in fact, a pass the string, from the point of view of the client, everithing is OK, I call the client, an the string appear on the screen, but on the server side an error occur: ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef) aborting... Aborted (core dumped) Any one know what can I do??? if I pass an integer, a short, or any numeric type, nothing hapens, everithing is OK. From sopwith@redhat.com Mon Nov 6 14:15:12 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 8A1D72C930 for ; Mon, 6 Nov 2000 14:15:12 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA6JFCd22949; Mon, 6 Nov 2000 14:15:12 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 6 Nov 2000 14:15:12 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Cc: CORBA Subject: Re: Strings in ORBit In-Reply-To: <3A06F2B2.392AC3EA@telnor.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 6 Nov 2000, Rene Maldonado wrote: > Hi All, > > I have a problem I can't pass a string from the server to the client, in > fact, a pass the string, from the point of view of the client, > everithing is OK, I call the client, an the string appear on the screen, > but on the server side an error occur: > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > (block->magic == 0xdeadbeef) > aborting... > Aborted (core dumped) > > Any one know what can I do??? > > if I pass an integer, a short, or any numeric type, nothing hapens, > everithing is OK. When you return a value from the implementation, you are also returning ownership of the memory associated with that value (if any). Numeric types are returned by value, so there is no associated memory to return. Strings, on the other hand, have associated memory that must be copied if you do not wish to return ownership of the memory for the existing value. -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From renfin@telnor.net Mon Nov 6 14:39:29 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id A54042BC01 for ; Mon, 6 Nov 2000 14:39:27 -0500 (EST) Received: from telnor.net (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id LAA24099; Mon, 6 Nov 2000 11:38:36 -0800 (PST) Message-ID: <3A070946.1956FCE8@telnor.net> Date: Mon, 06 Nov 2000 11:40:54 -0800 From: Rene Maldonado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Dietmar Maurer Cc: orbit-list@gnome.org Subject: Re: Strings in ORBit References: <3A06F2B2.392AC3EA@telnor.net> <3A06F82A.354B56DD@maurer-it.com> Content-Type: multipart/mixed; boundary="------------4B6C7EF7C34FC53D0E18B273" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------4B6C7EF7C34FC53D0E18B273 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi : Do you know where can I find some examples that use strings, all I need is some code to have some reference.. Thanks Dietmar Maurer wrote: > Rene Maldonado wrote: > > > Hi All, > > > > I have a problem I can't pass a string from the server to the client, in > > fact, a pass the string, from the point of view of the client, > > everithing is OK, I call the client, an the string appear on the screen, > > but on the server side an error occur: > > > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > > (block->magic == 0xdeadbeef) > > aborting... > > Aborted (core dumped) > > > > Any one know what can I do??? > > You have to use the CORBA functions to allocate the memory for the string, > or simply use CORBA_string_dup (string) --------------4B6C7EF7C34FC53D0E18B273 Content-Type: text/x-vcard; charset=us-ascii; name="renfin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="renfin.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------4B6C7EF7C34FC53D0E18B273-- From zhonghm@163.net Mon Nov 6 20:49:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from bjapp1.163.net (unknown [202.108.255.211]) by mail.gnome.org (Postfix) with ESMTP id AE8092DBBB for ; Mon, 6 Nov 2000 20:48:10 -0500 (EST) Received: from main (unknown [61.129.38.92]) by bjapp1.163.net (Postfix) with SMTP id 05C831C99C849 for ; Tue, 7 Nov 2000 09:42:35 +0800 (CST) Message-ID: <001201c0485c$5b295380$010a0a0a@main.sigurd.com.cn> From: "Zhong Haoming" To: Subject: =?hz-gb-2312?B?fns7WDg0fn06IFN0cmluZ3MgaW4gT1JCaXQ=?= Date: Tue, 7 Nov 2000 09:45:05 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="hz-gb-2312" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi! Rene -----Original Message----- ~{7"<~HK~}: Rene Maldonado ~{JU<~HK~}: orbit-list@gnome.org ; CORBA ~{HUFZ~}: 2000~{Dj~}11~{TB~}7~{HU~} 2:02 ~{VwLb~}: Strings in ORBit >Hi All, > >I have a problem I can't pass a string from the server to the client, in >fact, a pass the string, from the point of view of the client, >everithing is OK, I call the client, an the string appear on the screen, >but on the server side an error occur: > >** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: >(block->magic == 0xdeadbeef) >aborting... >Aborted (core dumped) > >Any one know what can I do??? > >if I pass an integer, a short, or any numeric type, nothing hapens, >everithing is OK. > Here is a sample to return string CORBA_char * ren; ren =CORBA_string_alloc (REN_LEN); return ren; or you can use ren=CORBA_string_dup (anotherstring); and then return it; In ORBit, CORBA_string_alloc (LEN) is defined as return ORBit_alloc(LEN+1,NULL,NULL); > > From jp.roumian@mobileway.com Tue Nov 7 14:08:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.fr.uu.net (smtp2.fr.uu.net [194.98.0.8]) by mail.gnome.org (Postfix) with ESMTP id 10CB32BBBA for ; Tue, 7 Nov 2000 14:08:32 -0500 (EST) Received: from brainwasher.iway.fr (brainwasher.iway.fr [212.208.127.1]) by mail.fr.uu.net (Postfix) with ESMTP id D1B5C321A1 for ; Tue, 7 Nov 2000 20:08:16 +0100 (MET) Received: from mobileway.com ([194.98.169.20]) by brainwasher.iway.fr (8.9.3/8.8.7) with ESMTP id UAA6183492 for ; Tue, 7 Nov 2000 20:06:59 +0100 (MET) Message-ID: <3A0853E3.BE3246A2@mobileway.com> Date: Tue, 07 Nov 2000 20:11:32 +0100 From: jean-paul roumian X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: -fpack-struct causes SEGV Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGVsbG8sDQoNCkkgdHJpZWQgdGhlIHdlbGwta25vd24gIm9yYml0LWRvY3MiIGV4YW1wbGVz IChlY2hvIHNlcnZlciwgY2FsY3VsYXRvcikNCkV2ZXJ5dGhpbmcgd29ya3Mgb2ssIGJ1dCBp ZiBJIGNvbXBpbGUgd2l0aCAtZnBhY2stc3RydWN0IG9wdGlvbiAoSSBkaWQNCnRoaXMgYmVj YXVzZSBJIHdvcmsgb24gc290ZndhcmUgdGhhdCBuZWVkIHRoaXMgOC0oKSwgd2l0aG91dCBj aGFuZ2luZw0KYW55dGhpbmcgZWxzZSwgdGhlIHByb2dyYW1zDQpjb3JlIGR1bXAgYXQgc3Rh cnR1cCwgd2l0aDoNCg0KMHg4MDRiOTBmIGluIENPUkJBTWFpbFNlcnZlcl9nZXRTTVRQQ291 bnRlciAoX29iaj0weDgwNTk1ZjgsIGkyPTEsDQpldj0weGJmZmZmOWU4KSBhdCBjYWxjdWxh dG9yLXN0dWJzLmM6MjUNCjI1ICAgIF9jbnggPSBPUkJpdF9vYmplY3RfZ2V0X2Nvbm5lY3Rp b24oX29iaik7DQooZ2RiKSBwcmludCAqX2NueA0KQ2Fubm90IGFjY2VzcyBtZW1vcnkgYXQg YWRkcmVzcyAweDRjLg0KKGdkYikgcHJpbnQgKl9vYmoNCiQxID0ge3BhcmVudCA9IHtpbnRl cmZhY2UgPSAweDQwMDc0MmE4LCBpc19wc2V1ZG9fb2JqZWN0ID0gMCAnXDAwMCcsDQpyZWZz ID0gMTY3NzcyMTZ9LCBvcmIgPSAweDQwMDAwMDAwLCBjb25uZWN0aW9uID0gMHg4MDU4MiwN CiAgb2JqZWN0X2lkID0gMHg2ODAwMDAwMCA8QWRkcmVzcyAweDY4MDAwMDAwIG91dCBvZiBi b3VuZHM+LA0KcHJvZmlsZV9saXN0ID0gMHg1MDA4MDU5NiwgZm9yd2FyZF9sb2NhdGlvbnMg PSAweDgwNTkxLCAgIGFjdGl2ZV9wcm9maWxlDQo9IDB4MCwgdmVwdiA9IDB4MCwgc2VydmFu dCA9IDB4MH0NCg0KDQpUaGlzIHNlZW1zIHZlcnkgc3RyYW5nZSB0byBtZS4NCldoeSBpdCBp cyBzbyBzZW5zaWJsZSB0byB0aGlzIG9wdGlvbiwgYW5kIGlzIGl0IGEgYnVnID8NCg0KDQoN Cg== From sopwith@redhat.com Tue Nov 7 14:20:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 244BB2D3F8 for ; Tue, 7 Nov 2000 14:20:27 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA7JKQs27064 for ; Tue, 7 Nov 2000 14:20:26 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 7 Nov 2000 14:20:26 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: -fpack-struct causes SEGV In-Reply-To: <3A0853E3.BE3246A2@mobileway.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 7 Nov 2000, jean-paul roumian wrote: > I tried the well-known "orbit-docs" examples (echo server, calculator) > Everything works ok, but if I compile with -fpack-struct option (I did > this because I work on sotfware that need this 8-(), without changing > anything else, the programs > core dump at startup, with: > > 0x804b90f in CORBAMailServer_getSMTPCounter (_obj=0x80595f8, i2=1, > ev=0xbffff9e8) at calculator-stubs.c:25 > 25 _cnx = ORBit_object_get_connection(_obj); > (gdb) print *_cnx > Cannot access memory at address 0x4c. > (gdb) print *_obj > $1 = {parent = {interface = 0x400742a8, is_pseudo_object = 0 '\000', > refs = 16777216}, orb = 0x40000000, connection = 0x80582, > object_id = 0x68000000
, > profile_list = 0x50080596, forward_locations = 0x80591, active_profile > = 0x0, vepv = 0x0, servant = 0x0} -fpack-struct packs ALL structs, including ones that involve interfaces to system libraries. I suggest you use __attribute__((packed)) as needed instead. I don't really know what the problem is, to be honest, but if you are using funky customizations like -fpack-struct, you are on your own. :) -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From bsfelton@mobilesque.com Thu Nov 9 23:56:47 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from onyx.mobilesque.com (ns.mobilesque.com [204.0.12.98]) by mail.gnome.org (Postfix) with ESMTP id E81722BCC8 for ; Thu, 9 Nov 2000 23:56:46 -0500 (EST) Received: from diamond (diamond.mobilesque.com [209.39.176.3]) by onyx.mobilesque.com (8.11.0/8.11.0) with SMTP id eAA4ukg11870 for ; Thu, 9 Nov 2000 22:56:46 -0600 From: "Brentley S Felton" To: Subject: ORBit 0.5.4 compilation error(newbie) Date: Thu, 9 Nov 2000 22:57:08 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive the message when trying to run make after configure (with no options). Any help with this would be greatly appreciated. [bsfelton@opal ORBit-0.5.4]$ make make all-recursive Making all in popt make all-recursive Making all in intl Making all in po make: Fatal error in reader: Makefile, line 90: Macro assignment on dependency line Current working directory /usr/local/ORBit-0.5.4/popt/po *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/ORBit-0.5.4/popt *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' Current working directory /usr/local/ORBit-0.5.4/popt *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/ORBit-0.5.4 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' From wilhelmi@ira.uka.de Fri Nov 10 04:30:20 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id CD9F92D2CD for ; Fri, 10 Nov 2000 04:30:19 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Fri, 10 Nov 2000 10:30:14 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Fri, 10 Nov 2000 10:30:12 +0100 Message-ID: <3A0BC024.5CB6BE51@ira.uka.de> Date: Fri, 10 Nov 2000 10:30:12 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, Brentley S Felton Subject: Re: ORBit 0.5.4 compilation error(newbie) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Brentley, > I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive > the message when trying to run make after configure (with no options). Any > help with this would be greatly appreciated. > > [bsfelton@opal ORBit-0.5.4]$ make > make all-recursive > Making all in popt > make all-recursive > Making all in intl > Making all in po > make: Fatal error in reader: Makefile, line 90: Macro assignment on > dependency line > Current working directory /usr/local/ORBit-0.5.4/popt/po > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4 > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' It looks like you should install gnu make. (or run it, that is'gmake', when already installed). Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi From Margus.Sutt@mail.ee Fri Nov 10 04:30:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.ee (mail.ee [212.107.32.145]) by mail.gnome.org (Postfix) with SMTP id 38B1B2D2CD for ; Fri, 10 Nov 2000 04:30:25 -0500 (EST) Received: (qmail 16914 invoked from network); 10 Nov 2000 09:30:23 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 10 Nov 2000 09:30:23 -0000 Date: Fri, 10 Nov 2000 11:30:22 +0200 (EET) From: Margus Sutt Subject: php module for CORBA To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Message-Id: <20001110093025.38B1B2D2CD@mail.gnome.org> Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development HI! =09Anyone succeeded compiling php module (satellite), which supposed to add= =0ACORBA connectivity? =09Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS= =0Amade ORBit itself not compileable... =09Is this the right place to ask at all? -mts-- From david@2good.nu Fri Nov 10 08:28:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id AB94B2BAAA for ; Fri, 10 Nov 2000 08:28:13 -0500 (EST) Received: from gwan (david@gwan.roots [10.0.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id OAA26448 for ; Fri, 10 Nov 2000 14:28:02 +0100 From: David Eriksson Date: Fri, 10 Nov 2000 14:28:04 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="ISO-8859-1" To: orbit-list@gnome.org References: <20001110093025.38B1B2D2CD@mail.gnome.org> In-Reply-To: <20001110093025.38B1B2D2CD@mail.gnome.org> Subject: Re: php module for CORBA MIME-Version: 1.0 Message-Id: <00111014280401.01933@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Friday 10 November 2000 10:30, you wrote: >HI! > > Anyone succeeded compiling php module (satellite), which supposed to add >CORBA connectivity? > Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS >made ORBit itself not compileable... > Is this the right place to ask at all? There were changes to the CVS which I had not anticipated, so you will have to use a CVS checkout from a "safe" date. Please see the updated part of the README below. I would have hoped that my contributed patches to ORBit would have made it into ORBit 0.5.4 but obviously they did not. What version of ORBit is required? ---------------------------------- You need a CVS version of ORBit to use Satellite! This does NOT work with ORBit 0.5.3 or earlier. The latest version of ORBit in CVS requires glib-2.0 and has not been tested. Because of this we checkout a CVS version from a know safe date. How to install ORBit from CVS ----------------------------- (1) Get it from CVS CVS root: :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome Password: Empty string Directory: ORBit Safe date: 2000-09-02 (yyyy-mm-dd) More about GNOME:s CVS on http://www.gnome.org/start/source.html Sample session at command line to checkout: $ export CVSROOT=":pserver:anonymous@anoncvs.gnome.org:/cvs/gnome" $ cvs login (Logging in to anonymous@anoncvs.gnome.org) CVS password: $ cvs checkout -D "2000-09-02" ORBit cvs server: Updating ORBit . . . (2) Set the environment variable CERTIFIED_GNOMIE to whatever you like. (3) Run ./autogen.sh, gmake och gmake install How to install ORBit from snapshot ---------------------------------- (1) Download snapshot from one of these addresses: http://download.2good.nu/satellite/ORBit-20000902.tgz http://www.2good.com/satellite/ORBit-20000902.tgz (2) Run ./configure, gmake and gmake install -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From chardros@ashtech.net Fri Nov 10 08:44:49 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ashtech.net (ashtech.pa.net [205.166.61.57]) by mail.gnome.org (Postfix) with SMTP id 43DAA2BAA0 for ; Fri, 10 Nov 2000 08:44:46 -0500 (EST) Received: (qmail 21989 invoked from network); 10 Nov 2000 13:44:32 -0000 Received: from ip134.49.blca.blazenet.net (HELO neptune.jlab.int) (24.104.49.134) by ashtech.pa.net with SMTP; 10 Nov 2000 13:44:32 -0000 Received: (from chardros@localhost) by neptune.jlab.int (8.11.0/8.9.3) id eAADiua16898 for orbit-list@gnome.org; Fri, 10 Nov 2000 08:44:56 -0500 Date: Fri, 10 Nov 2000 08:44:56 -0500 From: Jason Pincin To: orbit-list@gnome.org Subject: Re: php module for CORBA Message-ID: <20001110084441.A16893@neptune.jlab.int> References: <20001110093025.38B1B2D2CD@mail.gnome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001110093025.38B1B2D2CD@mail.gnome.org>; from Margus.Sutt@mail.ee on Fri, Nov 10, 2000 at 11:30:22AM +0200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Where does one aquire this satellite module for php? I've been looking at php-ORBit, which is different. I'd love to take a look at satellite and see how it compares. On Fri, Nov 10, 2000 at 11:30:22AM +0200, Margus Sutt wrote: > HI! > > Anyone succeeded compiling php module (satellite), which supposed to add > CORBA connectivity? > Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS > made ORBit itself not compileable... > Is this the right place to ask at all? > > -mts-- > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From david@2good.nu Fri Nov 10 08:52:38 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id 6F6052BAA0 for ; Fri, 10 Nov 2000 08:52:37 -0500 (EST) Received: from gwan (david@gwan.roots [10.0.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id OAA26606 for ; Fri, 10 Nov 2000 14:52:36 +0100 From: David Eriksson Date: Fri, 10 Nov 2000 14:52:38 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" To: orbit-list@gnome.org References: <20001110093025.38B1B2D2CD@mail.gnome.org> <20001110084441.A16893@neptune.jlab.int> In-Reply-To: <20001110084441.A16893@neptune.jlab.int> Subject: Re: php module for CORBA MIME-Version: 1.0 Message-Id: <00111014523803.01933@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Friday 10 November 2000 14:44, you wrote: >Where does one aquire this satellite module for php? I've been looking > at php-ORBit, which is different. I'd love to take a look at satellite > and see how it compares. It's included in the latest release of PHP 4. Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From genaud@icps.u-strasbg.fr Fri Nov 10 09:27:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id BD94F2BC51 for ; Fri, 10 Nov 2000 09:27:15 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id PAA17766 for ; Fri, 10 Nov 2000 15:27:15 +0100 Message-ID: <3A0C0631.28AAEC79@icps.u-strasbg.fr> Date: Fri, 10 Nov 2000 15:29:05 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: server code segfaults Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, could someone help me with a memory management problem. I have a client asking for a sequence of bytes to be returned by a server. The client gets the correct values but the server segfault once it has returned the sequence. My client code calls : VSERV_image_bytevect *img; .... img = VSERV_image_readpixel(image_obj,&width, &height, &ev); .... if (CORBA_sequence_get_release(img)) CORBA_free(img->_buffer); and after this, the img->_buffer do contains the correct values, img->_length contains was what put in the server, but img->_maximum=0 though the C mappings say (page 1-14) "Upon successful return from the invocation the _maximum member will contain the size of the allocated array". And this is my server-side code : static VSERV_image_bytevect * impl_VSERV_image_readpixel(impl_POA_VSERV_image * servant, CORBA_short * width, CORBA_short * height, CORBA_Environment * ev) { VSERV_image_bytevect *retval; guchar *buff; gulong img_size; retval = VSERV_image_bytevect__alloc(); CORBA_sequence_set_release(retval,TRUE); buff = pbuffer_readpixel_with_dim((gint *)width,(gint *) height); img_size = (gulong) (*width) * (*height) * 3; /* in bytes */ retval->_length = img_size; retval->_buffer = CORBA_sequence_CORBA_octet_allocbuf(img_size*sizeof(guchar) ); memcpy(retval->_buffer, buff, img_size*sizeof(guchar) ); return retval; /* segfaults after this */ } Has someone a clue of what i'm doing wrong or why the server segfaults ? Thanks. From bsfelton@mobilesque.com Fri Nov 10 13:48:59 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from onyx.mobilesque.com (ns.mobilesque.com [204.0.12.98]) by mail.gnome.org (Postfix) with ESMTP id 999A12BDA1 for ; Fri, 10 Nov 2000 13:48:59 -0500 (EST) Received: from diamond (diamond.mobilesque.com [209.39.176.3]) by onyx.mobilesque.com (8.11.0/8.11.0) with SMTP id eAAImxg12404 for ; Fri, 10 Nov 2000 12:48:59 -0600 From: "Brentley S Felton" To: Subject: RE: ORBit 0.5.4 compilation error(newbie) Date: Fri, 10 Nov 2000 12:49:25 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A0BC024.5CB6BE51@ira.uka.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks Sebastian. I will give this a whirl. -----Original Message----- From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On Behalf Of Sebastian Wilhelmi Sent: Friday, November 10, 2000 3:30 AM To: orbit-list@gnome.org; Brentley S Felton Subject: Re: ORBit 0.5.4 compilation error(newbie) Hi Brentley, > I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive > the message when trying to run make after configure (with no options). Any > help with this would be greatly appreciated. > > [bsfelton@opal ORBit-0.5.4]$ make > make all-recursive > Making all in popt > make all-recursive > Making all in intl > Making all in po > make: Fatal error in reader: Makefile, line 90: Macro assignment on > dependency line > Current working directory /usr/local/ORBit-0.5.4/popt/po > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4 > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' It looks like you should install gnu make. (or run it, that is'gmake', when already installed). Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi _______________________________________________ orbit-list mailing list orbit-list@gnome.org http://mail.gnome.org/mailman/listinfo/orbit-list From pbouton@mediabolic.com Fri Nov 10 16:08:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 4E4562DE07 for ; Fri, 10 Nov 2000 16:08:41 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01730 for ; Fri, 10 Nov 2000 14:07:46 -0800 Message-ID: <3A0C71B2.A0584D15@mediabolic.com> Date: Fri, 10 Nov 2000 14:07:46 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit without gnome Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello- Does ORBit rely on gnome? Is it possible to use ORBit without gnome running? It looked like at least the name-server used gnome. If we come up with a different scheme for finding our CORBA servant can we run without gnome? Thanks, Peter Bouton From mas@echo.fr Fri Nov 10 16:12:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id 336352DC35 for ; Fri, 10 Nov 2000 16:12:25 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 9C5A547D8; Fri, 10 Nov 2000 22:12:23 +0100 (CET) To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> From: Roland Mas Date: 10 Nov 2000 22:12:23 +0100 In-Reply-To: Peter Bouton's message of "Fri, 10 Nov 2000 14:07:46 -0800" Message-ID: <8766lvzg3s.fsf@cachemir.echo-net.net> Lines: 26 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Peter Bouton (2000-11-10 14:07:46 -0800) : > Does ORBit rely on gnome? Nope, GNOME relies on ORBit. > Is it possible to use ORBit without gnome running? Completely. > It looked like at least the name-server used gnome. Wrong again, GNOME uses the name-server. > If we come up with a different scheme for finding our CORBA servant > can we run without gnome? No problem. I do it everyday (unless these GNOME guys have a particularly perverse way of hiding processes from me :-) Roland. -- Roland Mas Au royaume des aveugles, il y a des borgnes à ne pas dépasser. -- in Soeur Marie-Thérèse des Batignoles (Maëster) From pbouton@mediabolic.com Fri Nov 10 16:50:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 23E9E2BACA for ; Fri, 10 Nov 2000 16:50:28 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01754 for ; Fri, 10 Nov 2000 14:50:33 -0800 Message-ID: <3A0C7BB9.41FE930E@mediabolic.com> Date: Fri, 10 Nov 2000 14:50:33 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> <8766lvzg3s.fsf@cachemir.echo-net.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks. My confusion arose from the discussion of how the Naming Service works in the Beginner's docs http://icps.u-strasbg.fr/~genaud/ORBIT/x374.htm#COSNAMEINGSERVICE. I assumed the gnome_name_service_get was from the gnome libraries. Is this the same service name lookup approach used for non-gnome apps? Thanks, Pete Roland Mas wrote: > Peter Bouton (2000-11-10 14:07:46 -0800) : > > > Does ORBit rely on gnome? > > Nope, GNOME relies on ORBit. > > > Is it possible to use ORBit without gnome running? > > Completely. > > > It looked like at least the name-server used gnome. > > Wrong again, GNOME uses the name-server. > > > If we come up with a different scheme for finding our CORBA servant > > can we run without gnome? > > No problem. I do it everyday (unless these GNOME guys have a > particularly perverse way of hiding processes from me :-) > > Roland. > -- > Roland Mas > > Au royaume des aveugles, il y a des borgnes à ne pas dépasser. > -- in Soeur Marie-Thérèse des Batignoles (Maëster) > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From pbouton@mediabolic.com Fri Nov 10 16:52:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 7323B2BACA for ; Fri, 10 Nov 2000 16:52:56 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01759 for ; Fri, 10 Nov 2000 14:52:57 -0800 Message-ID: <3A0C7C49.745A8270@mediabolic.com> Date: Fri, 10 Nov 2000 14:52:57 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit with Java Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello- Any code examples out there for using ORBit where the server methods are written in Java? Thanks, Peter Bouton From djohnston@teamlogisco.com Fri Nov 10 17:14:18 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id C18D82BAEE for ; Fri, 10 Nov 2000 17:14:17 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id SAA03339 for ; Fri, 10 Nov 2000 18:11:49 -0500 From: David Johnston Date: Fri, 10 Nov 2000 23:11:49 GMT Message-ID: <20001110.23114900@david.baxterharriss.com> Subject: Orbit's temp. directory To: orbit-list@gnome.org X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On my system, a directory named /tmp/orbit-USERNAME gets created for=20 every user who starts Gnome. I would prefer that this be created in=20 /home/USERNAME/tmp/orbit. How would I go about doing this? Regards, David Johnston djohnston@teamlogisco.com From binnema@djcb.dyndns.org Sun Nov 12 07:22:15 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn75.dh.casema.net [213.17.5.75]) by mail.gnome.org (Postfix) with SMTP id 2F24A2BD79 for ; Sun, 12 Nov 2000 07:22:12 -0500 (EST) Received: (qmail 721 invoked by uid 550); 12 Nov 2000 12:28:37 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 12 Nov 2000 12:28:37 -0000 Date: Sun, 12 Nov 2000 13:30:19 +0100 From: "Dirk-Jan C. Binnema" To: orbit-list@gnome.org Subject: trivial hack to do cmdline oaf queries Message-ID: <20001112133009.A2419@mindcrime.djb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi all, I wrote a little program to do command line oaf queries. It's rather trivial, but I've found it useful, so maybe you will do so as well. There are some improvements that could be made, such as some shortcuts for asking 'repo_ids.has()' etc. If typing OAF queries irritates me enough I might make those improvements. [Hmmm... I assume this is the appropriate list for OAF related stuff. If not, I'm sorry.] Cheers, Dirk-Jan. /* ** lsoaf.c -- trivial hack to do cmdline oaf queries ** ** compile with: ** gcc -o lsoaf lsoaf.c `oaf-config --libs` `oaf-config --cflags` ** ** Copyright (C) 2000 Dirk-Jan C. Binnema ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ** */ #include #include static int do_query (gchar *query, gint argc, gchar *argv[]); static gchar* parse_arguments (gint argc, gchar *argv[]); static gboolean display_server_type= FALSE, display_properties = FALSE, display_location = FALSE, display_username = FALSE, display_hostname = FALSE, display_domain = FALSE, display_all = FALSE; int main (int argc, char *argv[]) { gboolean retval; gchar *query; query = parse_arguments (argc, argv); if (!query) return 1; else { retval = do_query (query, argc, argv); g_free (query); return retval; } } static gchar* parse_arguments (int argc, gchar *argv[]) { poptContext option_context; gchar *query; gchar c; const struct poptOption options[] = { { "location", 'l', POPT_ARG_NONE, &display_location, 0, "show location information", NULL }, { "properties", 'p', POPT_ARG_NONE, &display_properties, 0, "show properties", NULL }, { "username", 'u', POPT_ARG_NONE, &display_username, 0, "show the username", NULL }, { "hostname", 'h', POPT_ARG_NONE, &display_hostname, 0, "show the hostname", NULL }, { "domain", 'd', POPT_ARG_NONE, &display_domain, 0, "show domain", NULL }, { "query", 'q', POPT_ARG_STRING, &query, 0, "search for objects using the given oaf query", NULL }, { NULL, 0, 0, NULL, 0 } }; static gchar* usage_msg = "\n-l : display location" "\n-p : display properties" "\n-u : display user name" "\n-h : display hostname" "\n-d : display domain" "\n-q : an OAF query" "\n\nexample: $ lsoaf -lp -q \"repo_ids.has('IDL:Bonobo/Control:1.0')\"\n"; option_context = poptGetContext (NULL, argc, (const char**)argv, options, 0); poptSetOtherOptionHelp (option_context, usage_msg); if (argc < 2) { poptPrintUsage (option_context, stderr, 0); exit (1); } while ((c = poptGetNextOpt(option_context)) >= 0) g_print ("*** %c\n", c); poptFreeContext (option_context); return g_strdup(query); } static gboolean do_query (gchar* query, gint argc, gchar *argv[]) { CORBA_ORB orb; CORBA_Environment ev; OAF_Property oaf_prop; OAF_ServerInfoList *query_result; OAF_ServerInfo server_info; gint i,j,k, prop_num, string_num; gchar *order_by = NULL; gboolean display_anything = display_server_type || display_properties || display_location || display_username || display_hostname || display_domain; CORBA_exception_init(&ev); orb = oaf_init (argc,argv); if (!orb) g_error ("%s", "failed to initialize orb"); if (!oaf_is_initialized()) g_error ("%s", "failed to initialize oaf"); query_result = oaf_query (query, &order_by, &ev); if (ev._major != CORBA_NO_EXCEPTION) { g_print ( "CORBA exception: %s\n", CORBA_exception_id(&ev)); CORBA_exception_free (&ev); return 1; } for (i = 0; i < query_result->_length; ++i) { server_info = query_result->_buffer[i]; if (display_server_type) g_print ("type : %s\n", server_info.server_type); if (display_location) g_print ("location : %s\n", server_info.location_info); if (display_username) g_print ("username : %s\n", server_info.username); if (display_hostname) g_print ("hostname : %s\n", server_info.hostname); if (display_domain) g_print ("domain : %s\n", server_info.domain); if (display_properties) { prop_num = query_result->_buffer[i].props._length; for (j=0; j < prop_num; ++j) { oaf_prop = query_result->_buffer[i].props._buffer[j]; g_print ("property [%d]: '%s' => ", j+1, oaf_prop.name); switch (oaf_prop.v._d) { case OAF_P_STRING: g_print ("\"%s\" (string)\n",oaf_prop.v._u.value_string); break; case OAF_P_NUMBER: g_print ("%d (number)\n",oaf_prop.v._u.value_number); break; case OAF_P_BOOLEAN: g_print ("%s (boolean)\n",oaf_prop.v._u.value_number?"true":"false"); break; case OAF_P_STRINGV: string_num = oaf_prop.v._u.value_stringv._length; for (k = 0; k < string_num; ++k) { g_print ("\"%s\"", oaf_prop.v._u.value_stringv._buffer[k]); if ( k < string_num - 1) g_print (", "); } g_print (" (string list [%d])\n", string_num); break; default: g_print ("error: unknown type\n"); } } } if (display_anything) g_print ("\n"); } if (CORBA_sequence_get_release (query_result)) CORBA_free(query_result->_buffer); CORBA_exception_free (&ev); return 0; } +--------------------------------------------------+ Dirk-Jan C. Binnema http://www.casema.net/~devnull -------------------------------------------------- PGP/GPG fingerprint: BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F +--------------------------------------------------+ From garry.chan@alumni.ust.hk Sun Nov 12 09:55:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailgw.ust.hk (mailgw.ust.hk [143.89.14.35]) by mail.gnome.org (Postfix) with ESMTP id 9EF502BC87 for ; Sun, 12 Nov 2000 09:55:21 -0500 (EST) Received: from dma100 (dma100.resnet.ust.hk [143.89.220.100]) by mailgw.ust.hk (8.11.0/8.11.0) with SMTP id eACErBP11853 for ; Sun, 12 Nov 2000 22:53:11 +0800 (HKT) Message-ID: <002801c04cb8$9ce487d0$64dc598f@resnet> From: "Garry Chan" To: References: Date: Sun, 12 Nov 2000 22:55:33 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Subject: (no subject) Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi all, I want to unsubscribe to this mailing list. I know that this is not the right address to do so. I have tried to submit my request to orbit-list-request@cuc.edu but got a error message reply. Could anyone tell me the correct way to unsubscribe? Thank you Gary From simon.britnell@peace.com Sun Nov 12 16:03:53 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id 9FAB12BBBA for ; Sun, 12 Nov 2000 16:03:51 -0500 (EST) Message-ID: <3A0F044A.1020104@peace.com> Date: Mon, 13 Nov 2000 09:57:46 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit with Java References: <3A0C7C49.745A8270@mediabolic.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development For this you're best to look at the examples that come with the Java ORB you're using (we find JacORB to be good). Peter Bouton wrote: > Hello- > > Any code examples out there for using ORBit where the server methods are > written in Java? From sopwith@redhat.com Sun Nov 12 16:43:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 8240D2BBBA for ; Sun, 12 Nov 2000 16:43:22 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eACLhMV00857 for ; Sun, 12 Nov 2000 16:43:22 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Sun, 12 Nov 2000 16:43:22 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001110.23114900@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri, 10 Nov 2000, David Johnston wrote: > On my system, a directory named /tmp/orbit-USERNAME gets created for > every user who starts Gnome. I would prefer that this be created in > /home/USERNAME/tmp/orbit. How would I go about doing this? Basically, you can hack the ORBit code yourself It would be a really bad idea. /home is very often on NFS, and UNIX sockets on an NFS-mounted path don't work on a number of operating systems, and the directory is per-[machine,user], not simply per-user. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Sun Nov 12 16:44:10 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 757A82BBBA for ; Sun, 12 Nov 2000 16:44:10 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eACLiAK00898 for ; Sun, 12 Nov 2000 16:44:10 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Sun, 12 Nov 2000 16:44:10 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: trivial hack to do cmdline oaf queries In-Reply-To: <20001112133009.A2419@mindcrime.djb.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, 12 Nov 2000, Dirk-Jan C. Binnema wrote: > I wrote a little program to do command line oaf queries. There is already one included in OAF - oaf-client -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From binnema@djcb.dyndns.org Sun Nov 12 17:19:51 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn75.dh.casema.net [213.17.5.75]) by mail.gnome.org (Postfix) with SMTP id 84C7C2BBBA for ; Sun, 12 Nov 2000 17:19:49 -0500 (EST) Received: (qmail 2117 invoked by uid 550); 12 Nov 2000 22:26:24 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 12 Nov 2000 22:26:24 -0000 Date: Sun, 12 Nov 2000 23:28:10 +0100 From: "Dirk-Jan C. Binnema" To: orbit-list@gnome.org Subject: Re: trivial hack to do cmdline oaf queries Message-ID: <20001112232800.D2419@mindcrime.djb.nl> References: <20001112133009.A2419@mindcrime.djb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from sopwith@redhat.com on Sun, Nov 12, 2000 at 04:44:10PM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun Nov 12, 2000 at 04:44:10PM -0500, Elliot Lee wrote: -> On Sun, 12 Nov 2000, Dirk-Jan C. Binnema wrote: -> -> > I wrote a little program to do command line oaf queries. -> -> There is already one included in OAF - oaf-client yeah, i know, but I didn't like the name... [ok, this is silly.... at least I had fun while coding.] --Dirk-Jan. +--------------------------------------------------+ Dirk-Jan C. Binnema http://www.casema.net/~devnull -------------------------------------------------- PGP/GPG fingerprint: BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F +--------------------------------------------------+ From andrewm@treshna.com Sun Nov 12 23:24:33 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp4.ihug.co.nz (smtp4.ihug.co.nz [203.109.252.5]) by mail.gnome.org (Postfix) with ESMTP id 28E4E2BCCA for ; Sun, 12 Nov 2000 23:24:31 -0500 (EST) Received: from nikita.treshna.com (p7-max7.chc.ihug.co.nz [203.173.225.135]) by smtp4.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id RAA11379 for ; Mon, 13 Nov 2000 17:24:22 +1300 X-Authentication-Warning: smtp4.ihug.co.nz: Host p7-max7.chc.ihug.co.nz [203.173.225.135] claimed to be nikita.treshna.com Received: from nikita.treshna.com ([101.101.101.1] helo=treshna.com) by nikita.treshna.com with esmtp (Exim 3.16 #1 (Debian)) id 13vBAB-0006fM-00 for ; Mon, 13 Nov 2000 17:24:11 +1300 Message-ID: <3A0F6CEB.9148A9A5@treshna.com> Date: Mon, 13 Nov 2000 17:24:11 +1300 From: Andrew Murie X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test9 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Java + ORBit Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I'm attempting to write a Java client to communicate with a server written in C, using ORBit. I beleive I have used the -IIOPIPV4=1 option correctly, and it ought to be able to connect, but still the Java client just throws COMM_FAILURE exceptions. The ORBit server is running on Linux, and the Java client on WinNT4. There doesn't appear to be a network problem, so I suspect a configuration problem. I'm copying the stringified object reference from the Linux box to the NT machine, as I haven't gotten around to setting up the name service. Can anyone offer any suggestions for getting this to work? From cactus@cactus.rulez.org Mon Nov 13 00:38:47 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from booster.telnet.hu (booster.telnet.hu [212.75.128.38]) by mail.gnome.org (Postfix) with ESMTP id 8D8722BC26 for ; Mon, 13 Nov 2000 00:38:46 -0500 (EST) Received: from sendmail.telnet.hu ([212.75.128.13] ident=qmailr) by booster.telnet.hu with smtp (Exim 3.12 #1 (Debian)) id 13vCKI-00070x-00 for ; Mon, 13 Nov 2000 06:38:42 +0100 Received: (qmail 1274 invoked from network); 13 Nov 2000 05:38:41 -0000 Received: from port060.bp1.telnet.hu (HELO mail.cactus) (212.75.128.188) by mail.telnet.hu with SMTP; 13 Nov 2000 05:38:41 -0000 Received: from ds9.cactus (really [10.0.0.1]) by mail.cactus via smail with esmtp id (Debian Smail3.2.0.102) for ; Mon, 13 Nov 2000 06:38:11 +0100 (CET) Date: Mon, 13 Nov 2000 06:38:10 +0100 (CET) From: ERDI Gergo X-Sender: cactus@ds9.cactus To: orbit-list@gnome.org Subject: Re: Java + ORBit In-Reply-To: <3A0F6CEB.9148A9A5@treshna.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, Andrew Murie wrote: > configuration problem. I'm copying the stringified object reference from > the Linux box to the NT machine, as I haven't gotten around to setting > up the name service. Use the ior-decode utility on the Linux box to make sure ORBit is using TCP transport (you should see a TAG_INTERNET_IOP part) --=20 .--=3D ULLA! =3D----------------------------. finger cactus@cactus.rule= z.org \ http://cactus.rulez.org \ for PGP public key `----------=3D cactus@cactus.rulez.org =3D--' A szinon=EDma olyan sz=F3, amit akkor haszn=E1lsz, ha nem tudsz valamit hel= yesen le=EDrni. From MVerwerft@nedcar.nl Mon Nov 13 03:20:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from nedcar.nl (unknown [193.172.11.178]) by mail.gnome.org (Postfix) with ESMTP id 9AE242BB05 for ; Mon, 13 Nov 2000 03:20:57 -0500 (EST) Received: by gateborn.nedcar.nl id <117125>; Mon, 13 Nov 2000 09:22:05 +0100 Message-Id: <00Nov13.092205cet.117125@gateborn.nedcar.nl> From: "Verwerft, Marc" To: "'orbit-list@gnome.org'" Subject: RE: Java + ORBit Date: Mon, 13 Nov 2000 09:20:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Maybe your client can send out only giop1.2 requests ? Or write a small client test program in orbit for windoze ? At least you'll know whether or not it is related to the two different products (Orbit and ...) and not to network settings, firewall configurations, etc. > ---------- > From: Andrew Murie[SMTP:andrewm@treshna.com] > Reply To: orbit-list@gnome.org > Sent: Monday 13 November 2000 05:24 > To: orbit-list@gnome.org > Subject: Java + ORBit > > I'm attempting to write a Java client to communicate with a server > written in C, using ORBit. I beleive I have used the -IIOPIPV4=1 option > correctly, and it ought to be able to connect, but still the Java client > just throws COMM_FAILURE exceptions. > > The ORBit server is running on Linux, and the Java client on WinNT4. > There doesn't appear to be a network problem, so I suspect a > configuration problem. I'm copying the stringified object reference from > the Linux box to the NT machine, as I haven't gotten around to setting > up the name service. > > Can anyone offer any suggestions for getting this to work? > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From dick@dick.i2it.co.uk Mon Nov 13 05:03:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dick.i2it.co.uk (dick.i2it.co.uk [212.250.92.12]) by mail.gnome.org (Postfix) with ESMTP id BC2382CB10 for ; Mon, 13 Nov 2000 05:02:35 -0500 (EST) Received: (from dick@localhost) by dick.i2it.co.uk (8.8.7/8.8.7) id KAA00875 for orbit-list@gnome.org; Mon, 13 Nov 2000 10:02:34 GMT Date: Mon, 13 Nov 2000 10:02:34 +0000 From: Dick Porter To: orbit-list@gnome.org Subject: Re: (no subject) Message-ID: <20001113100234.Y10471@dick.i2it.co.uk> References: <002801c04cb8$9ce487d0$64dc598f@resnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <002801c04cb8$9ce487d0$64dc598f@resnet>; from garry.chan@alumni.ust.hk on Sun, Nov 12, 2000 at 10:55:33PM +0800 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, Nov 12, 2000 at 10:55:33PM +0800, Garry Chan wrote: > Hi all, > > Could anyone tell me the correct way to unsubscribe? You could try following the URL at the bottom of every message (I'm posting this publically to head off the spate of me too! :-) ) > > Thank you > Gary - Dick From jp.roumian@mobileway.com Mon Nov 13 11:36:26 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.fr.uu.net (smtp2.fr.uu.net [194.98.0.8]) by mail.gnome.org (Postfix) with ESMTP id A16062CFF2 for ; Mon, 13 Nov 2000 11:36:26 -0500 (EST) Received: from brainwasher.iway.fr (brainwasher.iway.fr [212.208.127.1]) by mail.fr.uu.net (Postfix) with ESMTP id C97C431EE8 for ; Mon, 13 Nov 2000 17:36:11 +0100 (MET) Received: from mobileway.com ([194.98.169.20]) by brainwasher.iway.fr (8.9.3/8.8.7) with ESMTP id RAA10951354 for ; Mon, 13 Nov 2000 17:33:23 +0100 (MET) Message-ID: <3A1018B9.8E14C32E@mobileway.com> Date: Mon, 13 Nov 2000 17:37:13 +0100 From: jean-paul roumian X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Deconnection detection. Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGVsbG8sDQoNCldoZW4gSSB1c2UgdGhlICdlY2hvLWNsaWVudC9zZXJ2ZXIgJyBmcm9tIGV4 YW1wbGVzIGluIE9SQml0IHNvdXJjZSwNCmlmIHRoZSBlY2hvLXNlcnZlciBpcyBraWxsZWQg d2l0aCBLSUxMIHNpZ25hbCwgdGhlIGVjaG8tY2xpZW50IGlzDQpoYW5naW5nLiAoIG9uIGEg c2VsZWN0IGNhbGwNCmluIGNvbm5lY3Rpb24uYywgZ2lvcF9jaGVja19jb25uZWN0aW9ucywg YmxvY2tfZm9yX3JlcGx5IGlzIFRSVUUpLg0KDQpJdCdzIHZlcnkgYW5ub2luZyBmcm9tIG15 IHBvaW50IG9mIHZpZXcgLiAob3VyIHNvZnR3YXJlcyB1c2UgY29ubmVjdGlvbg0KdGltZW91 dHMsIGFuZCByZXRyeSBtZWNhbmlzbXMpDQoNCkkndmUgZm91bmQgaW4gdGhlIG9yYml0LWxp c3QgYXJjaGl2ZXMgYWJvdXQgdGltZW91dHMsIGFuZCBJICd2ZQ0KY29uY2x1ZGVkIHRoYXQ6 IChjb3JyZWN0IG1lIGlmIEknbSB3cm9uZykNCg0KKiAgSUlPUCBpcyBidWlsdCBvdmVyIFRD UCwgc28gbm8gZGVjb25uZWN0aW9uIGRldGVjdGlvbiAoU09fS0VFUEFMSVZFIGlzDQoNCm5v dCBmbGV4aWJsZSBlbm91Z2ggKG5vIHBlci1jb25uZWN0aW9uIHRpbWVvdXQsICBub3Qgd2Vs bC1pbXBsZW1lbnRlZA0KZXZlcnkgVENQIHN0YWNrLC4uLikpLg0KKiBvbmx5IGEgbm9vcCBt ZXNzYWdlIGltcGxlbWVudGVkIG9uIGEgaGlnaGVyIGxheWVyIGNhbiBhY2hlaXZlIHRoaXMu DQoNCiogSXMgaXQgYSBiYWQgdGhpbmcgdG8gc2V0IHRoZSBzZWxlY3QgdGltZW91dCBieSBh biBvcmJpdC1zcGVjaWZpYyBhcGkNCmNhbGwsIGFuZCB0byBpbXBsZW1lbnQgYSAiTk9PUCIg bWVzc2FnZSBtZWNhbmlzbSAodW5kZXIsaW5zaWRlIG9yIG92ZXINCnRoZSBJSU9QIGxheWVy ID8pLiAoSScgZG9uJ3QgbWFzdGVyaXNlIElJT1Agc3BlY3MuLi4pDQoqIENhbiB0aGUgZXhj ZXB0aW9uIHJhaXNlZCBzYXkgcHJlY2lzZWx5ICJjb25uZWN0aW9uIHRsbWVvdXQiLCBub3Qg anVzdA0KY29tbSBmYWlsdXJlID8NCg0KVGhhbmtzLg0KDQo= From djohnston@teamlogisco.com Mon Nov 13 11:48:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 23A862BB71 for ; Mon, 13 Nov 2000 11:48:05 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id MAA14018 for ; Mon, 13 Nov 2000 12:45:07 -0500 From: David Johnston Date: Mon, 13 Nov 2000 17:45:07 GMT Message-ID: <20001113.17450700@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/12/00, 4:43:22 PM, Elliot Lee wrote regarding= =20 Re: Orbit's temp. directory: > On Fri, 10 Nov 2000, David Johnston wrote: > > /tmp/orbit-USERNAME gets created for every user who starts Gnome. > > I would prefer ... /home/USERNAME/tmp/orbit. How? > you can hack the ORBit code yourself... > It would be a really bad idea. /home is very often on NFS, and UNIX > sockets on an NFS-mounted path don't work on a number of operating > systems, and the directory is per-[machine,user], not simply per-user.= > -- Elliot Elliot, thanks for the explanation. I figured you did it that way for a reason.= Why aren't the orbit directories in /tmp removed when Orbit shuts down? = =20 Is the cookie intended to be persistent across Orbit sessions? Regards, David From dthompson@characterlink.net Mon Nov 13 12:01:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from clobntmail01.characterlink.net (clobntmail01.characterlink.net [207.27.152.48]) by mail.gnome.org (Postfix) with ESMTP id B70F32BC9C for ; Mon, 13 Nov 2000 12:01:27 -0500 (EST) Received: from darrint.thompsons (0a-19.ccrtc.com [205.243.45.25]) by clobntmail01.characterlink.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-38059U5000L500S0) with SMTP id AAA330 for ; Mon, 13 Nov 2000 10:53:19 -0600 From: dthompson@characterlink.net (Darrin Thompson) Date: Mon, 13 Nov 2000 17:01:35 GMT Message-ID: <20001113.17013500@darrint.thompsons> Subject: Re: Deconnection detection. To: orbit-list@gnome.org In-Reply-To: <3A1018B9.8E14C32E@mobileway.com> References: <3A1018B9.8E14C32E@mobileway.com> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development If you have time requirements that are this stringent, you probably=20 should be using an ORB built with those kind of requirements in mind. TA= O=20 is an example of these that is open enough for most people. ORBit is=20 quick and light, but introducing a time requirement on a corner case lik= e=20 what you have described is the domain of big fat bloated ORBs. Again,=20 look into the capabilities of TAO. Darrin On 11/13/00, 11:37:13 AM, jean-paul roumian =20 wrote regarding Deconnection detection.: > Hello, > When I use the 'echo-client/server ' from examples in ORBit source, > if the echo-server is killed with KILL signal, the echo-client is > hanging. ( on a select call > in connection.c, giop_check_connections, block_for_reply is TRUE). > It's very annoing from my point of view . (our softwares use connectio= n > timeouts, and retry mecanisms) > I've found in the orbit-list archives about timeouts, and I 've > concluded that: (correct me if I'm wrong) > * IIOP is built over TCP, so no deconnection detection (SO_KEEPALIVE = is > not flexible enough (no per-connection timeout, not well-implemented > every TCP stack,...)). > * only a noop message implemented on a higher layer can acheive this. > * Is it a bad thing to set the select timeout by an orbit-specific api= > call, and to implement a "NOOP" message mecanism (under,inside or over= > the IIOP layer ?). (I' don't masterise IIOP specs...) > * Can the exception raised say precisely "connection tlmeout", not jus= t > comm failure ? > Thanks. > =A2=B6=E2=B6X=AC=B6f=A2=96)=E0=96+-=A2=B6=E2=B6X=AC=B6 =E8=99=EA= +=82=1Bm=A7=FF=E6j)`=9E=89=9E=A2=B8?=99=A8=A5=99=A9=FF=96+-=8Aw=E8=FE=8A= =DB=8A=D9b From sopwith@redhat.com Mon Nov 13 12:04:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 7464A2BC9C for ; Mon, 13 Nov 2000 12:04:24 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eADH4Ol07175 for ; Mon, 13 Nov 2000 12:04:24 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 13 Nov 2000 12:04:24 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.17450700@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > thanks for the explanation. I figured you did it that way for a reason. > > Why aren't the orbit directories in /tmp removed when Orbit shuts down? > Is the cookie intended to be persistent across Orbit sessions? . The cookie file is created by gnome, not ORBit. It usually stays around there "just because". . The orb-* UNIX socket connection points are usually removed by ORBit when the application exits, but may be left around if the application crashes or is killed. . The /tmp/orbit-username directory itself doesn't get removed because multiple programs and libraries can be using the one directory. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From djohnston@teamlogisco.com Mon Nov 13 12:28:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 64D542D4C3 for ; Mon, 13 Nov 2000 12:28:23 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id NAA14220 for ; Mon, 13 Nov 2000 13:26:03 -0500 From: David Johnston Date: Mon, 13 Nov 2000 18:26:03 GMT Message-ID: <20001113.18260300@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/13/00, 12:04:24 PM, Elliot Lee wrote regardin= g=20 Re: Orbit's temp. directory: > On Mon, 13 Nov 2000, David Johnston wrote: > > Why aren't the orbit directories in /tmp removed when Orbit shuts do= wn? > > Is the cookie intended to be persistent across Orbit sessions? > . The cookie file is created by gnome, not ORBit. It usually stays aro= und > there "just because". > . The orb-* UNIX socket connection points are usually removed by > ORBit when the application exits, but may be left around if the > application crashes or is killed. > . The /tmp/orbit-username directory itself doesn't get removed because= > multiple programs and libraries can be using the one directory. Thanks. Since you mentioned application crashes, I have a related question. I=20 have had problems with my X server locking up or crashing from time to=20 time. When it goes down, some X applications seem to stay up. A ps=20 listing shows that their parent is init instead of the X session. I'm=20 curious: when X comes back up, is there a way to reconnect to these "los= t=20 children?" -David From sopwith@redhat.com Mon Nov 13 12:31:52 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 958622D389 for ; Mon, 13 Nov 2000 12:31:52 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eADHVqb11773 for ; Mon, 13 Nov 2000 12:31:52 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 13 Nov 2000 12:31:52 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.18260300@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > Since you mentioned application crashes, I have a related question. I > have had problems with my X server locking up or crashing from time to > time. When it goes down, some X applications seem to stay up. A ps > listing shows that their parent is init instead of the X session. I'm > curious: when X comes back up, is there a way to reconnect to these "lost > children?" No. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From djohnston@teamlogisco.com Mon Nov 13 14:51:49 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 2E5672BEB8 for ; Mon, 13 Nov 2000 14:51:49 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id OAA14433 for ; Mon, 13 Nov 2000 14:29:03 -0500 From: David Johnston Date: Mon, 13 Nov 2000 19:29:03 GMT Message-ID: <20001113.19290300@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/13/00, 12:31:52 PM, Elliot Lee wrote regardin= g=20 Re: Orbit's temp. directory: > On Mon, 13 Nov 2000, David Johnston wrote: > > Since you mentioned application crashes, I have a related question. = I > > have had problems with my X server locking up or crashing from time = to > > time. When it goes down, some X applications seem to stay up. A ps= > > listing shows that their parent is init instead of the X session. I= 'm > > curious: when X comes back up, is there a way to reconnect to these = "lost > > children?" > No. Dear Mr. Coolidge: why not? -David From andrewm@treshna.com Mon Nov 13 22:47:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp2.ihug.co.nz (smtp2.ihug.co.nz [203.109.252.8]) by mail.gnome.org (Postfix) with ESMTP id 4F5422BE8A for ; Mon, 13 Nov 2000 22:47:03 -0500 (EST) Received: from nikita.treshna.com (p33-tnt1.chc.ihug.co.nz [203.173.227.33]) by smtp2.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id QAA00815 for ; Tue, 14 Nov 2000 16:46:58 +1300 X-Authentication-Warning: smtp2.ihug.co.nz: Host p33-tnt1.chc.ihug.co.nz [203.173.227.33] claimed to be nikita.treshna.com Received: from castle.treshna.com ([101.101.101.4] helo=treshna.com) by nikita.treshna.com with esmtp (Exim 3.16 #1 (Debian)) id 13vX3i-0000g7-00 for ; Tue, 14 Nov 2000 16:46:58 +1300 Message-ID: <3A10B6AB.21222C73@treshna.com> Date: Tue, 14 Nov 2000 16:51:07 +1300 From: Andrew Murie X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Java + ORBit (solved) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks to the people who helped with this problem. It turned out that the IOR file had the correct host name in it, but the DNS server didn't connect it to the correct IP address, so nothing could work. (this is on the local LAN) fixing the winNT settings solved the problem, and it's working fine now. From dsdan@sesa.nju.edu.cn Tue Nov 14 01:09:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sesa.nju.edu.cn (sesa.nju.edu.cn [202.119.44.17]) by mail.gnome.org (Postfix) with ESMTP id 034FF2BD68 for ; Tue, 14 Nov 2000 01:09:47 -0500 (EST) Received: from netra (coff218.nju.edu.cn [202.119.44.12]) by sesa.nju.edu.cn (8.9.3/8.8.7) with SMTP id OAA15496 for ; Tue, 14 Nov 2000 14:11:01 +0800 Message-ID: <008c01c04e02$23945a40$0c2c77ca@nju.edu.cn> From: "DSD" To: Subject: why echo example can not communicate in different machine? Date: Tue, 14 Nov 2000 14:14:23 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0089_01C04E45.306047A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. ------=_NextPart_000_0089_01C04E45.306047A0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SSB1c2UgdGhlIGVjaG8gZXhhbXBsZSBhcyBteSBmaXJzdCBPcmJpdCBsZXNzb24uIFRoZSBjbGll bnQgY2FuIHJlY2VpdmUgdGhlIG1lc3NhZ2UgaWYgdGhlIHNlcnZlciBydW5zIGluIHRoZSANCnNh bWUgbWFjaGluZS4gQnV0IHdoZW4gSSBtb3ZlIHRoZSBjbGllbnQgdG8gYW5vdGhlciBtYWNoaW5l LCBpdCB3aWxsIGdpdmUgbWUgdGhlIGZvbGxvdyBtZXNzYWdlOg0KIHdlIGdvdCBleGNlcHRpb24g MiBmcm9tIGVjaG9TdHJpbmchDQpJIHVzZSBlY2hvLXNlcnZlciAtT1JCSUlPUElQdjQ9MSB0byBy dW4gc2VydmVyIHByb2dyYW0uYW5kIGNhbGwgZWNoby1jbGllbnQgLS1PUkJJSU9QSVB2ND0xIGlu IGNsaWVudC4NCkNhbiBhbnlvbmUgb2ZmZXIgYW55IHN1Z2dlc3Rpb25zIGZvciB0aGUgcHJvYmxl bT8NCg== ------=_NextPart_000_0089_01C04E45.306047A0 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWdi MjMxMiIgaHR0cC1lcXVpdj1Db250ZW50LVR5cGU+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNS4w MC4yNjE0LjM1MDAiIG5hbWU9R0VORVJBVE9SPg0KPFNUWUxFPjwvU1RZTEU+DQo8L0hFQUQ+DQo8 Qk9EWSBiZ0NvbG9yPSNmZmZmZmY+DQo8RElWPjxGT05UIHNpemU9Mj5JJm5ic3A7dXNlIHRoZSBl Y2hvIGV4YW1wbGUmbmJzcDthcyBteSBmaXJzdCBPcmJpdCBsZXNzb24uIFRoZSANCmNsaWVudCBj YW4gcmVjZWl2ZSB0aGUgbWVzc2FnZSBpZiB0aGUgc2VydmVyIHJ1bnMgaW4gdGhlIDwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPnNhbWUgbWFjaGluZS4gQnV0IHdoZW4gSSBtb3ZlIHRo ZSBjbGllbnQgdG8gYW5vdGhlciBtYWNoaW5lLCANCml0IHdpbGwgZ2l2ZSBtZSB0aGUgZm9sbG93 IG1lc3NhZ2U6PC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+Jm5ic3A7d2UgZ290IGV4 Y2VwdGlvbiAyIGZyb20gZWNob1N0cmluZyE8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9 Mj5JIHVzZSBlY2hvLXNlcnZlciAtT1JCSUlPUElQdjQ9MSB0byBydW4gc2VydmVyIHByb2dyYW0u YW5kIA0KY2FsbCBlY2hvLWNsaWVudCAtLU9SQklJT1BJUHY0PTEgaW4gY2xpZW50LjwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPkNhbiBhbnlvbmUmbmJzcDtvZmZlciZuYnNwO2FueSBz dWdnZXN0aW9ucyBmb3IgdGhlIA0KcHJvYmxlbT88L0ZPTlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4N Cg== ------=_NextPart_000_0089_01C04E45.306047A0-- From Rolf.Beutner@telekom.de Tue Nov 14 04:14:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from fw1a.telekom.de (gw1.telekom.de [194.25.15.11]) by mail.gnome.org (Postfix) with SMTP id 57F082BBA9 for ; Tue, 14 Nov 2000 04:14:22 -0500 (EST) Received: by fw1a.telekom.de; (5.65v4.0/1.3/10May95) id AA19650; Tue, 14 Nov 2000 10:14:17 +0100 Received: from Q8N09.bmbg01.telekom.de by U9JWN.mgb01.telekom.de with ESMTP for orbit-list@gnome.org; Tue, 14 Nov 2000 10:10:18 +0100 Received: from u8n10.bmbg01.telekom.de by q8n09.bmbg01.telekom.de with ESMTP for orbit-list@gnome.org; Tue, 14 Nov 2000 10:08:23 +0100 Received: by U8N10 with Internet Mail Service (5.5.2650.21) id ; Tue, 14 Nov 2000 10:08:22 +0100 Message-Id: <6B1E772C5C61D4119FEF009027CAA1E406590B@U8NM3.bmbg01.telekom.de> From: "Beutner, Rolf" To: orbit-list@gnome.org Cc: Markus.Hirche@telekom.de Subject: Connection of a client using ORBit to connect to another CORBA-compliant Server(Jaguar/Sybase-DB-ORB) Date: Tue, 14 Nov 2000 10:07:36 +0100 Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello List, I want to connect a client with to a so called corba-compliant server via corba. The server uses the "IIOP implementation, allows you to use any CORBA-compliant client ORB to invoke Jaguar components" - so far the datasheet of Jaguar, the ORB of the Sybase Database. Now I have the IOR of the Server (using Jaguar-ORB) and the IDL-Files. My local ORBit-installation works fine, I have some servers and some clients, also at different machines, which can do their corba-talk. I have a Java-Client which can communicate to the Sybase-DB, BUT with the jaguar-java-orb-classes. telnet to the Sybase-machine/port works fine, there's no firewall - so there should not be a general communication problem. Now my questions: I'm using "-ORBIIOPIPv4=1". What else have I to do to be able to do this ORB-to-ORB-communication? Have I to use the orbit-ird or any other orbit-tool? When I try to connect I get the error-message "Can't get interface". Thanks in advance!!! Regards Rolf Beutner --------------------------------------------------------------------- MATERNA Information & Communications [eMail] mailto:Rolf.Beutner@telekom.de From genaud@icps.u-strasbg.fr Tue Nov 14 05:32:23 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 4CF7E2BE74 for ; Tue, 14 Nov 2000 05:32:22 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id LAA05047 for ; Tue, 14 Nov 2000 11:32:21 +0100 Message-ID: <3A111535.4C7E6480@icps.u-strasbg.fr> Date: Tue, 14 Nov 2000 11:34:29 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> <8766lvzg3s.fsf@cachemir.echo-net.net> <3A0C7BB9.41FE930E@mediabolic.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Peter Bouton wrote: > > Thanks. My confusion arose from the discussion of how the Naming > Service works in the Beginner's docs > http://icps.u-strasbg.fr/~genaud/ORBIT/x374.htm#COSNAMEINGSERVICE. I > assumed the gnome_name_service_get was from the gnome libraries. Is > this the same service name lookup approach used for non-gnome apps? > Yes, gnome_name_service_get() is from the gnome libraries as the name says. Storing a service IOR in the X11 properties is a "gnome trick" and not generalized to all CORBA applications. In a simple CORBA app., you would have to start orbit-name-server which would output its IOR, register your service against this name-server with CosNaming_Namingcontext_bind(), and then a client can ask the name server the reference to this service (provided it knows the name server IOR of course) wih CORBA_ORB_resolve_initial_service(). S.G. From chris_favret@yahoo.com Tue Nov 14 10:21:21 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web1604.mail.yahoo.com (web1604.mail.yahoo.com [128.11.23.204]) by mail.gnome.org (Postfix) with SMTP id 004402BC0E for ; Tue, 14 Nov 2000 10:21:20 -0500 (EST) Received: (qmail 25806 invoked by uid 60001); 14 Nov 2000 15:45:31 -0000 Message-ID: <20001114154531.25805.qmail@web1604.mail.yahoo.com> Received: from [208.209.44.10] by web1604.mail.yahoo.com; Tue, 14 Nov 2000 07:45:31 PST Date: Tue, 14 Nov 2000 07:45:31 -0800 (PST) From: Christopher Favret Subject: Re: why echo example can not communicate in different machine? To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I had a similar problem. I don't know if it's exactly the same but my problem was with my DNS. Once I added the each machine to the others hosts file it worked fine. Make sure you can ping the machines by their names. If you can't then that's probably the problem. Also, somewhere there is an ior-decode program which will allow you to decode an IOR and see what name the ORBs are looking for (just in case it's different than the host name). --- DSD wrote: > I use the echo example as my first Orbit lesson. The > client can receive the message if the server runs in > the > same machine. But when I move the client to another > machine, it will give me the follow message: > we got exception 2 from echoString! > I use echo-server -ORBIIOPIPv4=1 to run server > program.and call echo-client --ORBIIOPIPv4=1 in > client. > Can anyone offer any suggestions for the problem? > ===== Christopher P. Favret chris_favret@yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ From tlewis@secureworks.net Tue Nov 14 11:46:30 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id DBC972BABE for ; Tue, 14 Nov 2000 11:46:29 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id MAA15212 for ; Tue, 14 Nov 2000 12:47:00 GMT (envelope-from tlewis@secureworks.net) Date: Tue, 14 Nov 2000 11:46:29 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, 12 Nov 2000, Elliot Lee wrote: > Basically, you can hack the ORBit code yourself > > It would be a really bad idea. /home is very often on NFS, and UNIX > sockets on an NFS-mounted path don't work on a number of operating > systems, and the directory is per-[machine,user], not simply per-user. But you don't _really_ know that /tmp is not on NFS either. Would it not be better to have the default be overrideable with an environmental orbit-path variable (or something) and then have ORBit always check to confirm that UDSs work in whatever directory it is using, raising a fatal error if not? -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz From tlewis@secureworks.net Tue Nov 14 12:34:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id 1DE2B2BAC4 for ; Tue, 14 Nov 2000 12:34:32 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id NAA15569 for ; Tue, 14 Nov 2000 13:34:59 GMT (envelope-from tlewis@secureworks.net) Date: Tue, 14 Nov 2000 12:34:28 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.19290300@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > > No. > > Dear Mr. Coolidge: > why not? Dear Mr. Historian: Because of X. -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz From sopwith@redhat.com Tue Nov 14 12:50:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1D90A2CF17 for ; Tue, 14 Nov 2000 12:50:50 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEHooq00928 for ; Tue, 14 Nov 2000 12:50:50 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 12:50:49 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Todd Lewis wrote: > But you don't _really_ know that /tmp is not on NFS either. If /tmp is on NFS, then you are running a diskless workstation anyways and there's no place to hide. Even more important than having /tmp on local storage is making sure that it is system-specific and not shared between a bunch of systems. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From simon.britnell@peace.com Tue Nov 14 13:10:13 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id 287582BF26 for ; Tue, 14 Nov 2000 13:10:12 -0500 (EST) Message-ID: <3A117E9B.3080505@peace.com> Date: Wed, 15 Nov 2000 07:04:11 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I don't know if I should laugh or cry. Elliot Lee wrote: > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg > Address had 286 words, the Declaration of Independence, 1,300 words and finally the > European Commission's regulation on the sale of cabbage: 26,911 words." From cb@gosargon.com Tue Nov 14 14:41:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 2226E2BAFB for ; Tue, 14 Nov 2000 14:41:40 -0500 (EST) Received: (qmail 7499 invoked from network); 14 Nov 2000 19:41:39 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 19:41:39 -0000 Message-ID: <3A119575.2E80CAA8@gosargon.com> Date: Tue, 14 Nov 2000 14:41:41 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Beginner ORBit/C problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Greetings all, I am trying to learn to use ORBit/Goad from C, I apologize if this is not quite the right forum for a more GNOME/ORBit related question (if not, please direct me to it) I'm new at GNOME, ORBit/CORBA, and Linux programming in general, so please don't be too critical ;) I wrote a very simple program just to test my understanding of some of the simpler Gnorba functions - while my program compiles, it will not link, and I've spent quite a few hours adding -l directives, trying to guess exactly what I have to link against. So far I've got this command line: g++ -o goadtest goadtest.cpp -I/usr/lib/glib/include -I/usr/include -I/usr/lib/gnome-libs/include -L/usr/lib -lORBit -lIIOP -lORBitutil -lglib -lm -lgnorba -lgnomesupport -lgdk -lgtk -lgnorbagtk -lgnome -lesd -ldb -lgnomeui -lart_lgpl -lpopt It seems to me that that's a heck of a lot of libraries to link against, so I must be missing something. That's the list I've got so far, I get undefined reference errors from ld, so I've been trying to guess where they might be defined - often when I add a new link command, it resolves previous errors, buts adds new ones. For example, when I added -lgnome I suddenly got a lot of errors for esd* functions, so I had to add -lesd Currently, I'm down to only a few errors: /usr/bin/ld: warning: libdb.so.2, needed by /usr/lib/libgnomeui.so, may conflict with libdb.so.3 /tmp/ccqGd5mG.o: In function 'main': /tmp/ccqGd5mG.o:(.text+0x38): undefined reference to 'gnorba_CORBA_init(int *, char **, GnorbaInitFlags, CORBA_Environment_type *)' /tmp/ccqGd5mG.o:(.text+0x38): relocation truncated to fit: R_PPC_REL24 gnorba_CORBA_init(int *, char **, GnorbaInitFlags, CORBA_Environment_type *) /tmp/ccqGd5mG.o:(.text+0x44): undefined reference to 'goad_server_list_get(void)' /tmp/ccqGd5mG.o:(.text+0x44): relocation truncated to fit: R_PPC_REL24 goad_server_list_get(void) /tmp/ccqGd5mG.o:(.text+0xb0): undefined reference to 'goad_server_list_free(GoadServerList *)' /tmp/ccqGd5mG.o:(.text+0xb0): relocation truncated to fit: R_PPC_REL24 goad_server_list_free(GoadServerList *) collect2: ld returned 1 exit status Given the names of those functions, I though that libgnorba would provide them, but that appears not to be the case. What am I missing? My system: PowerMac G4 450MP YellowDog Linux CS 1.2.1 Helix Gnome 1.2 ( I *think* I installed all the development packages) XFree 4.01 gcc version 2.95.2 Any help is appreciated! Chris Backas From Igor.Borojevic@ireland.sun.com Tue Nov 14 14:48:51 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id B9E762BAAF for ; Tue, 14 Nov 2000 14:48:50 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA25888 for ; Tue, 14 Nov 2000 11:48:48 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.9) with ESMTP id TAA24043 for ; Tue, 14 Nov 2000 19:48:46 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id TAA15373 for ; Tue, 14 Nov 2000 19:48:43 GMT Message-ID: <3A11971A.A043DB9A@ireland.sun.com> Date: Tue, 14 Nov 2000 19:48:42 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: OAF questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Is there any examples of using oaf? What I want to do is to launch some applications i.e. gcalc or applets i.e. geyes_applet. And, of course, I want to "see" them on my desktop after I "activate" them. Here's the code that doesan't work yet.. -- #include #include int main (int argc, char **argv) { CORBA_Environment ev; OAF_ActivationContext ac; OAF_ServerInfoList *slist; CORBA_ORB orb; CORBA_Object obj; const OAF_ActivationID aid = "control_center"; OAF_ActivationFlags flags = OAF_FLAG_PRIVATE;/* = OAF_FLAG_NO_LOCAL;*/ OAF_ActivationID *ret_aid; CORBA_exception_init (&ev); orb = oaf_init (argc, argv); if ( oaf_is_initialized() ) printf("OAF initialized...\n"); obj = oaf_activate_from_id (aid, flags, ret_aid, &ev); printf("That's all folks.\n"); CORBA_exception_free (&ev); exit(0); } -- From sopwith@redhat.com Tue Nov 14 15:26:15 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id BCA6E2CB43 for ; Tue, 14 Nov 2000 15:26:15 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEKQFE20091 for ; Tue, 14 Nov 2000 15:26:15 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 15:26:15 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems In-Reply-To: <3A119575.2E80CAA8@gosargon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Chris Backas wrote: > Greetings all, > > I am trying to learn to use ORBit/Goad from C, I apologize if this is > not quite the right forum for a more GNOME/ORBit related question (if > not, please direct me to it) I'm new at GNOME, ORBit/CORBA, and Linux > programming in general, so please don't be too critical ;) > > I wrote a very simple program just to test my understanding of some of > the simpler Gnorba functions - while my program compiles, it will not > link, and I've spent quite a few hours adding -l directives, trying to > guess exactly what I have to link against. So far I've got this command > line: > g++ -o goadtest goadtest.cpp -I/usr/lib/glib/include -I/usr/include > -I/usr/lib/gnome-libs/include -L/usr/lib -lORBit -lIIOP -lORBitutil > -lglib -lm -lgnorba -lgnomesupport -lgdk -lgtk -lgnorbagtk -lgnome -lesd > -ldb -lgnomeui -lart_lgpl -lpopt > > It seems to me that that's a heck of a lot of libraries to link against, > so I must be missing something. g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs gnorba gnomeui` -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Tue Nov 14 15:35:38 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 99B9F2BAAF for ; Tue, 14 Nov 2000 15:35:38 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEKZc021644 for ; Tue, 14 Nov 2000 15:35:38 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 15:35:38 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: OAF questions In-Reply-To: <3A11971A.A043DB9A@ireland.sun.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer wrote: > Is there any examples of using oaf? > > What I want to do is to launch some applications i.e. gcalc or applets > i.e. geyes_applet. OAF activates CORBA objects, not applications or applets. There is a rather important distinction here... Applications are just executables that get run. Applets are applications that implement CORBA objects that the panel communicates with. To launch applications, you have to run the executable. OAF does not help you here. To launch/use an applet, you have to use the panel, because there is a lot more to an applet's activation and functionality than just activating the CORBA object. The panel will eventually use OAF (for GNOME 2.0), but currently it uses GOAD. It seems that OAF is pretty irrelevant in what I think you want to do (test applications and applets). -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From cb@gosargon.com Tue Nov 14 16:03:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 80D732BAA8 for ; Tue, 14 Nov 2000 16:03:54 -0500 (EST) Received: (qmail 9502 invoked from network); 14 Nov 2000 21:03:55 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 21:03:55 -0000 Message-ID: <3A11A8BB.576982C7@gosargon.com> Date: Tue, 14 Nov 2000 16:03:55 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > > It seems to me that that's a heck of a lot of libraries to link against, > > so I must be missing something. > > g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs gnorba gnomeui` > Thanks, that's a *much* easier way to come up with the command line ;) However, it did not fix the linkage errors with the goad_server_list_get() , goad_server_list_free() and gnorba_CORBA_init() functions. These are still showing as undefined for some reason (same errors as I posted earlier) Chris Backas From gthomson@targetnet.com Tue Nov 14 16:54:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp.tor3.targetnet.com (smtp.tor3.targetnet.com [207.176.132.71]) by mail.gnome.org (Postfix) with ESMTP id 15F1D2BA85 for ; Tue, 14 Nov 2000 16:54:24 -0500 (EST) Received: from gw-101.tor1.targetnet.com ([216.13.75.130] helo=wrk120) by smtp.tor3.targetnet.com with smtp (Exim 3.16 #1) id 13vo1m-000Hyd-00 for orbit-list@gnome.org; Tue, 14 Nov 2000 16:54:07 -0500 From: "Garret Thomson" To: Subject: RE: Beginner ORBit/C problems Date: Tue, 14 Nov 2000 16:55:01 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A11A8BB.576982C7@gosargon.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Here's a general way to troubleshoot unresolved symbols: Note that 'nm' will display the symbols in a given library. So you can kinda search for symbols in libraries with it: [gthomson@mybox /usr/local/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' [gthomson@mybox /usr/X11R6/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' (The -C flag demangles C++ function names) Unfortunately, I'm not booted onto the freeBSD side of my box so I can't show you the results ... try out a 'man nm' It may be that you'll find them in the same libs that the gnome-config spits out below, in which case, I can't help ya, but hey, you can't go wrong by learning more .. ;) Garret > -----Original Message----- > From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On > Behalf Of Chris Backas > Sent: Tuesday, November 14, 2000 4:04 PM > To: orbit-list@gnome.org > Subject: Re: Beginner ORBit/C problems > > > > > It seems to me that that's a heck of a lot of libraries to > link against, > > > so I must be missing something. > > > > g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs > gnorba gnomeui` > > > > Thanks, that's a *much* easier way to come up with the command > line ;) However, it > did not fix the linkage errors with the goad_server_list_get() , > goad_server_list_free() and gnorba_CORBA_init() functions. These > are still showing as > undefined for some reason (same errors as I posted earlier) > > Chris Backas > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > > From cb@gosargon.com Tue Nov 14 17:29:02 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 268D82D055 for ; Tue, 14 Nov 2000 17:27:26 -0500 (EST) Received: (qmail 11384 invoked from network); 14 Nov 2000 22:27:24 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 22:27:24 -0000 Message-ID: <3A11BC4D.9A6EE2A@gosargon.com> Date: Tue, 14 Nov 2000 17:27:25 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Garret Thomson wrote: > Here's a general way to troubleshoot unresolved symbols: > > Note that 'nm' will display the symbols in a given library. So you can kinda > search for symbols in libraries with it: > > [gthomson@mybox /usr/local/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' > [gthomson@mybox /usr/X11R6/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' > > (The -C flag demangles C++ function names) > > Unfortunately, I'm not booted onto the freeBSD side of my box so I can't > show you the results ... try out a 'man nm' > It may be that you'll find them in the same libs that the gnome-config spits > out below, in which case, I can't help ya, but hey, you can't go wrong by > learning more .. ;) > > Garret Thanks, that's a useful little utility to know about, and the results were interesting. gnorba_CORBA_init appears to be in (surprise surprise) libgnorba. I see this output from nm: libgnorba.so:0000a04c T gnorba_CORBA_init libgnorba.so:00007438 T goad_server_list_get libgnorba.so:00007b34 T goad_server_list_free Those are the three functions in question. So now I'm quite a bit more confused than before, they're there, but the linker doesn't "see" them. Any thoughts? Thanks! Chris Backas From velco@fadata.bg Tue Nov 14 17:43:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id BE3F12BE0D for ; Tue, 14 Nov 2000 17:43:42 -0500 (EST) Received: (qmail 12066 invoked by uid 1000); 14 Nov 2000 22:48:40 -0000 To: orbit-list@gnome.org Subject: Can't invoke a collocated object from inside the servant From: Momchil Velikov Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_15_00:48:39_2000-1" Content-Transfer-Encoding: 7bit Date: 15 Nov 2000 00:48:40 +0200 Message-ID: <87em0ew4on.fsf@fadata.bg> Lines: 133 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: text/plain; charset=US-ASCII Hi, I'm unable to invoke a operation from inside a servant. The invoked object is received as a parameter and is in the same process as the invoking object. Attached is the test program: server.c is the server program client.c is the client program Server-impl.c is the object implementations. Regards, -velco --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: application/octet-stream; type=tar+gzip Content-Disposition: attachment; filename="orbperf.tar.gz" Content-Transfer-Encoding: base64 H4sIAOm/EToAA+09a3PbOJL5av4KnDOZlTySLeppy4lrE8WT9awTp2xnaqput1g0RUmckUkd SSmZy+Z++zXeAF+ibEvOroWaiikA/UAD6G40HhOENzM3HB08W2NqNNrNXqcDfxtmr9NQ//L0 rNFrNtqtVq/X7D5rmGan1XuGOutkiqd5FNshQs8W7tQJCuotK/83TQHr//f2H+7Im7rroNEw G41uu53T/2aj3euI/u+0m1C/BeXPUGMdzCTTE+//58ZzNJgEQeQi20cXl2/2ETIgE77QKwSj w3bmEf8Z24EoufU9Q1TyYsMgmILbGQyisIamnv8HcodeHMAPN3Yo2sv3UD+8RfWRYQwG8D12 HGPw8/nrd1fwoz6G3N9+gy/np5+M5/ApSi6ahvoTKp6/5fXO37J8Q3yRGpihc+8mtEPPhSYY 52dvcJFheCP3f1DlhwqwX61Bm6q06CcAOz+YR+HBNHDs6QGUHEy9G1SfXr++gH9fD04N1x96 owQGLAoFxRT/hoIWfMbO7HNoz979nWXHk9C1h9lYqKhzeGGljJ+LN/DPL9cD+HdWjNKLq7zd P1SiiTud0u6qO4E/8saoXgeMEYrccOGGVY4FS+5j6M7CwHGjKAjRaGqPsQjTkht8/Chk/vbT 1alFZPX2b69/PbU+Xry2Bp8uL08/XKP6WUKynu9M50MXujkTQ171/A5I4bl4/+EMPi3ry2HX ssgXjMr5F/Z9cfXr6eXV2cUHy3rVBIL7xd2SRn/55vXg01V2Y/f1FvDuK2wF7S2FTk6POaQ3 svrs7O05ctgUzOwtXIFMY8sbTvEv0aR3LmrAvzkDiQiYAuPvBDCq3zhfvhSLjwJniOTG8w8S +IznKmd1P6hD5fotaBM79gK/SHqMRyKwZBPze5hBWleXA1zzikh2H8O708hVi95N/5xNcIlW KQMrEfe70w/Wz2fnp7QzRwHMVGeCvBr84DirNSTTPwyUSD9UZnYczW+iGL3AtGovBvsTgPeq q0B4K0M4s5mAKQNxtTJXVytzdbU6V9a1wldZCG9lCM5X1SBdzsZKfo+vqw/uIh/JO2b94s0v lHXejv4LXOPVi/2gWqAa1jHQ9ycrD6m/7zuO0pil/bAcRaY8HE0cOQpvVZGUlElNSKQsCO5g CVQGxIr+cKeSVHkQRqqk9Fdt+10bonG1+gCn5uH+3ZnZm6iwO9Mg4AXc3gb+vsMgy4BgIUQC ohxIDD/3V5pLK7b90RqSOQCWdv/Z+48J96Du3c5gbNEShlQtCZjvoAAS5+GMgDmsLvulYQGx cqC0trk6vfyVV6Qe4H7AIXB2lbWMfBuD8w/XvLYz9Vw/JrVlBcOeTvto7PoRiMq+nTGcrLJh 0J99gBGEq8bOD5Xzt5gQW29VUR2w/lWrhEth3VE1nKlr+/0+Brp8X+X4vSDE0YZsYfN29XkL HQw9GAAdB/AOGFH4Yr4yfL80DN7APm9qKTAmVwqCGypkVtRQWSmvoVyC0Hmoj4iSIez89hvn h61n0w0RIM7KEKUEZcj+7it+rHRuMRaY2lU6wxmk4vB6Iz/da1kwEiMV804czEF3SPpJqSkl hpyi1b5WAN9WcPN71NeHMp52Il9OCCNJgwIRZV7V83iHKrNJzDE+ujjE3v8ZxmMHbx4g8fif 6Kk10CiO/zUanV6Xxf/MRhPXM1uthrmN/20iPYe5PHRH6OfQjZzAIsOABAeeQ67nu+kC4zYY zqe8wPgKVtjzYxhDtuOi69CG6RLZ02NDyyfgkPOV2OxF4A3RTTD8E1U8n5ahcfVYlsUUjUvK BU4Uq3UWXuTFmRW+JYiLcp0BjYjKRBKelP1sO3EQ/ilQUIBb+w/XGpPPCmNOckMKY/GzwpHD f8+pPnzs3pfzX2r3h6exbP63mzz+b5qdDt7/abW77e3830RKzH86DLIUgFJiPGdxTPRSmI2T tF7Q5tCVE7quL2bPNPDH+gQkOX4N6fOZ/C6am5QtfVayqQo+Q2yN2DefnZQPUhTRz+9yWm4s afafrEYmk4emsWT+m+1Gm87/ZrPVbvbw/O+1e9v5v4nE5/+Y2nfsQk8mFhKzP5kPc3+E67ON GqkKdskIGuxPdpN5VySPb1NIcLw/k6wLoy+7Lt1sUTTPxZuDAc7dn5ykkaR4YCEtiXseeVjf 2LduNMN6hGqtY7xYsKNILtVhWTWb30w9B+ENHlqr36fuzFeDFvUNpABgfQIZCy+M56DCFF+H cjKLQ6JxtArMmRGaL7uWVJjpisYsDGLXid2hYMdawMjGpC2i3FjTBGh+86TDpDYxhxW1Vd90 ATJFvESO3LPKoiWQpz0tXkUTRZbPJfQ6OthDyQGN9g6ekrpPpbT+d5yHprFE/zcbXXb+p9lt gQkg+r/V3Or/TaSEnmQewK5Qvsm9bcP9Aq6Xjz4GYWzfTF3qf/X7g3kYun5MVM4ssB36U3hU hiHQs1nPdCVZPxIdhV4hTS30+5bvsRlsGFjpqDgSGhW8w0JMw/kMNIsdg74aZyPM0a2wpKRL 3BGqEHvT73sRZYzQ2vf8SrVapatKqsTpIpREf3FuXD+RuBWYTC6y7ACwgL7yupr2VrlOiQJz /F8ay9B0yujX3N6lgfRk5+IarGNBtrJ76yfYj4ZS4V6nYS9ufgerdDYkCLDlSCMISBVYWiho pAQwXKx0qSjBA8QOw+AzqgDG+ok3tOLACt2RC6jBpFeAGusejnWs9kXM++G56KtEDZ2JihVP vAhRfGxcY5BvuCOF+I2k5ev3NdNF+kbOgD1siaB1vvtZ5mJ2QzeewzzDxfUTTpmMGW1w5JFT TSAhqZt9laxeQrsgl/pj66ttetikx3/WswBctv5rNrty/Ufiv22z1dra/00kvv6LWHiH+cWW WAAmC5BZsAakoyixCKSZJVeBLA55z2Ugx5JmY9WFII0X5a9gWFwra+3CbO+5HupScmv62qWG spdScmrmsEBDYCoLCkhiOaqaC+otpIJkvCptmqikhMvSS02OEdtJhs3CuBgOnE3h2VJUWZCl BtgTX5FtNmXo/wdfAC7T/y185h/0f6vTNDtNqv/NbfxvIympH8UCsGBhyHVv7N26WO8aik4z pMJUVyeqLvQTeg9H+VOrFxXAIxoMU7NihLsLAEB/0J2A9LpsXEX/+hdKZMZs6cMc27pJoAky fCIacKNKg6i/UQCuvgeZjWPkoZfIhz8//VRNr+XohgQwoiGQzrPahAquVqf0qBcvxc01uLoi ToXP9rBWVdcJSiHhmildqII/VaddqGGKCPSwzxDJbIyCKWh8sAiqJBYdSbuh8a/bENIAJgMV TF+Gc4aVxbA0OCnswvioyGl9HS1rhIL1sWfY9524/ucnrR48+PesRPyv00zG/1qt7f7vRpLU 5qMoDl37VnGjX0be2LenWa718jhhuQAhKJucikr4j7vqHtS/tT0f7xfHyA7HTg05Ezvcw9+L //4nVQ4HB+jM92LPnnr/66J44lJFjC+FSLsC/9KAVHgDLCiZno/jbxQ3xgrkdyjSd25MsIVB EGP/W0FG41cE383v9P5J/QS882C6cAlGYEYGpqLK7iXgABS7xILkRdtCWilDRJArgl8VIMm1 XUFYrxRjqLILUKwDKHNlu4oF4hRmeK8R4b12Ym+BFbQqwb9E0J2+PSb79xltfE8LiTBuxyG+ OkhFAlZ44lqyBl23QJX6ic0IMcMHpAcwqhlhpuQQ0pdIe1G44BZR5B7n9S+IC5vIcJGwsUDq I12cSVLo7OKSkmOoruIQlpsElReEvEdYADQOrIiUEzkCHS5KggHwfw491hIMHMxhQAbIRuQk LXQxm8G4oLLLTtjSXsRVX74kUPBnNJ1HE4n1cu4TnPg2p7vAPT0NghmGIqNl7m8jf/+5idt/ fmT6Eex/q9lh57+aYPa71P6b2/vfG0mKsSeqRzX/GR6BF6Tz2BVkshJcLTKoHBlZKTD4sGdG soKF8hwJx8vCoVeD0w+n1tvTj9d/QzCsRf75xcVHa3Dx6cM1zm7khxXBdTGynBi0pzoxd3BT yGKYWQCwG7oBYHYF8o7J8Tl0ckJ/CEtIY3TEEHITLK06NgQUBTZS1FxBAwJYMGCTxfbEspfj gFPdJP3KNtocZpN2B7b/lxhHGLExk6ZzFxeC8Kd8705ZudNdt4LYIzfQ6eBmBoOsQkkm6T4e g1nOJPU1klFQlT/tGGKW/Eh5WRFi+RGAUvJL7LKKPcNXvIH1k4wDNZpfZaOpF8XgfFDJRNTd keePJqAaamhMoPB3Crd6pmcMpbiSiMNoYSAZk1FmoRKd4XKRxB3eeKeQLNv4pWcKHOl1kXx8 dUoRmRD6NQ759ImYqcTV2JCiDg6wQqhJ4RL0NdJMSkntqDtg76wTubk25GXxsmHb2Lqga0nc /2P3lvfjL/GD01h2/r/F7/80e52Wyc5/Nbb+3yYSVmyx+yXegb9DO7bxX3QTReTv0HXI34n7 ZQf7EtidAYAe3qeHArPT7jRJBbOLfx/2DjsNkt9r2jvUhQqgftPstLq4XrfH6iOE6zUPm4eH JN89bOwo53QxUMfsmriyCYPnkBJpYKBuE0YK/j3qwG/mu2EA87DRIxU7zSONSqvVIwCdm7a9 o+4CB1uFos5/L17L7C8x/1sNMf+bTfL+F1YJ2/m/gXSX+Q9TqW3SGUanIptpkN+l+c2WyWYa v+ePZyhqHlE9IOqzvyL/BmYwg6OX/QlY6+ionQUm8kdHtgAjF/63M7ts4vM/toM1zf4S939b PWn/6fxvdLb7PxtJd7L/rcbREbas3dYhnZCtLv57dHTYwvnmYWc02mHBHWLLj9pdbJrNo26v q9jy3lGzTRyJVufQ2WGXhQJDm+oJDSN+m20GYF1TGq12u0toNLrUX2gSp6TX7BG3wDQdYf4p V+1m67BDqB9xt4Q4Dp1uu3lE5OF0hzv89Fp5thgE4euxu3dpSu7/roPGsvM/Zqsr3v9sdcj9 /2Zje/9jIykZBqWP16ix0JdRPPQCEt0ttwFLo5k8ukgiODgWi4OYYlPNOvUXXhj4t3i7yV3g fO2eMQsCprdHyW2DWWAT3EpY1JJR0R9lWLSGdulbgOTNQfyM4G4N/egu+NYmQFfS+KsKyqLN UkAHBPhebo3jTSPkG5l8czKLqGXhYGBiXxNYpPwKrg1+YBJYJ0cm9evZlkOjchKShmXJXqNs VcaGI24LxazAzaAwHpFILz0bRbYOUQWGRDCPq3oHW+HcZ4gogm3A5vtP+vlPNvsfmMbS/b8u 8//w6Z9ul57/3Or/jaTM8/95x//56f/0zpkR/zlzCZ44nDsxsQPyjDp9PYbgsvGlwHyljrT3 ZsTlZfq2UxLh8TKy8iGJEqQzqKiv2ZRoIH93ogSxnBYxDEvJsVcs7kSIwi4nIe3wSn3GhaDe AkhwLS4CpHljVt8wtGGgGjoaJhR2LpupmrGDU9rV2EPUtJE77Blohy5II8DvEmV1D4AzeVAC Gb4MJ5AagSoxue1Wrh35DUm1Q0Gd2xbJVLI9OC1tk9bNKRny3diSLUPFNLP7SdAo7i7O4x6l xZu6vIVsoGr+FR205Vq1SoM44tymMGZSXbW8FeypxQIv8eFawRDnt4Iys0Ir5BWhpA3aXhB6 uJTl/232/k+zY5ri///SabeI/9fYxv83k9K3eXIjAsbB3t4ewmdjXTxRyVv8CMfbEb4PGGB3 IkJQ5cAwIlzqkJdijLSVZS//lbCwWtG4SHMXU1ReGitBFVuklKkstBvF1PlLhWVI35lujheQ 33LFCzCEKRY2MiF5WWMpMypkWhjcdKtncIqN90ouis6DfMeomA/leFMZRwKV8CQYI7QCftvO yDD6+Z2TafSVtrPX8kRuxrBJlpWfRBlNNzKMvXa4rpy9L0ua3arOIcpPzJWiiZZ4mFSrubMF WwfNw6QWSzhJVxT5GztyLQvDZSg4XIaLXpEzaR8+nZ/XcPPBl7FmIQ0B4s0W7MnoxbDmpvdW wmAe4/V3qgas2Oz5lL66olT6dizYTQzePCaX8EcIV8azgLy1WEU/ZrUTFHnNWF6Pj/MydYmy hIpKg1aQv1R830sfKAuyfGbv1RdpZX9n8Wmq8XuRoL7kK2T5/mM6bZ9KDNpsY0J74S7dwMzD 99IBfImaw+a9hJ6whHceuazOdyMyth7OYfN+IkuZ3+IhmrKcbGASw7cotHwpU7LItiUL2aAf 881hLbuYlCzTnSnCytH1HOJpW5BiQNPAOUzo6idbAOIKQpEckno1WxyKKqtp+iM9H1O88HsG OVwk1EqKvpzPOaLgozpNmF0hySOsT840YTEranJkXuGVpaetNvnwLF5iLA1v5TmDJASuecuh Gy9scgw9Z/Hmu5/zI+T86Tu0F9z87tH3KiQA/r9fWvCzkbPoqCGT7LlKiPoJ+9hngs6YTLgk CSWe7UsW8NcS2Rbum19OB9fWh7Pz44zNDYvtrieFyrRyVUFcQ2wnnDQ7dW+YtJRvhYvLRKRj MnBQ3kYwMsmtWG/I36dbkHsqGagZhsRjgNn45QUD3tX8ocX7bg4ULDroVsvysVIgPqWN+NlE tatrKCnCDPihm+oAHQehXdgJmWMErKhXMEaSnI0ZTpZPH+zYcPAo8Vgm6wlLXL/SJgvhnN42 0mqH7tS1Izez+rEh4iqpKUeh1ddJGchSOaw1pKU/eVpaJLmhL9HvsuvFm5sFIau4hjLluVQ4 a4q4gVi+pbf2jGyP4iGskGQq3xIpcbz1WCNBYFWLpLtohVYp2+l7uhbnXtu4T8jsKHJap+lZ MZ6ud0d5O/Qtc489P3hdah+32A3JCnMv8XpFNHyNzi+jcScfWF2MlVU6ulifrt650/GK1A7N E1JAusAeUAc93jaa+sReweJal1vCL3vkDbi8JmR4Z9nNKNiHKncQqIzSZZt8+eqW7wKuR9FS 7KuqWCXGVFa5cpE9XbV6t0NeSyfpf5gu5VJ6QC36b7T/Lt/9odhLvXqbXJrT8IF4/zZZHCuL 9fu9hFu8ah/LZX7u87gV2dZqxvu4Wmg46yTAg2hgAlKkgWmFdWlgl963WVEDuyLYXjrSqzwP vHw1IS1hginxQHCRQVShM/YOnrARcO9yRvbJGQEmpTW50hs5z6S6n3mB3tTUzPOhN3YWaiWu mS4QTD/2OdZtultKvv+5DhrL3v9um21+/6/bpf//Z7Ozff9zI6nwGUzl6veK7182yl4W1x3e B7gurjvwEbvsVnhHTSlWHPjUZUT1JcP73Dw3lCvcEkP6eU1yk5rIyvynvLUuHpDMtwWRq17j RsqjmAUGLwkk/5d7xfEafgRJNo698rgsXJUApC8tVlSoaq4Zol0h2pdYpxS/Dqn1qfZA5Moc J9GxzWlY/Th6pey94rFeKfnSJL98T15U7KMX0+E//N2aPsCVZRc724Uynp6sISkw+vTBA6Du rA2zuR7MaaTG9nnJbdqmbXq66f8BrXRoOwCgAAA= --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_15_00:48:39_2000-1-- From Igor.Borojevic@ireland.sun.com Wed Nov 15 06:23:39 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id 99CE82CECA for ; Wed, 15 Nov 2000 06:23:38 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA00376 for ; Wed, 15 Nov 2000 03:23:35 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.9) with ESMTP id LAA15099 for ; Wed, 15 Nov 2000 11:23:33 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA15769 for ; Wed, 15 Nov 2000 11:23:28 GMT Message-ID: <3A127230.268E5CF9@ireland.sun.com> Date: Wed, 15 Nov 2000 11:23:28 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Chris Backas wrote: > Thanks, that's a useful little utility to know about, and the results were > interesting. > > gnorba_CORBA_init appears to be in (surprise surprise) libgnorba. I see this > output from nm: > libgnorba.so:0000a04c T gnorba_CORBA_init > libgnorba.so:00007438 T goad_server_list_get > libgnorba.so:00007b34 T goad_server_list_free > > Those are the three functions in question. > > So now I'm quite a bit more confused than before, they're there, but the linker > doesn't "see" them. Any thoughts? Thanks! echo $LD_LIBRARY_PATH /opt/gnome/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib If you don't have gnome/lib in path try adding it, might help. Regards, Igor Borojevic From attuomin@cc.helsinki.fi Wed Nov 15 07:59:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by mail.gnome.org (Postfix) with ESMTP id BC42B2BC61 for ; Wed, 15 Nov 2000 07:59:35 -0500 (EST) Received: from localhost (attuomin@localhost) by sirppi.helsinki.fi (8.10.1/8.10.1) with ESMTP id eAFCxY112516 for ; Wed, 15 Nov 2000 14:59:34 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: attuomin owned process doing -bs Date: Wed, 15 Nov 2000 14:59:34 +0200 (EET) From: Antti T Tuominen To: Subject: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I'm aiming this mostly at Sebastian, buy I though that maybe others would like to know as well. I'm using ORBit-mt-0.5.3a and found two bugs regarding octet sequences. I believe that the _maximum field in a sequence should be the allocated size of the _buffer, and the _length field is the used part of that buffer. I'm getting _maximum -values like 3210738884 on the server side immediately after a sequence is passed to a function as a parameter. Another issue is that sometimes the content of the _buffer gets corrupted as well. I put together a piece of code demonstrating the bugs, it is available at http://www.cs.helsinki.fi/u/attuomin/demo.tgz Regards, Antti -- main(m){char*s="O@DDDQ@DD@QM__D_SDDDQQDDDQQLLL",O=1;for(;*s;(m*=2)>32&&++O%6 ?s++,m=1:2)putchar(*s&m?"\n" "Antti: www.helsinki.fi/~attuomin" [O%6]:32);} From velco@fadata.bg Wed Nov 15 10:16:13 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from relay1-us.simplemente.net (relay1.us.simplemente.net [216.167.121.82]) by mail.gnome.org (Postfix) with ESMTP id 0CBF42BAAE for ; Wed, 15 Nov 2000 10:16:13 -0500 (EST) Received: from emerald.fadata.bg (emerald.fadata.bg [212.56.7.195]) by relay1-us.simplemente.net (Postfix) with SMTP id 3F765D7824 for ; Wed, 15 Nov 2000 10:16:08 -0500 (EST) Received: (qmail 21056 invoked from network); 15 Nov 2000 14:18:27 -0000 Received: from merlin.da.fadata.bg (HELO fadata.bg) (192.168.4.130) by emerald.fadata.bg with SMTP; 15 Nov 2000 14:18:27 -0000 Received: (qmail 11936 invoked by uid 1000); 15 Nov 2000 17:21:52 -0000 To: orbit-list@gnome.org Subject: Wrong default activation policy Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: Momchil Velikov Date: 15 Nov 2000 17:21:52 +0000 Message-ID: <87ofzhm9qn.fsf@fadata.bg> Lines: 10 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Both ORBit-0.5.4 and ORBit-mt-0.5.3a create the POAs with the NO_IMPLICIT_ACTIVATION policy, which contradicts to the CORBA spec. Regards, -velco PS. No patch is provided, it is a three chars change in orbit_poa.c:296. From cb@gosargon.com Wed Nov 15 12:35:57 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 0E16D2DC63 for ; Wed, 15 Nov 2000 12:35:57 -0500 (EST) Received: (qmail 1129 invoked from network); 15 Nov 2000 17:35:57 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 15 Nov 2000 17:35:57 -0000 Message-ID: <3A12C97F.EF3EB0D3@gosargon.com> Date: Wed, 15 Nov 2000 12:35:59 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> <3A127230.268E5CF9@ireland.sun.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > > echo $LD_LIBRARY_PATH > /opt/gnome/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib > > If you don't have gnome/lib in path try adding it, might help. > I have the following in /etc/ld.so.conf: /usr/lib /usr/lib/qt-2.1.0/lib /usr/lib/qt-1.45/lib /usr/X11R6/lib /usr/local/lib All the gnome libs I can find on my system live in /usr/lib, including libgnorba, which is the one in question. I'm fairly stumped, there must be an easy answer, but I can't see it =P Thanks for trying guys, I appreciate it! Chris Backas From remal@telnor.com Wed Nov 15 13:54:08 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id 1827F2DB88 for ; Wed, 15 Nov 2000 13:54:08 -0500 (EST) Received: from telnor.com (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id KAA11274; Wed, 15 Nov 2000 10:53:56 -0800 (PST) Message-ID: <3A12DC59.31A66B61@telnor.com> Date: Wed, 15 Nov 2000 10:56:25 -0800 From: Rene Maldonado Organization: Telefonos del Noroeste S.A de C.V. X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, CORBA Subject: NamingService Content-Type: multipart/mixed; boundary="------------04802409470805CD8A5004E8" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------04802409470805CD8A5004E8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I'm trying to use the Naming Service whith the CosNaming Interface, I'm using ORBit 0.4.3 with Redhat 6.2 I'm using as a guide the example5 from http://www.nd.edu/~rgarcia4/orbit/examples/example5/account.idl and I can't run the server, in my example is reloj-server after the next line is executed, the name_serv is NULL name_serv = CORBA_ORB_resolve_initial_references(orb,"RootPOA", ev); and in the next line the server crash reloj= CosNaming_NamingContext_resolve(name_serv, name, ev); whith the next message: Segmentation fault (core dumped) I have readed in other mail's from this list that I have to do the next: orbit-name-server > ior & yourserver -ORBNamingIOR = 'cat ior' yourclient -ORBNamingIOR = 'cat ior' but when I do that, I get the same message (Segmentation fault ...) after the nexy line root_poa = (PortableServer_POA) CORBA_ORB_resolve_initial_references(orb, "RootPOA", ev); What can I do, or where can I find some information about this problem. Thanks --------------04802409470805CD8A5004E8 Content-Type: text/x-vcard; charset=us-ascii; name="remal.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="remal.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------04802409470805CD8A5004E8-- From velco@fadata.bg Wed Nov 15 14:10:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id D3BE12CBE6 for ; Wed, 15 Nov 2000 14:10:37 -0500 (EST) Received: (qmail 30530 invoked by uid 1000); 15 Nov 2000 19:15:23 -0000 To: orbit-list@gnome.org Cc: CORBA Subject: Re: NamingService References: <3A12DC59.31A66B61@telnor.com> From: Momchil Velikov In-Reply-To: Rene Maldonado's message of "Wed, 15 Nov 2000 10:56:25 -0800" Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII Date: 15 Nov 2000 21:15:23 +0200 Message-ID: <87r94dcaic.fsf@fadata.bg> Lines: 12 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development >>>>> "Rene" == Rene Maldonado writes: Rene> orbit-name-server > ior & Rene> yourserver -ORBNamingIOR = 'cat ior' Rene> yourclient -ORBNamingIOR = 'cat ior' Did you misspell in the message or on the command line - it should be with back quotes - `cat ior` ? Regards, -velco From sopwith@redhat.com Wed Nov 15 14:10:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1FBEF2CBE6 for ; Wed, 15 Nov 2000 14:10:48 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAFJAiq25800 for ; Wed, 15 Nov 2000 14:10:44 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 15 Nov 2000 14:10:44 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Wed, 15 Nov 2000, Antti T Tuominen wrote: > I'm aiming this mostly at Sebastian, buy I though that maybe others > would like to know as well. > > I'm using ORBit-mt-0.5.3a and found two bugs regarding octet > sequences. I believe that the _maximum field in a sequence should be > the allocated size of the _buffer, and the _length field is the used > part of that buffer. I'm getting _maximum -values like 3210738884 on > the server side immediately after a sequence is passed to a function > as a parameter. Another issue is that sometimes the content of the > _buffer gets corrupted as well. I put together a piece of code > demonstrating the bugs, it is available at Right now, _maximum just never gets touched - it is pretty irrelevant to user-level code, since the only place it could matter is in (de)marshalling, and ORBit doesn't pay attention to it there yet. I will make sure to convince ORBit2 to set it, but your code shouldn't really be reading _maximum anyways AFAICS. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From mas@echo.fr Wed Nov 15 14:22:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id BF8512CAC3 for ; Wed, 15 Nov 2000 14:22:39 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 7B0624811; Wed, 15 Nov 2000 20:22:37 +0100 (CET) To: orbit-list@gnome.org Subject: Re: NamingService References: <3A12DC59.31A66B61@telnor.com> <87r94dcaic.fsf@fadata.bg> From: Roland Mas Date: 15 Nov 2000 20:22:36 +0100 In-Reply-To: Momchil Velikov's message of "15 Nov 2000 21:15:23 +0200" Message-ID: <87k8a52g77.fsf@cachemir.echo-net.net> Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Momchil Velikov (2000-11-15 21:15:23 +0200) : > >>>>> "Rene" == Rene Maldonado writes: > > Rene> orbit-name-server > ior & > Rene> yourserver -ORBNamingIOR = 'cat ior' > Rene> yourclient -ORBNamingIOR = 'cat ior' > > Did you misspell in the message or on the command line - it should be > with back quotes - `cat ior` ? Maybe try without the spaces around the '=' sign... They look suspicious to me. -- Roland Mas 'And what would humans be without love?' RARE, said Death. -- in Sourcery (Terry Pratchett) From velco@fadata.bg Wed Nov 15 15:17:35 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id 0F7852BABE for ; Wed, 15 Nov 2000 15:17:30 -0500 (EST) Received: (qmail 8705 invoked by uid 1000); 15 Nov 2000 20:22:15 -0000 To: orbit-list@gnome.org Subject: ORBit2 compile fixes From: Momchil Velikov Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_15_22:22:15_2000-1" Content-Transfer-Encoding: 7bit Date: 15 Nov 2000 22:22:15 +0200 Message-ID: <87n1f1c7ew.fsf@fadata.bg> Lines: 33 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: text/plain; charset=US-ASCII Hi, The attached patch fixes a compile problem ("corba-defs.h: No such file ...") and fixes orbit-config, so it does not report flags and stuff from an old version of glib. Regards, -velco --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: application/octet-stream; type=gzip Content-Disposition: attachment; filename="orbit2-compile-fixes.diff.gz" Content-Transfer-Encoding: base64 H4sICLrvEjoAA29yYml0Mi1jb21waWxlLWZpeGVzLmRpZmYAtVJtb5swEP6Mf8Up48Mq4mDT LEFMkVjpGiFlpQrtt0kOAUOsEZjAzSZV/e+1nXV9TVVpGhLnu8P3PHfcEzcF/x1A262FxHnb lKIaiQbN/v1ByyiFUtQ8ADff9W7VtFvuJssTIT33Gd9whzouO8F3oqmgU0cv2gboyEeFKEvA 14A7Fb3oE2P8PGd5hBCXUpdMgdCA+sGYWBrJcZyDd+kn8EhAj4PxBIUh4LE3nIJjbBgiQJCX dVb1szKre46gFut7H8sNZyYe2Pcu4IWtzkJ0gGszMawqlfhDDBjrWysIF/FJqtjq7QA578Sx b+aqikXJ+Vk8Zx4jt6/CgcbY97zHM/6B8v1wK8CxLZq8vi64oTxVlPGlN6MD/Qd+bdQuQfJe gv0BcCWBfIaiRfFeQX2X663qV43Zcfdb9oPr9Y+y7X+X01vkB7VFn4qL+vC4Za2st2AfZOYD IcHxJKATy4Bqnb2r8kF0UyM6f+iDo42WnKW2eR6x6GzxZZ4aCaolKzim4VidsTS5WkZf0xl8 R9iyP8bJBYtPF8nV5ZHKgM78jZxXvycX6ZOMAl5nWJlRbmLlbaT8aaI7DJaIAicEAAA= --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_15_22:22:15_2000-1-- From cb@gosargon.com Wed Nov 15 15:21:34 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 2B6182BABE for ; Wed, 15 Nov 2000 15:21:34 -0500 (EST) Received: (qmail 4667 invoked from network); 15 Nov 2000 20:21:31 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 15 Nov 2000 20:21:31 -0000 Message-ID: <3A12F04C.A6348BB4@gosargon.com> Date: Wed, 15 Nov 2000 15:21:32 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: SOLVED Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> <3A127230.268E5CF9@ireland.sun.com> <3A12C97F.EF3EB0D3@gosargon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks to all who've replied, I learned a lot even if it wasn't directly the answer to my problem. The solution lies in the fact that I'm writing a C++ program; the linker couldn't find the functions because the names in the header were mangled - the gnorba.h header is not protected against mangling with an "extern "C" {}" block. I don't know anything about who SHOULD be doing that, so I took the attitude that "headers are never to be modified" and did this: extern "C"{ #include }; and lo and behold, it compiled and linked ;) Now to get on to more interesting things... like making code that actually does something useful Chris Backas From jangjh@etri.re.kr Wed Nov 15 17:55:18 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cms2.etri.re.kr (cms2.etri.re.kr [129.254.16.12]) by mail.gnome.org (Postfix) with ESMTP id D983F2DD4A for ; Wed, 15 Nov 2000 17:55:17 -0500 (EST) Received: by cms2.etri.re.kr with Internet Mail Service (5.5.2650.21) id ; Thu, 16 Nov 2000 07:55:35 +0900 Received: from jangjh (jangjh.etri.re.kr [129.254.196.12]) by cms1.etri.re.kr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id W8X41KGV; Thu, 16 Nov 2000 07:55:14 +0900 From: jangjh@etri.re.kr To: orbit-list@gnome.org Subject: RE: ORBit2 compile fixes Date: Thu, 16 Nov 2000 07:55:43 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <87n1f1c7ew.fsf@fadata.bg> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development DQoNCkhlbGxvDQoNCkkgYW0gdmVyeSBpbnRlcmVzdGluZyBpbiBPUkJpdC4NCg0KSSBjYW4ndCBm aW5kIE9SQml0MiB2ZXJzaW9uLg0KDQpXaGVyZSBDYW4gSSBnZXQgT1JCaXQyIHZlcnNpb24gPw0K DQoNClRoYW5rIHlvdS4NCg0KDQpFVFJJLCBKYW5nIEpvbmYgSHl1bg0K From sopwith@redhat.com Wed Nov 15 19:47:53 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 812382CDD0 for ; Wed, 15 Nov 2000 19:47:53 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAG0lro06144 for ; Wed, 15 Nov 2000 19:47:53 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 15 Nov 2000 19:47:53 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: RE: ORBit2 compile fixes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 16 Nov 2000 jangjh@etri.re.kr wrote: > I am very interesting in ORBit. > > I can't find ORBit2 version. > > Where Can I get ORBit2 version ? It's in CVS... If you don't know how to get it, you probably don't want to (attempt to) be using it. :) -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From attuomin@cc.helsinki.fi Thu Nov 16 05:47:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by mail.gnome.org (Postfix) with ESMTP id 846DC2CE0C for ; Thu, 16 Nov 2000 05:47:49 -0500 (EST) Received: from localhost (attuomin@localhost) by sirppi.helsinki.fi (8.10.1/8.10.1) with ESMTP id eAGAlmL13160 for ; Thu, 16 Nov 2000 12:47:48 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: attuomin owned process doing -bs Date: Thu, 16 Nov 2000 12:47:48 +0200 (EET) From: Antti T Tuominen To: Subject: Re: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > Right now, _maximum just never gets touched - it is pretty irrelevant to > user-level code, since the only place it could matter is in > (de)marshalling, and ORBit doesn't pay attention to it there yet. > I will make sure to convince ORBit2 to set it, but your code shouldn't > really be reading _maximum anyways AFAICS. I'm not. I just accidentally discovered the "never gets touched" part while pondering with the buffer corruption. (I copy the _length -field there when I create new sequences, and wondered, what happened to the _maximum field that was set so nicely...) Antti -- main(m){char*s="O@DDDQ@DD@QM__D_SDDDQQDDDQQLLL",O=1;for(;*s;(m*=2)>32&&++O%6 ?s++,m=1:2)putchar(*s&m?"\n" "Antti: www.helsinki.fi/~attuomin" [O%6]:32);} From velco@fadata.bg Thu Nov 16 10:31:37 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from emerald.fadata.bg (emerald.fadata.bg [212.56.7.195]) by mail.gnome.org (Postfix) with SMTP id 32EAC2BC76 for ; Thu, 16 Nov 2000 10:31:33 -0500 (EST) Received: (qmail 30497 invoked from network); 16 Nov 2000 14:34:50 -0000 Received: from merlin.da.fadata.bg (HELO fadata.bg) (192.168.4.130) by emerald.fadata.bg with SMTP; 16 Nov 2000 14:34:50 -0000 Received: (qmail 1598 invoked by uid 1000); 16 Nov 2000 15:38:08 -0000 To: orbit-list@gnome.org Subject: Looks like typo ... Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: Momchil Velikov Date: 16 Nov 2000 17:38:08 +0200 Message-ID: <87vgtoudun.fsf@merlin.da.fadata.bg> Lines: 31 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Browsing the sources, I came to the following code in corba_object.c: 395 static void profile_hash(gpointer item, gpointer data) 396 { 397 ORBit_Object_info *info = (ORBit_Object_info *)item; 398 CORBA_unsigned_long *retval = (CORBA_unsigned_long *)data; 399 400 g_assert(info); 401 g_assert(retval); 402 403 *retval ^= info->object_key._length; 404 405 if(info->profile_type == IOP_TAG_INTERNET_IOP) { 406 *retval ^= !info->tag.iopinfo.port; 407 } else if(info->profile_type == IOP_TAG_ORBIT_SPECIFIC) { 408 *retval ^= g_str_hash(info->tag.orbitinfo.unix_sock_path); 409 *retval ^= !info->tag.orbitinfo.ipv6_port; 410 } 411 } Isn't it supposed lines 406 and 409 to be 406 *retval ^= ~info->tag.iopinfo.port; and 409 *retval ^= ~info->tag.orbitinfo.ipv6_port; ? Regards, -velco From mathieu@eazel.com Thu Nov 16 15:47:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id A4E202BF16 for ; Thu, 16 Nov 2000 15:47:40 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G44XRG00.GA4 for ; Thu, 16 Nov 2000 12:47:40 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id PAA26007; Thu, 16 Nov 2000 15:50:41 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: ORBit's IR Original-Sender: mathieu@eazel.com From: Mathieu Lacage Date: 16 Nov 2000 15:50:41 -0800 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development hi all, I am in dire need of an easy to use IR for ORBit. Here is my list of the necessary features: - automatic loading of data in the IR. - no client-side code necessary to load the data in there. 1) The simplest way to do this would be to make the IR look in a specific directory and load all the IDL files it finds there in memory. 2) Another approach would be to write a simple daemon which looks in those directories and loads the IDL files and feeds them to the IR. Whatever the solution used, I will implement it pretty soon and I was wondering if anyone had any other idea. In case 1) were to be used, I would need either to get a patch applied in ORBit or to fork the IR for my own use (although I do not really like this). In case 2) is used, I can develop my own daemon to do this outside of ORBit... comments ? Mathieu -- Mathieu Lacage From mas@echo.fr Fri Nov 17 04:20:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id 1F1982BB58 for ; Fri, 17 Nov 2000 04:20:41 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 89CA14828; Fri, 17 Nov 2000 10:20:26 +0100 (CET) To: orbit-list@gnome.org Subject: Re: ORBit's IR References: From: Roland Mas Date: 17 Nov 2000 10:20:25 +0100 In-Reply-To: Mathieu Lacage's message of "16 Nov 2000 15:50:41 -0800" Message-ID: <871ywbuf8m.fsf@cachemir.echo-net.net> Lines: 22 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Mathieu Lacage (2000-11-16 15:50:41 -0800) : > I am in dire need of an easy to use IR for ORBit. You might have a look at ORBit-Python (see Sourceforge). I'm not quite sure what an IR exactly is supposed to do, but there's something loading all the IDL files in a directory, so I guess it could be related. If you decide to have a go, make sure you grab the CVS version and not the released version, which is getting antique. If you find something interesting in there, keep me (and Jason Tackaberry, the main author) informed, as we might well take it back when you've improved it :-) Roland. -- Roland Mas Luck, like a Russian car, generally only works if you push it. -- Regalian, in My Hero (Tom Holt) From aimass@aimass.org Fri Nov 17 10:46:29 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 1C73B2BC66 for ; Fri, 17 Nov 2000 10:46:29 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id HAA26219 for ; Fri, 17 Nov 2000 07:46:02 -0800 (PST) Message-ID: <3A15518F.62E41E45@aimass.org> Date: Fri, 17 Nov 2000 11:41:03 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Name Service problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi All. I'm having trouble getting a simple object (an extended echo example) to communicate over the network, using the orbit naming services. It works fine on the local machine but when I try to run it on two different machine it fails. Here is what I do: 1) run orbit-name-server and save the IOR in a file called server.ior. 2) run my server like this: ./test-server -ORBNamingIOR=and the ior here 3) copy the client application to another directory on the same machine along with the server.ior 4) run my client application like this: ./test-client -ORBNamingIOR=and the ior here If I try moving the client to a different machine it does not work, I get core dumped. So my questions are: 1) does the orbit-name-server need to be running on the client machine? 2) if (1) is yes, then which IOR should I use for the client: the local or the one I got from the name server where the object is registered? 3) I have read that there should be a file in /etc called orbitrc, but none of my redhat systems have contained this file initially.I have created it /etc and have added ORBIIOPUSock=1, ORBIIOPIPv4=1, and ORBIIOPIPv6=1 just in case. 4) I have tested the application running on each individual server and it works fine on both. Why does it fail over the network???? I'm running on redhat linux w/ ORBit 0.4.x (one is redhat 6.0 and the other is redhat 6.1, and yes... I AM recompiling the client when I'm testing ;-] ) Thanks, Alejandro From aimass@aimass.org Fri Nov 17 10:55:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id AD8CF2D1D3 for ; Fri, 17 Nov 2000 10:55:26 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id HAA26391 for ; Fri, 17 Nov 2000 07:55:01 -0800 (PST) Message-ID: <3A1553AD.EA82CAD6@aimass.org> Date: Fri, 17 Nov 2000 11:50:05 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: BTW I helping a friend... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I trying to help a firnd w/ CORBA but he does not have the time to partition his machine w/ GNU/Linux. So I sugested for the mean time he tried the win32 port found at labs.redhat.com but he has not been able to get it working because it has absolutely no documentation on the port itself. Does anyone know about this win32 port, and if so do you know of any documentation, like for eample how to install it??? Thanks, AI From aimass@aimass.org Fri Nov 17 13:54:11 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 1A4352BDA8 for ; Fri, 17 Nov 2000 13:54:03 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id KAA00111 for ; Fri, 17 Nov 2000 10:53:38 -0800 (PST) Message-ID: <3A157D8D.80DE3449@aimass.org> Date: Fri, 17 Nov 2000 14:48:45 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: OK. Since nobody answered! Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development T0suIEkgZGVidWdnZWQgdGhlIG5hbWUgc2VydmVyIElPUiBhbmQgSSBmaW5kIGl0J3Mgc2Vy dmluZw0KbG9jYWxob3N0LmxvY2FsZG9tYWluDQoNCkhPVyBETyBJIENIQU5HRSBUSElTLiBQ TEVBU0UgISEhDQoNCg0KVGhhbmtzLA0KQWxlamFuZHJvDQo= From aimass@aimass.org Fri Nov 17 14:29:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 829472BEBF for ; Fri, 17 Nov 2000 14:29:36 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id LAA00794 for ; Fri, 17 Nov 2000 11:29:11 -0800 (PST) Message-ID: <3A1585E3.445A4A04@aimass.org> Date: Fri, 17 Nov 2000 15:24:19 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: line parameters Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGkuLg0KDQoNCldoZXJlIGRvZXMgb25lIGZpbmQgYSBsaXN0IG9mIGFsbCBsaW5lIHBhcmFt ZXRlcnMgbGlrZSAtT1JCTmFtaW5nSU9SDQotT1JCSW5pdCBldGMuLi4NCg0KDQpUaGFua3Ms DQpBSQ0K From mathieu@eazel.com Fri Nov 17 14:44:03 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 9CD572BDEB for ; Fri, 17 Nov 2000 14:44:02 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G46PHD00.E8Q for ; Fri, 17 Nov 2000 11:44:01 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id OAA17747; Fri, 17 Nov 2000 14:47:00 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: Re: ORBit's IR References: <871ywbuf8m.fsf@cachemir.echo-net.net> Original-Sender: mathieu@eazel.com From: Mathieu Lacage In-Reply-To: Roland Mas's message of "17 Nov 2000 10:20:25 +0100" Date: 17 Nov 2000 14:47:00 -0800 Message-ID: Lines: 47 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Roland Mas writes: > Mathieu Lacage (2000-11-16 15:50:41 -0800) : > > > I am in dire need of an easy to use IR for ORBit. > > You might have a look at ORBit-Python (see Sourceforge). I'm not > quite sure what an IR exactly is supposed to do, but there's something > loading all the IDL files in a directory, so I guess it could be > related. I will have a look. > > If you decide to have a go, make sure you grab the CVS version and > not the released version, which is getting antique. > > If you find something interesting in there, keep me (and Jason > Tackaberry, the main author) informed, as we might well take it back > when you've improved it :-) hrm, after some thoughts, I think I will go around to use option 2) whcih is to write a separate process to feed data in the IR. Btw, if you are curious as to why I want to do all this, you could have a look at the cvs module 'mango' : cvs -z3 co mango I would be happy for any feedback or flame about it. Mathieu > > Roland. > -- > Roland Mas > > Luck, like a Russian car, generally only works if you push it. > -- Regalian, in My Hero (Tom Holt) > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- Mathieu Lacage From jason@ancept.com Sun Nov 19 17:51:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from neptune.ancept.com (Ancept-18.completeis.com [206.146.185.178]) by mail.gnome.org (Postfix) with ESMTP id E6D0A2BEA9 for ; Sun, 19 Nov 2000 17:51:26 -0500 (EST) Received: by Ancept-18.CompleteIS.com with Internet Mail Service (5.5.2650.21) id ; Sun, 19 Nov 2000 16:51:45 -0600 Message-ID: From: Jason Cwik To: "'orbit-list@gnome.org'" Subject: compiling 0.5.4 on AIX Date: Sun, 19 Nov 2000 16:51:43 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0527B.49DF7270" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0527B.49DF7270 Content-Type: text/plain; charset="iso-8859-1" Hello all- I am trying to compile ORBit 0.5.4 on AIX 4.3.3 using gcc 2.95.2. The IDL compiler seems to build fine, but when it attempts to IDL compile interface_repository.idl I see: Making all in orb ../../src/orbit-idl-compiler/orbit-idl --noskels ../../././src/daemons/interface_repository/interface_repository.idl Error: syntax error ** WARNING **: ../../././src/daemons/interface_repository/interface_repository.idl compilation failed Has anyone seen problems like this? Anyone compiled ORBit on AIX successfully? Thanks in advance, Jason Cwik ------_=_NextPart_001_01C0527B.49DF7270 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable compiling 0.5.4 on AIX

Hello all-

I am trying to compile ORBit 0.5.4 on AIX 4.3.3 using = gcc 2.95.2.  The IDL compiler seems to build fine, but when it = attempts to IDL compile interface_repository.idl I see:

Making all in orb
        = ../../src/orbit-idl-compiler/orbit-idl --noskels = ../../././src/daemons/interface_repository/interface_repository.idl

Error: syntax error

** WARNING **: = ../../././src/daemons/interface_repository/interface_repository.idl = compilation failed

Has anyone seen problems like this?  Anyone = compiled ORBit on AIX successfully?

Thanks in advance,

Jason Cwik

------_=_NextPart_001_01C0527B.49DF7270-- From michael@rumpfonline.de Mon Nov 20 02:40:43 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.brokat.de (mail.brokat.de [212.9.175.131]) by mail.gnome.org (Postfix) with ESMTP id 455A32D20C for ; Mon, 20 Nov 2000 02:40:43 -0500 (EST) Received: by mail.brokat.de (Smail3.2.0.111/mail.brokat.de) via LF.net GmbH Internet Services via remoteip 172.17.23.29 via remotehost pcmrumpf with smtp for mail.gnome.org id m13xlcU-005lKVC; Mon, 20 Nov 2000 08:44:06 +0100 (CET) Message-ID: <000901c052c5$73201050$1d1711ac@brokat.de> From: "Michael Rumpf" To: References: <3A1585E3.445A4A04@aimass.org> Subject: Re: line parameters Date: Mon, 20 Nov 2000 08:42:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, you can find a list of parameters on http://orbit-resource.sourceforge.net/faq.html#orbit ! Or, In doubt, have a look at the source-code. Michael ----- Original Message ----- From: "Alejandro Imass" To: Sent: Freitag, 17. November 2000 20:24 Subject: line parameters > Hi.. > > > Where does one find a list of all line parameters like -ORBNamingIOR > -ORBInit etc... > > > Thanks, > AI > ¢¶â¶X¬¶f¢-)à-+-¢¶â¶X¬¶ èTê+,m§ÿæj)`z?z¢¸?T¨¥T©ÿ-+-SwèþSÛSÙb From michael@rumpfonline.de Mon Nov 20 02:43:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.brokat.de (mail.brokat.de [212.9.175.131]) by mail.gnome.org (Postfix) with ESMTP id A54C02D20C for ; Mon, 20 Nov 2000 02:43:40 -0500 (EST) Received: by mail.brokat.de (Smail3.2.0.111/mail.brokat.de) via LF.net GmbH Internet Services via remoteip 172.17.23.29 via remotehost pcmrumpf with smtp for mail.gnome.org id m13xlfM-005lKbC; Mon, 20 Nov 2000 08:47:04 +0100 (CET) Message-ID: <000f01c052c5$dd2d6ab0$1d1711ac@brokat.de> From: "Michael Rumpf" To: References: <3A157D8D.80DE3449@aimass.org> Subject: Re: OK. Since nobody answered! Date: Mon, 20 Nov 2000 08:45:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I think that these are the network settings you have chosen for your linux box. It depends on the distro you are using, but /etc/hosts is definitely the place to do it manually... Michael ----- Original Message ----- From: "Alejandro Imass" To: Sent: Freitag, 17. November 2000 19:48 Subject: OK. Since nobody answered! > OK. I debugged the name server IOR and I find it's serving > localhost.localdomain > > HOW DO I CHANGE THIS. PLEASE !!! > > > Thanks, > Alejandro > ¢¶¶X¶f-)-+¢¶¶X¶ Tê,m§ÿæj)`z?z¢¸?T¨¥T©ÿ-+-SwèþSÛSÙb From genaud@icps.u-strasbg.fr Mon Nov 20 07:35:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 634982CED9 for ; Mon, 20 Nov 2000 07:35:17 -0500 (EST) Received: from icps.u-strasbg.fr (marathon.u-strasbg.fr [130.79.185.20]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id NAA25458; Mon, 20 Nov 2000 13:34:18 +0100 Message-ID: <3A191A5A.378C4269@icps.u-strasbg.fr> Date: Mon, 20 Nov 2000 13:34:34 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-15mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, aimass@aimass.org Subject: Re: OK. Since nobody answered! References: <3A157D8D.80DE3449@aimass.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Alejandro Imass wrote: > > OK. I debugged the name server IOR and I find it's serving > localhost.localdomain > > HOW DO I CHANGE THIS. PLEASE !!! > > Thanks, > Alejandro This is not an ORBit question but an OS one. You should give more details about your configuration and about what yo are trying to do with ORBit. There are many ways to change your machine name ; On linux boxes you can use "netconf" (part of linuxconf) or such, or by directly editing /etc/hosts AND /etc/sysconfig/network on RedHat or Mandrake distros, to setup your network parameters. S.G. From aimass@aimass.org Mon Nov 20 09:03:06 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id CC7C92BCC8 for ; Mon, 20 Nov 2000 09:03:05 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id GAA25799; Mon, 20 Nov 2000 06:02:03 -0800 (PST) Message-ID: <3A192DBD.CA0C116F@aimass.org> Date: Mon, 20 Nov 2000 09:57:17 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?St=E9phane?= Genaud Cc: orbit-list@gnome.org Subject: Re: OK. Since nobody answered! References: <3A157D8D.80DE3449@aimass.org> <3A191A5A.378C4269@icps.u-strasbg.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks All for Answering. I have always left 127.0.0.1 as localhost.localdomain w/ alis localhost and have changed the name w/ my first interface (eth0) as follows 172.16.2.x myhostname.mydomain w/ alias myhostname But now that you all mention it , I suppose the base hostname should be set w/ the lo (127.0.0.1) since a Unix machine can have many active interfaces ;-] And also, what would happen if there is no interface card! lo still works: duuuuhhhh.........! I will try this. Thanks again. Alejandro Imass From sopwith@redhat.com Mon Nov 20 11:17:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 7DA9F2CA5C; Mon, 20 Nov 2000 11:17:28 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAKGHS330507; Mon, 20 Nov 2000 11:17:28 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 20 Nov 2000 11:17:28 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org, gnome-devel-list@gnome.org Subject: ORBit 2.3.90 test release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a test release of the ORBit2 tree that I've been hacking on the past few months. It is intended to fix whatever big things are broken in ORBit stable tree, break whatever already works, and add just a few new features. This _test_ release is _not_ intended for production use, just your _testing_ pleasure. It requires linc 0.1.0 (ftp://ftp.gnome.org/people/sopwith/linc-0.1.0.tar.gz) and glib 1.3.2 to be installed. The release itself is at ftp://ftp.gnome.org/people/sopwith/ORBit-2.3.90.tar.gz Enjoy, -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From genaud@icps.u-strasbg.fr Thu Nov 23 05:32:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 5E2852CB09 for ; Thu, 23 Nov 2000 05:32:58 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id LAA04718 for ; Thu, 23 Nov 2000 11:32:42 +0100 Message-ID: <3A1CF268.E0F37D42@icps.u-strasbg.fr> Date: Thu, 23 Nov 2000 11:33:12 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: server code segfaults (again) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, i am sorry to repost this message but i had no response previously and this code is very important to me. I can set up an archive of the whole code if someone wants a deeper look. ------------------------------------------------------------------- Could someone help me with a memory management problem. I have a client asking for a sequence of bytes to be returned by a server. The client gets the correct values but the server segfault once it has returned the sequence. My client code calls : VSERV_image_bytevect *img; .... img = VSERV_image_readpixel(image_obj,&width, &height, &ev); .... if (CORBA_sequence_get_release(img)) CORBA_free(img->_buffer); and after this, the img->_buffer do contains the correct values, (that is the server has returned the sequence before segfaulting) img->_length contains was what put in the server, but img->_maximum=0 though the C mappings say (page 1-14) "Upon successful return from the invocationthe _maximum member will contain the size of the allocated array". And this is my server-side code : static VSERV_image_bytevect * impl_VSERV_image_readpixel(impl_POA_VSERV_image * servant, CORBA_short * width, CORBA_short * height, CORBA_Environment * ev) { VSERV_image_bytevect *retval; guchar *buff; gulong img_size; retval = VSERV_image_bytevect__alloc(); CORBA_sequence_set_release(retval,TRUE); buff = pbuffer_readpixel_with_dim((gint *)width,(gint *) height); img_size = (gulong) (*width) * (*height) * 3; /* in bytes */ retval->_length = img_size; /* retval->_maximum = img_size; this does not solve the problem */ retval->_buffer = CORBA_sequence_CORBA_octet_allocbuf(img_size*sizeof(guchar) ); memcpy(retval->_buffer, buff, img_size*sizeof(guchar) ); return retval; /* segfaults after this */ } Has someone a clue of what i'm doing wrong or why the server segfaults ? Thanks. From philipd@users.sourceforge.net Fri Nov 24 04:48:00 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from beamail.beasys.com (unknown [63.96.163.38]) by mail.gnome.org (Postfix) with ESMTP id E83FA2BBE3 for ; Fri, 24 Nov 2000 04:47:59 -0500 (EST) Received: from london.beasys.com (london [10.5.1.10]) by beamail.beasys.com (8.9.1b+Sun/8.9.1) with ESMTP id BAA17372 for ; Fri, 24 Nov 2000 01:48:00 -0800 (PST) Received: from cuckoo.dawes.net (lhr-modem2.beasys.com [10.5.1.13]) by london.beasys.com (8.9.3+Sun/8.9.1) with SMTP id JAA04071 for ; Fri, 24 Nov 2000 09:47:48 GMT X-Mailer: 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid (via feedmail 8 Q); VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid From: "Phil Dawes" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14876.60916.424679.587796@cuckoo.dawes.net> Date: Thu, 23 Nov 2000 10:14:12 +0000 (GMT) To: orbit-list@gnome.org Subject: Re: ORBit 2.3.90 test release In-Reply-To: References: Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hey Elliot, I had some spare cycles to waste, so I've given ORBit-2.3.0 a try. I ran into some configuration problems, so here's some feedback: - both linc and ORBit-2 rely on glib-1.3.2 APIs, but the configure scripts only check for 1.3.1 - linc doesn't compile if you haven't got openssl installed. The LINC_SSL_SUPPORT check works, but the line in linc-config.h.in: #define LINC_SSL_SUPPORT @LINC_SSL_SUPPORT@ results in LINC_SSL_SUPPORT being defined whether openssl is installed or not. - in ORBit-2.3.0, the ORBit.m4 script checks for orbit_major_version etc.., but this is not defined in any .c file AFAIK, and thus you get a link error when you try and use this in client programs. Are you accepting patches for 0.2.3, or would you prefer to fix these yourself? Cheers, Phil Elliot Lee writes: > This is a test release of the ORBit2 tree that I've been hacking on the > past few months. It is intended to fix whatever big things are broken in > ORBit stable tree, break whatever already works, and add just a few new > features. > > This _test_ release is _not_ intended for production use, just your > _testing_ pleasure. > > It requires linc 0.1.0 > (ftp://ftp.gnome.org/people/sopwith/linc-0.1.0.tar.gz) and glib 1.3.2 to > be installed. > > The release itself is at > ftp://ftp.gnome.org/people/sopwith/ORBit-2.3.90.tar.gz > > Enjoy, > -- Elliot > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67 words, the 10 Commandments have 179 words, the > Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and > finally the European Commission's regulation on the sale of cabbage: 26,911 words." > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From a_kothare@yahoo.com Sat Nov 25 06:11:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web3606.mail.yahoo.com (web3606.mail.yahoo.com [204.71.203.110]) by mail.gnome.org (Postfix) with SMTP id 557AD2C81E for ; Sat, 25 Nov 2000 06:11:41 -0500 (EST) Message-ID: <20001125111140.28412.qmail@web3606.mail.yahoo.com> Received: from [202.54.1.21] by web3606.mail.yahoo.com; Sat, 25 Nov 2000 03:11:40 PST Date: Sat, 25 Nov 2000 03:11:40 -0800 (PST) From: Advait Kothare Subject: Supported Platforms To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development As per the User Documentation for documentation the ORBIT implementation has been tested on SOlaris 2.6 (UltraSparc). Please let me know if it has worked on the following conifiguration : Netra T1 105 (Sun machine) Solaris 2.7 (O.S) where can i get more information on installion procedures? __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From Igor.Borojevic@ireland.sun.com Mon Nov 27 06:41:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id A9B1A2CE2D for ; Mon, 27 Nov 2000 06:41:53 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA26864 for ; Mon, 27 Nov 2000 03:41:51 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.0) with ESMTP id LAA05649 for ; Mon, 27 Nov 2000 11:41:50 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA21492 for ; Mon, 27 Nov 2000 11:41:45 GMT Message-ID: <3A224879.76394CF@ireland.sun.com> Date: Mon, 27 Nov 2000 11:41:45 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Supported Platforms References: <20001125111140.28412.qmail@web3606.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi! I have it working on my Ultra 5, Solaris 8 Regards, Igor Advait Kothare wrote: > > As per the User Documentation for documentation the > ORBIT implementation has been tested on SOlaris 2.6 > (UltraSparc). > > Please let me know if it has worked on the following > conifiguration : > Netra T1 105 (Sun machine) > Solaris 2.7 (O.S) > > where can i get more information on installion > procedures? > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Thousands of Stores. Millions of Products. > http://shopping.yahoo.com/ > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From dsevilla@ditec.um.es Mon Nov 27 07:19:59 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from zape.um.es (zape.um.es [155.54.0.102]) by mail.gnome.org (Postfix) with ESMTP id 5C57D2BB58 for ; Mon, 27 Nov 2000 07:19:51 -0500 (EST) Received: from ditec.um.es (neuromancer.dif.um.es [155.54.12.241]) by zape.um.es (8.9.1b+Sun/8.9.1) with ESMTP id NAA20449 for ; Mon, 27 Nov 2000 13:17:54 +0100 (MET) Message-ID: <3A224FFF.238DC695@ditec.um.es> Date: Mon, 27 Nov 2000 13:13:51 +0100 From: "Diego Sevilla Ruiz (dsevilla@um.es)" Organization: Universidad de Murcia X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-5.0 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit or ORBit2? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, This may be a silly question... but, what CVS module should I checkout, ORBit or ORBit2? Or are them the same? Also, what is the status of the event service? I would be interested in it, or finishing it in the case it is not. Regards. diego. -- Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es Departamento de Ingeniería y Tecnología de Computadores Facultad de Informática. Universidad de Murcia Campus de Espinardo - 30080 Murcia (SPAIN). - Tel. +34-968-367658 PGP: http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xC9B964B7 \huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern-.1em@um.es perl -e'$_="\x4\@FLe\x2&B";for(/../g){print unpack("b*",$_),"\n"}'|tr 01 " #" -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: Y0x/Djs1A/hSmAKW5RjqpBwjdKbBEU4Z iQA/AwUAOiJQANoq0AfJuWS3EQLI5gCfUEqb0YX+5ZkzkVUcfblnxxpkd/kAn2eH 5DqWJv/VWO6SeVgQb0NafSwt =qzMm -----END PGP SIGNATURE----- From sopwith@redhat.com Mon Nov 27 13:52:19 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 669D82DE98 for ; Mon, 27 Nov 2000 13:52:19 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eARIqJ718391 for ; Mon, 27 Nov 2000 13:52:19 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 27 Nov 2000 13:52:19 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: ORBit or ORBit2? In-Reply-To: <3A224FFF.238DC695@ditec.um.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 27 Nov 2000, Diego Sevilla Ruiz (dsevilla@um.es) wrote: > This may be a silly question... but, what CVS module should I > checkout, ORBit or ORBit2? Or are them the same? The orbit-stable-0-5 branch of the ORBit module is the only thing intended for public consumption. > Also, what is the status of the event service? I would be > interested in it, or finishing it in the case it is not. Have at it, but I think there was noise about needing thread safety to use it. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From MVerwerft@NedCar.nl Tue Nov 28 03:37:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from nedcar.nl (unknown [193.172.11.178]) by mail.gnome.org (Postfix) with ESMTP id 6C9342BC6A for ; Tue, 28 Nov 2000 03:37:41 -0500 (EST) Received: by gateborn.nedcar.nl id <117132>; Tue, 28 Nov 2000 09:37:55 +0100 Message-Id: <00Nov28.093755cet.117132@gateborn.nedcar.nl> From: "Verwerft, Marc" To: "'orbit-list@gnome.org'" Subject: RE: ORBit or ORBit2? Date: Tue, 28 Nov 2000 09:37:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Diego, I wrote clients that can send and receive events (push-style) based on = the examples. The eventchannel itself is written in javaorb = (CosEventPOA/javaorb 2.2.7). Everything runs just fine. Regards, Marc =20 > ---------- > From: Diego Sevilla Ruiz > (dsevilla@um.es)[SMTP:dsevilla@ditec.um.es] > Reply To: orbit-list@gnome.org > Sent: Monday 27 November 2000 13:13 > To: orbit-list@gnome.org > Subject: ORBit or ORBit2? >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hi all, >=20 > This may be a silly question... but, what CVS module should I > checkout, ORBit or ORBit2? Or are them the same? >=20 > Also, what is the status of the event service? I would be > interested in it, or finishing it in the case it is not. >=20 > Regards. > diego. >=20 > -- > Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es > Departamento de Ingenier=EDa y Tecnolog=EDa de Computadores > Facultad de Inform=E1tica. Universidad de Murcia > Campus de Espinardo - 30080 Murcia (SPAIN). - Tel. +34-968-367658 > PGP: = http://pgp.rediris.es:11371/pks/lookup?op=3Dget&search=3D0xC9B964B7 > \huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern-.1em@um.es > perl -e'$_=3D"\x4\@FLe\x2&B";for(/../g){print = unpack("b*",$_),"\n"}'|tr 01 " > #" >=20 >=20 >=20 >=20 > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 5.0i for non-commercial use > MessageID: Y0x/Djs1A/hSmAKW5RjqpBwjdKbBEU4Z >=20 > iQA/AwUAOiJQANoq0AfJuWS3EQLI5gCfUEqb0YX+5ZkzkVUcfblnxxpkd/kAn2eH > 5DqWJv/VWO6SeVgQb0NafSwt > =3DqzMm > -----END PGP SIGNATURE----- >=20 > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list >=20 From wilhelmi@ira.uka.de Tue Nov 28 10:14:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id 846752DCA5 for ; Tue, 28 Nov 2000 10:14:27 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Tue, 28 Nov 2000 16:14:24 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Tue, 28 Nov 2000 16:14:22 +0100 Message-ID: <3A23CBCE.7978F9BC@ira.uka.de> Date: Tue, 28 Nov 2000 16:14:22 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, =?iso-8859-1?Q?St=E9phane?= Genaud Subject: Re: server code segfaults (again) References: <3A1CF268.E0F37D42@icps.u-strasbg.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi St=E9phane, > i am sorry to repost this message but i had no response previously > and this code is very important to me. > I can set up an archive of the whole code if someone wants a deeper > look. Yes, please. I had a brief look, but I didn't see something fundamentally= wrong, which doesn't mean, there isn't ;-) And please, send me a full archive with Makefile, such that I only need t= o type make to make the programs. Bye, Sebastian -- = Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi From mathieu@eazel.com Tue Nov 28 17:51:11 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 02E902BB7B for ; Tue, 28 Nov 2000 17:51:11 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G4RBHA00.UU2 for ; Tue, 28 Nov 2000 14:51:10 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id RAA24722; Tue, 28 Nov 2000 17:54:18 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: weird semantics for the IR's create_interface Original-Sender: mathieu@eazel.com From: Mathieu Lacage Date: 28 Nov 2000 17:54:18 -0800 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development hi all, I have been playing with the Interface repository of ORBit lately. I have fixed a few segfaults in my local copy and I will send a patch for those later when I get something more useful working. However, I am getting in some weird bug: I want to create a top-level interface with CORBA::Container::create_interface. To do so, I passed a zero-length sequence as base_interfaces parameter. It happens that the ORBit implementation is checking explicitely in its code for either a zero-length sequence or a NULL sequence and if so, refuses to create the interface.... ie: code in (interfacedefseq_verify) called from impl_CORBA_interfaceDef__create. As I see it, the correct fix is to make (interfacedefseq_verify) not check for a zero-length sequence and make its code be able to handle such zero-length sequence later. Is this right ? Mathieu -- Mathieu Lacage From anene@cup.hp.com Wed Nov 29 03:49:06 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by mail.gnome.org (Postfix) with ESMTP id 3C9262BAB1 for ; Wed, 29 Nov 2000 03:49:06 -0500 (EST) Received: from hpejl189.cup.hp.com (hpejl189.cup.hp.com [15.28.97.98]) by palrel3.hp.com (Postfix) with ESMTP id 2D7452BD for ; Wed, 29 Nov 2000 00:49:02 -0800 (PST) Received: from localhost (anene@localhost) by hpejl189.cup.hp.com (8.11.0/8.9.3/client.cv) with ESMTP id eAT8mfT28934 for ; Wed, 29 Nov 2000 00:48:44 -0800 X-Authentication-Warning: hpejl189.cup.hp.com: anene owned process doing -bs Date: Wed, 29 Nov 2000 00:48:41 -0800 (PST) From: "Amitabh A. Nene" To: orbit-list@gnome.org Subject: optimizing link between client and server In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I wanted to know how does one go about optimizing the link between a CORBA client and server using ORBit / any other ORB in general. In other words, how does one configure the link depending on whether the client and server are in the same address space, different address spaces on the same physical machine, or on separate physical machines ? Also, in the current ORBit implementation, do these paths translate to dyn-call/no-marshaling, shared-mem, and RPC respectively, if at all ? Thanks in advance. -Amit From dick@acm.org Wed Nov 29 04:46:21 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dick.i2it.co.uk (dick.i2it.co.uk [212.250.92.12]) by mail.gnome.org (Postfix) with ESMTP id 2DC822BAB1 for ; Wed, 29 Nov 2000 04:46:21 -0500 (EST) Received: (from dick@localhost) by dick.i2it.co.uk (8.8.7/8.8.7) id JAA00189 for orbit-list@gnome.org; Wed, 29 Nov 2000 09:46:19 GMT Date: Wed, 29 Nov 2000 09:46:19 +0000 From: Dick Porter To: orbit-list@gnome.org Subject: Re: weird semantics for the IR's create_interface Message-ID: <20001129094619.L29335@dick.i2it.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mathieu@eazel.com on Tue, Nov 28, 2000 at 05:54:18PM -0800 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote: > hi all, > > I have been playing with the Interface repository of ORBit lately. > I have fixed a few segfaults in my local copy and I will send a patch for > those later when I get something more useful working. Excellent, the IR is -><- this close to being almost useful. > > However, I am getting in some weird bug: I want to create a top-level interface > with CORBA::Container::create_interface. > > To do so, I passed a zero-length sequence as base_interfaces parameter. > > It happens that the ORBit implementation is checking explicitely in its code > for either a zero-length sequence or a NULL sequence and if so, refuses > to create the interface.... If it's explicitly checking then there is a good chance that the IR spec demands this check. I don't have the spec in front of me to check though. > Mathieu - Dick From mathieu@eazel.com Wed Nov 29 12:19:43 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 1AD3D2BAB1 for ; Wed, 29 Nov 2000 12:19:43 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G4SQSU00.6RJ for ; Wed, 29 Nov 2000 09:19:42 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id MAA29187; Wed, 29 Nov 2000 12:22:48 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: Re: weird semantics for the IR's create_interface References: <20001129094619.L29335@dick.i2it.co.uk> Original-Sender: mathieu@eazel.com From: Mathieu Lacage In-Reply-To: Dick Porter's message of "Wed, 29 Nov 2000 09:46:19 +0000" Date: 29 Nov 2000 12:22:48 -0800 Message-ID: Lines: 40 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Dick Porter writes: > On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote: > > hi all, > > > > I have been playing with the Interface repository of ORBit lately. > > I have fixed a few segfaults in my local copy and I will send a patch for > > those later when I get something more useful working. > > Excellent, the IR is -><- this close to being almost useful. > > > > > However, I am getting in some weird bug: I want to create a top-level interface > > with CORBA::Container::create_interface. > > > > To do so, I passed a zero-length sequence as base_interfaces parameter. > > > > It happens that the ORBit implementation is checking explicitely in its code > > for either a zero-length sequence or a NULL sequence and if so, refuses > > to create the interface.... > > If it's explicitly checking then there is a good chance that the IR spec > demands this check. I don't have the spec in front of me to check though. I do not think the spec says this: I have looked in it and could not really find any description of the correct behaviour in that case. > > > Mathieu > > - Dick > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- Mathieu Lacage From simon.britnell@peace.com Wed Nov 29 13:23:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id B5EB32D625 for ; Wed, 29 Nov 2000 13:23:48 -0500 (EST) Message-ID: <3A254855.9060502@peace.com> Date: Thu, 30 Nov 2000 07:17:57 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: optimizing link between client and server References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Amitabh A. Nene wrote: > I wanted to know how does one go about optimizing the link between a CORBA > client and server using ORBit / any other ORB in general. In other words, > how does one configure the link depending on whether the client and server > are in the same address space, different address spaces on the same > physical machine, or on separate physical machines ? Hmmm. I'm a little unsure of what you're asking. Your question appears to be "How do I select which transport an ORB is using (SHM,TCP/IP,Unix Sockets,Sun RPC,etc) for any ORB?" The answer is "That depends on the ORB." ORBit specifically has a configuration file /etc/orbitrc which switches between unix sockets and tcp/ip as these are the transports it provides.". Many ORBs automatically make the decision to use dync-call/no marshalling whenever they detect that they are both the client and the server for an IOR. I *think* ORBit is one of these. It also occurs to me that your real issue may be a performance one, in which case I can only say "Minimise round trips". The further the distance between your client and server, the bigger the latency penalty you will pay. Calling a remote object method fetchNextFoo() repeatedly to fetch a thousand records will perform fine over SHM where latency is <1ms, but will die screaming over the internet even at a latency of only 100ms (giving a 10 second response time for 1000 records in latency alone) and >500ms latencies are not uncommon. Far better to implement a method fetchAllFoo() which is called once. > Also, in the current ORBit implementation, do these paths translate to > dyn-call/no-marshaling, shared-mem, and RPC respectively, if at all ? I don't think ORBit does SHM yet. I know it does dyn-call, unix sockets, tcp/ip4 and tcp/ip6 (same ram address space, same machine, seperated by network). Hope this helps. From sopwith@redhat.com Wed Nov 29 15:37:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 28CA72CE82 for ; Wed, 29 Nov 2000 15:37:36 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eATKba205500 for ; Wed, 29 Nov 2000 15:37:36 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 29 Nov 2000 15:37:35 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: Re: optimizing link between client and server In-Reply-To: <3A254855.9060502@peace.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Simon Britnell wrote: > I don't think ORBit does SHM yet. It's not going to unless someone comes up with a SHM message send/receive implementation that shows significant performance improvements over UNIX domain sockets. SHM is good for sharing chunks of large data between apps, but for normal message-oriented traffic it's no good, because you still need a signalling mechanism, and latency can be a bigger problem than bandwidth in many cases. If you have to pass large amounts of data and still need to use CORBA, I recommend using CORBA to negotiate/control a directly-accessed SHM segment. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From kiko@async.com.br Wed Nov 29 18:11:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 5CAE42E0C9 for ; Wed, 29 Nov 2000 18:10:02 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id VAA24302; Wed, 29 Nov 2000 21:09:56 -0200 Date: Wed, 29 Nov 2000 21:09:56 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: RootPOA Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is more of a Orbit question but I'll crosspost so Jason gets some email :-) AFAICS, Orbit-0.5.3 only implements RootPOA as a possible request to resolve_initial_references. Is this true? Can I not access the NameService object? I've been quite confused about how exactly this would work. I understand I can set an IOR for the name server in orbitrc, but how far down Orbit and orbit-python this goes is unknown to me. Can I actually use this inside orbit-python today? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From kiko@async.com.br Wed Nov 29 18:15:35 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 97A202D42A for ; Wed, 29 Nov 2000 18:15:34 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id VAA24311; Wed, 29 Nov 2000 21:15:19 -0200 Date: Wed, 29 Nov 2000 21:15:19 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: Implementing list_initial_handlers for orbit-python Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I've taken a couple of shots at implementing list_initial_handlers for orbit-python in CORBA_ORB.c but since I've failed miserably I've come here to ask for a bit of help: As far as I can see all I need to do is request the list and parse the sequence back into a python object, returning it. Requesting the list isn't a problem at all, but I'm running into trouble figuring out exactly what to do with it: should I use demarshal_sequence on the ObjectIdList or is this more envolved than I think? What exactly is this list - just a CORBA sequence of ObjectIds, or something complex? Tracking down what types go where in Orbit is rather complicated, but I'm still digging through it. One problem I've found is that if I am effectively to use demarshal_sequence, I'll have to put together a TypeCode structure, and this isn't exactly trivial to me. If anyone could lend me a hand, it would be great. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From tack@orion.dok.org Wed Nov 29 19:28:33 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from orion.dok.org (h24-70-128-84.su.shawcable.net [24.70.128.84]) by mail.gnome.org (Postfix) with SMTP id 5AECD2CF0E for ; Wed, 29 Nov 2000 19:28:32 -0500 (EST) Received: (qmail 16318 invoked by uid 500); 30 Nov 2000 00:28:53 -0000 Date: Wed, 29 Nov 2000 19:28:53 -0500 From: Jason Tackaberry To: Christian Robottom Reis Cc: Orbit-python-list@lists.sourceforge.net, orbit-list@gnome.org Subject: Re: [Orbit-python-list] RootPOA Message-ID: <20001129192853.C15920@linux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from kiko@async.com.br on Wed, Nov 29, 2000 at 09:09:56PM -0200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > This is more of a Orbit question but I'll crosspost so Jason gets some > email :-) Aww, gee, thanks for thinking of me. :) First, a disclaimer: I haven't looked at this code in a while and I'm awfully rusty. I'm especially sticking my neck out when I talk about ORBit internals, so pay more attention to say Elliot or Owen before me. :) > AFAICS, Orbit-0.5.3 only implements RootPOA as a possible request to > resolve_initial_references. Is this true? Can I not access > the NameService object? I was reasonably sure you couldn't pass NameService to resolve_initial_references with ORBit, and a quick perusal of ORBit's source shows this to be the case. The name service object only seems to be set on calling set_initial_references, which doesn't help much when you don't have a reference to the object to begin with. Fetching a reference to GNOME's name service, at least, is done with Gnorba's gnome_name_service_get(). I don't think there is some elegant way with strictly ORBit (please correct me if I'm wrong). For now it's a matter of finding the IOR from the naming service and calling string_to_object on it. > I've been quite confused about how exactly this would work. I understand I > can set an IOR for the name server in orbitrc, but how far down Orbit and > orbit-python this goes is unknown to me. Can I actually use this inside > orbit-python today? In theory if you import the CosNaming module (in non-cvs versions you do this with load_idl, with the CVS version just import CosNaming and it does everything magically) and pass the IOR to string_to_object, you should have a NamingContext object to play with. In practice, there seems to be some sort of bug with ORBit-Python that I still need to track down and this will fail. Jason. From kiko@async.com.br Thu Nov 30 09:11:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 65FAF2D9BB for ; Thu, 30 Nov 2000 09:11:15 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id MAA31892; Thu, 30 Nov 2000 12:11:01 -0200 Date: Thu, 30 Nov 2000 12:11:01 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: random.org Random.ior and orbit-python Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Does anyone have an idea why we get a Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 Traceback (innermost last): File "./random", line 14, in ? o = myorb.string_to_object(ior) CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 when trying to string_to_object random.org's IOR: IOR:000000000000000f49444c3a52616e646f6d3a312e3000000000000100000000000000500001000000000016706c616e7874792e6473672e63732e7463642e69650006220000002c3a5c706c616e7874792e6473672e63732e7463642e69653a52616e646f6d3a303a3a49523a52616e646f6d00 The c client that random.org provides works perfectly, so I wouldn't think it's an Orbit issue, but it appears Orbit _is_ raising an exception, so I'm left wondering. Any ideas? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From kiko@async.com.br Thu Nov 30 09:24:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id D1B462C81E for ; Thu, 30 Nov 2000 09:24:41 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id MAA31996; Thu, 30 Nov 2000 12:24:35 -0200 Date: Thu, 30 Nov 2000 12:24:35 -0200 (BRST) From: Christian Robottom Reis To: Jason Tackaberry Cc: Orbit-python-list@lists.sourceforge.net, orbit-list@gnome.org Subject: Re: [Orbit-python-list] RootPOA In-Reply-To: <20001129192853.C15920@linux.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Wed, 29 Nov 2000, Jason Tackaberry wrote: > I was reasonably sure you couldn't pass NameService to > resolve_initial_references with ORBit, and a quick perusal of ORBit's > source shows this to be the case. The name service object only seems to > be set on calling set_initial_references, which doesn't help much when > you don't have a reference to the object to begin with. Apparently you can set an IOR for the NameService in your orbitrc, but I have yet to see this work. This code fragment in 0.5.3 indicates it does something when you send NameService on to it: else if(!strcmp(identifier, "NameService")) return CORBA_Object_duplicate(orb->naming, ev); orb->naming being set through naming_ior or naming_addr. I don't know if this code is actually being used but it is there. > Fetching a reference to GNOME's name service, at least, is done with > Gnorba's gnome_name_service_get(). I don't think there is some elegant I thought the name service IOR for gnome came through X hints.. I can't use hints as I have a real distributed operation here. However, setting the IOR through orbitrc or through the commandline would be an initial solution, though I would have to fill this out manually until the time came where I'd have persistent object being started up by orbit (if this ever gets done :-) I suppose nobody has effectively used orbitrc or argv parameters to poison NameService so far, however. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From sopwith@redhat.com Thu Nov 30 10:46:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id A26022BAFB for ; Thu, 30 Nov 2000 10:46:58 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUFkwQ15341; Thu, 30 Nov 2000 10:46:58 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 10:46:58 -0500 (EST) From: Elliot Lee X-Sender: To: Cc: Subject: Re: random.org Random.ior and orbit-python In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Christian Robottom Reis wrote: > > Does anyone have an idea why we get a > > Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 > Traceback (innermost last): > File "./random", line 14, in ? > o = myorb.string_to_object(ior) > CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 > > when trying to string_to_object random.org's IOR: > > IOR:000000000000000f49444c3a52616e646f6d3a312e3000000000000100000000000000500001000000000016706c616e7874792e6473672e63732e7463642e69650006220000002c3a5c706c616e7874792e6473672e63732e7463642e69653a52616e646f6d3a303a3a49523a52616e646f6d00 > > The c client that random.org provides works perfectly, so I wouldn't think > it's an Orbit issue, but it appears Orbit _is_ raising an exception, so > I'm left wondering. Maybe the 'ior' that you are passing has trailing newlines or something - the string_to_object routine in ORBit releases doesn't strip off whitespace... -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From tack@orion.dok.org Thu Nov 30 10:54:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from orion.dok.org (h24-70-128-84.su.shawcable.net [24.70.128.84]) by mail.gnome.org (Postfix) with SMTP id 1E1822DE2C for ; Thu, 30 Nov 2000 10:54:05 -0500 (EST) Received: (qmail 17682 invoked by uid 500); 30 Nov 2000 15:54:32 -0000 Date: Thu, 30 Nov 2000 10:54:32 -0500 From: Jason Tackaberry To: Elliot Lee Cc: orbit-list@gnome.org, Orbit-python-list@lists.sourceforge.net Subject: Re: [Orbit-python-list] Re: random.org Random.ior and orbit-python Message-ID: <20001130105432.M17237@linux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from sopwith@redhat.com on Thu, Nov 30, 2000 at 10:46:58AM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > Maybe the 'ior' that you are passing has trailing newlines or something - > the string_to_object routine in ORBit releases doesn't strip off > whitespace... Yep, that's exactly the problem, and I was just committing the fix to cvs as you replied. :) Thanks, Jason. From kiko@async.com.br Thu Nov 30 11:28:44 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 0AE752C81E for ; Thu, 30 Nov 2000 11:28:42 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id OAA00765; Thu, 30 Nov 2000 14:28:34 -0200 Date: Thu, 30 Nov 2000 14:28:34 -0200 (BRST) From: Christian Robottom Reis To: Elliot Lee Cc: orbit-list@gnome.org Subject: Re: [Orbit-python-list] Re: random.org Random.ior and orbit-python In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Elliot Lee wrote: > Maybe the 'ior' that you are passing has trailing newlines or something - > the string_to_object routine in ORBit releases doesn't strip off > whitespace... No, it works fine in the C implementation; it's something that orbit-python does wrong. I'm still delving into it! Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From Colm.Smyth@ireland.sun.com Thu Nov 30 12:19:14 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id EFDEE2C7C5 for ; Thu, 30 Nov 2000 12:19:13 -0500 (EST) Received: from ireserver.Ireland.Sun.COM ([129.156.220.7]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA11856 for ; Thu, 30 Nov 2000 09:19:10 -0800 (PST) Received: from dbl-ray-3 (dbl-ray-3 [129.156.237.102]) by ireserver.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.0) with SMTP id RAA12477 for ; Thu, 30 Nov 2000 17:19:09 GMT Message-Id: <200011301719.RAA12477@ireserver.Ireland.Sun.COM> Date: Thu, 30 Nov 2000 17:19:09 +0000 (GMT) From: Colm Smyth To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: Qzmgy2HvktoGA95NwpCERw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc Subject: (no subject) Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I'm using some purify-like features of Sun's debugging tool (dbx) to track down possible errors in some of the core GNOME libraries, including ORBit. One rui (read uninitialised) error that recurs frequently is caused by the fact that ORBit aligns int/long values encoded into a CDR_Codec using the ALIGN_ADDRESS() macro in CDR_buffer_putn(). The alignment moves the wptr forward which leaves an unnitialised "hole". It's quite trivial to fix: orbit/src/orb/cdr.c: static CORBA_boolean CDR_buffer_putn(CDR_Codec *codec, void *datum, int bsize) { #ifdef PURIFY unsigned int forward = (unsigned long)ALIGN_ADDRESS(codec->wptr, bsize); while (forward > codec->wptr) codec->buffer[codec->wptr++] = '\0'; #else codec->wptr = (unsigned int)ALIGN_ADDRESS(codec->wptr, bsize); #endif (as an aside, I changed the unsigned long cast to unsigned int to match the declaration of CDR_Codec.wptr. In a dbx-purify run of some test programs, only one other warning is reported because of the deliberate use of uninitialised data in genrand_unix(). It's very nice to see that ORBit is very clean ;) but more importantly if this fix is accepted, it's easier to purify applications based on ORBit. By the way, I wonder if the alignment is strictly necessary since data is always copied byte-wise to and from a CDR_Codec buffer. Colm. From sopwith@redhat.com Thu Nov 30 12:43:34 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id B63802BAAA for ; Thu, 30 Nov 2000 12:43:34 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUHhYW30023 for ; Thu, 30 Nov 2000 12:43:34 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 12:43:34 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: Re: (no subject) In-Reply-To: <200011301719.RAA12477@ireserver.Ireland.Sun.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Colm Smyth wrote: > CDR_buffer_putn(CDR_Codec *codec, void *datum, int bsize) > { > #ifdef PURIFY > unsigned int forward = (unsigned long)ALIGN_ADDRESS(codec->wptr, > bsize); > while (forward > codec->wptr) > codec->buffer[codec->wptr++] = '\0'; > #else > codec->wptr = (unsigned int)ALIGN_ADDRESS(codec->wptr, bsize); > #endif > > (as an aside, I changed the unsigned long cast to unsigned int to match > the declaration of CDR_Codec.wptr. > > In a dbx-purify run of some test programs, only one other warning is > reported because of the deliberate use of uninitialised data in > genrand_unix(). > > It's very nice to see that ORBit is very clean ;) but more importantly > if this fix is accepted, it's easier to purify applications based > on ORBit. I have put basically this patch into the orbit-stable-0-5 branch in CVS - the change will be in version 0.5.5. > By the way, I wonder if the alignment is strictly necessary since data is > always copied byte-wise to and from a CDR_Codec buffer. The alignment is for the CDR stream, not to facilitate local machine usage (well, that's partially false - the CDR alignment rules exist to facilitate local machine usage). -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Thu Nov 30 13:14:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id AA8852BAAA for ; Thu, 30 Nov 2000 13:14:54 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUIEss02927 for ; Thu, 30 Nov 2000 13:14:54 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 13:14:54 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: ORBit 0.5.5 release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development It's up on ftp.gnome.org. The biggest thing about it is DynAny support, courtesy of Michael Meeks. There are also the usual bug fixes. ftp://ftp.gnome.org/pub/ORBit/ORBit-0.5.5.tar.gz Share & enjoy, -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From chardros@ashtech.net Thu Nov 30 15:32:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ashtech.net (ashtech.pa.net [205.166.61.57]) by mail.gnome.org (Postfix) with SMTP id 9E1982CDC3 for ; Thu, 30 Nov 2000 15:32:50 -0500 (EST) Received: (qmail 7132 invoked from network); 30 Nov 2000 20:32:44 -0000 Received: from ip134.49.blca.blazenet.net (HELO neptune.jlab.int) (24.104.49.134) by ashtech.pa.net with SMTP; 30 Nov 2000 20:32:44 -0000 Received: (from chardros@localhost) by neptune.jlab.int (8.11.0/8.9.3) id eAUKXuD32280 for orbit-list@gnome.org; Thu, 30 Nov 2000 15:33:56 -0500 Date: Thu, 30 Nov 2000 15:33:36 -0500 From: Jason Pincin To: orbit-list@gnome.org Subject: Re: ORBit 0.5.5 release Message-ID: <20001130153329.A32275@neptune.jlab.int> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sopwith@redhat.com on Thu, Nov 30, 2000 at 01:14:54PM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Does this release contain the needed fixes to play nice with Sattelite in PHP? I know I was unable to move to the official 0.5.4 because of some issue (discussed earlier on this list), and had to run a snap shot or ORBit. Anyone know yet? Jason On Thu, Nov 30, 2000 at 01:14:54PM -0500, Elliot Lee wrote: > It's up on ftp.gnome.org. The biggest thing about it is DynAny support, > courtesy of Michael Meeks. There are also the usual bug fixes. > > ftp://ftp.gnome.org/pub/ORBit/ORBit-0.5.5.tar.gz > > Share & enjoy, > -- Elliot > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67 words, the 10 Commandments have 179 words, the > Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and > finally the European Commission's regulation on the sale of cabbage: 26,911 words." > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From david@2good.nu Thu Nov 30 15:46:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id BB91E2C8A2 for ; Thu, 30 Nov 2000 15:46:21 -0500 (EST) Received: from gwan (david@gwan.roots [172.16.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id VAA16522 for ; Thu, 30 Nov 2000 21:46:20 +0100 From: David Eriksson To: orbit-list@gnome.org Subject: Re: ORBit 0.5.5 release Date: Thu, 30 Nov 2000 21:46:23 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" References: <20001130153329.A32275@neptune.jlab.int> In-Reply-To: <20001130153329.A32275@neptune.jlab.int> MIME-Version: 1.0 Message-Id: <00113021462303.00276@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thursday 30 November 2000 21:33, you wrote: >Does this release contain the needed fixes to play nice with Sattelite >in PHP? I know I was unable to move to the official 0.5.4 because of > some issue (discussed earlier on this list), and had to run a snap shot > or ORBit. Anyone know yet? It does not contain the fixes that Satellite needs :-( -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From trohed@yahoo.com Thu Nov 30 16:49:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web10301.mail.yahoo.com (web10301.mail.yahoo.com [216.136.130.79]) by mail.gnome.org (Postfix) with SMTP id 7594B2BAAA for ; Thu, 30 Nov 2000 16:49:05 -0500 (EST) Message-ID: <20001130214901.77066.qmail@web10301.mail.yahoo.com> Received: from [206.31.111.24] by web10301.mail.yahoo.com; Thu, 30 Nov 2000 13:49:01 PST Date: Thu, 30 Nov 2000 13:49:01 -0800 (PST) From: trohed Subject: multithreaded and POA information To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Can you please point me in the direction of some documentation on writing multi-threaded corba servers and some information on POA. Thanks __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From dietmar@maurer-it.com Wed Nov 1 06:09:09 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id DBA9D2BB98 for ; Wed, 1 Nov 2000 06:09:08 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Wed, 1 Nov 2000 11:57:03 +0100 (CET) Message-ID: <39FFF6FD.9830BE7A@maurer-it.com> Date: Wed, 01 Nov 2000 11:57:03 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: howto get the servant from the object reference Content-Type: multipart/alternative; boundary="------------49AFFAFA9FC28A2EEA4580B5" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --------------49AFFAFA9FC28A2EEA4580B5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the PortableServer_Servant if I only have a CORBA_Object (if the object is local)? What I need is something like this: if (servant = servant_from_object (obj)) { /* found the servant */ } else { /* object is not local */ } --------------49AFFAFA9FC28A2EEA4580B5 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the PortableServer_Servant if I only
have a CORBA_Object (if the object is local)?

What I need is something like this:

if (servant = servant_from_object (obj)) {
     /* found the servant */
} else {
    /* object is not local */
} --------------49AFFAFA9FC28A2EEA4580B5-- From mkul@zenon.net Wed Nov 1 10:19:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from pb.zenon.net (cleopatra.zenon.net [195.2.64.6]) by mail.gnome.org (Postfix) with ESMTP id D44AB2BAEA for ; Wed, 1 Nov 2000 10:19:56 -0500 (EST) Received: from mp.aha.ru (mp.hq.zenon.net [192.168.9.150]) by pb.zenon.net (8.9.3/8.9.3) with ESMTP id SAA45831 for ; Wed, 1 Nov 2000 18:08:23 +0300 (MSK) (envelope-from mkul@zenon.net) Received: from [192.168.13.39] (HELO zenon.net) by mp.aha.ru (CommuniGate Pro SMTP 3.4b2) with ESMTP id 4130854 for orbit-list@gnome.org; Wed, 01 Nov 2000 18:06:28 +0300 Message-ID: <3A003143.84E5DC2F@zenon.net> Date: Wed, 01 Nov 2000 18:05:39 +0300 From: Michael Kulakov Organization: Zenon X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: make async. work with orbit Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello! CORBA_boolean CORBA_ORB_work_pending(CORBA_ORB orb, CORBA_Environment *ev) { g_assert(!"Not yet implemented"); return(CORBA_FALSE); } /* Section 4.9.2 */ void CORBA_ORB_perform_work(CORBA_ORB orb, CORBA_Environment *ev) { g_assert(!"Not yet implemented"); return; } What about any plans to implement this functions ? Michael From zhonghm@163.net Wed Nov 1 20:34:03 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from bjapp2.163.net (unknown [202.108.255.212]) by mail.gnome.org (Postfix) with ESMTP id 6150D2BD01 for ; Wed, 1 Nov 2000 20:34:02 -0500 (EST) Received: from main (unknown [61.129.38.105]) by bjapp2.163.net (Postfix) with SMTP id 341DF1C6E2A18 for ; Thu, 2 Nov 2000 09:20:56 +0800 (CST) Message-ID: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> From: "Zhong Haoming" To: Subject: =?hz-gb-2312?B?fns7WDg0fn06IGhvd3RvIGdldCB0aGUgc2VydmFudCBmcm9tIHQ=?= =?hz-gb-2312?B?aGUgb2JqZWN0IHJlZmVyZW5jZQ==?= Date: Thu, 2 Nov 2000 09:22:51 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01C044AE.7933A580" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C044AE.7933A580 Content-Type: text/plain; charset="hz-gb-2312" Content-Transfer-Encoding: quoted-printable Hi! I think you can not do that. -----Original Message----- ~{7"<~HK~}: Dietmar Maurer ~{JU<~HK~}: orbit-list@gnome.org ~{HUFZ~}: 2000~{Dj~}11~{TB~}1~{HU~} 23:21 ~{VwLb~}: howto get the servant from the object reference =20 =20 Is it possible to get the PortableServer_Servant if I only=20 have a CORBA_Object (if the object is local)?=20 What I need is something like this:=20 if (servant =3D servant_from_object (obj)) {=20 /* found the servant */=20 } else {=20 /* object is not local */=20 }=20 ------=_NextPart_000_0039_01C044AE.7933A580 Content-Type: text/html; charset="hz-gb-2312" Content-Transfer-Encoding: quoted-printable

Hi!
I think you = can not do=20 that.
-----Original = Message-----
~{7"<~HK~}:=20 Dietmar Maurer <dietmar@maurer-it.com>
~{JU<~HK~}:=20 orbit-list@gnome.org = <orbit-list@gnome.org>
~= {HUFZ~}:=20 2000~{Dj~}11~{TB~}1~{HU~} 23:21
~{VwLb~}: howto get = the servant from the object=20 reference

Is it possible to get the=20 PortableServer_Servant if I only
have a CORBA_Object (if the = object is=20 local)?=20

What I need is something like this:=20

if (servant =3D servant_from_object (obj)) {=20
     /* found the servant */ =
} else=20 {
    /* object is not local */=20
}

------=_NextPart_000_0039_01C044AE.7933A580-- From joe@pinguind.co.id Thu Nov 2 02:06:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from penguin.idola.net.id (eskimo.penguin.idola.net.id [202.152.20.54]) by mail.gnome.org (Postfix) with SMTP id 965DB2DE29 for ; Thu, 2 Nov 2000 02:06:39 -0500 (EST) Received: (qmail 24961 invoked by uid 510); 2 Nov 2000 18:02:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Nov 2000 18:02:38 -0000 Date: Thu, 2 Nov 2000 13:02:38 -0500 (EST) From: Zulkarnaen Hatala To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() In-Reply-To: <1258-Tue31Oct2000101834+0000-starksb@ebi.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Here is my code from factory-server.c --code sniff-- CosNaming_NamingContext name_srv; --code sniff-- name_srv = CORBA_ORB_resolve_initial_references(orb, "NameService", &ev); if(name_srv==NULL){ g_message("name_srv is always null"); g_message("%d",ev._major); exit(0); } --code sniff-- CosNaming_NamingContext_bind(name_srv,fac_name, fac, &ev); --code sniff-- The fact is segmentation fault because name_srv is always NULL, somebody tell me how to fix this problem .. I still don't understand why ..:) -- joe Zulkarnaen Hatala L I V E email : joe@pinguind.co.id F R E E PinguinD Linux ONE STOP SOLUTIONS http://www.pinguind.co.id O * R UIN : 49727749 telp : 62-022-2509327 D I E From jiva@dharmabox.opnix.net Thu Nov 2 02:21:04 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id 336D62CB60 for ; Thu, 2 Nov 2000 02:21:04 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id C99591A712; Thu, 2 Nov 2000 00:08:24 -0700 (MST) Date: Thu, 2 Nov 2000 00:08:24 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Shortened IORs? Message-ID: <20001102000824.A4516@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Greetings! We're using ORBit for some internal projects here. We have been developping these applications using Mandrake 7.1, but recently, we tried running the apps on a Debian Woody box and on a Mandrake 7.2 box. Both of these machines cause our app to generate a bad IOR which is shorter than a normal one. When we run this through parseIOR, we get "invalid object ref" as an error. We have tried changing versions of ORBit on these boxes, but had no success. The versions of ORBit we've tried are: 0.5.4 0.5.2 0.5.1 All of them do the same thing. Question is: What would cause this, and what can I do to further diagnose the problem? -- From dietmar@maurer-it.com Thu Nov 2 02:29:10 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id E10922BAB8 for ; Thu, 2 Nov 2000 02:29:09 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 2 Nov 2000 08:17:02 +0100 (CET) Message-ID: <3A0114ED.14401930@maurer-it.com> Date: Thu, 02 Nov 2000 08:17:02 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I have just found a way: obj->servant Although I think this is ORBit specific? Zhong Haoming wrote: > Hi!I think you can not do that. > > Is it possible to get the PortableServer_Servant if I only > > have a CORBA_Object (if the object is local)? > > What I need is something like this: > > if (servant = servant_from_object (obj)) { > /* found the servant */ > } else { > /* object is not local */ > } > From jiva@dharmabox.opnix.net Thu Nov 2 02:33:01 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id AA0B22BAB8 for ; Thu, 2 Nov 2000 02:33:00 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id 6AD751A71E; Thu, 2 Nov 2000 00:20:30 -0700 (MST) Date: Thu, 2 Nov 2000 00:20:30 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Re: make async. work with orbit Message-ID: <20001102002030.A4555@opnix.com> References: <3A003143.84E5DC2F@zenon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A003143.84E5DC2F@zenon.net>; from mkul@zenon.net on Wed, Nov 01, 2000 at 06:05:39PM +0300 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I asked a very similar question a few weeks ago. I don't think there's plans for this right now, but you can accomplish virtually the same thing by sticking a glib main loop into your software and using it's work_pending constructs. This is actually signifigantly less work than it sounds like on the surface and I might be able to point you in the direction of some sample code if you are interested. On Wed, Nov 01, 2000 at 06:05:39PM +0300, Michael Kulakov wrote: > Hello! > > CORBA_boolean CORBA_ORB_work_pending(CORBA_ORB orb, CORBA_Environment > *ev) > { > g_assert(!"Not yet implemented"); > return(CORBA_FALSE); > } > > /* Section 4.9.2 */ > void CORBA_ORB_perform_work(CORBA_ORB orb, CORBA_Environment *ev) > { > g_assert(!"Not yet implemented"); > return; > } > > What about any plans to implement this functions ? > > Michael > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- From wilhelmi@ira.uka.de Thu Nov 2 04:50:30 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id CC3AF2BAB8 for ; Thu, 2 Nov 2000 04:50:29 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Thu, 2 Nov 2000 10:38:20 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Thu, 2 Nov 2000 10:38:19 +0100 Message-ID: <3A01360B.E2E2AD2A@ira.uka.de> Date: Thu, 02 Nov 2000 10:38:19 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, Jiva DeVoe Subject: Re: Shortened IORs? References: <20001102000824.A4516@opnix.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Jiva, > We're using ORBit for some internal projects here. We have been > developping these applications using Mandrake 7.1, but recently, we > tried running the apps on a Debian Woody box and on a Mandrake 7.2 > box. Both of these machines cause our app to generate a bad IOR which > is shorter than a normal one. When we run this through parseIOR, we > get "invalid object ref" as an error. We have tried changing versions > of ORBit on these boxes, but had no success. The versions of ORBit > we've tried are: See Question 2b) on http://orbit-resource.sourceforge.net/faq.html Bye, Sebastian -- = Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo= lnen mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runderli= gt bl=E5 http://goethe.ira.uka.de/~wilhelmi | From wilhelmi@ira.uka.de Thu Nov 2 04:55:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id C520A2BAB8 for ; Thu, 2 Nov 2000 04:55:41 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Thu, 2 Nov 2000 10:43:34 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Thu, 2 Nov 2000 10:43:33 +0100 Message-ID: <3A013744.F17F3E85@ira.uka.de> Date: Thu, 02 Nov 2000 10:43:32 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Zulkarnaen, > The fact is segmentation fault because name_srv is always NULL, > somebody tell me how to fix this problem .. > I still don't understand why ..:) You have to start the name-service. This sputs out an IOR. This IOR has t= o be given as an argument to the ORBit-program, just like the following exampl= e: orbit-name-server >/tmp/ior & yourserver -ORBNamingIOR=3D`cat /tmp/ior` & yourclient -ORBNamingIOR=3D`cat /tmp/ior` That should work. Bye, Sebastian -- = Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo= lnen mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runderli= gt bl=E5 http://goethe.ira.uka.de/~wilhelmi | From philipd@users.sourceforge.net Thu Nov 2 07:01:52 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from beamail.beasys.com (unknown [63.96.163.29]) by mail.gnome.org (Postfix) with ESMTP id 913282BAC0 for ; Thu, 2 Nov 2000 07:01:51 -0500 (EST) Received: from london.beasys.com (london [10.5.1.10]) by beamail.beasys.com (8.9.1b+Sun/8.9.1) with ESMTP id DAA22370 for ; Thu, 2 Nov 2000 03:49:42 -0800 (PST) Received: from pdawes.beasys.com (lhr-modem6.beasys.com [10.5.1.17]) by london.beasys.com (8.9.3+Sun/8.9.1) with SMTP id LAA10099 for ; Thu, 2 Nov 2000 11:49:33 GMT X-Mailer: 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid (via feedmail 8 I); VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid From: "Phil Dawes" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14849.21763.358000.653405@pdawes.beasys.com> Date: Thu, 2 Nov 2000 11:50:27 +0000 (GMT0:00) To: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference In-Reply-To: <3A0114ED.14401930@maurer-it.com> References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> <3A0114ED.14401930@maurer-it.com> Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Dietmar, Yes, this is definately ORBit specific (and it breaks the CORBA model) I'm curious - why do you want to do this? Cheers, Phil Dietmar Maurer writes: > I have just found a way: obj->servant > Although I think this is ORBit specific? > > Zhong Haoming wrote: > > > Hi!I think you can not do that. > > > > Is it possible to get the PortableServer_Servant if I only > > > > have a CORBA_Object (if the object is local)? > > > > What I need is something like this: > > > > if (servant = servant_from_object (obj)) { > > /* found the servant */ > > } else { > > /* object is not local */ > > } > > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From dietmar@maurer-it.com Thu Nov 2 07:53:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id 0B1AF2BD71 for ; Thu, 2 Nov 2000 07:53:32 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Thu, 2 Nov 2000 13:41:25 +0100 (CET) Message-ID: <3A0160F3.EB0D31B7@maurer-it.com> Date: Thu, 02 Nov 2000 13:41:23 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: philipd@users.sourceforge.net Cc: orbit-list@gnome.org Subject: Re: howto get the servant from the object reference References: <003c01c0446b$6cbba480$010a0a0a@main.sigurd.com.cn> <3A0114ED.14401930@maurer-it.com> <14849.21763.358000.653405@pdawes.beasys.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Phil Dawes wrote: > Hi Dietmar, > > Yes, this is definately ORBit specific (and it breaks the CORBA model) > I'm curious - why do you want to do this? I want to use this for the bonobo storage implementation. There is a copyTo() method which copies one storage to another one. The operation can be highly optimized if both servers are local. It is also the only way to detect cyclic copies. From mkul@zenon.net Thu Nov 2 08:01:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from pb.zenon.net (cleopatra.zenon.net [195.2.64.6]) by mail.gnome.org (Postfix) with ESMTP id 159C22BF7E for ; Thu, 2 Nov 2000 08:01:49 -0500 (EST) Received: from mp.aha.ru (mp.hq.zenon.net [192.168.9.150]) by pb.zenon.net (8.9.3/8.9.3) with ESMTP id PAA43330 for ; Thu, 2 Nov 2000 15:50:21 +0300 (MSK) (envelope-from mkul@zenon.net) Received: from [192.168.13.39] (HELO zenon.net) by mp.aha.ru (CommuniGate Pro SMTP 3.4b2) with ESMTP id 4142231 for orbit-list@gnome.org; Thu, 02 Nov 2000 15:48:14 +0300 Message-ID: <3A016256.EE3BC50F@zenon.net> Date: Thu, 02 Nov 2000 15:47:18 +0300 From: Michael Kulakov Organization: Zenon X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Segmentation Fault on CosNaming_NamingContext_bind() References: <3A013744.F17F3E85@ira.uka.de> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello! > orbit-name-server >/tmp/ior & > yourserver -ORBNamingIOR=`cat /tmp/ior` & > yourclient -ORBNamingIOR=`cat /tmp/ior` and: ssh -f nameservicemachine orbit-name-server > /tmp/ior scp /tmp/ior servermachine:/tmp/ior scp /tmp/ior clientmachine:/tmp/ior ssh -f servermachine yourserver -ORBNamingIOR=`cat /tmp/ior` ssh -f clientmachine yourclient -ORBNamingIOR=`cat /tmp/ior` truly distributed application :) Now we wanny to try to restart orbit-name-server :) Michael From sam@topic.com.au Thu Nov 2 22:30:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.topic.com.au (topic-gw2.topic.com.au [203.37.31.2]) by mail.gnome.org (Postfix) with ESMTP id EEE552E06C for ; Thu, 2 Nov 2000 22:30:30 -0500 (EST) Received: by mailhost.topic.com.au (Postfix, from userid 1) id 6B4201105D; Fri, 3 Nov 2000 14:18:19 +1100 (EST) Received: from beethoven.tsa (ext-gw2.ext.tsa [192.168.11.2]) by mailhost.topic.com.au (Postfix) with SMTP id 1511FB0DA; Fri, 3 Nov 2000 14:18:08 +1100 (EST) Received: by beethoven.tsa (sSMTP sendmail emulation); Fri, 3 Nov 2000 14:19:12 +1100 From: Sam Couter Date: Fri, 3 Nov 2000 14:19:12 +1100 To: orbit-list@gnome.org, orbitcpp-list@lists.sourceforge.net Subject: CORBA_long_double type Message-ID: <20001103141912.A31610@topic.com.au> Mail-Followup-To: orbit-list@gnome.org, orbitcpp-list@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: Linux 2.2.17 on a i586 X-AntiVirus: scanned for viruses by AMaViS perl-8 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable G'day all. I'm working on implementing Any in ORBit-C++, but have a problem. The C++ mapping spec says that the CORBA::LongDouble type must be distinct from other types for the purposes of overloading functions. CORBA::LongDouble is typedef'd to ORBit's CORBA_long_double type, which is in turn typedef'd to glib's gdouble type. CORBA::Double is likewise typedef'd to ORBit's CORBA_double type, which is also typed to glib's gdouble type. So the compiler can't tell them apart, and thinks the Any insertion operator for CORBA::LongDouble is a redeclaration of the insertion operator for CORBA::Double. That's no good. I tried changing the typedef for CORBA_long_double to "long double" (I would have used glib's gldouble if it had been defined) and rebuilding ORBit, but now if I try to send CORBA_long_double arguments I get garbage. I can't see anywhere that has a size hard-coded. Yes, I rebuilt the IDL compiler as well, and regenerated the stubs and skeletons with that. Can anyone help me make CORBA_long_double a distinct type from CORBA_double? Or more importantly, make CORBA::LongDouble distinct from CORBA::Double? I don't really want to write a CORBA::LongDouble class and implement all the standard arithmetic operators. :( --=20 Sam Couter | Internet Engineer | http://www.topic.com.au/ sam@topic.com.au | tSA Consulting | PGP key available on key servers PGP key fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6Ai6whTADrt6Jx1wRAr8lAJ9ttHLScUqu/FMEI095GfkW/JYj1gCgtoyv g7Vosptgbpq/e2FD+Mvb538= =Z3kh -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From sopwith@redhat.com Fri Nov 3 11:08:55 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1A6572BCB4 for ; Fri, 3 Nov 2000 11:08:55 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA3FuaY23305; Fri, 3 Nov 2000 10:56:36 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Fri, 3 Nov 2000 10:56:36 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Cc: orbitcpp-list@lists.sourceforge.net Subject: Re: CORBA_long_double type In-Reply-To: <20001103141912.A31610@topic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri, 3 Nov 2000, Sam Couter wrote: > I tried changing the typedef for CORBA_long_double to "long double" (I would > have used glib's gldouble if it had been defined) and rebuilding ORBit, but > now if I try to send CORBA_long_double arguments I get garbage. > Can anyone help me make CORBA_long_double a distinct type from CORBA_double? The problem is that 'long double' is totally undefined. On my Alpha box, it is the same size as a 'double'. On my x86 box, it is 12 bytes compared to 8 for a double. The CORBA spec seems to want it to be 16 bytes long. I am not sure if the ORBit IDL compiler even handles 'long double' properly... I would recommend avoiding it altogether if possible - it seems it is too much of a problem to actually implement... -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From jiva@dharmabox.opnix.net Fri Nov 3 22:56:19 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dharmabox.opnix.net (unknown [216.183.192.83]) by mail.gnome.org (Postfix) with ESMTP id C99CC2CC98 for ; Fri, 3 Nov 2000 22:56:19 -0500 (EST) Received: by dharmabox.opnix.net (Postfix, from userid 501) id 8E7CF25BD1; Fri, 3 Nov 2000 20:43:21 -0700 (MST) Date: Fri, 3 Nov 2000 20:43:21 -0700 From: Jiva DeVoe To: orbit-list@gnome.org Subject: Calling corba within a corba calls? Message-ID: <20001103204321.A16399@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Is it OK to make another corba call within a handler of a corba call? ie: I have an object A that is called. Within it's handler of the call, it calls object B. Is that OK? -- Jiva DeVoe VP Of Software Development Opnix, Inc. - Simply sensous bandwidth. GPG Fingerprint: 0A17 DF84 516A 1DC4 B837 FE6D 3128 41CD 97CB 4AA7 From binnema@djcb.dyndns.org Sat Nov 4 07:07:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn84.dh.casema.net [213.17.5.84]) by mail.gnome.org (Postfix) with SMTP id 8EB832DEAA for ; Sat, 4 Nov 2000 07:07:53 -0500 (EST) Received: (qmail 3549 invoked by uid 550); 4 Nov 2000 13:03:23 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 4 Nov 2000 13:03:23 -0000 Date: Sat, 4 Nov 2000 13:04:10 +0100 From: "Dirk-Jan C . Binnema" To: Jiva DeVoe Cc: orbit-list@gnome.org Subject: Re: Calling corba within a corba calls? Message-ID: <20001104130400.A771@mindcrime.djb.nl> References: <20001103204321.A16399@opnix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20001103204321.A16399@opnix.com>; from jiva@opnix.com on Fri, Nov 03, 2000 at 08:43:21PM -0700 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri Nov 03, 2000 at 08:43:21PM -0700, Jiva DeVoe wrote: -> Is it OK to make another corba call within a handler of a corba call? -> ie: -> -> I have an object A that is called. Within it's handler of the call, -> it calls object B. Is that OK? yes. From tlewis@secureworks.net Sun Nov 5 19:50:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id 796322DBC7 for ; Sun, 5 Nov 2000 19:50:25 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id UAA33478; Sun, 5 Nov 2000 20:38:42 GMT (envelope-from tlewis@secureworks.net) Date: Sun, 5 Nov 2000 19:38:08 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Cc: Jiva DeVoe Subject: Re: Calling corba within a corba calls? In-Reply-To: <20001104130400.A771@mindcrime.djb.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development You just have to make sure that you don't by call B call back into the handler which made call A and is blocked waiting on the return, or else you'll deadlock. If you are running multithreaded, then this is not a problem. -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz On Sat, 4 Nov 2000, Dirk-Jan C . Binnema wrote: > On Fri Nov 03, 2000 at 08:43:21PM -0700, Jiva DeVoe wrote: > -> Is it OK to make another corba call within a handler of a corba call? > -> ie: > -> > -> I have an object A that is called. Within it's handler of the call, > -> it calls object B. Is that OK? > > yes. > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From renfin@telnor.net Mon Nov 6 13:02:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id 358842D169 for ; Mon, 6 Nov 2000 13:02:23 -0500 (EST) Received: from telnor.net (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id KAA15350; Mon, 6 Nov 2000 10:02:15 -0800 (PST) Message-ID: <3A06F2B2.392AC3EA@telnor.net> Date: Mon, 06 Nov 2000 10:04:34 -0800 From: Rene Maldonado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, CORBA Subject: Strings in ORBit Content-Type: multipart/mixed; boundary="------------03A51EA2C393487CA8E636A5" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------03A51EA2C393487CA8E636A5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have a problem I can't pass a string from the server to the client, in fact, a pass the string, from the point of view of the client, everithing is OK, I call the client, an the string appear on the screen, but on the server side an error occur: ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef) aborting... Aborted (core dumped) Any one know what can I do??? if I pass an integer, a short, or any numeric type, nothing hapens, everithing is OK. --------------03A51EA2C393487CA8E636A5 Content-Type: text/x-vcard; charset=us-ascii; name="renfin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="renfin.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------03A51EA2C393487CA8E636A5-- From dietmar@maurer-it.com Mon Nov 6 13:27:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailhost.vlsivie.tuwien.ac.at (mouse.vlsivie.tuwien.ac.at [128.130.40.221]) by mail.gnome.org (Postfix) with ESMTP id EDDED2BB75 for ; Mon, 6 Nov 2000 13:27:55 -0500 (EST) Received: from maurer-it.com (really [128.130.40.155]) by vlsivie.tuwien.ac.at via smail with esmtp (ident dm using rfc1413) id (Debian Smail3.2.0.102) for ; Mon, 6 Nov 2000 19:27:55 +0100 (CET) Message-ID: <3A06F82A.354B56DD@maurer-it.com> Date: Mon, 06 Nov 2000 19:27:54 +0100 From: Dietmar Maurer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: renfin@telnor.net Cc: orbit-list@gnome.org Subject: Re: Strings in ORBit References: <3A06F2B2.392AC3EA@telnor.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Rene Maldonado wrote: > Hi All, > > I have a problem I can't pass a string from the server to the client, in > fact, a pass the string, from the point of view of the client, > everithing is OK, I call the client, an the string appear on the screen, > but on the server side an error occur: > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > (block->magic == 0xdeadbeef) > aborting... > Aborted (core dumped) > > Any one know what can I do??? You have to use the CORBA functions to allocate the memory for the string, or simply use CORBA_string_dup (string) From Andy_Marchewka@i2.com Mon Nov 6 14:12:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtpmta2.i2.com (smtpmta2.i2.com [64.26.226.11]) by mail.gnome.org (Postfix) with ESMTP id 223AE2BECC for ; Mon, 6 Nov 2000 14:12:27 -0500 (EST) Received: from i2Markham.i2.com ([10.77.2.10]) by smtpmta2.i2.com (Lotus Domino Release 5.0.5) with ESMTP id 2000110613121688:26013 ; Mon, 6 Nov 2000 13:12:16 -0600 Subject: Re: CORBA-DEV: Strings in ORBit To: Rene Maldonado Cc: corba-dev@randomwalk.com, orbit-list@gnome.org X-Mailer: Lotus Notes Release 5.0.2b (Intl) 16 December 1999 Message-ID: From: Andy_Marchewka@i2.com Date: Mon, 6 Nov 2000 14:12:16 -0500 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on i2Markham/Servers/i2Tech(Release 5.0.2b (Intl)|16 December 1999) at 11/06/2000 02:12:16 PM, Itemize by SMTP Server on SMTPMTA2/i2Tech(Release 5.0.5 |September 22, 2000) at 11/06/2000 01:12:17 PM, Serialize by Router on SMTPMTA2/i2Tech(Release 5.0.5 |September 22, 2000) at 11/06/2000 01:12:26 PM, Serialize complete at 11/06/2000 01:12:26 PM Content-type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Rene: May be a memory management issue.... Are you allocating a copy of the string for the client with CORBA::string_alloc() or CORBA::string_dup()? The server-side ORB will deallocate your string after it sends it to the client, so you need to allocate a copy specifically to return to the caller with one of the above functions. If you are sending a string that the server owns, you will likely have memory problems. - Andy Rene Maldonado To: orbit-list@gnome.org, CORBA r.net> cc: Subject: CORBA-DEV: Strings in ORBit 11/06/00 01:04 PM boundary="------------03A51EA2C393487CA8E636A5" This is a multi-part message in MIME format. --------------03A51EA2C393487CA8E636A5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have a problem I can't pass a string from the server to the client, in fact, a pass the string, from the point of view of the client, everithing is OK, I call the client, an the string appear on the screen, but on the server side an error occur: ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef) aborting... Aborted (core dumped) Any one know what can I do??? if I pass an integer, a short, or any numeric type, nothing hapens, everithing is OK. From sopwith@redhat.com Mon Nov 6 14:15:12 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 8A1D72C930 for ; Mon, 6 Nov 2000 14:15:12 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA6JFCd22949; Mon, 6 Nov 2000 14:15:12 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 6 Nov 2000 14:15:12 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Cc: CORBA Subject: Re: Strings in ORBit In-Reply-To: <3A06F2B2.392AC3EA@telnor.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 6 Nov 2000, Rene Maldonado wrote: > Hi All, > > I have a problem I can't pass a string from the server to the client, in > fact, a pass the string, from the point of view of the client, > everithing is OK, I call the client, an the string appear on the screen, > but on the server side an error occur: > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > (block->magic == 0xdeadbeef) > aborting... > Aborted (core dumped) > > Any one know what can I do??? > > if I pass an integer, a short, or any numeric type, nothing hapens, > everithing is OK. When you return a value from the implementation, you are also returning ownership of the memory associated with that value (if any). Numeric types are returned by value, so there is no associated memory to return. Strings, on the other hand, have associated memory that must be copied if you do not wish to return ownership of the memory for the existing value. -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From renfin@telnor.net Mon Nov 6 14:39:29 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id A54042BC01 for ; Mon, 6 Nov 2000 14:39:27 -0500 (EST) Received: from telnor.net (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id LAA24099; Mon, 6 Nov 2000 11:38:36 -0800 (PST) Message-ID: <3A070946.1956FCE8@telnor.net> Date: Mon, 06 Nov 2000 11:40:54 -0800 From: Rene Maldonado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Dietmar Maurer Cc: orbit-list@gnome.org Subject: Re: Strings in ORBit References: <3A06F2B2.392AC3EA@telnor.net> <3A06F82A.354B56DD@maurer-it.com> Content-Type: multipart/mixed; boundary="------------4B6C7EF7C34FC53D0E18B273" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------4B6C7EF7C34FC53D0E18B273 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi : Do you know where can I find some examples that use strings, all I need is some code to have some reference.. Thanks Dietmar Maurer wrote: > Rene Maldonado wrote: > > > Hi All, > > > > I have a problem I can't pass a string from the server to the client, in > > fact, a pass the string, from the point of view of the client, > > everithing is OK, I call the client, an the string appear on the screen, > > but on the server side an error occur: > > > > ** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: > > (block->magic == 0xdeadbeef) > > aborting... > > Aborted (core dumped) > > > > Any one know what can I do??? > > You have to use the CORBA functions to allocate the memory for the string, > or simply use CORBA_string_dup (string) --------------4B6C7EF7C34FC53D0E18B273 Content-Type: text/x-vcard; charset=us-ascii; name="renfin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="renfin.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------4B6C7EF7C34FC53D0E18B273-- From zhonghm@163.net Mon Nov 6 20:49:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from bjapp1.163.net (unknown [202.108.255.211]) by mail.gnome.org (Postfix) with ESMTP id AE8092DBBB for ; Mon, 6 Nov 2000 20:48:10 -0500 (EST) Received: from main (unknown [61.129.38.92]) by bjapp1.163.net (Postfix) with SMTP id 05C831C99C849 for ; Tue, 7 Nov 2000 09:42:35 +0800 (CST) Message-ID: <001201c0485c$5b295380$010a0a0a@main.sigurd.com.cn> From: "Zhong Haoming" To: Subject: =?hz-gb-2312?B?fns7WDg0fn06IFN0cmluZ3MgaW4gT1JCaXQ=?= Date: Tue, 7 Nov 2000 09:45:05 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="hz-gb-2312" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi! Rene -----Original Message----- ~{7"<~HK~}: Rene Maldonado ~{JU<~HK~}: orbit-list@gnome.org ; CORBA ~{HUFZ~}: 2000~{Dj~}11~{TB~}7~{HU~} 2:02 ~{VwLb~}: Strings in ORBit >Hi All, > >I have a problem I can't pass a string from the server to the client, in >fact, a pass the string, from the point of view of the client, >everithing is OK, I call the client, an the string appear on the screen, >but on the server side an error occur: > >** ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: >(block->magic == 0xdeadbeef) >aborting... >Aborted (core dumped) > >Any one know what can I do??? > >if I pass an integer, a short, or any numeric type, nothing hapens, >everithing is OK. > Here is a sample to return string CORBA_char * ren; ren =CORBA_string_alloc (REN_LEN); return ren; or you can use ren=CORBA_string_dup (anotherstring); and then return it; In ORBit, CORBA_string_alloc (LEN) is defined as return ORBit_alloc(LEN+1,NULL,NULL); > > From jp.roumian@mobileway.com Tue Nov 7 14:08:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.fr.uu.net (smtp2.fr.uu.net [194.98.0.8]) by mail.gnome.org (Postfix) with ESMTP id 10CB32BBBA for ; Tue, 7 Nov 2000 14:08:32 -0500 (EST) Received: from brainwasher.iway.fr (brainwasher.iway.fr [212.208.127.1]) by mail.fr.uu.net (Postfix) with ESMTP id D1B5C321A1 for ; Tue, 7 Nov 2000 20:08:16 +0100 (MET) Received: from mobileway.com ([194.98.169.20]) by brainwasher.iway.fr (8.9.3/8.8.7) with ESMTP id UAA6183492 for ; Tue, 7 Nov 2000 20:06:59 +0100 (MET) Message-ID: <3A0853E3.BE3246A2@mobileway.com> Date: Tue, 07 Nov 2000 20:11:32 +0100 From: jean-paul roumian X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: -fpack-struct causes SEGV Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGVsbG8sDQoNCkkgdHJpZWQgdGhlIHdlbGwta25vd24gIm9yYml0LWRvY3MiIGV4YW1wbGVz IChlY2hvIHNlcnZlciwgY2FsY3VsYXRvcikNCkV2ZXJ5dGhpbmcgd29ya3Mgb2ssIGJ1dCBp ZiBJIGNvbXBpbGUgd2l0aCAtZnBhY2stc3RydWN0IG9wdGlvbiAoSSBkaWQNCnRoaXMgYmVj YXVzZSBJIHdvcmsgb24gc290ZndhcmUgdGhhdCBuZWVkIHRoaXMgOC0oKSwgd2l0aG91dCBj aGFuZ2luZw0KYW55dGhpbmcgZWxzZSwgdGhlIHByb2dyYW1zDQpjb3JlIGR1bXAgYXQgc3Rh cnR1cCwgd2l0aDoNCg0KMHg4MDRiOTBmIGluIENPUkJBTWFpbFNlcnZlcl9nZXRTTVRQQ291 bnRlciAoX29iaj0weDgwNTk1ZjgsIGkyPTEsDQpldj0weGJmZmZmOWU4KSBhdCBjYWxjdWxh dG9yLXN0dWJzLmM6MjUNCjI1ICAgIF9jbnggPSBPUkJpdF9vYmplY3RfZ2V0X2Nvbm5lY3Rp b24oX29iaik7DQooZ2RiKSBwcmludCAqX2NueA0KQ2Fubm90IGFjY2VzcyBtZW1vcnkgYXQg YWRkcmVzcyAweDRjLg0KKGdkYikgcHJpbnQgKl9vYmoNCiQxID0ge3BhcmVudCA9IHtpbnRl cmZhY2UgPSAweDQwMDc0MmE4LCBpc19wc2V1ZG9fb2JqZWN0ID0gMCAnXDAwMCcsDQpyZWZz ID0gMTY3NzcyMTZ9LCBvcmIgPSAweDQwMDAwMDAwLCBjb25uZWN0aW9uID0gMHg4MDU4MiwN CiAgb2JqZWN0X2lkID0gMHg2ODAwMDAwMCA8QWRkcmVzcyAweDY4MDAwMDAwIG91dCBvZiBi b3VuZHM+LA0KcHJvZmlsZV9saXN0ID0gMHg1MDA4MDU5NiwgZm9yd2FyZF9sb2NhdGlvbnMg PSAweDgwNTkxLCAgIGFjdGl2ZV9wcm9maWxlDQo9IDB4MCwgdmVwdiA9IDB4MCwgc2VydmFu dCA9IDB4MH0NCg0KDQpUaGlzIHNlZW1zIHZlcnkgc3RyYW5nZSB0byBtZS4NCldoeSBpdCBp cyBzbyBzZW5zaWJsZSB0byB0aGlzIG9wdGlvbiwgYW5kIGlzIGl0IGEgYnVnID8NCg0KDQoN Cg== From sopwith@redhat.com Tue Nov 7 14:20:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 244BB2D3F8 for ; Tue, 7 Nov 2000 14:20:27 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eA7JKQs27064 for ; Tue, 7 Nov 2000 14:20:26 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 7 Nov 2000 14:20:26 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: -fpack-struct causes SEGV In-Reply-To: <3A0853E3.BE3246A2@mobileway.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 7 Nov 2000, jean-paul roumian wrote: > I tried the well-known "orbit-docs" examples (echo server, calculator) > Everything works ok, but if I compile with -fpack-struct option (I did > this because I work on sotfware that need this 8-(), without changing > anything else, the programs > core dump at startup, with: > > 0x804b90f in CORBAMailServer_getSMTPCounter (_obj=0x80595f8, i2=1, > ev=0xbffff9e8) at calculator-stubs.c:25 > 25 _cnx = ORBit_object_get_connection(_obj); > (gdb) print *_cnx > Cannot access memory at address 0x4c. > (gdb) print *_obj > $1 = {parent = {interface = 0x400742a8, is_pseudo_object = 0 '\000', > refs = 16777216}, orb = 0x40000000, connection = 0x80582, > object_id = 0x68000000
, > profile_list = 0x50080596, forward_locations = 0x80591, active_profile > = 0x0, vepv = 0x0, servant = 0x0} -fpack-struct packs ALL structs, including ones that involve interfaces to system libraries. I suggest you use __attribute__((packed)) as needed instead. I don't really know what the problem is, to be honest, but if you are using funky customizations like -fpack-struct, you are on your own. :) -- Elliot [ "In a democracy, the government is the people," Milo explained. "We're people, aren't we? So we might just as well keep the money and eliminate the middleman." ] - Catch-22 From bsfelton@mobilesque.com Thu Nov 9 23:56:47 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from onyx.mobilesque.com (ns.mobilesque.com [204.0.12.98]) by mail.gnome.org (Postfix) with ESMTP id E81722BCC8 for ; Thu, 9 Nov 2000 23:56:46 -0500 (EST) Received: from diamond (diamond.mobilesque.com [209.39.176.3]) by onyx.mobilesque.com (8.11.0/8.11.0) with SMTP id eAA4ukg11870 for ; Thu, 9 Nov 2000 22:56:46 -0600 From: "Brentley S Felton" To: Subject: ORBit 0.5.4 compilation error(newbie) Date: Thu, 9 Nov 2000 22:57:08 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive the message when trying to run make after configure (with no options). Any help with this would be greatly appreciated. [bsfelton@opal ORBit-0.5.4]$ make make all-recursive Making all in popt make all-recursive Making all in intl Making all in po make: Fatal error in reader: Makefile, line 90: Macro assignment on dependency line Current working directory /usr/local/ORBit-0.5.4/popt/po *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/ORBit-0.5.4/popt *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' Current working directory /usr/local/ORBit-0.5.4/popt *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/ORBit-0.5.4 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' From wilhelmi@ira.uka.de Fri Nov 10 04:30:20 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id CD9F92D2CD for ; Fri, 10 Nov 2000 04:30:19 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Fri, 10 Nov 2000 10:30:14 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Fri, 10 Nov 2000 10:30:12 +0100 Message-ID: <3A0BC024.5CB6BE51@ira.uka.de> Date: Fri, 10 Nov 2000 10:30:12 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, Brentley S Felton Subject: Re: ORBit 0.5.4 compilation error(newbie) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi Brentley, > I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive > the message when trying to run make after configure (with no options). Any > help with this would be greatly appreciated. > > [bsfelton@opal ORBit-0.5.4]$ make > make all-recursive > Making all in popt > make all-recursive > Making all in intl > Making all in po > make: Fatal error in reader: Makefile, line 90: Macro assignment on > dependency line > Current working directory /usr/local/ORBit-0.5.4/popt/po > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4 > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' It looks like you should install gnu make. (or run it, that is'gmake', when already installed). Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi From Margus.Sutt@mail.ee Fri Nov 10 04:30:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.ee (mail.ee [212.107.32.145]) by mail.gnome.org (Postfix) with SMTP id 38B1B2D2CD for ; Fri, 10 Nov 2000 04:30:25 -0500 (EST) Received: (qmail 16914 invoked from network); 10 Nov 2000 09:30:23 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 10 Nov 2000 09:30:23 -0000 Date: Fri, 10 Nov 2000 11:30:22 +0200 (EET) From: Margus Sutt Subject: php module for CORBA To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Message-Id: <20001110093025.38B1B2D2CD@mail.gnome.org> Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development HI! =09Anyone succeeded compiling php module (satellite), which supposed to add= =0ACORBA connectivity? =09Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS= =0Amade ORBit itself not compileable... =09Is this the right place to ask at all? -mts-- From david@2good.nu Fri Nov 10 08:28:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id AB94B2BAAA for ; Fri, 10 Nov 2000 08:28:13 -0500 (EST) Received: from gwan (david@gwan.roots [10.0.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id OAA26448 for ; Fri, 10 Nov 2000 14:28:02 +0100 From: David Eriksson Date: Fri, 10 Nov 2000 14:28:04 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="ISO-8859-1" To: orbit-list@gnome.org References: <20001110093025.38B1B2D2CD@mail.gnome.org> In-Reply-To: <20001110093025.38B1B2D2CD@mail.gnome.org> Subject: Re: php module for CORBA MIME-Version: 1.0 Message-Id: <00111014280401.01933@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Friday 10 November 2000 10:30, you wrote: >HI! > > Anyone succeeded compiling php module (satellite), which supposed to add >CORBA connectivity? > Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS >made ORBit itself not compileable... > Is this the right place to ask at all? There were changes to the CVS which I had not anticipated, so you will have to use a CVS checkout from a "safe" date. Please see the updated part of the README below. I would have hoped that my contributed patches to ORBit would have made it into ORBit 0.5.4 but obviously they did not. What version of ORBit is required? ---------------------------------- You need a CVS version of ORBit to use Satellite! This does NOT work with ORBit 0.5.3 or earlier. The latest version of ORBit in CVS requires glib-2.0 and has not been tested. Because of this we checkout a CVS version from a know safe date. How to install ORBit from CVS ----------------------------- (1) Get it from CVS CVS root: :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome Password: Empty string Directory: ORBit Safe date: 2000-09-02 (yyyy-mm-dd) More about GNOME:s CVS on http://www.gnome.org/start/source.html Sample session at command line to checkout: $ export CVSROOT=":pserver:anonymous@anoncvs.gnome.org:/cvs/gnome" $ cvs login (Logging in to anonymous@anoncvs.gnome.org) CVS password: $ cvs checkout -D "2000-09-02" ORBit cvs server: Updating ORBit . . . (2) Set the environment variable CERTIFIED_GNOMIE to whatever you like. (3) Run ./autogen.sh, gmake och gmake install How to install ORBit from snapshot ---------------------------------- (1) Download snapshot from one of these addresses: http://download.2good.nu/satellite/ORBit-20000902.tgz http://www.2good.com/satellite/ORBit-20000902.tgz (2) Run ./configure, gmake and gmake install -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From chardros@ashtech.net Fri Nov 10 08:44:49 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ashtech.net (ashtech.pa.net [205.166.61.57]) by mail.gnome.org (Postfix) with SMTP id 43DAA2BAA0 for ; Fri, 10 Nov 2000 08:44:46 -0500 (EST) Received: (qmail 21989 invoked from network); 10 Nov 2000 13:44:32 -0000 Received: from ip134.49.blca.blazenet.net (HELO neptune.jlab.int) (24.104.49.134) by ashtech.pa.net with SMTP; 10 Nov 2000 13:44:32 -0000 Received: (from chardros@localhost) by neptune.jlab.int (8.11.0/8.9.3) id eAADiua16898 for orbit-list@gnome.org; Fri, 10 Nov 2000 08:44:56 -0500 Date: Fri, 10 Nov 2000 08:44:56 -0500 From: Jason Pincin To: orbit-list@gnome.org Subject: Re: php module for CORBA Message-ID: <20001110084441.A16893@neptune.jlab.int> References: <20001110093025.38B1B2D2CD@mail.gnome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001110093025.38B1B2D2CD@mail.gnome.org>; from Margus.Sutt@mail.ee on Fri, Nov 10, 2000 at 11:30:22AM +0200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Where does one aquire this satellite module for php? I've been looking at php-ORBit, which is different. I'd love to take a look at satellite and see how it compares. On Fri, Nov 10, 2000 at 11:30:22AM +0200, Margus Sutt wrote: > HI! > > Anyone succeeded compiling php module (satellite), which supposed to add > CORBA connectivity? > Which version ORBit should it be? 0.5.4 dont fit and upgrading from CVS > made ORBit itself not compileable... > Is this the right place to ask at all? > > -mts-- > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From david@2good.nu Fri Nov 10 08:52:38 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id 6F6052BAA0 for ; Fri, 10 Nov 2000 08:52:37 -0500 (EST) Received: from gwan (david@gwan.roots [10.0.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id OAA26606 for ; Fri, 10 Nov 2000 14:52:36 +0100 From: David Eriksson Date: Fri, 10 Nov 2000 14:52:38 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" To: orbit-list@gnome.org References: <20001110093025.38B1B2D2CD@mail.gnome.org> <20001110084441.A16893@neptune.jlab.int> In-Reply-To: <20001110084441.A16893@neptune.jlab.int> Subject: Re: php module for CORBA MIME-Version: 1.0 Message-Id: <00111014523803.01933@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Friday 10 November 2000 14:44, you wrote: >Where does one aquire this satellite module for php? I've been looking > at php-ORBit, which is different. I'd love to take a look at satellite > and see how it compares. It's included in the latest release of PHP 4. Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From genaud@icps.u-strasbg.fr Fri Nov 10 09:27:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id BD94F2BC51 for ; Fri, 10 Nov 2000 09:27:15 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id PAA17766 for ; Fri, 10 Nov 2000 15:27:15 +0100 Message-ID: <3A0C0631.28AAEC79@icps.u-strasbg.fr> Date: Fri, 10 Nov 2000 15:29:05 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: server code segfaults Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, could someone help me with a memory management problem. I have a client asking for a sequence of bytes to be returned by a server. The client gets the correct values but the server segfault once it has returned the sequence. My client code calls : VSERV_image_bytevect *img; .... img = VSERV_image_readpixel(image_obj,&width, &height, &ev); .... if (CORBA_sequence_get_release(img)) CORBA_free(img->_buffer); and after this, the img->_buffer do contains the correct values, img->_length contains was what put in the server, but img->_maximum=0 though the C mappings say (page 1-14) "Upon successful return from the invocation the _maximum member will contain the size of the allocated array". And this is my server-side code : static VSERV_image_bytevect * impl_VSERV_image_readpixel(impl_POA_VSERV_image * servant, CORBA_short * width, CORBA_short * height, CORBA_Environment * ev) { VSERV_image_bytevect *retval; guchar *buff; gulong img_size; retval = VSERV_image_bytevect__alloc(); CORBA_sequence_set_release(retval,TRUE); buff = pbuffer_readpixel_with_dim((gint *)width,(gint *) height); img_size = (gulong) (*width) * (*height) * 3; /* in bytes */ retval->_length = img_size; retval->_buffer = CORBA_sequence_CORBA_octet_allocbuf(img_size*sizeof(guchar) ); memcpy(retval->_buffer, buff, img_size*sizeof(guchar) ); return retval; /* segfaults after this */ } Has someone a clue of what i'm doing wrong or why the server segfaults ? Thanks. From bsfelton@mobilesque.com Fri Nov 10 13:48:59 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from onyx.mobilesque.com (ns.mobilesque.com [204.0.12.98]) by mail.gnome.org (Postfix) with ESMTP id 999A12BDA1 for ; Fri, 10 Nov 2000 13:48:59 -0500 (EST) Received: from diamond (diamond.mobilesque.com [209.39.176.3]) by onyx.mobilesque.com (8.11.0/8.11.0) with SMTP id eAAImxg12404 for ; Fri, 10 Nov 2000 12:48:59 -0600 From: "Brentley S Felton" To: Subject: RE: ORBit 0.5.4 compilation error(newbie) Date: Fri, 10 Nov 2000 12:49:25 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A0BC024.5CB6BE51@ira.uka.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks Sebastian. I will give this a whirl. -----Original Message----- From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On Behalf Of Sebastian Wilhelmi Sent: Friday, November 10, 2000 3:30 AM To: orbit-list@gnome.org; Brentley S Felton Subject: Re: ORBit 0.5.4 compilation error(newbie) Hi Brentley, > I am trying to install ORBit 0.5.4 on a Solaris 7 intel machine. I receive > the message when trying to run make after configure (with no options). Any > help with this would be greatly appreciated. > > [bsfelton@opal ORBit-0.5.4]$ make > make all-recursive > Making all in popt > make all-recursive > Making all in intl > Making all in po > make: Fatal error in reader: Makefile, line 90: Macro assignment on > dependency line > Current working directory /usr/local/ORBit-0.5.4/popt/po > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' > Current working directory /usr/local/ORBit-0.5.4/popt > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /usr/local/ORBit-0.5.4 > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive-am' It looks like you should install gnu make. (or run it, that is'gmake', when already installed). Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi _______________________________________________ orbit-list mailing list orbit-list@gnome.org http://mail.gnome.org/mailman/listinfo/orbit-list From pbouton@mediabolic.com Fri Nov 10 16:08:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 4E4562DE07 for ; Fri, 10 Nov 2000 16:08:41 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01730 for ; Fri, 10 Nov 2000 14:07:46 -0800 Message-ID: <3A0C71B2.A0584D15@mediabolic.com> Date: Fri, 10 Nov 2000 14:07:46 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit without gnome Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello- Does ORBit rely on gnome? Is it possible to use ORBit without gnome running? It looked like at least the name-server used gnome. If we come up with a different scheme for finding our CORBA servant can we run without gnome? Thanks, Peter Bouton From mas@echo.fr Fri Nov 10 16:12:25 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id 336352DC35 for ; Fri, 10 Nov 2000 16:12:25 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 9C5A547D8; Fri, 10 Nov 2000 22:12:23 +0100 (CET) To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> From: Roland Mas Date: 10 Nov 2000 22:12:23 +0100 In-Reply-To: Peter Bouton's message of "Fri, 10 Nov 2000 14:07:46 -0800" Message-ID: <8766lvzg3s.fsf@cachemir.echo-net.net> Lines: 26 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Peter Bouton (2000-11-10 14:07:46 -0800) : > Does ORBit rely on gnome? Nope, GNOME relies on ORBit. > Is it possible to use ORBit without gnome running? Completely. > It looked like at least the name-server used gnome. Wrong again, GNOME uses the name-server. > If we come up with a different scheme for finding our CORBA servant > can we run without gnome? No problem. I do it everyday (unless these GNOME guys have a particularly perverse way of hiding processes from me :-) Roland. -- Roland Mas Au royaume des aveugles, il y a des borgnes à ne pas dépasser. -- in Soeur Marie-Thérèse des Batignoles (Maëster) From pbouton@mediabolic.com Fri Nov 10 16:50:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 23E9E2BACA for ; Fri, 10 Nov 2000 16:50:28 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01754 for ; Fri, 10 Nov 2000 14:50:33 -0800 Message-ID: <3A0C7BB9.41FE930E@mediabolic.com> Date: Fri, 10 Nov 2000 14:50:33 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> <8766lvzg3s.fsf@cachemir.echo-net.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks. My confusion arose from the discussion of how the Naming Service works in the Beginner's docs http://icps.u-strasbg.fr/~genaud/ORBIT/x374.htm#COSNAMEINGSERVICE. I assumed the gnome_name_service_get was from the gnome libraries. Is this the same service name lookup approach used for non-gnome apps? Thanks, Pete Roland Mas wrote: > Peter Bouton (2000-11-10 14:07:46 -0800) : > > > Does ORBit rely on gnome? > > Nope, GNOME relies on ORBit. > > > Is it possible to use ORBit without gnome running? > > Completely. > > > It looked like at least the name-server used gnome. > > Wrong again, GNOME uses the name-server. > > > If we come up with a different scheme for finding our CORBA servant > > can we run without gnome? > > No problem. I do it everyday (unless these GNOME guys have a > particularly perverse way of hiding processes from me :-) > > Roland. > -- > Roland Mas > > Au royaume des aveugles, il y a des borgnes à ne pas dépasser. > -- in Soeur Marie-Thérèse des Batignoles (Maëster) > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From pbouton@mediabolic.com Fri Nov 10 16:52:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from madison.mediabolic.com (adsl-63-203-218-66.dsl.snfc21.pacbell.net [63.203.218.66]) by mail.gnome.org (Postfix) with ESMTP id 7323B2BACA for ; Fri, 10 Nov 2000 16:52:56 -0500 (EST) Received: from mediabolic.com (IDENT:pbouton@localhost.localdomain [127.0.0.1]) by madison.mediabolic.com (8.9.3/8.9.3) with ESMTP id OAA01759 for ; Fri, 10 Nov 2000 14:52:57 -0800 Message-ID: <3A0C7C49.745A8270@mediabolic.com> Date: Fri, 10 Nov 2000 14:52:57 -0800 From: Peter Bouton Organization: mediabolic X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit with Java Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello- Any code examples out there for using ORBit where the server methods are written in Java? Thanks, Peter Bouton From djohnston@teamlogisco.com Fri Nov 10 17:14:18 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id C18D82BAEE for ; Fri, 10 Nov 2000 17:14:17 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id SAA03339 for ; Fri, 10 Nov 2000 18:11:49 -0500 From: David Johnston Date: Fri, 10 Nov 2000 23:11:49 GMT Message-ID: <20001110.23114900@david.baxterharriss.com> Subject: Orbit's temp. directory To: orbit-list@gnome.org X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On my system, a directory named /tmp/orbit-USERNAME gets created for=20 every user who starts Gnome. I would prefer that this be created in=20 /home/USERNAME/tmp/orbit. How would I go about doing this? Regards, David Johnston djohnston@teamlogisco.com From binnema@djcb.dyndns.org Sun Nov 12 07:22:15 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn75.dh.casema.net [213.17.5.75]) by mail.gnome.org (Postfix) with SMTP id 2F24A2BD79 for ; Sun, 12 Nov 2000 07:22:12 -0500 (EST) Received: (qmail 721 invoked by uid 550); 12 Nov 2000 12:28:37 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 12 Nov 2000 12:28:37 -0000 Date: Sun, 12 Nov 2000 13:30:19 +0100 From: "Dirk-Jan C. Binnema" To: orbit-list@gnome.org Subject: trivial hack to do cmdline oaf queries Message-ID: <20001112133009.A2419@mindcrime.djb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi all, I wrote a little program to do command line oaf queries. It's rather trivial, but I've found it useful, so maybe you will do so as well. There are some improvements that could be made, such as some shortcuts for asking 'repo_ids.has()' etc. If typing OAF queries irritates me enough I might make those improvements. [Hmmm... I assume this is the appropriate list for OAF related stuff. If not, I'm sorry.] Cheers, Dirk-Jan. /* ** lsoaf.c -- trivial hack to do cmdline oaf queries ** ** compile with: ** gcc -o lsoaf lsoaf.c `oaf-config --libs` `oaf-config --cflags` ** ** Copyright (C) 2000 Dirk-Jan C. Binnema ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ** */ #include #include static int do_query (gchar *query, gint argc, gchar *argv[]); static gchar* parse_arguments (gint argc, gchar *argv[]); static gboolean display_server_type= FALSE, display_properties = FALSE, display_location = FALSE, display_username = FALSE, display_hostname = FALSE, display_domain = FALSE, display_all = FALSE; int main (int argc, char *argv[]) { gboolean retval; gchar *query; query = parse_arguments (argc, argv); if (!query) return 1; else { retval = do_query (query, argc, argv); g_free (query); return retval; } } static gchar* parse_arguments (int argc, gchar *argv[]) { poptContext option_context; gchar *query; gchar c; const struct poptOption options[] = { { "location", 'l', POPT_ARG_NONE, &display_location, 0, "show location information", NULL }, { "properties", 'p', POPT_ARG_NONE, &display_properties, 0, "show properties", NULL }, { "username", 'u', POPT_ARG_NONE, &display_username, 0, "show the username", NULL }, { "hostname", 'h', POPT_ARG_NONE, &display_hostname, 0, "show the hostname", NULL }, { "domain", 'd', POPT_ARG_NONE, &display_domain, 0, "show domain", NULL }, { "query", 'q', POPT_ARG_STRING, &query, 0, "search for objects using the given oaf query", NULL }, { NULL, 0, 0, NULL, 0 } }; static gchar* usage_msg = "\n-l : display location" "\n-p : display properties" "\n-u : display user name" "\n-h : display hostname" "\n-d : display domain" "\n-q : an OAF query" "\n\nexample: $ lsoaf -lp -q \"repo_ids.has('IDL:Bonobo/Control:1.0')\"\n"; option_context = poptGetContext (NULL, argc, (const char**)argv, options, 0); poptSetOtherOptionHelp (option_context, usage_msg); if (argc < 2) { poptPrintUsage (option_context, stderr, 0); exit (1); } while ((c = poptGetNextOpt(option_context)) >= 0) g_print ("*** %c\n", c); poptFreeContext (option_context); return g_strdup(query); } static gboolean do_query (gchar* query, gint argc, gchar *argv[]) { CORBA_ORB orb; CORBA_Environment ev; OAF_Property oaf_prop; OAF_ServerInfoList *query_result; OAF_ServerInfo server_info; gint i,j,k, prop_num, string_num; gchar *order_by = NULL; gboolean display_anything = display_server_type || display_properties || display_location || display_username || display_hostname || display_domain; CORBA_exception_init(&ev); orb = oaf_init (argc,argv); if (!orb) g_error ("%s", "failed to initialize orb"); if (!oaf_is_initialized()) g_error ("%s", "failed to initialize oaf"); query_result = oaf_query (query, &order_by, &ev); if (ev._major != CORBA_NO_EXCEPTION) { g_print ( "CORBA exception: %s\n", CORBA_exception_id(&ev)); CORBA_exception_free (&ev); return 1; } for (i = 0; i < query_result->_length; ++i) { server_info = query_result->_buffer[i]; if (display_server_type) g_print ("type : %s\n", server_info.server_type); if (display_location) g_print ("location : %s\n", server_info.location_info); if (display_username) g_print ("username : %s\n", server_info.username); if (display_hostname) g_print ("hostname : %s\n", server_info.hostname); if (display_domain) g_print ("domain : %s\n", server_info.domain); if (display_properties) { prop_num = query_result->_buffer[i].props._length; for (j=0; j < prop_num; ++j) { oaf_prop = query_result->_buffer[i].props._buffer[j]; g_print ("property [%d]: '%s' => ", j+1, oaf_prop.name); switch (oaf_prop.v._d) { case OAF_P_STRING: g_print ("\"%s\" (string)\n",oaf_prop.v._u.value_string); break; case OAF_P_NUMBER: g_print ("%d (number)\n",oaf_prop.v._u.value_number); break; case OAF_P_BOOLEAN: g_print ("%s (boolean)\n",oaf_prop.v._u.value_number?"true":"false"); break; case OAF_P_STRINGV: string_num = oaf_prop.v._u.value_stringv._length; for (k = 0; k < string_num; ++k) { g_print ("\"%s\"", oaf_prop.v._u.value_stringv._buffer[k]); if ( k < string_num - 1) g_print (", "); } g_print (" (string list [%d])\n", string_num); break; default: g_print ("error: unknown type\n"); } } } if (display_anything) g_print ("\n"); } if (CORBA_sequence_get_release (query_result)) CORBA_free(query_result->_buffer); CORBA_exception_free (&ev); return 0; } +--------------------------------------------------+ Dirk-Jan C. Binnema http://www.casema.net/~devnull -------------------------------------------------- PGP/GPG fingerprint: BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F +--------------------------------------------------+ From garry.chan@alumni.ust.hk Sun Nov 12 09:55:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mailgw.ust.hk (mailgw.ust.hk [143.89.14.35]) by mail.gnome.org (Postfix) with ESMTP id 9EF502BC87 for ; Sun, 12 Nov 2000 09:55:21 -0500 (EST) Received: from dma100 (dma100.resnet.ust.hk [143.89.220.100]) by mailgw.ust.hk (8.11.0/8.11.0) with SMTP id eACErBP11853 for ; Sun, 12 Nov 2000 22:53:11 +0800 (HKT) Message-ID: <002801c04cb8$9ce487d0$64dc598f@resnet> From: "Garry Chan" To: References: Date: Sun, 12 Nov 2000 22:55:33 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Subject: (no subject) Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi all, I want to unsubscribe to this mailing list. I know that this is not the right address to do so. I have tried to submit my request to orbit-list-request@cuc.edu but got a error message reply. Could anyone tell me the correct way to unsubscribe? Thank you Gary From simon.britnell@peace.com Sun Nov 12 16:03:53 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id 9FAB12BBBA for ; Sun, 12 Nov 2000 16:03:51 -0500 (EST) Message-ID: <3A0F044A.1020104@peace.com> Date: Mon, 13 Nov 2000 09:57:46 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit with Java References: <3A0C7C49.745A8270@mediabolic.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development For this you're best to look at the examples that come with the Java ORB you're using (we find JacORB to be good). Peter Bouton wrote: > Hello- > > Any code examples out there for using ORBit where the server methods are > written in Java? From sopwith@redhat.com Sun Nov 12 16:43:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 8240D2BBBA for ; Sun, 12 Nov 2000 16:43:22 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eACLhMV00857 for ; Sun, 12 Nov 2000 16:43:22 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Sun, 12 Nov 2000 16:43:22 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001110.23114900@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Fri, 10 Nov 2000, David Johnston wrote: > On my system, a directory named /tmp/orbit-USERNAME gets created for > every user who starts Gnome. I would prefer that this be created in > /home/USERNAME/tmp/orbit. How would I go about doing this? Basically, you can hack the ORBit code yourself It would be a really bad idea. /home is very often on NFS, and UNIX sockets on an NFS-mounted path don't work on a number of operating systems, and the directory is per-[machine,user], not simply per-user. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Sun Nov 12 16:44:10 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 757A82BBBA for ; Sun, 12 Nov 2000 16:44:10 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eACLiAK00898 for ; Sun, 12 Nov 2000 16:44:10 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Sun, 12 Nov 2000 16:44:10 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: trivial hack to do cmdline oaf queries In-Reply-To: <20001112133009.A2419@mindcrime.djb.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, 12 Nov 2000, Dirk-Jan C. Binnema wrote: > I wrote a little program to do command line oaf queries. There is already one included in OAF - oaf-client -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From binnema@djcb.dyndns.org Sun Nov 12 17:19:51 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from djcb.dyndns.org (29dyn75.dh.casema.net [213.17.5.75]) by mail.gnome.org (Postfix) with SMTP id 84C7C2BBBA for ; Sun, 12 Nov 2000 17:19:49 -0500 (EST) Received: (qmail 2117 invoked by uid 550); 12 Nov 2000 22:26:24 -0000 Received: from unknown (192.168.1.2) by 192.168.1.1 with QMQP; 12 Nov 2000 22:26:24 -0000 Date: Sun, 12 Nov 2000 23:28:10 +0100 From: "Dirk-Jan C. Binnema" To: orbit-list@gnome.org Subject: Re: trivial hack to do cmdline oaf queries Message-ID: <20001112232800.D2419@mindcrime.djb.nl> References: <20001112133009.A2419@mindcrime.djb.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from sopwith@redhat.com on Sun, Nov 12, 2000 at 04:44:10PM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun Nov 12, 2000 at 04:44:10PM -0500, Elliot Lee wrote: -> On Sun, 12 Nov 2000, Dirk-Jan C. Binnema wrote: -> -> > I wrote a little program to do command line oaf queries. -> -> There is already one included in OAF - oaf-client yeah, i know, but I didn't like the name... [ok, this is silly.... at least I had fun while coding.] --Dirk-Jan. +--------------------------------------------------+ Dirk-Jan C. Binnema http://www.casema.net/~devnull -------------------------------------------------- PGP/GPG fingerprint: BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F +--------------------------------------------------+ From andrewm@treshna.com Sun Nov 12 23:24:33 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp4.ihug.co.nz (smtp4.ihug.co.nz [203.109.252.5]) by mail.gnome.org (Postfix) with ESMTP id 28E4E2BCCA for ; Sun, 12 Nov 2000 23:24:31 -0500 (EST) Received: from nikita.treshna.com (p7-max7.chc.ihug.co.nz [203.173.225.135]) by smtp4.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id RAA11379 for ; Mon, 13 Nov 2000 17:24:22 +1300 X-Authentication-Warning: smtp4.ihug.co.nz: Host p7-max7.chc.ihug.co.nz [203.173.225.135] claimed to be nikita.treshna.com Received: from nikita.treshna.com ([101.101.101.1] helo=treshna.com) by nikita.treshna.com with esmtp (Exim 3.16 #1 (Debian)) id 13vBAB-0006fM-00 for ; Mon, 13 Nov 2000 17:24:11 +1300 Message-ID: <3A0F6CEB.9148A9A5@treshna.com> Date: Mon, 13 Nov 2000 17:24:11 +1300 From: Andrew Murie X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test9 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Java + ORBit Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I'm attempting to write a Java client to communicate with a server written in C, using ORBit. I beleive I have used the -IIOPIPV4=1 option correctly, and it ought to be able to connect, but still the Java client just throws COMM_FAILURE exceptions. The ORBit server is running on Linux, and the Java client on WinNT4. There doesn't appear to be a network problem, so I suspect a configuration problem. I'm copying the stringified object reference from the Linux box to the NT machine, as I haven't gotten around to setting up the name service. Can anyone offer any suggestions for getting this to work? From cactus@cactus.rulez.org Mon Nov 13 00:38:47 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from booster.telnet.hu (booster.telnet.hu [212.75.128.38]) by mail.gnome.org (Postfix) with ESMTP id 8D8722BC26 for ; Mon, 13 Nov 2000 00:38:46 -0500 (EST) Received: from sendmail.telnet.hu ([212.75.128.13] ident=qmailr) by booster.telnet.hu with smtp (Exim 3.12 #1 (Debian)) id 13vCKI-00070x-00 for ; Mon, 13 Nov 2000 06:38:42 +0100 Received: (qmail 1274 invoked from network); 13 Nov 2000 05:38:41 -0000 Received: from port060.bp1.telnet.hu (HELO mail.cactus) (212.75.128.188) by mail.telnet.hu with SMTP; 13 Nov 2000 05:38:41 -0000 Received: from ds9.cactus (really [10.0.0.1]) by mail.cactus via smail with esmtp id (Debian Smail3.2.0.102) for ; Mon, 13 Nov 2000 06:38:11 +0100 (CET) Date: Mon, 13 Nov 2000 06:38:10 +0100 (CET) From: ERDI Gergo X-Sender: cactus@ds9.cactus To: orbit-list@gnome.org Subject: Re: Java + ORBit In-Reply-To: <3A0F6CEB.9148A9A5@treshna.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, Andrew Murie wrote: > configuration problem. I'm copying the stringified object reference from > the Linux box to the NT machine, as I haven't gotten around to setting > up the name service. Use the ior-decode utility on the Linux box to make sure ORBit is using TCP transport (you should see a TAG_INTERNET_IOP part) --=20 .--=3D ULLA! =3D----------------------------. finger cactus@cactus.rule= z.org \ http://cactus.rulez.org \ for PGP public key `----------=3D cactus@cactus.rulez.org =3D--' A szinon=EDma olyan sz=F3, amit akkor haszn=E1lsz, ha nem tudsz valamit hel= yesen le=EDrni. From MVerwerft@nedcar.nl Mon Nov 13 03:20:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from nedcar.nl (unknown [193.172.11.178]) by mail.gnome.org (Postfix) with ESMTP id 9AE242BB05 for ; Mon, 13 Nov 2000 03:20:57 -0500 (EST) Received: by gateborn.nedcar.nl id <117125>; Mon, 13 Nov 2000 09:22:05 +0100 Message-Id: <00Nov13.092205cet.117125@gateborn.nedcar.nl> From: "Verwerft, Marc" To: "'orbit-list@gnome.org'" Subject: RE: Java + ORBit Date: Mon, 13 Nov 2000 09:20:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Maybe your client can send out only giop1.2 requests ? Or write a small client test program in orbit for windoze ? At least you'll know whether or not it is related to the two different products (Orbit and ...) and not to network settings, firewall configurations, etc. > ---------- > From: Andrew Murie[SMTP:andrewm@treshna.com] > Reply To: orbit-list@gnome.org > Sent: Monday 13 November 2000 05:24 > To: orbit-list@gnome.org > Subject: Java + ORBit > > I'm attempting to write a Java client to communicate with a server > written in C, using ORBit. I beleive I have used the -IIOPIPV4=1 option > correctly, and it ought to be able to connect, but still the Java client > just throws COMM_FAILURE exceptions. > > The ORBit server is running on Linux, and the Java client on WinNT4. > There doesn't appear to be a network problem, so I suspect a > configuration problem. I'm copying the stringified object reference from > the Linux box to the NT machine, as I haven't gotten around to setting > up the name service. > > Can anyone offer any suggestions for getting this to work? > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From dick@dick.i2it.co.uk Mon Nov 13 05:03:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dick.i2it.co.uk (dick.i2it.co.uk [212.250.92.12]) by mail.gnome.org (Postfix) with ESMTP id BC2382CB10 for ; Mon, 13 Nov 2000 05:02:35 -0500 (EST) Received: (from dick@localhost) by dick.i2it.co.uk (8.8.7/8.8.7) id KAA00875 for orbit-list@gnome.org; Mon, 13 Nov 2000 10:02:34 GMT Date: Mon, 13 Nov 2000 10:02:34 +0000 From: Dick Porter To: orbit-list@gnome.org Subject: Re: (no subject) Message-ID: <20001113100234.Y10471@dick.i2it.co.uk> References: <002801c04cb8$9ce487d0$64dc598f@resnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <002801c04cb8$9ce487d0$64dc598f@resnet>; from garry.chan@alumni.ust.hk on Sun, Nov 12, 2000 at 10:55:33PM +0800 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, Nov 12, 2000 at 10:55:33PM +0800, Garry Chan wrote: > Hi all, > > Could anyone tell me the correct way to unsubscribe? You could try following the URL at the bottom of every message (I'm posting this publically to head off the spate of me too! :-) ) > > Thank you > Gary - Dick From jp.roumian@mobileway.com Mon Nov 13 11:36:26 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.fr.uu.net (smtp2.fr.uu.net [194.98.0.8]) by mail.gnome.org (Postfix) with ESMTP id A16062CFF2 for ; Mon, 13 Nov 2000 11:36:26 -0500 (EST) Received: from brainwasher.iway.fr (brainwasher.iway.fr [212.208.127.1]) by mail.fr.uu.net (Postfix) with ESMTP id C97C431EE8 for ; Mon, 13 Nov 2000 17:36:11 +0100 (MET) Received: from mobileway.com ([194.98.169.20]) by brainwasher.iway.fr (8.9.3/8.8.7) with ESMTP id RAA10951354 for ; Mon, 13 Nov 2000 17:33:23 +0100 (MET) Message-ID: <3A1018B9.8E14C32E@mobileway.com> Date: Mon, 13 Nov 2000 17:37:13 +0100 From: jean-paul roumian X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Deconnection detection. Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGVsbG8sDQoNCldoZW4gSSB1c2UgdGhlICdlY2hvLWNsaWVudC9zZXJ2ZXIgJyBmcm9tIGV4 YW1wbGVzIGluIE9SQml0IHNvdXJjZSwNCmlmIHRoZSBlY2hvLXNlcnZlciBpcyBraWxsZWQg d2l0aCBLSUxMIHNpZ25hbCwgdGhlIGVjaG8tY2xpZW50IGlzDQpoYW5naW5nLiAoIG9uIGEg c2VsZWN0IGNhbGwNCmluIGNvbm5lY3Rpb24uYywgZ2lvcF9jaGVja19jb25uZWN0aW9ucywg YmxvY2tfZm9yX3JlcGx5IGlzIFRSVUUpLg0KDQpJdCdzIHZlcnkgYW5ub2luZyBmcm9tIG15 IHBvaW50IG9mIHZpZXcgLiAob3VyIHNvZnR3YXJlcyB1c2UgY29ubmVjdGlvbg0KdGltZW91 dHMsIGFuZCByZXRyeSBtZWNhbmlzbXMpDQoNCkkndmUgZm91bmQgaW4gdGhlIG9yYml0LWxp c3QgYXJjaGl2ZXMgYWJvdXQgdGltZW91dHMsIGFuZCBJICd2ZQ0KY29uY2x1ZGVkIHRoYXQ6 IChjb3JyZWN0IG1lIGlmIEknbSB3cm9uZykNCg0KKiAgSUlPUCBpcyBidWlsdCBvdmVyIFRD UCwgc28gbm8gZGVjb25uZWN0aW9uIGRldGVjdGlvbiAoU09fS0VFUEFMSVZFIGlzDQoNCm5v dCBmbGV4aWJsZSBlbm91Z2ggKG5vIHBlci1jb25uZWN0aW9uIHRpbWVvdXQsICBub3Qgd2Vs bC1pbXBsZW1lbnRlZA0KZXZlcnkgVENQIHN0YWNrLC4uLikpLg0KKiBvbmx5IGEgbm9vcCBt ZXNzYWdlIGltcGxlbWVudGVkIG9uIGEgaGlnaGVyIGxheWVyIGNhbiBhY2hlaXZlIHRoaXMu DQoNCiogSXMgaXQgYSBiYWQgdGhpbmcgdG8gc2V0IHRoZSBzZWxlY3QgdGltZW91dCBieSBh biBvcmJpdC1zcGVjaWZpYyBhcGkNCmNhbGwsIGFuZCB0byBpbXBsZW1lbnQgYSAiTk9PUCIg bWVzc2FnZSBtZWNhbmlzbSAodW5kZXIsaW5zaWRlIG9yIG92ZXINCnRoZSBJSU9QIGxheWVy ID8pLiAoSScgZG9uJ3QgbWFzdGVyaXNlIElJT1Agc3BlY3MuLi4pDQoqIENhbiB0aGUgZXhj ZXB0aW9uIHJhaXNlZCBzYXkgcHJlY2lzZWx5ICJjb25uZWN0aW9uIHRsbWVvdXQiLCBub3Qg anVzdA0KY29tbSBmYWlsdXJlID8NCg0KVGhhbmtzLg0KDQo= From djohnston@teamlogisco.com Mon Nov 13 11:48:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 23A862BB71 for ; Mon, 13 Nov 2000 11:48:05 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id MAA14018 for ; Mon, 13 Nov 2000 12:45:07 -0500 From: David Johnston Date: Mon, 13 Nov 2000 17:45:07 GMT Message-ID: <20001113.17450700@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/12/00, 4:43:22 PM, Elliot Lee wrote regarding= =20 Re: Orbit's temp. directory: > On Fri, 10 Nov 2000, David Johnston wrote: > > /tmp/orbit-USERNAME gets created for every user who starts Gnome. > > I would prefer ... /home/USERNAME/tmp/orbit. How? > you can hack the ORBit code yourself... > It would be a really bad idea. /home is very often on NFS, and UNIX > sockets on an NFS-mounted path don't work on a number of operating > systems, and the directory is per-[machine,user], not simply per-user.= > -- Elliot Elliot, thanks for the explanation. I figured you did it that way for a reason.= Why aren't the orbit directories in /tmp removed when Orbit shuts down? = =20 Is the cookie intended to be persistent across Orbit sessions? Regards, David From dthompson@characterlink.net Mon Nov 13 12:01:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from clobntmail01.characterlink.net (clobntmail01.characterlink.net [207.27.152.48]) by mail.gnome.org (Postfix) with ESMTP id B70F32BC9C for ; Mon, 13 Nov 2000 12:01:27 -0500 (EST) Received: from darrint.thompsons (0a-19.ccrtc.com [205.243.45.25]) by clobntmail01.characterlink.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-38059U5000L500S0) with SMTP id AAA330 for ; Mon, 13 Nov 2000 10:53:19 -0600 From: dthompson@characterlink.net (Darrin Thompson) Date: Mon, 13 Nov 2000 17:01:35 GMT Message-ID: <20001113.17013500@darrint.thompsons> Subject: Re: Deconnection detection. To: orbit-list@gnome.org In-Reply-To: <3A1018B9.8E14C32E@mobileway.com> References: <3A1018B9.8E14C32E@mobileway.com> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development If you have time requirements that are this stringent, you probably=20 should be using an ORB built with those kind of requirements in mind. TA= O=20 is an example of these that is open enough for most people. ORBit is=20 quick and light, but introducing a time requirement on a corner case lik= e=20 what you have described is the domain of big fat bloated ORBs. Again,=20 look into the capabilities of TAO. Darrin On 11/13/00, 11:37:13 AM, jean-paul roumian =20 wrote regarding Deconnection detection.: > Hello, > When I use the 'echo-client/server ' from examples in ORBit source, > if the echo-server is killed with KILL signal, the echo-client is > hanging. ( on a select call > in connection.c, giop_check_connections, block_for_reply is TRUE). > It's very annoing from my point of view . (our softwares use connectio= n > timeouts, and retry mecanisms) > I've found in the orbit-list archives about timeouts, and I 've > concluded that: (correct me if I'm wrong) > * IIOP is built over TCP, so no deconnection detection (SO_KEEPALIVE = is > not flexible enough (no per-connection timeout, not well-implemented > every TCP stack,...)). > * only a noop message implemented on a higher layer can acheive this. > * Is it a bad thing to set the select timeout by an orbit-specific api= > call, and to implement a "NOOP" message mecanism (under,inside or over= > the IIOP layer ?). (I' don't masterise IIOP specs...) > * Can the exception raised say precisely "connection tlmeout", not jus= t > comm failure ? > Thanks. > =A2=B6=E2=B6X=AC=B6f=A2=96)=E0=96+-=A2=B6=E2=B6X=AC=B6 =E8=99=EA= +=82=1Bm=A7=FF=E6j)`=9E=89=9E=A2=B8?=99=A8=A5=99=A9=FF=96+-=8Aw=E8=FE=8A= =DB=8A=D9b From sopwith@redhat.com Mon Nov 13 12:04:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 7464A2BC9C for ; Mon, 13 Nov 2000 12:04:24 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eADH4Ol07175 for ; Mon, 13 Nov 2000 12:04:24 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 13 Nov 2000 12:04:24 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.17450700@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > thanks for the explanation. I figured you did it that way for a reason. > > Why aren't the orbit directories in /tmp removed when Orbit shuts down? > Is the cookie intended to be persistent across Orbit sessions? . The cookie file is created by gnome, not ORBit. It usually stays around there "just because". . The orb-* UNIX socket connection points are usually removed by ORBit when the application exits, but may be left around if the application crashes or is killed. . The /tmp/orbit-username directory itself doesn't get removed because multiple programs and libraries can be using the one directory. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From djohnston@teamlogisco.com Mon Nov 13 12:28:24 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 64D542D4C3 for ; Mon, 13 Nov 2000 12:28:23 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id NAA14220 for ; Mon, 13 Nov 2000 13:26:03 -0500 From: David Johnston Date: Mon, 13 Nov 2000 18:26:03 GMT Message-ID: <20001113.18260300@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/13/00, 12:04:24 PM, Elliot Lee wrote regardin= g=20 Re: Orbit's temp. directory: > On Mon, 13 Nov 2000, David Johnston wrote: > > Why aren't the orbit directories in /tmp removed when Orbit shuts do= wn? > > Is the cookie intended to be persistent across Orbit sessions? > . The cookie file is created by gnome, not ORBit. It usually stays aro= und > there "just because". > . The orb-* UNIX socket connection points are usually removed by > ORBit when the application exits, but may be left around if the > application crashes or is killed. > . The /tmp/orbit-username directory itself doesn't get removed because= > multiple programs and libraries can be using the one directory. Thanks. Since you mentioned application crashes, I have a related question. I=20 have had problems with my X server locking up or crashing from time to=20 time. When it goes down, some X applications seem to stay up. A ps=20 listing shows that their parent is init instead of the X session. I'm=20 curious: when X comes back up, is there a way to reconnect to these "los= t=20 children?" -David From sopwith@redhat.com Mon Nov 13 12:31:52 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 958622D389 for ; Mon, 13 Nov 2000 12:31:52 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eADHVqb11773 for ; Mon, 13 Nov 2000 12:31:52 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 13 Nov 2000 12:31:52 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.18260300@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > Since you mentioned application crashes, I have a related question. I > have had problems with my X server locking up or crashing from time to > time. When it goes down, some X applications seem to stay up. A ps > listing shows that their parent is init instead of the X session. I'm > curious: when X comes back up, is there a way to reconnect to these "lost > children?" No. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From djohnston@teamlogisco.com Mon Nov 13 14:51:49 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from david.baxterharriss.com (unknown [64.182.225.106]) by mail.gnome.org (Postfix) with ESMTP id 2E5672BEB8 for ; Mon, 13 Nov 2000 14:51:49 -0500 (EST) Received: from david.baxterharriss.com (IDENT:davjoh@localhost [127.0.0.1] (may be forged)) by david.baxterharriss.com (8.9.3/8.8.7) with SMTP id OAA14433 for ; Mon, 13 Nov 2000 14:29:03 -0500 From: David Johnston Date: Mon, 13 Nov 2000 19:29:03 GMT Message-ID: <20001113.19290300@david.baxterharriss.com> Subject: Re: Orbit's temp. directory To: orbit-list@gnome.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On 11/13/00, 12:31:52 PM, Elliot Lee wrote regardin= g=20 Re: Orbit's temp. directory: > On Mon, 13 Nov 2000, David Johnston wrote: > > Since you mentioned application crashes, I have a related question. = I > > have had problems with my X server locking up or crashing from time = to > > time. When it goes down, some X applications seem to stay up. A ps= > > listing shows that their parent is init instead of the X session. I= 'm > > curious: when X comes back up, is there a way to reconnect to these = "lost > > children?" > No. Dear Mr. Coolidge: why not? -David From andrewm@treshna.com Mon Nov 13 22:47:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp2.ihug.co.nz (smtp2.ihug.co.nz [203.109.252.8]) by mail.gnome.org (Postfix) with ESMTP id 4F5422BE8A for ; Mon, 13 Nov 2000 22:47:03 -0500 (EST) Received: from nikita.treshna.com (p33-tnt1.chc.ihug.co.nz [203.173.227.33]) by smtp2.ihug.co.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id QAA00815 for ; Tue, 14 Nov 2000 16:46:58 +1300 X-Authentication-Warning: smtp2.ihug.co.nz: Host p33-tnt1.chc.ihug.co.nz [203.173.227.33] claimed to be nikita.treshna.com Received: from castle.treshna.com ([101.101.101.4] helo=treshna.com) by nikita.treshna.com with esmtp (Exim 3.16 #1 (Debian)) id 13vX3i-0000g7-00 for ; Tue, 14 Nov 2000 16:46:58 +1300 Message-ID: <3A10B6AB.21222C73@treshna.com> Date: Tue, 14 Nov 2000 16:51:07 +1300 From: Andrew Murie X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Java + ORBit (solved) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks to the people who helped with this problem. It turned out that the IOR file had the correct host name in it, but the DNS server didn't connect it to the correct IP address, so nothing could work. (this is on the local LAN) fixing the winNT settings solved the problem, and it's working fine now. From dsdan@sesa.nju.edu.cn Tue Nov 14 01:09:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sesa.nju.edu.cn (sesa.nju.edu.cn [202.119.44.17]) by mail.gnome.org (Postfix) with ESMTP id 034FF2BD68 for ; Tue, 14 Nov 2000 01:09:47 -0500 (EST) Received: from netra (coff218.nju.edu.cn [202.119.44.12]) by sesa.nju.edu.cn (8.9.3/8.8.7) with SMTP id OAA15496 for ; Tue, 14 Nov 2000 14:11:01 +0800 Message-ID: <008c01c04e02$23945a40$0c2c77ca@nju.edu.cn> From: "DSD" To: Subject: why echo example can not communicate in different machine? Date: Tue, 14 Nov 2000 14:14:23 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0089_01C04E45.306047A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. ------=_NextPart_000_0089_01C04E45.306047A0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SSB1c2UgdGhlIGVjaG8gZXhhbXBsZSBhcyBteSBmaXJzdCBPcmJpdCBsZXNzb24uIFRoZSBjbGll bnQgY2FuIHJlY2VpdmUgdGhlIG1lc3NhZ2UgaWYgdGhlIHNlcnZlciBydW5zIGluIHRoZSANCnNh bWUgbWFjaGluZS4gQnV0IHdoZW4gSSBtb3ZlIHRoZSBjbGllbnQgdG8gYW5vdGhlciBtYWNoaW5l LCBpdCB3aWxsIGdpdmUgbWUgdGhlIGZvbGxvdyBtZXNzYWdlOg0KIHdlIGdvdCBleGNlcHRpb24g MiBmcm9tIGVjaG9TdHJpbmchDQpJIHVzZSBlY2hvLXNlcnZlciAtT1JCSUlPUElQdjQ9MSB0byBy dW4gc2VydmVyIHByb2dyYW0uYW5kIGNhbGwgZWNoby1jbGllbnQgLS1PUkJJSU9QSVB2ND0xIGlu IGNsaWVudC4NCkNhbiBhbnlvbmUgb2ZmZXIgYW55IHN1Z2dlc3Rpb25zIGZvciB0aGUgcHJvYmxl bT8NCg== ------=_NextPart_000_0089_01C04E45.306047A0 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWdi MjMxMiIgaHR0cC1lcXVpdj1Db250ZW50LVR5cGU+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNS4w MC4yNjE0LjM1MDAiIG5hbWU9R0VORVJBVE9SPg0KPFNUWUxFPjwvU1RZTEU+DQo8L0hFQUQ+DQo8 Qk9EWSBiZ0NvbG9yPSNmZmZmZmY+DQo8RElWPjxGT05UIHNpemU9Mj5JJm5ic3A7dXNlIHRoZSBl Y2hvIGV4YW1wbGUmbmJzcDthcyBteSBmaXJzdCBPcmJpdCBsZXNzb24uIFRoZSANCmNsaWVudCBj YW4gcmVjZWl2ZSB0aGUgbWVzc2FnZSBpZiB0aGUgc2VydmVyIHJ1bnMgaW4gdGhlIDwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPnNhbWUgbWFjaGluZS4gQnV0IHdoZW4gSSBtb3ZlIHRo ZSBjbGllbnQgdG8gYW5vdGhlciBtYWNoaW5lLCANCml0IHdpbGwgZ2l2ZSBtZSB0aGUgZm9sbG93 IG1lc3NhZ2U6PC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+Jm5ic3A7d2UgZ290IGV4 Y2VwdGlvbiAyIGZyb20gZWNob1N0cmluZyE8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9 Mj5JIHVzZSBlY2hvLXNlcnZlciAtT1JCSUlPUElQdjQ9MSB0byBydW4gc2VydmVyIHByb2dyYW0u YW5kIA0KY2FsbCBlY2hvLWNsaWVudCAtLU9SQklJT1BJUHY0PTEgaW4gY2xpZW50LjwvRk9OVD48 L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPkNhbiBhbnlvbmUmbmJzcDtvZmZlciZuYnNwO2FueSBz dWdnZXN0aW9ucyBmb3IgdGhlIA0KcHJvYmxlbT88L0ZPTlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4N Cg== ------=_NextPart_000_0089_01C04E45.306047A0-- From Rolf.Beutner@telekom.de Tue Nov 14 04:14:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from fw1a.telekom.de (gw1.telekom.de [194.25.15.11]) by mail.gnome.org (Postfix) with SMTP id 57F082BBA9 for ; Tue, 14 Nov 2000 04:14:22 -0500 (EST) Received: by fw1a.telekom.de; (5.65v4.0/1.3/10May95) id AA19650; Tue, 14 Nov 2000 10:14:17 +0100 Received: from Q8N09.bmbg01.telekom.de by U9JWN.mgb01.telekom.de with ESMTP for orbit-list@gnome.org; Tue, 14 Nov 2000 10:10:18 +0100 Received: from u8n10.bmbg01.telekom.de by q8n09.bmbg01.telekom.de with ESMTP for orbit-list@gnome.org; Tue, 14 Nov 2000 10:08:23 +0100 Received: by U8N10 with Internet Mail Service (5.5.2650.21) id ; Tue, 14 Nov 2000 10:08:22 +0100 Message-Id: <6B1E772C5C61D4119FEF009027CAA1E406590B@U8NM3.bmbg01.telekom.de> From: "Beutner, Rolf" To: orbit-list@gnome.org Cc: Markus.Hirche@telekom.de Subject: Connection of a client using ORBit to connect to another CORBA-compliant Server(Jaguar/Sybase-DB-ORB) Date: Tue, 14 Nov 2000 10:07:36 +0100 Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hello List, I want to connect a client with to a so called corba-compliant server via corba. The server uses the "IIOP implementation, allows you to use any CORBA-compliant client ORB to invoke Jaguar components" - so far the datasheet of Jaguar, the ORB of the Sybase Database. Now I have the IOR of the Server (using Jaguar-ORB) and the IDL-Files. My local ORBit-installation works fine, I have some servers and some clients, also at different machines, which can do their corba-talk. I have a Java-Client which can communicate to the Sybase-DB, BUT with the jaguar-java-orb-classes. telnet to the Sybase-machine/port works fine, there's no firewall - so there should not be a general communication problem. Now my questions: I'm using "-ORBIIOPIPv4=1". What else have I to do to be able to do this ORB-to-ORB-communication? Have I to use the orbit-ird or any other orbit-tool? When I try to connect I get the error-message "Can't get interface". Thanks in advance!!! Regards Rolf Beutner --------------------------------------------------------------------- MATERNA Information & Communications [eMail] mailto:Rolf.Beutner@telekom.de From genaud@icps.u-strasbg.fr Tue Nov 14 05:32:23 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 4CF7E2BE74 for ; Tue, 14 Nov 2000 05:32:22 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id LAA05047 for ; Tue, 14 Nov 2000 11:32:21 +0100 Message-ID: <3A111535.4C7E6480@icps.u-strasbg.fr> Date: Tue, 14 Nov 2000 11:34:29 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: ORBit without gnome References: <3A0C71B2.A0584D15@mediabolic.com> <8766lvzg3s.fsf@cachemir.echo-net.net> <3A0C7BB9.41FE930E@mediabolic.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Peter Bouton wrote: > > Thanks. My confusion arose from the discussion of how the Naming > Service works in the Beginner's docs > http://icps.u-strasbg.fr/~genaud/ORBIT/x374.htm#COSNAMEINGSERVICE. I > assumed the gnome_name_service_get was from the gnome libraries. Is > this the same service name lookup approach used for non-gnome apps? > Yes, gnome_name_service_get() is from the gnome libraries as the name says. Storing a service IOR in the X11 properties is a "gnome trick" and not generalized to all CORBA applications. In a simple CORBA app., you would have to start orbit-name-server which would output its IOR, register your service against this name-server with CosNaming_Namingcontext_bind(), and then a client can ask the name server the reference to this service (provided it knows the name server IOR of course) wih CORBA_ORB_resolve_initial_service(). S.G. From chris_favret@yahoo.com Tue Nov 14 10:21:21 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web1604.mail.yahoo.com (web1604.mail.yahoo.com [128.11.23.204]) by mail.gnome.org (Postfix) with SMTP id 004402BC0E for ; Tue, 14 Nov 2000 10:21:20 -0500 (EST) Received: (qmail 25806 invoked by uid 60001); 14 Nov 2000 15:45:31 -0000 Message-ID: <20001114154531.25805.qmail@web1604.mail.yahoo.com> Received: from [208.209.44.10] by web1604.mail.yahoo.com; Tue, 14 Nov 2000 07:45:31 PST Date: Tue, 14 Nov 2000 07:45:31 -0800 (PST) From: Christopher Favret Subject: Re: why echo example can not communicate in different machine? To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I had a similar problem. I don't know if it's exactly the same but my problem was with my DNS. Once I added the each machine to the others hosts file it worked fine. Make sure you can ping the machines by their names. If you can't then that's probably the problem. Also, somewhere there is an ior-decode program which will allow you to decode an IOR and see what name the ORBs are looking for (just in case it's different than the host name). --- DSD wrote: > I use the echo example as my first Orbit lesson. The > client can receive the message if the server runs in > the > same machine. But when I move the client to another > machine, it will give me the follow message: > we got exception 2 from echoString! > I use echo-server -ORBIIOPIPv4=1 to run server > program.and call echo-client --ORBIIOPIPv4=1 in > client. > Can anyone offer any suggestions for the problem? > ===== Christopher P. Favret chris_favret@yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ From tlewis@secureworks.net Tue Nov 14 11:46:30 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id DBC972BABE for ; Tue, 14 Nov 2000 11:46:29 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id MAA15212 for ; Tue, 14 Nov 2000 12:47:00 GMT (envelope-from tlewis@secureworks.net) Date: Tue, 14 Nov 2000 11:46:29 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Sun, 12 Nov 2000, Elliot Lee wrote: > Basically, you can hack the ORBit code yourself > > It would be a really bad idea. /home is very often on NFS, and UNIX > sockets on an NFS-mounted path don't work on a number of operating > systems, and the directory is per-[machine,user], not simply per-user. But you don't _really_ know that /tmp is not on NFS either. Would it not be better to have the default be overrideable with an environmental orbit-path variable (or something) and then have ORBit always check to confirm that UDSs work in whatever directory it is using, raising a fatal error if not? -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz From tlewis@secureworks.net Tue Nov 14 12:34:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from gw3.secureworks.net (mail.secureworks.net [209.101.212.155]) by mail.gnome.org (Postfix) with ESMTP id 1DE2B2BAC4 for ; Tue, 14 Nov 2000 12:34:32 -0500 (EST) Received: from eccehomo.secureworks.net. (gw1.secureworks.net [63.239.86.253] (may be forged)) by gw3.secureworks.net (8.9.3/8.9.3) with SMTP id NAA15569 for ; Tue, 14 Nov 2000 13:34:59 GMT (envelope-from tlewis@secureworks.net) Date: Tue, 14 Nov 2000 12:34:28 -0500 (EST) From: Todd Lewis X-Sender: tlewis@eccehomo.secureworks.net. To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: <20001113.19290300@david.baxterharriss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 13 Nov 2000, David Johnston wrote: > > No. > > Dear Mr. Coolidge: > why not? Dear Mr. Historian: Because of X. -- Todd Lewis tlewis@secureworks.net God grant me the courage not to give up what I think is right, even though I think it is hopeless. - Admiral Chester W. Nimitz From sopwith@redhat.com Tue Nov 14 12:50:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1D90A2CF17 for ; Tue, 14 Nov 2000 12:50:50 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEHooq00928 for ; Tue, 14 Nov 2000 12:50:50 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 12:50:49 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Todd Lewis wrote: > But you don't _really_ know that /tmp is not on NFS either. If /tmp is on NFS, then you are running a diskless workstation anyways and there's no place to hide. Even more important than having /tmp on local storage is making sure that it is system-specific and not shared between a bunch of systems. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From simon.britnell@peace.com Tue Nov 14 13:10:13 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id 287582BF26 for ; Tue, 14 Nov 2000 13:10:12 -0500 (EST) Message-ID: <3A117E9B.3080505@peace.com> Date: Wed, 15 Nov 2000 07:04:11 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Orbit's temp. directory References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I don't know if I should laugh or cry. Elliot Lee wrote: > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67words, the 10 Commandments have 179 words, the Gettysburg > Address had 286 words, the Declaration of Independence, 1,300 words and finally the > European Commission's regulation on the sale of cabbage: 26,911 words." From cb@gosargon.com Tue Nov 14 14:41:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 2226E2BAFB for ; Tue, 14 Nov 2000 14:41:40 -0500 (EST) Received: (qmail 7499 invoked from network); 14 Nov 2000 19:41:39 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 19:41:39 -0000 Message-ID: <3A119575.2E80CAA8@gosargon.com> Date: Tue, 14 Nov 2000 14:41:41 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Beginner ORBit/C problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Greetings all, I am trying to learn to use ORBit/Goad from C, I apologize if this is not quite the right forum for a more GNOME/ORBit related question (if not, please direct me to it) I'm new at GNOME, ORBit/CORBA, and Linux programming in general, so please don't be too critical ;) I wrote a very simple program just to test my understanding of some of the simpler Gnorba functions - while my program compiles, it will not link, and I've spent quite a few hours adding -l directives, trying to guess exactly what I have to link against. So far I've got this command line: g++ -o goadtest goadtest.cpp -I/usr/lib/glib/include -I/usr/include -I/usr/lib/gnome-libs/include -L/usr/lib -lORBit -lIIOP -lORBitutil -lglib -lm -lgnorba -lgnomesupport -lgdk -lgtk -lgnorbagtk -lgnome -lesd -ldb -lgnomeui -lart_lgpl -lpopt It seems to me that that's a heck of a lot of libraries to link against, so I must be missing something. That's the list I've got so far, I get undefined reference errors from ld, so I've been trying to guess where they might be defined - often when I add a new link command, it resolves previous errors, buts adds new ones. For example, when I added -lgnome I suddenly got a lot of errors for esd* functions, so I had to add -lesd Currently, I'm down to only a few errors: /usr/bin/ld: warning: libdb.so.2, needed by /usr/lib/libgnomeui.so, may conflict with libdb.so.3 /tmp/ccqGd5mG.o: In function 'main': /tmp/ccqGd5mG.o:(.text+0x38): undefined reference to 'gnorba_CORBA_init(int *, char **, GnorbaInitFlags, CORBA_Environment_type *)' /tmp/ccqGd5mG.o:(.text+0x38): relocation truncated to fit: R_PPC_REL24 gnorba_CORBA_init(int *, char **, GnorbaInitFlags, CORBA_Environment_type *) /tmp/ccqGd5mG.o:(.text+0x44): undefined reference to 'goad_server_list_get(void)' /tmp/ccqGd5mG.o:(.text+0x44): relocation truncated to fit: R_PPC_REL24 goad_server_list_get(void) /tmp/ccqGd5mG.o:(.text+0xb0): undefined reference to 'goad_server_list_free(GoadServerList *)' /tmp/ccqGd5mG.o:(.text+0xb0): relocation truncated to fit: R_PPC_REL24 goad_server_list_free(GoadServerList *) collect2: ld returned 1 exit status Given the names of those functions, I though that libgnorba would provide them, but that appears not to be the case. What am I missing? My system: PowerMac G4 450MP YellowDog Linux CS 1.2.1 Helix Gnome 1.2 ( I *think* I installed all the development packages) XFree 4.01 gcc version 2.95.2 Any help is appreciated! Chris Backas From Igor.Borojevic@ireland.sun.com Tue Nov 14 14:48:51 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id B9E762BAAF for ; Tue, 14 Nov 2000 14:48:50 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA25888 for ; Tue, 14 Nov 2000 11:48:48 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.9) with ESMTP id TAA24043 for ; Tue, 14 Nov 2000 19:48:46 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id TAA15373 for ; Tue, 14 Nov 2000 19:48:43 GMT Message-ID: <3A11971A.A043DB9A@ireland.sun.com> Date: Tue, 14 Nov 2000 19:48:42 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: OAF questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Is there any examples of using oaf? What I want to do is to launch some applications i.e. gcalc or applets i.e. geyes_applet. And, of course, I want to "see" them on my desktop after I "activate" them. Here's the code that doesan't work yet.. -- #include #include int main (int argc, char **argv) { CORBA_Environment ev; OAF_ActivationContext ac; OAF_ServerInfoList *slist; CORBA_ORB orb; CORBA_Object obj; const OAF_ActivationID aid = "control_center"; OAF_ActivationFlags flags = OAF_FLAG_PRIVATE;/* = OAF_FLAG_NO_LOCAL;*/ OAF_ActivationID *ret_aid; CORBA_exception_init (&ev); orb = oaf_init (argc, argv); if ( oaf_is_initialized() ) printf("OAF initialized...\n"); obj = oaf_activate_from_id (aid, flags, ret_aid, &ev); printf("That's all folks.\n"); CORBA_exception_free (&ev); exit(0); } -- From sopwith@redhat.com Tue Nov 14 15:26:15 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id BCA6E2CB43 for ; Tue, 14 Nov 2000 15:26:15 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEKQFE20091 for ; Tue, 14 Nov 2000 15:26:15 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 15:26:15 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems In-Reply-To: <3A119575.2E80CAA8@gosargon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Chris Backas wrote: > Greetings all, > > I am trying to learn to use ORBit/Goad from C, I apologize if this is > not quite the right forum for a more GNOME/ORBit related question (if > not, please direct me to it) I'm new at GNOME, ORBit/CORBA, and Linux > programming in general, so please don't be too critical ;) > > I wrote a very simple program just to test my understanding of some of > the simpler Gnorba functions - while my program compiles, it will not > link, and I've spent quite a few hours adding -l directives, trying to > guess exactly what I have to link against. So far I've got this command > line: > g++ -o goadtest goadtest.cpp -I/usr/lib/glib/include -I/usr/include > -I/usr/lib/gnome-libs/include -L/usr/lib -lORBit -lIIOP -lORBitutil > -lglib -lm -lgnorba -lgnomesupport -lgdk -lgtk -lgnorbagtk -lgnome -lesd > -ldb -lgnomeui -lart_lgpl -lpopt > > It seems to me that that's a heck of a lot of libraries to link against, > so I must be missing something. g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs gnorba gnomeui` -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Tue Nov 14 15:35:38 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 99B9F2BAAF for ; Tue, 14 Nov 2000 15:35:38 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAEKZc021644 for ; Tue, 14 Nov 2000 15:35:38 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Tue, 14 Nov 2000 15:35:38 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: OAF questions In-Reply-To: <3A11971A.A043DB9A@ireland.sun.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, 14 Nov 2000, Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer wrote: > Is there any examples of using oaf? > > What I want to do is to launch some applications i.e. gcalc or applets > i.e. geyes_applet. OAF activates CORBA objects, not applications or applets. There is a rather important distinction here... Applications are just executables that get run. Applets are applications that implement CORBA objects that the panel communicates with. To launch applications, you have to run the executable. OAF does not help you here. To launch/use an applet, you have to use the panel, because there is a lot more to an applet's activation and functionality than just activating the CORBA object. The panel will eventually use OAF (for GNOME 2.0), but currently it uses GOAD. It seems that OAF is pretty irrelevant in what I think you want to do (test applications and applets). -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From cb@gosargon.com Tue Nov 14 16:03:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 80D732BAA8 for ; Tue, 14 Nov 2000 16:03:54 -0500 (EST) Received: (qmail 9502 invoked from network); 14 Nov 2000 21:03:55 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 21:03:55 -0000 Message-ID: <3A11A8BB.576982C7@gosargon.com> Date: Tue, 14 Nov 2000 16:03:55 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > > It seems to me that that's a heck of a lot of libraries to link against, > > so I must be missing something. > > g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs gnorba gnomeui` > Thanks, that's a *much* easier way to come up with the command line ;) However, it did not fix the linkage errors with the goad_server_list_get() , goad_server_list_free() and gnorba_CORBA_init() functions. These are still showing as undefined for some reason (same errors as I posted earlier) Chris Backas From gthomson@targetnet.com Tue Nov 14 16:54:32 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from smtp.tor3.targetnet.com (smtp.tor3.targetnet.com [207.176.132.71]) by mail.gnome.org (Postfix) with ESMTP id 15F1D2BA85 for ; Tue, 14 Nov 2000 16:54:24 -0500 (EST) Received: from gw-101.tor1.targetnet.com ([216.13.75.130] helo=wrk120) by smtp.tor3.targetnet.com with smtp (Exim 3.16 #1) id 13vo1m-000Hyd-00 for orbit-list@gnome.org; Tue, 14 Nov 2000 16:54:07 -0500 From: "Garret Thomson" To: Subject: RE: Beginner ORBit/C problems Date: Tue, 14 Nov 2000 16:55:01 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A11A8BB.576982C7@gosargon.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Here's a general way to troubleshoot unresolved symbols: Note that 'nm' will display the symbols in a given library. So you can kinda search for symbols in libraries with it: [gthomson@mybox /usr/local/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' [gthomson@mybox /usr/X11R6/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' (The -C flag demangles C++ function names) Unfortunately, I'm not booted onto the freeBSD side of my box so I can't show you the results ... try out a 'man nm' It may be that you'll find them in the same libs that the gnome-config spits out below, in which case, I can't help ya, but hey, you can't go wrong by learning more .. ;) Garret > -----Original Message----- > From: orbit-list-admin@gnome.org [mailto:orbit-list-admin@gnome.org]On > Behalf Of Chris Backas > Sent: Tuesday, November 14, 2000 4:04 PM > To: orbit-list@gnome.org > Subject: Re: Beginner ORBit/C problems > > > > > It seems to me that that's a heck of a lot of libraries to > link against, > > > so I must be missing something. > > > > g++ -o goadtest goadtest.cpp `gnome-config --cflags --libs > gnorba gnomeui` > > > > Thanks, that's a *much* easier way to come up with the command > line ;) However, it > did not fix the linkage errors with the goad_server_list_get() , > goad_server_list_free() and gnorba_CORBA_init() functions. These > are still showing as > undefined for some reason (same errors as I posted earlier) > > Chris Backas > > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > > From cb@gosargon.com Tue Nov 14 17:29:02 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 268D82D055 for ; Tue, 14 Nov 2000 17:27:26 -0500 (EST) Received: (qmail 11384 invoked from network); 14 Nov 2000 22:27:24 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 14 Nov 2000 22:27:24 -0000 Message-ID: <3A11BC4D.9A6EE2A@gosargon.com> Date: Tue, 14 Nov 2000 17:27:25 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Garret Thomson wrote: > Here's a general way to troubleshoot unresolved symbols: > > Note that 'nm' will display the symbols in a given library. So you can kinda > search for symbols in libraries with it: > > [gthomson@mybox /usr/local/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' > [gthomson@mybox /usr/X11R6/lib ] nm -o -C *.so | grep 'gnorba_CORBA_init' > > (The -C flag demangles C++ function names) > > Unfortunately, I'm not booted onto the freeBSD side of my box so I can't > show you the results ... try out a 'man nm' > It may be that you'll find them in the same libs that the gnome-config spits > out below, in which case, I can't help ya, but hey, you can't go wrong by > learning more .. ;) > > Garret Thanks, that's a useful little utility to know about, and the results were interesting. gnorba_CORBA_init appears to be in (surprise surprise) libgnorba. I see this output from nm: libgnorba.so:0000a04c T gnorba_CORBA_init libgnorba.so:00007438 T goad_server_list_get libgnorba.so:00007b34 T goad_server_list_free Those are the three functions in question. So now I'm quite a bit more confused than before, they're there, but the linker doesn't "see" them. Any thoughts? Thanks! Chris Backas From velco@fadata.bg Tue Nov 14 17:43:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id BE3F12BE0D for ; Tue, 14 Nov 2000 17:43:42 -0500 (EST) Received: (qmail 12066 invoked by uid 1000); 14 Nov 2000 22:48:40 -0000 To: orbit-list@gnome.org Subject: Can't invoke a collocated object from inside the servant From: Momchil Velikov Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_15_00:48:39_2000-1" Content-Transfer-Encoding: 7bit Date: 15 Nov 2000 00:48:40 +0200 Message-ID: <87em0ew4on.fsf@fadata.bg> Lines: 133 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: text/plain; charset=US-ASCII Hi, I'm unable to invoke a operation from inside a servant. The invoked object is received as a parameter and is in the same process as the invoking object. Attached is the test program: server.c is the server program client.c is the client program Server-impl.c is the object implementations. Regards, -velco --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: application/octet-stream; type=tar+gzip Content-Disposition: attachment; filename="orbperf.tar.gz" Content-Transfer-Encoding: base64 H4sIAOm/EToAA+09a3PbOJL5av4KnDOZlTySLeppy4lrE8WT9awTp2xnaqput1g0RUmckUkd SSmZy+Z++zXeAF+ibEvOroWaiikA/UAD6G40HhOENzM3HB08W2NqNNrNXqcDfxtmr9NQ//L0 rNFrNtqtVq/X7D5rmGan1XuGOutkiqd5FNshQs8W7tQJCuotK/83TQHr//f2H+7Im7rroNEw G41uu53T/2aj3euI/u+0m1C/BeXPUGMdzCTTE+//58ZzNJgEQeQi20cXl2/2ETIgE77QKwSj w3bmEf8Z24EoufU9Q1TyYsMgmILbGQyisIamnv8HcodeHMAPN3Yo2sv3UD+8RfWRYQwG8D12 HGPw8/nrd1fwoz6G3N9+gy/np5+M5/ApSi6ahvoTKp6/5fXO37J8Q3yRGpihc+8mtEPPhSYY 52dvcJFheCP3f1DlhwqwX61Bm6q06CcAOz+YR+HBNHDs6QGUHEy9G1SfXr++gH9fD04N1x96 owQGLAoFxRT/hoIWfMbO7HNoz979nWXHk9C1h9lYqKhzeGGljJ+LN/DPL9cD+HdWjNKLq7zd P1SiiTud0u6qO4E/8saoXgeMEYrccOGGVY4FS+5j6M7CwHGjKAjRaGqPsQjTkht8/Chk/vbT 1alFZPX2b69/PbU+Xry2Bp8uL08/XKP6WUKynu9M50MXujkTQ171/A5I4bl4/+EMPi3ry2HX ssgXjMr5F/Z9cfXr6eXV2cUHy3rVBIL7xd2SRn/55vXg01V2Y/f1FvDuK2wF7S2FTk6POaQ3 svrs7O05ctgUzOwtXIFMY8sbTvEv0aR3LmrAvzkDiQiYAuPvBDCq3zhfvhSLjwJniOTG8w8S +IznKmd1P6hD5fotaBM79gK/SHqMRyKwZBPze5hBWleXA1zzikh2H8O708hVi95N/5xNcIlW KQMrEfe70w/Wz2fnp7QzRwHMVGeCvBr84DirNSTTPwyUSD9UZnYczW+iGL3AtGovBvsTgPeq q0B4K0M4s5mAKQNxtTJXVytzdbU6V9a1wldZCG9lCM5X1SBdzsZKfo+vqw/uIh/JO2b94s0v lHXejv4LXOPVi/2gWqAa1jHQ9ycrD6m/7zuO0pil/bAcRaY8HE0cOQpvVZGUlElNSKQsCO5g CVQGxIr+cKeSVHkQRqqk9Fdt+10bonG1+gCn5uH+3ZnZm6iwO9Mg4AXc3gb+vsMgy4BgIUQC ohxIDD/3V5pLK7b90RqSOQCWdv/Z+48J96Du3c5gbNEShlQtCZjvoAAS5+GMgDmsLvulYQGx cqC0trk6vfyVV6Qe4H7AIXB2lbWMfBuD8w/XvLYz9Vw/JrVlBcOeTvto7PoRiMq+nTGcrLJh 0J99gBGEq8bOD5Xzt5gQW29VUR2w/lWrhEth3VE1nKlr+/0+Brp8X+X4vSDE0YZsYfN29XkL HQw9GAAdB/AOGFH4Yr4yfL80DN7APm9qKTAmVwqCGypkVtRQWSmvoVyC0Hmoj4iSIez89hvn h61n0w0RIM7KEKUEZcj+7it+rHRuMRaY2lU6wxmk4vB6Iz/da1kwEiMV804czEF3SPpJqSkl hpyi1b5WAN9WcPN71NeHMp52Il9OCCNJgwIRZV7V83iHKrNJzDE+ujjE3v8ZxmMHbx4g8fif 6Kk10CiO/zUanV6Xxf/MRhPXM1uthrmN/20iPYe5PHRH6OfQjZzAIsOABAeeQ67nu+kC4zYY zqe8wPgKVtjzYxhDtuOi69CG6RLZ02NDyyfgkPOV2OxF4A3RTTD8E1U8n5ahcfVYlsUUjUvK BU4Uq3UWXuTFmRW+JYiLcp0BjYjKRBKelP1sO3EQ/ilQUIBb+w/XGpPPCmNOckMKY/GzwpHD f8+pPnzs3pfzX2r3h6exbP63mzz+b5qdDt7/abW77e3830RKzH86DLIUgFJiPGdxTPRSmI2T tF7Q5tCVE7quL2bPNPDH+gQkOX4N6fOZ/C6am5QtfVayqQo+Q2yN2DefnZQPUhTRz+9yWm4s afafrEYmk4emsWT+m+1Gm87/ZrPVbvbw/O+1e9v5v4nE5/+Y2nfsQk8mFhKzP5kPc3+E67ON GqkKdskIGuxPdpN5VySPb1NIcLw/k6wLoy+7Lt1sUTTPxZuDAc7dn5ykkaR4YCEtiXseeVjf 2LduNMN6hGqtY7xYsKNILtVhWTWb30w9B+ENHlqr36fuzFeDFvUNpABgfQIZCy+M56DCFF+H cjKLQ6JxtArMmRGaL7uWVJjpisYsDGLXid2hYMdawMjGpC2i3FjTBGh+86TDpDYxhxW1Vd90 ATJFvESO3LPKoiWQpz0tXkUTRZbPJfQ6OthDyQGN9g6ekrpPpbT+d5yHprFE/zcbXXb+p9lt gQkg+r/V3Or/TaSEnmQewK5Qvsm9bcP9Aq6Xjz4GYWzfTF3qf/X7g3kYun5MVM4ssB36U3hU hiHQs1nPdCVZPxIdhV4hTS30+5bvsRlsGFjpqDgSGhW8w0JMw/kMNIsdg74aZyPM0a2wpKRL 3BGqEHvT73sRZYzQ2vf8SrVapatKqsTpIpREf3FuXD+RuBWYTC6y7ACwgL7yupr2VrlOiQJz /F8ay9B0yujX3N6lgfRk5+IarGNBtrJ76yfYj4ZS4V6nYS9ufgerdDYkCLDlSCMISBVYWiho pAQwXKx0qSjBA8QOw+AzqgDG+ok3tOLACt2RC6jBpFeAGusejnWs9kXM++G56KtEDZ2JihVP vAhRfGxcY5BvuCOF+I2k5ev3NdNF+kbOgD1siaB1vvtZ5mJ2QzeewzzDxfUTTpmMGW1w5JFT TSAhqZt9laxeQrsgl/pj66ttetikx3/WswBctv5rNrty/Ufiv22z1dra/00kvv6LWHiH+cWW WAAmC5BZsAakoyixCKSZJVeBLA55z2Ugx5JmY9WFII0X5a9gWFwra+3CbO+5HupScmv62qWG spdScmrmsEBDYCoLCkhiOaqaC+otpIJkvCptmqikhMvSS02OEdtJhs3CuBgOnE3h2VJUWZCl BtgTX5FtNmXo/wdfAC7T/y185h/0f6vTNDtNqv/NbfxvIympH8UCsGBhyHVv7N26WO8aik4z pMJUVyeqLvQTeg9H+VOrFxXAIxoMU7NihLsLAEB/0J2A9LpsXEX/+hdKZMZs6cMc27pJoAky fCIacKNKg6i/UQCuvgeZjWPkoZfIhz8//VRNr+XohgQwoiGQzrPahAquVqf0qBcvxc01uLoi ToXP9rBWVdcJSiHhmildqII/VaddqGGKCPSwzxDJbIyCKWh8sAiqJBYdSbuh8a/bENIAJgMV TF+Gc4aVxbA0OCnswvioyGl9HS1rhIL1sWfY9524/ucnrR48+PesRPyv00zG/1qt7f7vRpLU 5qMoDl37VnGjX0be2LenWa718jhhuQAhKJucikr4j7vqHtS/tT0f7xfHyA7HTg05Ezvcw9+L //4nVQ4HB+jM92LPnnr/66J44lJFjC+FSLsC/9KAVHgDLCiZno/jbxQ3xgrkdyjSd25MsIVB EGP/W0FG41cE383v9P5J/QS882C6cAlGYEYGpqLK7iXgABS7xILkRdtCWilDRJArgl8VIMm1 XUFYrxRjqLILUKwDKHNlu4oF4hRmeK8R4b12Ym+BFbQqwb9E0J2+PSb79xltfE8LiTBuxyG+ OkhFAlZ44lqyBl23QJX6ic0IMcMHpAcwqhlhpuQQ0pdIe1G44BZR5B7n9S+IC5vIcJGwsUDq I12cSVLo7OKSkmOoruIQlpsElReEvEdYADQOrIiUEzkCHS5KggHwfw491hIMHMxhQAbIRuQk LXQxm8G4oLLLTtjSXsRVX74kUPBnNJ1HE4n1cu4TnPg2p7vAPT0NghmGIqNl7m8jf/+5idt/ fmT6Eex/q9lh57+aYPa71P6b2/vfG0mKsSeqRzX/GR6BF6Tz2BVkshJcLTKoHBlZKTD4sGdG soKF8hwJx8vCoVeD0w+n1tvTj9d/QzCsRf75xcVHa3Dx6cM1zm7khxXBdTGynBi0pzoxd3BT yGKYWQCwG7oBYHYF8o7J8Tl0ckJ/CEtIY3TEEHITLK06NgQUBTZS1FxBAwJYMGCTxfbEspfj gFPdJP3KNtocZpN2B7b/lxhHGLExk6ZzFxeC8Kd8705ZudNdt4LYIzfQ6eBmBoOsQkkm6T4e g1nOJPU1klFQlT/tGGKW/Eh5WRFi+RGAUvJL7LKKPcNXvIH1k4wDNZpfZaOpF8XgfFDJRNTd keePJqAaamhMoPB3Crd6pmcMpbiSiMNoYSAZk1FmoRKd4XKRxB3eeKeQLNv4pWcKHOl1kXx8 dUoRmRD6NQ759ImYqcTV2JCiDg6wQqhJ4RL0NdJMSkntqDtg76wTubk25GXxsmHb2Lqga0nc /2P3lvfjL/GD01h2/r/F7/80e52Wyc5/Nbb+3yYSVmyx+yXegb9DO7bxX3QTReTv0HXI34n7 ZQf7EtidAYAe3qeHArPT7jRJBbOLfx/2DjsNkt9r2jvUhQqgftPstLq4XrfH6iOE6zUPm4eH JN89bOwo53QxUMfsmriyCYPnkBJpYKBuE0YK/j3qwG/mu2EA87DRIxU7zSONSqvVIwCdm7a9 o+4CB1uFos5/L17L7C8x/1sNMf+bTfL+F1YJ2/m/gXSX+Q9TqW3SGUanIptpkN+l+c2WyWYa v+ePZyhqHlE9IOqzvyL/BmYwg6OX/QlY6+ionQUm8kdHtgAjF/63M7ts4vM/toM1zf4S939b PWn/6fxvdLb7PxtJd7L/rcbREbas3dYhnZCtLv57dHTYwvnmYWc02mHBHWLLj9pdbJrNo26v q9jy3lGzTRyJVufQ2WGXhQJDm+oJDSN+m20GYF1TGq12u0toNLrUX2gSp6TX7BG3wDQdYf4p V+1m67BDqB9xt4Q4Dp1uu3lE5OF0hzv89Fp5thgE4euxu3dpSu7/roPGsvM/Zqsr3v9sdcj9 /2Zje/9jIykZBqWP16ix0JdRPPQCEt0ttwFLo5k8ukgiODgWi4OYYlPNOvUXXhj4t3i7yV3g fO2eMQsCprdHyW2DWWAT3EpY1JJR0R9lWLSGdulbgOTNQfyM4G4N/egu+NYmQFfS+KsKyqLN UkAHBPhebo3jTSPkG5l8czKLqGXhYGBiXxNYpPwKrg1+YBJYJ0cm9evZlkOjchKShmXJXqNs VcaGI24LxazAzaAwHpFILz0bRbYOUQWGRDCPq3oHW+HcZ4gogm3A5vtP+vlPNvsfmMbS/b8u 8//w6Z9ul57/3Or/jaTM8/95x//56f/0zpkR/zlzCZ44nDsxsQPyjDp9PYbgsvGlwHyljrT3 ZsTlZfq2UxLh8TKy8iGJEqQzqKiv2ZRoIH93ogSxnBYxDEvJsVcs7kSIwi4nIe3wSn3GhaDe AkhwLS4CpHljVt8wtGGgGjoaJhR2LpupmrGDU9rV2EPUtJE77Blohy5II8DvEmV1D4AzeVAC Gb4MJ5AagSoxue1Wrh35DUm1Q0Gd2xbJVLI9OC1tk9bNKRny3diSLUPFNLP7SdAo7i7O4x6l xZu6vIVsoGr+FR205Vq1SoM44tymMGZSXbW8FeypxQIv8eFawRDnt4Iys0Ir5BWhpA3aXhB6 uJTl/232/k+zY5ri///SabeI/9fYxv83k9K3eXIjAsbB3t4ewmdjXTxRyVv8CMfbEb4PGGB3 IkJQ5cAwIlzqkJdijLSVZS//lbCwWtG4SHMXU1ReGitBFVuklKkstBvF1PlLhWVI35lujheQ 33LFCzCEKRY2MiF5WWMpMypkWhjcdKtncIqN90ouis6DfMeomA/leFMZRwKV8CQYI7QCftvO yDD6+Z2TafSVtrPX8kRuxrBJlpWfRBlNNzKMvXa4rpy9L0ua3arOIcpPzJWiiZZ4mFSrubMF WwfNw6QWSzhJVxT5GztyLQvDZSg4XIaLXpEzaR8+nZ/XcPPBl7FmIQ0B4s0W7MnoxbDmpvdW wmAe4/V3qgas2Oz5lL66olT6dizYTQzePCaX8EcIV8azgLy1WEU/ZrUTFHnNWF6Pj/MydYmy hIpKg1aQv1R830sfKAuyfGbv1RdpZX9n8Wmq8XuRoL7kK2T5/mM6bZ9KDNpsY0J74S7dwMzD 99IBfImaw+a9hJ6whHceuazOdyMyth7OYfN+IkuZ3+IhmrKcbGASw7cotHwpU7LItiUL2aAf 881hLbuYlCzTnSnCytH1HOJpW5BiQNPAOUzo6idbAOIKQpEckno1WxyKKqtp+iM9H1O88HsG OVwk1EqKvpzPOaLgozpNmF0hySOsT840YTEranJkXuGVpaetNvnwLF5iLA1v5TmDJASuecuh Gy9scgw9Z/Hmu5/zI+T86Tu0F9z87tH3KiQA/r9fWvCzkbPoqCGT7LlKiPoJ+9hngs6YTLgk CSWe7UsW8NcS2Rbum19OB9fWh7Pz44zNDYvtrieFyrRyVUFcQ2wnnDQ7dW+YtJRvhYvLRKRj MnBQ3kYwMsmtWG/I36dbkHsqGagZhsRjgNn45QUD3tX8ocX7bg4ULDroVsvysVIgPqWN+NlE tatrKCnCDPihm+oAHQehXdgJmWMErKhXMEaSnI0ZTpZPH+zYcPAo8Vgm6wlLXL/SJgvhnN42 0mqH7tS1Izez+rEh4iqpKUeh1ddJGchSOaw1pKU/eVpaJLmhL9HvsuvFm5sFIau4hjLluVQ4 a4q4gVi+pbf2jGyP4iGskGQq3xIpcbz1WCNBYFWLpLtohVYp2+l7uhbnXtu4T8jsKHJap+lZ MZ6ud0d5O/Qtc489P3hdah+32A3JCnMv8XpFNHyNzi+jcScfWF2MlVU6ulifrt650/GK1A7N E1JAusAeUAc93jaa+sReweJal1vCL3vkDbi8JmR4Z9nNKNiHKncQqIzSZZt8+eqW7wKuR9FS 7KuqWCXGVFa5cpE9XbV6t0NeSyfpf5gu5VJ6QC36b7T/Lt/9odhLvXqbXJrT8IF4/zZZHCuL 9fu9hFu8ah/LZX7u87gV2dZqxvu4Wmg46yTAg2hgAlKkgWmFdWlgl963WVEDuyLYXjrSqzwP vHw1IS1hginxQHCRQVShM/YOnrARcO9yRvbJGQEmpTW50hs5z6S6n3mB3tTUzPOhN3YWaiWu mS4QTD/2OdZtultKvv+5DhrL3v9um21+/6/bpf//Z7Ozff9zI6nwGUzl6veK7182yl4W1x3e B7gurjvwEbvsVnhHTSlWHPjUZUT1JcP73Dw3lCvcEkP6eU1yk5rIyvynvLUuHpDMtwWRq17j RsqjmAUGLwkk/5d7xfEafgRJNo698rgsXJUApC8tVlSoaq4Zol0h2pdYpxS/Dqn1qfZA5Moc J9GxzWlY/Th6pey94rFeKfnSJL98T15U7KMX0+E//N2aPsCVZRc724Uynp6sISkw+vTBA6Du rA2zuR7MaaTG9nnJbdqmbXq66f8BrXRoOwCgAAA= --Multipart_Wed_Nov_15_00:48:39_2000-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_15_00:48:39_2000-1-- From Igor.Borojevic@ireland.sun.com Wed Nov 15 06:23:39 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id 99CE82CECA for ; Wed, 15 Nov 2000 06:23:38 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA00376 for ; Wed, 15 Nov 2000 03:23:35 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.9) with ESMTP id LAA15099 for ; Wed, 15 Nov 2000 11:23:33 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA15769 for ; Wed, 15 Nov 2000 11:23:28 GMT Message-ID: <3A127230.268E5CF9@ireland.sun.com> Date: Wed, 15 Nov 2000 11:23:28 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Chris Backas wrote: > Thanks, that's a useful little utility to know about, and the results were > interesting. > > gnorba_CORBA_init appears to be in (surprise surprise) libgnorba. I see this > output from nm: > libgnorba.so:0000a04c T gnorba_CORBA_init > libgnorba.so:00007438 T goad_server_list_get > libgnorba.so:00007b34 T goad_server_list_free > > Those are the three functions in question. > > So now I'm quite a bit more confused than before, they're there, but the linker > doesn't "see" them. Any thoughts? Thanks! echo $LD_LIBRARY_PATH /opt/gnome/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib If you don't have gnome/lib in path try adding it, might help. Regards, Igor Borojevic From attuomin@cc.helsinki.fi Wed Nov 15 07:59:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by mail.gnome.org (Postfix) with ESMTP id BC42B2BC61 for ; Wed, 15 Nov 2000 07:59:35 -0500 (EST) Received: from localhost (attuomin@localhost) by sirppi.helsinki.fi (8.10.1/8.10.1) with ESMTP id eAFCxY112516 for ; Wed, 15 Nov 2000 14:59:34 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: attuomin owned process doing -bs Date: Wed, 15 Nov 2000 14:59:34 +0200 (EET) From: Antti T Tuominen To: Subject: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I'm aiming this mostly at Sebastian, buy I though that maybe others would like to know as well. I'm using ORBit-mt-0.5.3a and found two bugs regarding octet sequences. I believe that the _maximum field in a sequence should be the allocated size of the _buffer, and the _length field is the used part of that buffer. I'm getting _maximum -values like 3210738884 on the server side immediately after a sequence is passed to a function as a parameter. Another issue is that sometimes the content of the _buffer gets corrupted as well. I put together a piece of code demonstrating the bugs, it is available at http://www.cs.helsinki.fi/u/attuomin/demo.tgz Regards, Antti -- main(m){char*s="O@DDDQ@DD@QM__D_SDDDQQDDDQQLLL",O=1;for(;*s;(m*=2)>32&&++O%6 ?s++,m=1:2)putchar(*s&m?"\n" "Antti: www.helsinki.fi/~attuomin" [O%6]:32);} From velco@fadata.bg Wed Nov 15 10:16:13 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from relay1-us.simplemente.net (relay1.us.simplemente.net [216.167.121.82]) by mail.gnome.org (Postfix) with ESMTP id 0CBF42BAAE for ; Wed, 15 Nov 2000 10:16:13 -0500 (EST) Received: from emerald.fadata.bg (emerald.fadata.bg [212.56.7.195]) by relay1-us.simplemente.net (Postfix) with SMTP id 3F765D7824 for ; Wed, 15 Nov 2000 10:16:08 -0500 (EST) Received: (qmail 21056 invoked from network); 15 Nov 2000 14:18:27 -0000 Received: from merlin.da.fadata.bg (HELO fadata.bg) (192.168.4.130) by emerald.fadata.bg with SMTP; 15 Nov 2000 14:18:27 -0000 Received: (qmail 11936 invoked by uid 1000); 15 Nov 2000 17:21:52 -0000 To: orbit-list@gnome.org Subject: Wrong default activation policy Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: Momchil Velikov Date: 15 Nov 2000 17:21:52 +0000 Message-ID: <87ofzhm9qn.fsf@fadata.bg> Lines: 10 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Both ORBit-0.5.4 and ORBit-mt-0.5.3a create the POAs with the NO_IMPLICIT_ACTIVATION policy, which contradicts to the CORBA spec. Regards, -velco PS. No patch is provided, it is a three chars change in orbit_poa.c:296. From cb@gosargon.com Wed Nov 15 12:35:57 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 0E16D2DC63 for ; Wed, 15 Nov 2000 12:35:57 -0500 (EST) Received: (qmail 1129 invoked from network); 15 Nov 2000 17:35:57 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 15 Nov 2000 17:35:57 -0000 Message-ID: <3A12C97F.EF3EB0D3@gosargon.com> Date: Wed, 15 Nov 2000 12:35:59 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> <3A127230.268E5CF9@ireland.sun.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > > echo $LD_LIBRARY_PATH > /opt/gnome/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib > > If you don't have gnome/lib in path try adding it, might help. > I have the following in /etc/ld.so.conf: /usr/lib /usr/lib/qt-2.1.0/lib /usr/lib/qt-1.45/lib /usr/X11R6/lib /usr/local/lib All the gnome libs I can find on my system live in /usr/lib, including libgnorba, which is the one in question. I'm fairly stumped, there must be an easy answer, but I can't see it =P Thanks for trying guys, I appreciate it! Chris Backas From remal@telnor.com Wed Nov 15 13:54:08 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from correo.telnor.com (unknown [200.23.248.25]) by mail.gnome.org (Postfix) with ESMTP id 1827F2DB88 for ; Wed, 15 Nov 2000 13:54:08 -0500 (EST) Received: from telnor.com (ps_art [147.15.80.200]) by correo.telnor.com (8.9.1/8.9.1) with ESMTP id KAA11274; Wed, 15 Nov 2000 10:53:56 -0800 (PST) Message-ID: <3A12DC59.31A66B61@telnor.com> Date: Wed, 15 Nov 2000 10:56:25 -0800 From: Rene Maldonado Organization: Telefonos del Noroeste S.A de C.V. X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, CORBA Subject: NamingService Content-Type: multipart/mixed; boundary="------------04802409470805CD8A5004E8" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a multi-part message in MIME format. --------------04802409470805CD8A5004E8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I'm trying to use the Naming Service whith the CosNaming Interface, I'm using ORBit 0.4.3 with Redhat 6.2 I'm using as a guide the example5 from http://www.nd.edu/~rgarcia4/orbit/examples/example5/account.idl and I can't run the server, in my example is reloj-server after the next line is executed, the name_serv is NULL name_serv = CORBA_ORB_resolve_initial_references(orb,"RootPOA", ev); and in the next line the server crash reloj= CosNaming_NamingContext_resolve(name_serv, name, ev); whith the next message: Segmentation fault (core dumped) I have readed in other mail's from this list that I have to do the next: orbit-name-server > ior & yourserver -ORBNamingIOR = 'cat ior' yourclient -ORBNamingIOR = 'cat ior' but when I do that, I get the same message (Segmentation fault ...) after the nexy line root_poa = (PortableServer_POA) CORBA_ORB_resolve_initial_references(orb, "RootPOA", ev); What can I do, or where can I find some information about this problem. Thanks --------------04802409470805CD8A5004E8 Content-Type: text/x-vcard; charset=us-ascii; name="remal.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rene Maldonado Content-Disposition: attachment; filename="remal.vcf" begin:vcard n:Maldonado;Rene tel;cell:044 67 04 1776 tel;home:681-21-24 tel;work:638-46-93 x-mozilla-html:FALSE org:Telefonos del Noroeste;Sistemas adr:;;;Tijuana;Baja California;22000;Mexico version:2.1 email;internet:remal@telnor.com title:Ing. Computacion fn:Rene Maldonado end:vcard --------------04802409470805CD8A5004E8-- From velco@fadata.bg Wed Nov 15 14:10:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id D3BE12CBE6 for ; Wed, 15 Nov 2000 14:10:37 -0500 (EST) Received: (qmail 30530 invoked by uid 1000); 15 Nov 2000 19:15:23 -0000 To: orbit-list@gnome.org Cc: CORBA Subject: Re: NamingService References: <3A12DC59.31A66B61@telnor.com> From: Momchil Velikov In-Reply-To: Rene Maldonado's message of "Wed, 15 Nov 2000 10:56:25 -0800" Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII Date: 15 Nov 2000 21:15:23 +0200 Message-ID: <87r94dcaic.fsf@fadata.bg> Lines: 12 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development >>>>> "Rene" == Rene Maldonado writes: Rene> orbit-name-server > ior & Rene> yourserver -ORBNamingIOR = 'cat ior' Rene> yourclient -ORBNamingIOR = 'cat ior' Did you misspell in the message or on the command line - it should be with back quotes - `cat ior` ? Regards, -velco From sopwith@redhat.com Wed Nov 15 14:10:48 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 1FBEF2CBE6 for ; Wed, 15 Nov 2000 14:10:48 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAFJAiq25800 for ; Wed, 15 Nov 2000 14:10:44 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 15 Nov 2000 14:10:44 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Wed, 15 Nov 2000, Antti T Tuominen wrote: > I'm aiming this mostly at Sebastian, buy I though that maybe others > would like to know as well. > > I'm using ORBit-mt-0.5.3a and found two bugs regarding octet > sequences. I believe that the _maximum field in a sequence should be > the allocated size of the _buffer, and the _length field is the used > part of that buffer. I'm getting _maximum -values like 3210738884 on > the server side immediately after a sequence is passed to a function > as a parameter. Another issue is that sometimes the content of the > _buffer gets corrupted as well. I put together a piece of code > demonstrating the bugs, it is available at Right now, _maximum just never gets touched - it is pretty irrelevant to user-level code, since the only place it could matter is in (de)marshalling, and ORBit doesn't pay attention to it there yet. I will make sure to convince ORBit2 to set it, but your code shouldn't really be reading _maximum anyways AFAICS. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From mas@echo.fr Wed Nov 15 14:22:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id BF8512CAC3 for ; Wed, 15 Nov 2000 14:22:39 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 7B0624811; Wed, 15 Nov 2000 20:22:37 +0100 (CET) To: orbit-list@gnome.org Subject: Re: NamingService References: <3A12DC59.31A66B61@telnor.com> <87r94dcaic.fsf@fadata.bg> From: Roland Mas Date: 15 Nov 2000 20:22:36 +0100 In-Reply-To: Momchil Velikov's message of "15 Nov 2000 21:15:23 +0200" Message-ID: <87k8a52g77.fsf@cachemir.echo-net.net> Lines: 18 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Momchil Velikov (2000-11-15 21:15:23 +0200) : > >>>>> "Rene" == Rene Maldonado writes: > > Rene> orbit-name-server > ior & > Rene> yourserver -ORBNamingIOR = 'cat ior' > Rene> yourclient -ORBNamingIOR = 'cat ior' > > Did you misspell in the message or on the command line - it should be > with back quotes - `cat ior` ? Maybe try without the spaces around the '=' sign... They look suspicious to me. -- Roland Mas 'And what would humans be without love?' RARE, said Death. -- in Sourcery (Terry Pratchett) From velco@fadata.bg Wed Nov 15 15:17:35 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from merlin.xternal.fadata.bg (unknown [212.56.7.200]) by mail.gnome.org (Postfix) with SMTP id 0F7852BABE for ; Wed, 15 Nov 2000 15:17:30 -0500 (EST) Received: (qmail 8705 invoked by uid 1000); 15 Nov 2000 20:22:15 -0000 To: orbit-list@gnome.org Subject: ORBit2 compile fixes From: Momchil Velikov Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_15_22:22:15_2000-1" Content-Transfer-Encoding: 7bit Date: 15 Nov 2000 22:22:15 +0200 Message-ID: <87n1f1c7ew.fsf@fadata.bg> Lines: 33 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: text/plain; charset=US-ASCII Hi, The attached patch fixes a compile problem ("corba-defs.h: No such file ...") and fixes orbit-config, so it does not report flags and stuff from an old version of glib. Regards, -velco --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: application/octet-stream; type=gzip Content-Disposition: attachment; filename="orbit2-compile-fixes.diff.gz" Content-Transfer-Encoding: base64 H4sICLrvEjoAA29yYml0Mi1jb21waWxlLWZpeGVzLmRpZmYAtVJtb5swEP6Mf8Up48Mq4mDT LEFMkVjpGiFlpQrtt0kOAUOsEZjAzSZV/e+1nXV9TVVpGhLnu8P3PHfcEzcF/x1A262FxHnb lKIaiQbN/v1ByyiFUtQ8ADff9W7VtFvuJssTIT33Gd9whzouO8F3oqmgU0cv2gboyEeFKEvA 14A7Fb3oE2P8PGd5hBCXUpdMgdCA+sGYWBrJcZyDd+kn8EhAj4PxBIUh4LE3nIJjbBgiQJCX dVb1szKre46gFut7H8sNZyYe2Pcu4IWtzkJ0gGszMawqlfhDDBjrWysIF/FJqtjq7QA578Sx b+aqikXJ+Vk8Zx4jt6/CgcbY97zHM/6B8v1wK8CxLZq8vi64oTxVlPGlN6MD/Qd+bdQuQfJe gv0BcCWBfIaiRfFeQX2X663qV43Zcfdb9oPr9Y+y7X+X01vkB7VFn4qL+vC4Za2st2AfZOYD IcHxJKATy4Bqnb2r8kF0UyM6f+iDo42WnKW2eR6x6GzxZZ4aCaolKzim4VidsTS5WkZf0xl8 R9iyP8bJBYtPF8nV5ZHKgM78jZxXvycX6ZOMAl5nWJlRbmLlbaT8aaI7DJaIAicEAAA= --Multipart_Wed_Nov_15_22:22:15_2000-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_15_22:22:15_2000-1-- From cb@gosargon.com Wed Nov 15 15:21:34 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from secure-1.pingnet.com (secure-1.pingnet.com [209.123.205.4]) by mail.gnome.org (Postfix) with SMTP id 2B6182BABE for ; Wed, 15 Nov 2000 15:21:34 -0500 (EST) Received: (qmail 4667 invoked from network); 15 Nov 2000 20:21:31 -0000 Received: from unknown (HELO gosargon.com) (@12.27.124.4) by 209.123.87.97 with SMTP; 15 Nov 2000 20:21:31 -0000 Message-ID: <3A12F04C.A6348BB4@gosargon.com> Date: Wed, 15 Nov 2000 15:21:32 -0500 From: Chris Backas X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.17pre20-ben3 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: SOLVED Beginner ORBit/C problems References: <3A11BC4D.9A6EE2A@gosargon.com> <3A127230.268E5CF9@ireland.sun.com> <3A12C97F.EF3EB0D3@gosargon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks to all who've replied, I learned a lot even if it wasn't directly the answer to my problem. The solution lies in the fact that I'm writing a C++ program; the linker couldn't find the functions because the names in the header were mangled - the gnorba.h header is not protected against mangling with an "extern "C" {}" block. I don't know anything about who SHOULD be doing that, so I took the attitude that "headers are never to be modified" and did this: extern "C"{ #include }; and lo and behold, it compiled and linked ;) Now to get on to more interesting things... like making code that actually does something useful Chris Backas From jangjh@etri.re.kr Wed Nov 15 17:55:18 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cms2.etri.re.kr (cms2.etri.re.kr [129.254.16.12]) by mail.gnome.org (Postfix) with ESMTP id D983F2DD4A for ; Wed, 15 Nov 2000 17:55:17 -0500 (EST) Received: by cms2.etri.re.kr with Internet Mail Service (5.5.2650.21) id ; Thu, 16 Nov 2000 07:55:35 +0900 Received: from jangjh (jangjh.etri.re.kr [129.254.196.12]) by cms1.etri.re.kr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id W8X41KGV; Thu, 16 Nov 2000 07:55:14 +0900 From: jangjh@etri.re.kr To: orbit-list@gnome.org Subject: RE: ORBit2 compile fixes Date: Thu, 16 Nov 2000 07:55:43 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <87n1f1c7ew.fsf@fadata.bg> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development DQoNCkhlbGxvDQoNCkkgYW0gdmVyeSBpbnRlcmVzdGluZyBpbiBPUkJpdC4NCg0KSSBjYW4ndCBm aW5kIE9SQml0MiB2ZXJzaW9uLg0KDQpXaGVyZSBDYW4gSSBnZXQgT1JCaXQyIHZlcnNpb24gPw0K DQoNClRoYW5rIHlvdS4NCg0KDQpFVFJJLCBKYW5nIEpvbmYgSHl1bg0K From sopwith@redhat.com Wed Nov 15 19:47:53 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 812382CDD0 for ; Wed, 15 Nov 2000 19:47:53 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAG0lro06144 for ; Wed, 15 Nov 2000 19:47:53 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 15 Nov 2000 19:47:53 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: RE: ORBit2 compile fixes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 16 Nov 2000 jangjh@etri.re.kr wrote: > I am very interesting in ORBit. > > I can't find ORBit2 version. > > Where Can I get ORBit2 version ? It's in CVS... If you don't know how to get it, you probably don't want to (attempt to) be using it. :) -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From attuomin@cc.helsinki.fi Thu Nov 16 05:47:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by mail.gnome.org (Postfix) with ESMTP id 846DC2CE0C for ; Thu, 16 Nov 2000 05:47:49 -0500 (EST) Received: from localhost (attuomin@localhost) by sirppi.helsinki.fi (8.10.1/8.10.1) with ESMTP id eAGAlmL13160 for ; Thu, 16 Nov 2000 12:47:48 +0200 (EET) X-Authentication-Warning: sirppi.helsinki.fi: attuomin owned process doing -bs Date: Thu, 16 Nov 2000 12:47:48 +0200 (EET) From: Antti T Tuominen To: Subject: Re: ORBit-mt-0.5.3a, sequence buffer corruption In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > Right now, _maximum just never gets touched - it is pretty irrelevant to > user-level code, since the only place it could matter is in > (de)marshalling, and ORBit doesn't pay attention to it there yet. > I will make sure to convince ORBit2 to set it, but your code shouldn't > really be reading _maximum anyways AFAICS. I'm not. I just accidentally discovered the "never gets touched" part while pondering with the buffer corruption. (I copy the _length -field there when I create new sequences, and wondered, what happened to the _maximum field that was set so nicely...) Antti -- main(m){char*s="O@DDDQ@DD@QM__D_SDDDQQDDDQQLLL",O=1;for(;*s;(m*=2)>32&&++O%6 ?s++,m=1:2)putchar(*s&m?"\n" "Antti: www.helsinki.fi/~attuomin" [O%6]:32);} From velco@fadata.bg Thu Nov 16 10:31:37 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from emerald.fadata.bg (emerald.fadata.bg [212.56.7.195]) by mail.gnome.org (Postfix) with SMTP id 32EAC2BC76 for ; Thu, 16 Nov 2000 10:31:33 -0500 (EST) Received: (qmail 30497 invoked from network); 16 Nov 2000 14:34:50 -0000 Received: from merlin.da.fadata.bg (HELO fadata.bg) (192.168.4.130) by emerald.fadata.bg with SMTP; 16 Nov 2000 14:34:50 -0000 Received: (qmail 1598 invoked by uid 1000); 16 Nov 2000 15:38:08 -0000 To: orbit-list@gnome.org Subject: Looks like typo ... Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII From: Momchil Velikov Date: 16 Nov 2000 17:38:08 +0200 Message-ID: <87vgtoudun.fsf@merlin.da.fadata.bg> Lines: 31 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, Browsing the sources, I came to the following code in corba_object.c: 395 static void profile_hash(gpointer item, gpointer data) 396 { 397 ORBit_Object_info *info = (ORBit_Object_info *)item; 398 CORBA_unsigned_long *retval = (CORBA_unsigned_long *)data; 399 400 g_assert(info); 401 g_assert(retval); 402 403 *retval ^= info->object_key._length; 404 405 if(info->profile_type == IOP_TAG_INTERNET_IOP) { 406 *retval ^= !info->tag.iopinfo.port; 407 } else if(info->profile_type == IOP_TAG_ORBIT_SPECIFIC) { 408 *retval ^= g_str_hash(info->tag.orbitinfo.unix_sock_path); 409 *retval ^= !info->tag.orbitinfo.ipv6_port; 410 } 411 } Isn't it supposed lines 406 and 409 to be 406 *retval ^= ~info->tag.iopinfo.port; and 409 *retval ^= ~info->tag.orbitinfo.ipv6_port; ? Regards, -velco From mathieu@eazel.com Thu Nov 16 15:47:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id A4E202BF16 for ; Thu, 16 Nov 2000 15:47:40 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G44XRG00.GA4 for ; Thu, 16 Nov 2000 12:47:40 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id PAA26007; Thu, 16 Nov 2000 15:50:41 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: ORBit's IR Original-Sender: mathieu@eazel.com From: Mathieu Lacage Date: 16 Nov 2000 15:50:41 -0800 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development hi all, I am in dire need of an easy to use IR for ORBit. Here is my list of the necessary features: - automatic loading of data in the IR. - no client-side code necessary to load the data in there. 1) The simplest way to do this would be to make the IR look in a specific directory and load all the IDL files it finds there in memory. 2) Another approach would be to write a simple daemon which looks in those directories and loads the IDL files and feeds them to the IR. Whatever the solution used, I will implement it pretty soon and I was wondering if anyone had any other idea. In case 1) were to be used, I would need either to get a patch applied in ORBit or to fork the IR for my own use (although I do not really like this). In case 2) is used, I can develop my own daemon to do this outside of ORBit... comments ? Mathieu -- Mathieu Lacage From mas@echo.fr Fri Nov 17 04:20:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from cachemir.echo-net.net (blackhole.x-echo.com [195.101.94.7]) by mail.gnome.org (Postfix) with ESMTP id 1F1982BB58 for ; Fri, 17 Nov 2000 04:20:41 -0500 (EST) Received: by cachemir.echo-net.net (Postfix, from userid 1000) id 89CA14828; Fri, 17 Nov 2000 10:20:26 +0100 (CET) To: orbit-list@gnome.org Subject: Re: ORBit's IR References: From: Roland Mas Date: 17 Nov 2000 10:20:25 +0100 In-Reply-To: Mathieu Lacage's message of "16 Nov 2000 15:50:41 -0800" Message-ID: <871ywbuf8m.fsf@cachemir.echo-net.net> Lines: 22 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Mathieu Lacage (2000-11-16 15:50:41 -0800) : > I am in dire need of an easy to use IR for ORBit. You might have a look at ORBit-Python (see Sourceforge). I'm not quite sure what an IR exactly is supposed to do, but there's something loading all the IDL files in a directory, so I guess it could be related. If you decide to have a go, make sure you grab the CVS version and not the released version, which is getting antique. If you find something interesting in there, keep me (and Jason Tackaberry, the main author) informed, as we might well take it back when you've improved it :-) Roland. -- Roland Mas Luck, like a Russian car, generally only works if you push it. -- Regalian, in My Hero (Tom Holt) From aimass@aimass.org Fri Nov 17 10:46:29 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 1C73B2BC66 for ; Fri, 17 Nov 2000 10:46:29 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id HAA26219 for ; Fri, 17 Nov 2000 07:46:02 -0800 (PST) Message-ID: <3A15518F.62E41E45@aimass.org> Date: Fri, 17 Nov 2000 11:41:03 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Name Service problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi All. I'm having trouble getting a simple object (an extended echo example) to communicate over the network, using the orbit naming services. It works fine on the local machine but when I try to run it on two different machine it fails. Here is what I do: 1) run orbit-name-server and save the IOR in a file called server.ior. 2) run my server like this: ./test-server -ORBNamingIOR=and the ior here 3) copy the client application to another directory on the same machine along with the server.ior 4) run my client application like this: ./test-client -ORBNamingIOR=and the ior here If I try moving the client to a different machine it does not work, I get core dumped. So my questions are: 1) does the orbit-name-server need to be running on the client machine? 2) if (1) is yes, then which IOR should I use for the client: the local or the one I got from the name server where the object is registered? 3) I have read that there should be a file in /etc called orbitrc, but none of my redhat systems have contained this file initially.I have created it /etc and have added ORBIIOPUSock=1, ORBIIOPIPv4=1, and ORBIIOPIPv6=1 just in case. 4) I have tested the application running on each individual server and it works fine on both. Why does it fail over the network???? I'm running on redhat linux w/ ORBit 0.4.x (one is redhat 6.0 and the other is redhat 6.1, and yes... I AM recompiling the client when I'm testing ;-] ) Thanks, Alejandro From aimass@aimass.org Fri Nov 17 10:55:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id AD8CF2D1D3 for ; Fri, 17 Nov 2000 10:55:26 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id HAA26391 for ; Fri, 17 Nov 2000 07:55:01 -0800 (PST) Message-ID: <3A1553AD.EA82CAD6@aimass.org> Date: Fri, 17 Nov 2000 11:50:05 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: BTW I helping a friend... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I trying to help a firnd w/ CORBA but he does not have the time to partition his machine w/ GNU/Linux. So I sugested for the mean time he tried the win32 port found at labs.redhat.com but he has not been able to get it working because it has absolutely no documentation on the port itself. Does anyone know about this win32 port, and if so do you know of any documentation, like for eample how to install it??? Thanks, AI From aimass@aimass.org Fri Nov 17 13:54:11 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 1A4352BDA8 for ; Fri, 17 Nov 2000 13:54:03 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id KAA00111 for ; Fri, 17 Nov 2000 10:53:38 -0800 (PST) Message-ID: <3A157D8D.80DE3449@aimass.org> Date: Fri, 17 Nov 2000 14:48:45 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: OK. Since nobody answered! Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development T0suIEkgZGVidWdnZWQgdGhlIG5hbWUgc2VydmVyIElPUiBhbmQgSSBmaW5kIGl0J3Mgc2Vy dmluZw0KbG9jYWxob3N0LmxvY2FsZG9tYWluDQoNCkhPVyBETyBJIENIQU5HRSBUSElTLiBQ TEVBU0UgISEhDQoNCg0KVGhhbmtzLA0KQWxlamFuZHJvDQo= From aimass@aimass.org Fri Nov 17 14:29:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id 829472BEBF for ; Fri, 17 Nov 2000 14:29:36 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id LAA00794 for ; Fri, 17 Nov 2000 11:29:11 -0800 (PST) Message-ID: <3A1585E3.445A4A04@aimass.org> Date: Fri, 17 Nov 2000 15:24:19 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: line parameters Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development SGkuLg0KDQoNCldoZXJlIGRvZXMgb25lIGZpbmQgYSBsaXN0IG9mIGFsbCBsaW5lIHBhcmFt ZXRlcnMgbGlrZSAtT1JCTmFtaW5nSU9SDQotT1JCSW5pdCBldGMuLi4NCg0KDQpUaGFua3Ms DQpBSQ0K From mathieu@eazel.com Fri Nov 17 14:44:03 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 9CD572BDEB for ; Fri, 17 Nov 2000 14:44:02 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G46PHD00.E8Q for ; Fri, 17 Nov 2000 11:44:01 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id OAA17747; Fri, 17 Nov 2000 14:47:00 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: Re: ORBit's IR References: <871ywbuf8m.fsf@cachemir.echo-net.net> Original-Sender: mathieu@eazel.com From: Mathieu Lacage In-Reply-To: Roland Mas's message of "17 Nov 2000 10:20:25 +0100" Date: 17 Nov 2000 14:47:00 -0800 Message-ID: Lines: 47 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Roland Mas writes: > Mathieu Lacage (2000-11-16 15:50:41 -0800) : > > > I am in dire need of an easy to use IR for ORBit. > > You might have a look at ORBit-Python (see Sourceforge). I'm not > quite sure what an IR exactly is supposed to do, but there's something > loading all the IDL files in a directory, so I guess it could be > related. I will have a look. > > If you decide to have a go, make sure you grab the CVS version and > not the released version, which is getting antique. > > If you find something interesting in there, keep me (and Jason > Tackaberry, the main author) informed, as we might well take it back > when you've improved it :-) hrm, after some thoughts, I think I will go around to use option 2) whcih is to write a separate process to feed data in the IR. Btw, if you are curious as to why I want to do all this, you could have a look at the cvs module 'mango' : cvs -z3 co mango I would be happy for any feedback or flame about it. Mathieu > > Roland. > -- > Roland Mas > > Luck, like a Russian car, generally only works if you push it. > -- Regalian, in My Hero (Tom Holt) > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- Mathieu Lacage From jason@ancept.com Sun Nov 19 17:51:27 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from neptune.ancept.com (Ancept-18.completeis.com [206.146.185.178]) by mail.gnome.org (Postfix) with ESMTP id E6D0A2BEA9 for ; Sun, 19 Nov 2000 17:51:26 -0500 (EST) Received: by Ancept-18.CompleteIS.com with Internet Mail Service (5.5.2650.21) id ; Sun, 19 Nov 2000 16:51:45 -0600 Message-ID: From: Jason Cwik To: "'orbit-list@gnome.org'" Subject: compiling 0.5.4 on AIX Date: Sun, 19 Nov 2000 16:51:43 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0527B.49DF7270" Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0527B.49DF7270 Content-Type: text/plain; charset="iso-8859-1" Hello all- I am trying to compile ORBit 0.5.4 on AIX 4.3.3 using gcc 2.95.2. The IDL compiler seems to build fine, but when it attempts to IDL compile interface_repository.idl I see: Making all in orb ../../src/orbit-idl-compiler/orbit-idl --noskels ../../././src/daemons/interface_repository/interface_repository.idl Error: syntax error ** WARNING **: ../../././src/daemons/interface_repository/interface_repository.idl compilation failed Has anyone seen problems like this? Anyone compiled ORBit on AIX successfully? Thanks in advance, Jason Cwik ------_=_NextPart_001_01C0527B.49DF7270 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable compiling 0.5.4 on AIX

Hello all-

I am trying to compile ORBit 0.5.4 on AIX 4.3.3 using = gcc 2.95.2.  The IDL compiler seems to build fine, but when it = attempts to IDL compile interface_repository.idl I see:

Making all in orb
        = ../../src/orbit-idl-compiler/orbit-idl --noskels = ../../././src/daemons/interface_repository/interface_repository.idl

Error: syntax error

** WARNING **: = ../../././src/daemons/interface_repository/interface_repository.idl = compilation failed

Has anyone seen problems like this?  Anyone = compiled ORBit on AIX successfully?

Thanks in advance,

Jason Cwik

------_=_NextPart_001_01C0527B.49DF7270-- From michael@rumpfonline.de Mon Nov 20 02:40:43 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.brokat.de (mail.brokat.de [212.9.175.131]) by mail.gnome.org (Postfix) with ESMTP id 455A32D20C for ; Mon, 20 Nov 2000 02:40:43 -0500 (EST) Received: by mail.brokat.de (Smail3.2.0.111/mail.brokat.de) via LF.net GmbH Internet Services via remoteip 172.17.23.29 via remotehost pcmrumpf with smtp for mail.gnome.org id m13xlcU-005lKVC; Mon, 20 Nov 2000 08:44:06 +0100 (CET) Message-ID: <000901c052c5$73201050$1d1711ac@brokat.de> From: "Michael Rumpf" To: References: <3A1585E3.445A4A04@aimass.org> Subject: Re: line parameters Date: Mon, 20 Nov 2000 08:42:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, you can find a list of parameters on http://orbit-resource.sourceforge.net/faq.html#orbit ! Or, In doubt, have a look at the source-code. Michael ----- Original Message ----- From: "Alejandro Imass" To: Sent: Freitag, 17. November 2000 20:24 Subject: line parameters > Hi.. > > > Where does one find a list of all line parameters like -ORBNamingIOR > -ORBInit etc... > > > Thanks, > AI > ¢¶â¶X¬¶f¢-)à-+-¢¶â¶X¬¶ èTê+,m§ÿæj)`z?z¢¸?T¨¥T©ÿ-+-SwèþSÛSÙb From michael@rumpfonline.de Mon Nov 20 02:43:40 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mail.brokat.de (mail.brokat.de [212.9.175.131]) by mail.gnome.org (Postfix) with ESMTP id A54C02D20C for ; Mon, 20 Nov 2000 02:43:40 -0500 (EST) Received: by mail.brokat.de (Smail3.2.0.111/mail.brokat.de) via LF.net GmbH Internet Services via remoteip 172.17.23.29 via remotehost pcmrumpf with smtp for mail.gnome.org id m13xlfM-005lKbC; Mon, 20 Nov 2000 08:47:04 +0100 (CET) Message-ID: <000f01c052c5$dd2d6ab0$1d1711ac@brokat.de> From: "Michael Rumpf" To: References: <3A157D8D.80DE3449@aimass.org> Subject: Re: OK. Since nobody answered! Date: Mon, 20 Nov 2000 08:45:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I think that these are the network settings you have chosen for your linux box. It depends on the distro you are using, but /etc/hosts is definitely the place to do it manually... Michael ----- Original Message ----- From: "Alejandro Imass" To: Sent: Freitag, 17. November 2000 19:48 Subject: OK. Since nobody answered! > OK. I debugged the name server IOR and I find it's serving > localhost.localdomain > > HOW DO I CHANGE THIS. PLEASE !!! > > > Thanks, > Alejandro > ¢¶¶X¶f-)-+¢¶¶X¶ Tê,m§ÿæj)`z?z¢¸?T¨¥T©ÿ-+-SwèþSÛSÙb From genaud@icps.u-strasbg.fr Mon Nov 20 07:35:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 634982CED9 for ; Mon, 20 Nov 2000 07:35:17 -0500 (EST) Received: from icps.u-strasbg.fr (marathon.u-strasbg.fr [130.79.185.20]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id NAA25458; Mon, 20 Nov 2000 13:34:18 +0100 Message-ID: <3A191A5A.378C4269@icps.u-strasbg.fr> Date: Mon, 20 Nov 2000 13:34:34 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-15mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, aimass@aimass.org Subject: Re: OK. Since nobody answered! References: <3A157D8D.80DE3449@aimass.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Alejandro Imass wrote: > > OK. I debugged the name server IOR and I find it's serving > localhost.localdomain > > HOW DO I CHANGE THIS. PLEASE !!! > > Thanks, > Alejandro This is not an ORBit question but an OS one. You should give more details about your configuration and about what yo are trying to do with ORBit. There are many ways to change your machine name ; On linux boxes you can use "netconf" (part of linuxconf) or such, or by directly editing /etc/hosts AND /etc/sysconfig/network on RedHat or Mandrake distros, to setup your network parameters. S.G. From aimass@aimass.org Mon Nov 20 09:03:06 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from vs45.virtualisys.com (vs45.virtualisys.com [216.55.38.129]) by mail.gnome.org (Postfix) with ESMTP id CC7C92BCC8 for ; Mon, 20 Nov 2000 09:03:05 -0500 (EST) Received: from aimass.org ([206.49.32.36]) by vs45.virtualisys.com (8.9.3/8.9.3) with ESMTP id GAA25799; Mon, 20 Nov 2000 06:02:03 -0800 (PST) Message-ID: <3A192DBD.CA0C116F@aimass.org> Date: Mon, 20 Nov 2000 09:57:17 -0400 From: Alejandro Imass X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?St=E9phane?= Genaud Cc: orbit-list@gnome.org Subject: Re: OK. Since nobody answered! References: <3A157D8D.80DE3449@aimass.org> <3A191A5A.378C4269@icps.u-strasbg.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Thanks All for Answering. I have always left 127.0.0.1 as localhost.localdomain w/ alis localhost and have changed the name w/ my first interface (eth0) as follows 172.16.2.x myhostname.mydomain w/ alias myhostname But now that you all mention it , I suppose the base hostname should be set w/ the lo (127.0.0.1) since a Unix machine can have many active interfaces ;-] And also, what would happen if there is no interface card! lo still works: duuuuhhhh.........! I will try this. Thanks again. Alejandro Imass From sopwith@redhat.com Mon Nov 20 11:17:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 7DA9F2CA5C; Mon, 20 Nov 2000 11:17:28 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAKGHS330507; Mon, 20 Nov 2000 11:17:28 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 20 Nov 2000 11:17:28 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org, gnome-devel-list@gnome.org Subject: ORBit 2.3.90 test release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is a test release of the ORBit2 tree that I've been hacking on the past few months. It is intended to fix whatever big things are broken in ORBit stable tree, break whatever already works, and add just a few new features. This _test_ release is _not_ intended for production use, just your _testing_ pleasure. It requires linc 0.1.0 (ftp://ftp.gnome.org/people/sopwith/linc-0.1.0.tar.gz) and glib 1.3.2 to be installed. The release itself is at ftp://ftp.gnome.org/people/sopwith/ORBit-2.3.90.tar.gz Enjoy, -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From genaud@icps.u-strasbg.fr Thu Nov 23 05:32:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from icps.u-strasbg.fr (icps.u-strasbg.fr [130.79.74.1]) by mail.gnome.org (Postfix) with ESMTP id 5E2852CB09 for ; Thu, 23 Nov 2000 05:32:58 -0500 (EST) Received: from icps.u-strasbg.fr (IDENT:genaud@guenievre.u-strasbg.fr [130.79.74.4]) by icps.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id LAA04718 for ; Thu, 23 Nov 2000 11:32:42 +0100 Message-ID: <3A1CF268.E0F37D42@icps.u-strasbg.fr> Date: Thu, 23 Nov 2000 11:33:12 +0100 From: =?iso-8859-1?Q?St=E9phane?= Genaud X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: server code segfaults (again) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, i am sorry to repost this message but i had no response previously and this code is very important to me. I can set up an archive of the whole code if someone wants a deeper look. ------------------------------------------------------------------- Could someone help me with a memory management problem. I have a client asking for a sequence of bytes to be returned by a server. The client gets the correct values but the server segfault once it has returned the sequence. My client code calls : VSERV_image_bytevect *img; .... img = VSERV_image_readpixel(image_obj,&width, &height, &ev); .... if (CORBA_sequence_get_release(img)) CORBA_free(img->_buffer); and after this, the img->_buffer do contains the correct values, (that is the server has returned the sequence before segfaulting) img->_length contains was what put in the server, but img->_maximum=0 though the C mappings say (page 1-14) "Upon successful return from the invocationthe _maximum member will contain the size of the allocated array". And this is my server-side code : static VSERV_image_bytevect * impl_VSERV_image_readpixel(impl_POA_VSERV_image * servant, CORBA_short * width, CORBA_short * height, CORBA_Environment * ev) { VSERV_image_bytevect *retval; guchar *buff; gulong img_size; retval = VSERV_image_bytevect__alloc(); CORBA_sequence_set_release(retval,TRUE); buff = pbuffer_readpixel_with_dim((gint *)width,(gint *) height); img_size = (gulong) (*width) * (*height) * 3; /* in bytes */ retval->_length = img_size; /* retval->_maximum = img_size; this does not solve the problem */ retval->_buffer = CORBA_sequence_CORBA_octet_allocbuf(img_size*sizeof(guchar) ); memcpy(retval->_buffer, buff, img_size*sizeof(guchar) ); return retval; /* segfaults after this */ } Has someone a clue of what i'm doing wrong or why the server segfaults ? Thanks. From philipd@users.sourceforge.net Fri Nov 24 04:48:00 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from beamail.beasys.com (unknown [63.96.163.38]) by mail.gnome.org (Postfix) with ESMTP id E83FA2BBE3 for ; Fri, 24 Nov 2000 04:47:59 -0500 (EST) Received: from london.beasys.com (london [10.5.1.10]) by beamail.beasys.com (8.9.1b+Sun/8.9.1) with ESMTP id BAA17372 for ; Fri, 24 Nov 2000 01:48:00 -0800 (PST) Received: from cuckoo.dawes.net (lhr-modem2.beasys.com [10.5.1.13]) by london.beasys.com (8.9.3+Sun/8.9.1) with SMTP id JAA04071 for ; Fri, 24 Nov 2000 09:47:48 GMT X-Mailer: 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid (via feedmail 8 Q); VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid From: "Phil Dawes" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14876.60916.424679.587796@cuckoo.dawes.net> Date: Thu, 23 Nov 2000 10:14:12 +0000 (GMT) To: orbit-list@gnome.org Subject: Re: ORBit 2.3.90 test release In-Reply-To: References: Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hey Elliot, I had some spare cycles to waste, so I've given ORBit-2.3.0 a try. I ran into some configuration problems, so here's some feedback: - both linc and ORBit-2 rely on glib-1.3.2 APIs, but the configure scripts only check for 1.3.1 - linc doesn't compile if you haven't got openssl installed. The LINC_SSL_SUPPORT check works, but the line in linc-config.h.in: #define LINC_SSL_SUPPORT @LINC_SSL_SUPPORT@ results in LINC_SSL_SUPPORT being defined whether openssl is installed or not. - in ORBit-2.3.0, the ORBit.m4 script checks for orbit_major_version etc.., but this is not defined in any .c file AFAIK, and thus you get a link error when you try and use this in client programs. Are you accepting patches for 0.2.3, or would you prefer to fix these yourself? Cheers, Phil Elliot Lee writes: > This is a test release of the ORBit2 tree that I've been hacking on the > past few months. It is intended to fix whatever big things are broken in > ORBit stable tree, break whatever already works, and add just a few new > features. > > This _test_ release is _not_ intended for production use, just your > _testing_ pleasure. > > It requires linc 0.1.0 > (ftp://ftp.gnome.org/people/sopwith/linc-0.1.0.tar.gz) and glib 1.3.2 to > be installed. > > The release itself is at > ftp://ftp.gnome.org/people/sopwith/ORBit-2.3.90.tar.gz > > Enjoy, > -- Elliot > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67 words, the 10 Commandments have 179 words, the > Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and > finally the European Commission's regulation on the sale of cabbage: 26,911 words." > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list > From a_kothare@yahoo.com Sat Nov 25 06:11:41 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web3606.mail.yahoo.com (web3606.mail.yahoo.com [204.71.203.110]) by mail.gnome.org (Postfix) with SMTP id 557AD2C81E for ; Sat, 25 Nov 2000 06:11:41 -0500 (EST) Message-ID: <20001125111140.28412.qmail@web3606.mail.yahoo.com> Received: from [202.54.1.21] by web3606.mail.yahoo.com; Sat, 25 Nov 2000 03:11:40 PST Date: Sat, 25 Nov 2000 03:11:40 -0800 (PST) From: Advait Kothare Subject: Supported Platforms To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development As per the User Documentation for documentation the ORBIT implementation has been tested on SOlaris 2.6 (UltraSparc). Please let me know if it has worked on the following conifiguration : Netra T1 105 (Sun machine) Solaris 2.7 (O.S) where can i get more information on installion procedures? __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From Igor.Borojevic@ireland.sun.com Mon Nov 27 06:41:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id A9B1A2CE2D for ; Mon, 27 Nov 2000 06:41:53 -0500 (EST) Received: from sunire.Ireland.Sun.COM ([129.156.220.30]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA26864 for ; Mon, 27 Nov 2000 03:41:51 -0800 (PST) Received: from caladan.ireland.sun.com (caladan [129.156.220.156]) by sunire.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.0) with ESMTP id LAA05649 for ; Mon, 27 Nov 2000 11:41:50 GMT Received: from ireland.sun.com (localhost [127.0.0.1]) by caladan.ireland.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA21492 for ; Mon, 27 Nov 2000 11:41:45 GMT Message-ID: <3A224879.76394CF@ireland.sun.com> Date: Mon, 27 Nov 2000 11:41:45 +0000 From: Igor Borojevic - Sun Ireland - Central Test - Performance Test Engineer X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: Supported Platforms References: <20001125111140.28412.qmail@web3606.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi! I have it working on my Ultra 5, Solaris 8 Regards, Igor Advait Kothare wrote: > > As per the User Documentation for documentation the > ORBIT implementation has been tested on SOlaris 2.6 > (UltraSparc). > > Please let me know if it has worked on the following > conifiguration : > Netra T1 105 (Sun machine) > Solaris 2.7 (O.S) > > where can i get more information on installion > procedures? > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Thousands of Stores. Millions of Products. > http://shopping.yahoo.com/ > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From dsevilla@ditec.um.es Mon Nov 27 07:19:59 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from zape.um.es (zape.um.es [155.54.0.102]) by mail.gnome.org (Postfix) with ESMTP id 5C57D2BB58 for ; Mon, 27 Nov 2000 07:19:51 -0500 (EST) Received: from ditec.um.es (neuromancer.dif.um.es [155.54.12.241]) by zape.um.es (8.9.1b+Sun/8.9.1) with ESMTP id NAA20449 for ; Mon, 27 Nov 2000 13:17:54 +0100 (MET) Message-ID: <3A224FFF.238DC695@ditec.um.es> Date: Mon, 27 Nov 2000 13:13:51 +0100 From: "Diego Sevilla Ruiz (dsevilla@um.es)" Organization: Universidad de Murcia X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-5.0 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org Subject: ORBit or ORBit2? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, This may be a silly question... but, what CVS module should I checkout, ORBit or ORBit2? Or are them the same? Also, what is the status of the event service? I would be interested in it, or finishing it in the case it is not. Regards. diego. -- Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es Departamento de Ingeniería y Tecnología de Computadores Facultad de Informática. Universidad de Murcia Campus de Espinardo - 30080 Murcia (SPAIN). - Tel. +34-968-367658 PGP: http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xC9B964B7 \huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern-.1em@um.es perl -e'$_="\x4\@FLe\x2&B";for(/../g){print unpack("b*",$_),"\n"}'|tr 01 " #" -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: Y0x/Djs1A/hSmAKW5RjqpBwjdKbBEU4Z iQA/AwUAOiJQANoq0AfJuWS3EQLI5gCfUEqb0YX+5ZkzkVUcfblnxxpkd/kAn2eH 5DqWJv/VWO6SeVgQb0NafSwt =qzMm -----END PGP SIGNATURE----- From sopwith@redhat.com Mon Nov 27 13:52:19 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (unknown [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 669D82DE98 for ; Mon, 27 Nov 2000 13:52:19 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eARIqJ718391 for ; Mon, 27 Nov 2000 13:52:19 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Mon, 27 Nov 2000 13:52:19 -0500 (EST) From: Elliot Lee X-Sender: sopwith@devserv.devel.redhat.com To: orbit-list@gnome.org Subject: Re: ORBit or ORBit2? In-Reply-To: <3A224FFF.238DC695@ditec.um.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Mon, 27 Nov 2000, Diego Sevilla Ruiz (dsevilla@um.es) wrote: > This may be a silly question... but, what CVS module should I > checkout, ORBit or ORBit2? Or are them the same? The orbit-stable-0-5 branch of the ORBit module is the only thing intended for public consumption. > Also, what is the status of the event service? I would be > interested in it, or finishing it in the case it is not. Have at it, but I think there was noise about needing thread safety to use it. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From MVerwerft@NedCar.nl Tue Nov 28 03:37:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from nedcar.nl (unknown [193.172.11.178]) by mail.gnome.org (Postfix) with ESMTP id 6C9342BC6A for ; Tue, 28 Nov 2000 03:37:41 -0500 (EST) Received: by gateborn.nedcar.nl id <117132>; Tue, 28 Nov 2000 09:37:55 +0100 Message-Id: <00Nov28.093755cet.117132@gateborn.nedcar.nl> From: "Verwerft, Marc" To: "'orbit-list@gnome.org'" Subject: RE: ORBit or ORBit2? Date: Tue, 28 Nov 2000 09:37:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Diego, I wrote clients that can send and receive events (push-style) based on = the examples. The eventchannel itself is written in javaorb = (CosEventPOA/javaorb 2.2.7). Everything runs just fine. Regards, Marc =20 > ---------- > From: Diego Sevilla Ruiz > (dsevilla@um.es)[SMTP:dsevilla@ditec.um.es] > Reply To: orbit-list@gnome.org > Sent: Monday 27 November 2000 13:13 > To: orbit-list@gnome.org > Subject: ORBit or ORBit2? >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hi all, >=20 > This may be a silly question... but, what CVS module should I > checkout, ORBit or ORBit2? Or are them the same? >=20 > Also, what is the status of the event service? I would be > interested in it, or finishing it in the case it is not. >=20 > Regards. > diego. >=20 > -- > Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla@um.es > Departamento de Ingenier=EDa y Tecnolog=EDa de Computadores > Facultad de Inform=E1tica. Universidad de Murcia > Campus de Espinardo - 30080 Murcia (SPAIN). - Tel. +34-968-367658 > PGP: = http://pgp.rediris.es:11371/pks/lookup?op=3Dget&search=3D0xC9B964B7 > \huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern-.1em@um.es > perl -e'$_=3D"\x4\@FLe\x2&B";for(/../g){print = unpack("b*",$_),"\n"}'|tr 01 " > #" >=20 >=20 >=20 >=20 > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 5.0i for non-commercial use > MessageID: Y0x/Djs1A/hSmAKW5RjqpBwjdKbBEU4Z >=20 > iQA/AwUAOiJQANoq0AfJuWS3EQLI5gCfUEqb0YX+5ZkzkVUcfblnxxpkd/kAn2eH > 5DqWJv/VWO6SeVgQb0NafSwt > =3DqzMm > -----END PGP SIGNATURE----- >=20 > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list >=20 From wilhelmi@ira.uka.de Tue Nov 28 10:14:28 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from iraun1.ira.uka.de (iraun1.ira.uka.de [129.13.10.90]) by mail.gnome.org (Postfix) with ESMTP id 846752DCA5 for ; Tue, 28 Nov 2000 10:14:27 -0500 (EST) Received: from i80fs2.ira.uka.de by iraun1 (PP) with ESMTP; Tue, 28 Nov 2000 16:14:24 +0100 Received: from ira.uka.de (actually i81pc4) by i8fs1 (PP) with ESMTP; Tue, 28 Nov 2000 16:14:22 +0100 Message-ID: <3A23CBCE.7978F9BC@ira.uka.de> Date: Tue, 28 Nov 2000 16:14:22 +0100 From: Sebastian Wilhelmi Organization: IRF Uni Karlsruhe X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i586) X-Accept-Language: en MIME-Version: 1.0 To: orbit-list@gnome.org, =?iso-8859-1?Q?St=E9phane?= Genaud Subject: Re: server code segfaults (again) References: <3A1CF268.E0F37D42@icps.u-strasbg.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi St=E9phane, > i am sorry to repost this message but i had no response previously > and this code is very important to me. > I can set up an archive of the whole code if someone wants a deeper > look. Yes, please. I had a brief look, but I didn't see something fundamentally= wrong, which doesn't mean, there isn't ;-) And please, send me a full archive with Makefile, such that I only need t= o type make to make the programs. Bye, Sebastian -- = Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi From mathieu@eazel.com Tue Nov 28 17:51:11 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 02E902BB7B for ; Tue, 28 Nov 2000 17:51:11 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G4RBHA00.UU2 for ; Tue, 28 Nov 2000 14:51:10 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id RAA24722; Tue, 28 Nov 2000 17:54:18 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: weird semantics for the IR's create_interface Original-Sender: mathieu@eazel.com From: Mathieu Lacage Date: 28 Nov 2000 17:54:18 -0800 Message-ID: Lines: 28 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development hi all, I have been playing with the Interface repository of ORBit lately. I have fixed a few segfaults in my local copy and I will send a patch for those later when I get something more useful working. However, I am getting in some weird bug: I want to create a top-level interface with CORBA::Container::create_interface. To do so, I passed a zero-length sequence as base_interfaces parameter. It happens that the ORBit implementation is checking explicitely in its code for either a zero-length sequence or a NULL sequence and if so, refuses to create the interface.... ie: code in (interfacedefseq_verify) called from impl_CORBA_interfaceDef__create. As I see it, the correct fix is to make (interfacedefseq_verify) not check for a zero-length sequence and make its code be able to handle such zero-length sequence later. Is this right ? Mathieu -- Mathieu Lacage From anene@cup.hp.com Wed Nov 29 03:49:06 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by mail.gnome.org (Postfix) with ESMTP id 3C9262BAB1 for ; Wed, 29 Nov 2000 03:49:06 -0500 (EST) Received: from hpejl189.cup.hp.com (hpejl189.cup.hp.com [15.28.97.98]) by palrel3.hp.com (Postfix) with ESMTP id 2D7452BD for ; Wed, 29 Nov 2000 00:49:02 -0800 (PST) Received: from localhost (anene@localhost) by hpejl189.cup.hp.com (8.11.0/8.9.3/client.cv) with ESMTP id eAT8mfT28934 for ; Wed, 29 Nov 2000 00:48:44 -0800 X-Authentication-Warning: hpejl189.cup.hp.com: anene owned process doing -bs Date: Wed, 29 Nov 2000 00:48:41 -0800 (PST) From: "Amitabh A. Nene" To: orbit-list@gnome.org Subject: optimizing link between client and server In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I wanted to know how does one go about optimizing the link between a CORBA client and server using ORBit / any other ORB in general. In other words, how does one configure the link depending on whether the client and server are in the same address space, different address spaces on the same physical machine, or on separate physical machines ? Also, in the current ORBit implementation, do these paths translate to dyn-call/no-marshaling, shared-mem, and RPC respectively, if at all ? Thanks in advance. -Amit From dick@acm.org Wed Nov 29 04:46:21 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from dick.i2it.co.uk (dick.i2it.co.uk [212.250.92.12]) by mail.gnome.org (Postfix) with ESMTP id 2DC822BAB1 for ; Wed, 29 Nov 2000 04:46:21 -0500 (EST) Received: (from dick@localhost) by dick.i2it.co.uk (8.8.7/8.8.7) id JAA00189 for orbit-list@gnome.org; Wed, 29 Nov 2000 09:46:19 GMT Date: Wed, 29 Nov 2000 09:46:19 +0000 From: Dick Porter To: orbit-list@gnome.org Subject: Re: weird semantics for the IR's create_interface Message-ID: <20001129094619.L29335@dick.i2it.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mathieu@eazel.com on Tue, Nov 28, 2000 at 05:54:18PM -0800 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote: > hi all, > > I have been playing with the Interface repository of ORBit lately. > I have fixed a few segfaults in my local copy and I will send a patch for > those later when I get something more useful working. Excellent, the IR is -><- this close to being almost useful. > > However, I am getting in some weird bug: I want to create a top-level interface > with CORBA::Container::create_interface. > > To do so, I passed a zero-length sequence as base_interfaces parameter. > > It happens that the ORBit implementation is checking explicitely in its code > for either a zero-length sequence or a NULL sequence and if so, refuses > to create the interface.... If it's explicitly checking then there is a good chance that the IR spec demands this check. I don't have the spec in front of me to check though. > Mathieu - Dick From mathieu@eazel.com Wed Nov 29 12:19:43 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ratatosk.eazel.com (eazel130.eazel.com [64.0.4.130]) by mail.gnome.org (Postfix) with ESMTP id 1AD3D2BAB1 for ; Wed, 29 Nov 2000 12:19:43 -0500 (EST) Received: from le-french-hacker.eazel.com ([10.10.100.38]) by ratatosk.eazel.com (Netscape Messaging Server 4.15) with ESMTP id G4SQSU00.6RJ for ; Wed, 29 Nov 2000 09:19:42 -0800 Received: (from mathieu@localhost) by le-french-hacker.eazel.com (8.9.3/8.9.3) id MAA29187; Wed, 29 Nov 2000 12:22:48 -0800 X-Authentication-Warning: le-french-hacker.eazel.com: mathieu set sender to mathieu@eazel.com using -f To: orbit-list@gnome.org Subject: Re: weird semantics for the IR's create_interface References: <20001129094619.L29335@dick.i2it.co.uk> Original-Sender: mathieu@eazel.com From: Mathieu Lacage In-Reply-To: Dick Porter's message of "Wed, 29 Nov 2000 09:46:19 +0000" Date: 29 Nov 2000 12:22:48 -0800 Message-ID: Lines: 40 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Dick Porter writes: > On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote: > > hi all, > > > > I have been playing with the Interface repository of ORBit lately. > > I have fixed a few segfaults in my local copy and I will send a patch for > > those later when I get something more useful working. > > Excellent, the IR is -><- this close to being almost useful. > > > > > However, I am getting in some weird bug: I want to create a top-level interface > > with CORBA::Container::create_interface. > > > > To do so, I passed a zero-length sequence as base_interfaces parameter. > > > > It happens that the ORBit implementation is checking explicitely in its code > > for either a zero-length sequence or a NULL sequence and if so, refuses > > to create the interface.... > > If it's explicitly checking then there is a good chance that the IR spec > demands this check. I don't have the spec in front of me to check though. I do not think the spec says this: I have looked in it and could not really find any description of the correct behaviour in that case. > > > Mathieu > > - Dick > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list -- Mathieu Lacage From simon.britnell@peace.com Wed Nov 29 13:23:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from intro.peace.co.nz (intro.peace.co.nz [202.14.141.227]) by mail.gnome.org (Postfix) with ESMTP id B5EB32D625 for ; Wed, 29 Nov 2000 13:23:48 -0500 (EST) Message-ID: <3A254855.9060502@peace.com> Date: Thu, 30 Nov 2000 07:17:57 +1300 From: Simon Britnell MIME-Version: 1.0 To: orbit-list@gnome.org Subject: Re: optimizing link between client and server References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Amitabh A. Nene wrote: > I wanted to know how does one go about optimizing the link between a CORBA > client and server using ORBit / any other ORB in general. In other words, > how does one configure the link depending on whether the client and server > are in the same address space, different address spaces on the same > physical machine, or on separate physical machines ? Hmmm. I'm a little unsure of what you're asking. Your question appears to be "How do I select which transport an ORB is using (SHM,TCP/IP,Unix Sockets,Sun RPC,etc) for any ORB?" The answer is "That depends on the ORB." ORBit specifically has a configuration file /etc/orbitrc which switches between unix sockets and tcp/ip as these are the transports it provides.". Many ORBs automatically make the decision to use dync-call/no marshalling whenever they detect that they are both the client and the server for an IOR. I *think* ORBit is one of these. It also occurs to me that your real issue may be a performance one, in which case I can only say "Minimise round trips". The further the distance between your client and server, the bigger the latency penalty you will pay. Calling a remote object method fetchNextFoo() repeatedly to fetch a thousand records will perform fine over SHM where latency is <1ms, but will die screaming over the internet even at a latency of only 100ms (giving a 10 second response time for 1000 records in latency alone) and >500ms latencies are not uncommon. Far better to implement a method fetchAllFoo() which is called once. > Also, in the current ORBit implementation, do these paths translate to > dyn-call/no-marshaling, shared-mem, and RPC respectively, if at all ? I don't think ORBit does SHM yet. I know it does dyn-call, unix sockets, tcp/ip4 and tcp/ip6 (same ram address space, same machine, seperated by network). Hope this helps. From sopwith@redhat.com Wed Nov 29 15:37:36 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id 28CA72CE82 for ; Wed, 29 Nov 2000 15:37:36 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eATKba205500 for ; Wed, 29 Nov 2000 15:37:36 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Wed, 29 Nov 2000 15:37:35 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: Re: optimizing link between client and server In-Reply-To: <3A254855.9060502@peace.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Simon Britnell wrote: > I don't think ORBit does SHM yet. It's not going to unless someone comes up with a SHM message send/receive implementation that shows significant performance improvements over UNIX domain sockets. SHM is good for sharing chunks of large data between apps, but for normal message-oriented traffic it's no good, because you still need a signalling mechanism, and latency can be a bigger problem than bandwidth in many cases. If you have to pass large amounts of data and still need to use CORBA, I recommend using CORBA to negotiate/control a directly-accessed SHM segment. -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From kiko@async.com.br Wed Nov 29 18:11:56 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 5CAE42E0C9 for ; Wed, 29 Nov 2000 18:10:02 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id VAA24302; Wed, 29 Nov 2000 21:09:56 -0200 Date: Wed, 29 Nov 2000 21:09:56 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: RootPOA Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development This is more of a Orbit question but I'll crosspost so Jason gets some email :-) AFAICS, Orbit-0.5.3 only implements RootPOA as a possible request to resolve_initial_references. Is this true? Can I not access the NameService object? I've been quite confused about how exactly this would work. I understand I can set an IOR for the name server in orbitrc, but how far down Orbit and orbit-python this goes is unknown to me. Can I actually use this inside orbit-python today? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From kiko@async.com.br Wed Nov 29 18:15:35 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 97A202D42A for ; Wed, 29 Nov 2000 18:15:34 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id VAA24311; Wed, 29 Nov 2000 21:15:19 -0200 Date: Wed, 29 Nov 2000 21:15:19 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: Implementing list_initial_handlers for orbit-python Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development I've taken a couple of shots at implementing list_initial_handlers for orbit-python in CORBA_ORB.c but since I've failed miserably I've come here to ask for a bit of help: As far as I can see all I need to do is request the list and parse the sequence back into a python object, returning it. Requesting the list isn't a problem at all, but I'm running into trouble figuring out exactly what to do with it: should I use demarshal_sequence on the ObjectIdList or is this more envolved than I think? What exactly is this list - just a CORBA sequence of ObjectIds, or something complex? Tracking down what types go where in Orbit is rather complicated, but I'm still digging through it. One problem I've found is that if I am effectively to use demarshal_sequence, I'll have to put together a TypeCode structure, and this isn't exactly trivial to me. If anyone could lend me a hand, it would be great. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From tack@orion.dok.org Wed Nov 29 19:28:33 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from orion.dok.org (h24-70-128-84.su.shawcable.net [24.70.128.84]) by mail.gnome.org (Postfix) with SMTP id 5AECD2CF0E for ; Wed, 29 Nov 2000 19:28:32 -0500 (EST) Received: (qmail 16318 invoked by uid 500); 30 Nov 2000 00:28:53 -0000 Date: Wed, 29 Nov 2000 19:28:53 -0500 From: Jason Tackaberry To: Christian Robottom Reis Cc: Orbit-python-list@lists.sourceforge.net, orbit-list@gnome.org Subject: Re: [Orbit-python-list] RootPOA Message-ID: <20001129192853.C15920@linux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from kiko@async.com.br on Wed, Nov 29, 2000 at 09:09:56PM -0200 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > This is more of a Orbit question but I'll crosspost so Jason gets some > email :-) Aww, gee, thanks for thinking of me. :) First, a disclaimer: I haven't looked at this code in a while and I'm awfully rusty. I'm especially sticking my neck out when I talk about ORBit internals, so pay more attention to say Elliot or Owen before me. :) > AFAICS, Orbit-0.5.3 only implements RootPOA as a possible request to > resolve_initial_references. Is this true? Can I not access > the NameService object? I was reasonably sure you couldn't pass NameService to resolve_initial_references with ORBit, and a quick perusal of ORBit's source shows this to be the case. The name service object only seems to be set on calling set_initial_references, which doesn't help much when you don't have a reference to the object to begin with. Fetching a reference to GNOME's name service, at least, is done with Gnorba's gnome_name_service_get(). I don't think there is some elegant way with strictly ORBit (please correct me if I'm wrong). For now it's a matter of finding the IOR from the naming service and calling string_to_object on it. > I've been quite confused about how exactly this would work. I understand I > can set an IOR for the name server in orbitrc, but how far down Orbit and > orbit-python this goes is unknown to me. Can I actually use this inside > orbit-python today? In theory if you import the CosNaming module (in non-cvs versions you do this with load_idl, with the CVS version just import CosNaming and it does everything magically) and pass the IOR to string_to_object, you should have a NamingContext object to play with. In practice, there seems to be some sort of bug with ORBit-Python that I still need to track down and this will fail. Jason. From kiko@async.com.br Thu Nov 30 09:11:16 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 65FAF2D9BB for ; Thu, 30 Nov 2000 09:11:15 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id MAA31892; Thu, 30 Nov 2000 12:11:01 -0200 Date: Thu, 30 Nov 2000 12:11:01 -0200 (BRST) From: Christian Robottom Reis To: Orbit-python-list@lists.sourceforge.net Cc: orbit-list@gnome.org Subject: random.org Random.ior and orbit-python Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Does anyone have an idea why we get a Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 Traceback (innermost last): File "./random", line 14, in ? o = myorb.string_to_object(ior) CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 when trying to string_to_object random.org's IOR: IOR:000000000000000f49444c3a52616e646f6d3a312e3000000000000100000000000000500001000000000016706c616e7874792e6473672e63732e7463642e69650006220000002c3a5c706c616e7874792e6473672e63732e7463642e69653a52616e646f6d3a303a3a49523a52616e646f6d00 The c client that random.org provides works perfectly, so I wouldn't think it's an Orbit issue, but it appears Orbit _is_ raising an exception, so I'm left wondering. Any ideas? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From kiko@async.com.br Thu Nov 30 09:24:42 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id D1B462C81E for ; Thu, 30 Nov 2000 09:24:41 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id MAA31996; Thu, 30 Nov 2000 12:24:35 -0200 Date: Thu, 30 Nov 2000 12:24:35 -0200 (BRST) From: Christian Robottom Reis To: Jason Tackaberry Cc: Orbit-python-list@lists.sourceforge.net, orbit-list@gnome.org Subject: Re: [Orbit-python-list] RootPOA In-Reply-To: <20001129192853.C15920@linux.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Wed, 29 Nov 2000, Jason Tackaberry wrote: > I was reasonably sure you couldn't pass NameService to > resolve_initial_references with ORBit, and a quick perusal of ORBit's > source shows this to be the case. The name service object only seems to > be set on calling set_initial_references, which doesn't help much when > you don't have a reference to the object to begin with. Apparently you can set an IOR for the NameService in your orbitrc, but I have yet to see this work. This code fragment in 0.5.3 indicates it does something when you send NameService on to it: else if(!strcmp(identifier, "NameService")) return CORBA_Object_duplicate(orb->naming, ev); orb->naming being set through naming_ior or naming_addr. I don't know if this code is actually being used but it is there. > Fetching a reference to GNOME's name service, at least, is done with > Gnorba's gnome_name_service_get(). I don't think there is some elegant I thought the name service IOR for gnome came through X hints.. I can't use hints as I have a real distributed operation here. However, setting the IOR through orbitrc or through the commandline would be an initial solution, though I would have to fill this out manually until the time came where I'd have persistent object being started up by orbit (if this ever gets done :-) I suppose nobody has effectively used orbitrc or argv parameters to poison NameService so far, however. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From sopwith@redhat.com Thu Nov 30 10:46:58 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id A26022BAFB for ; Thu, 30 Nov 2000 10:46:58 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUFkwQ15341; Thu, 30 Nov 2000 10:46:58 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 10:46:58 -0500 (EST) From: Elliot Lee X-Sender: To: Cc: Subject: Re: random.org Random.ior and orbit-python In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Christian Robottom Reis wrote: > > Does anyone have an idea why we get a > > Message: CORBA exception raised: IDL:CORBA/MARSHAL:1.0 > Traceback (innermost last): > File "./random", line 14, in ? > o = myorb.string_to_object(ior) > CORBA.SystemException: IDL:CORBA/MARSHAL:1.0: IDL:CORBA/MARSHAL:1.0 > > when trying to string_to_object random.org's IOR: > > IOR:000000000000000f49444c3a52616e646f6d3a312e3000000000000100000000000000500001000000000016706c616e7874792e6473672e63732e7463642e69650006220000002c3a5c706c616e7874792e6473672e63732e7463642e69653a52616e646f6d3a303a3a49523a52616e646f6d00 > > The c client that random.org provides works perfectly, so I wouldn't think > it's an Orbit issue, but it appears Orbit _is_ raising an exception, so > I'm left wondering. Maybe the 'ior' that you are passing has trailing newlines or something - the string_to_object routine in ORBit releases doesn't strip off whitespace... -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From tack@orion.dok.org Thu Nov 30 10:54:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from orion.dok.org (h24-70-128-84.su.shawcable.net [24.70.128.84]) by mail.gnome.org (Postfix) with SMTP id 1E1822DE2C for ; Thu, 30 Nov 2000 10:54:05 -0500 (EST) Received: (qmail 17682 invoked by uid 500); 30 Nov 2000 15:54:32 -0000 Date: Thu, 30 Nov 2000 10:54:32 -0500 From: Jason Tackaberry To: Elliot Lee Cc: orbit-list@gnome.org, Orbit-python-list@lists.sourceforge.net Subject: Re: [Orbit-python-list] Re: random.org Random.ior and orbit-python Message-ID: <20001130105432.M17237@linux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from sopwith@redhat.com on Thu, Nov 30, 2000 at 10:46:58AM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development > Maybe the 'ior' that you are passing has trailing newlines or something - > the string_to_object routine in ORBit releases doesn't strip off > whitespace... Yep, that's exactly the problem, and I was just committing the fix to cvs as you replied. :) Thanks, Jason. From kiko@async.com.br Thu Nov 30 11:28:44 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from blackjesus.async.com.br (adsl-nrp12-C8B0F26C.sao.terra.com.br [200.176.242.108]) by mail.gnome.org (Postfix) with ESMTP id 0AE752C81E for ; Thu, 30 Nov 2000 11:28:42 -0500 (EST) Received: from localhost (kiko@localhost [127.0.0.1]) by blackjesus.async.com.br (8.9.3/8.9.3) with ESMTP id OAA00765; Thu, 30 Nov 2000 14:28:34 -0200 Date: Thu, 30 Nov 2000 14:28:34 -0200 (BRST) From: Christian Robottom Reis To: Elliot Lee Cc: orbit-list@gnome.org Subject: Re: [Orbit-python-list] Re: random.org Random.ior and orbit-python In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Elliot Lee wrote: > Maybe the 'ior' that you are passing has trailing newlines or something - > the string_to_object routine in ORBit releases doesn't strip off > whitespace... No, it works fine in the C implementation; it's something that orbit-python does wrong. I'm still delving into it! Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 From Colm.Smyth@ireland.sun.com Thu Nov 30 12:19:14 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by mail.gnome.org (Postfix) with ESMTP id EFDEE2C7C5 for ; Thu, 30 Nov 2000 12:19:13 -0500 (EST) Received: from ireserver.Ireland.Sun.COM ([129.156.220.7]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA11856 for ; Thu, 30 Nov 2000 09:19:10 -0800 (PST) Received: from dbl-ray-3 (dbl-ray-3 [129.156.237.102]) by ireserver.Ireland.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.0) with SMTP id RAA12477 for ; Thu, 30 Nov 2000 17:19:09 GMT Message-Id: <200011301719.RAA12477@ireserver.Ireland.Sun.COM> Date: Thu, 30 Nov 2000 17:19:09 +0000 (GMT) From: Colm Smyth To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: Qzmgy2HvktoGA95NwpCERw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc Subject: (no subject) Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Hi, I'm using some purify-like features of Sun's debugging tool (dbx) to track down possible errors in some of the core GNOME libraries, including ORBit. One rui (read uninitialised) error that recurs frequently is caused by the fact that ORBit aligns int/long values encoded into a CDR_Codec using the ALIGN_ADDRESS() macro in CDR_buffer_putn(). The alignment moves the wptr forward which leaves an unnitialised "hole". It's quite trivial to fix: orbit/src/orb/cdr.c: static CORBA_boolean CDR_buffer_putn(CDR_Codec *codec, void *datum, int bsize) { #ifdef PURIFY unsigned int forward = (unsigned long)ALIGN_ADDRESS(codec->wptr, bsize); while (forward > codec->wptr) codec->buffer[codec->wptr++] = '\0'; #else codec->wptr = (unsigned int)ALIGN_ADDRESS(codec->wptr, bsize); #endif (as an aside, I changed the unsigned long cast to unsigned int to match the declaration of CDR_Codec.wptr. In a dbx-purify run of some test programs, only one other warning is reported because of the deliberate use of uninitialised data in genrand_unix(). It's very nice to see that ORBit is very clean ;) but more importantly if this fix is accepted, it's easier to purify applications based on ORBit. By the way, I wonder if the alignment is strictly necessary since data is always copied byte-wise to and from a CDR_Codec buffer. Colm. From sopwith@redhat.com Thu Nov 30 12:43:34 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id B63802BAAA for ; Thu, 30 Nov 2000 12:43:34 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUHhYW30023 for ; Thu, 30 Nov 2000 12:43:34 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 12:43:34 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: Re: (no subject) In-Reply-To: <200011301719.RAA12477@ireserver.Ireland.Sun.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thu, 30 Nov 2000, Colm Smyth wrote: > CDR_buffer_putn(CDR_Codec *codec, void *datum, int bsize) > { > #ifdef PURIFY > unsigned int forward = (unsigned long)ALIGN_ADDRESS(codec->wptr, > bsize); > while (forward > codec->wptr) > codec->buffer[codec->wptr++] = '\0'; > #else > codec->wptr = (unsigned int)ALIGN_ADDRESS(codec->wptr, bsize); > #endif > > (as an aside, I changed the unsigned long cast to unsigned int to match > the declaration of CDR_Codec.wptr. > > In a dbx-purify run of some test programs, only one other warning is > reported because of the deliberate use of uninitialised data in > genrand_unix(). > > It's very nice to see that ORBit is very clean ;) but more importantly > if this fix is accepted, it's easier to purify applications based > on ORBit. I have put basically this patch into the orbit-stable-0-5 branch in CVS - the change will be in version 0.5.5. > By the way, I wonder if the alignment is strictly necessary since data is > always copied byte-wise to and from a CDR_Codec buffer. The alignment is for the CDR stream, not to facilitate local machine usage (well, that's partially false - the CDR alignment rules exist to facilitate local machine usage). -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From sopwith@redhat.com Thu Nov 30 13:14:54 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from devserv.devel.redhat.com (host156.207-175-42.redhat.com [207.175.42.156]) by mail.gnome.org (Postfix) with ESMTP id AA8852BAAA for ; Thu, 30 Nov 2000 13:14:54 -0500 (EST) Received: from localhost (sopwith@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id eAUIEss02927 for ; Thu, 30 Nov 2000 13:14:54 -0500 X-Authentication-Warning: devserv.devel.redhat.com: sopwith owned process doing -bs Date: Thu, 30 Nov 2000 13:14:54 -0500 (EST) From: Elliot Lee X-Sender: To: Subject: ORBit 0.5.5 release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development It's up on ftp.gnome.org. The biggest thing about it is DynAny support, courtesy of Michael Meeks. There are also the usual bug fixes. ftp://ftp.gnome.org/pub/ORBit/ORBit-0.5.5.tar.gz Share & enjoy, -- Elliot "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, Archimedes Principle has 67 words, the 10 Commandments have 179 words, the Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and finally the European Commission's regulation on the sale of cabbage: 26,911 words." From chardros@ashtech.net Thu Nov 30 15:32:50 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from ashtech.net (ashtech.pa.net [205.166.61.57]) by mail.gnome.org (Postfix) with SMTP id 9E1982CDC3 for ; Thu, 30 Nov 2000 15:32:50 -0500 (EST) Received: (qmail 7132 invoked from network); 30 Nov 2000 20:32:44 -0000 Received: from ip134.49.blca.blazenet.net (HELO neptune.jlab.int) (24.104.49.134) by ashtech.pa.net with SMTP; 30 Nov 2000 20:32:44 -0000 Received: (from chardros@localhost) by neptune.jlab.int (8.11.0/8.9.3) id eAUKXuD32280 for orbit-list@gnome.org; Thu, 30 Nov 2000 15:33:56 -0500 Date: Thu, 30 Nov 2000 15:33:36 -0500 From: Jason Pincin To: orbit-list@gnome.org Subject: Re: ORBit 0.5.5 release Message-ID: <20001130153329.A32275@neptune.jlab.int> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sopwith@redhat.com on Thu, Nov 30, 2000 at 01:14:54PM -0500 Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Does this release contain the needed fixes to play nice with Sattelite in PHP? I know I was unable to move to the official 0.5.4 because of some issue (discussed earlier on this list), and had to run a snap shot or ORBit. Anyone know yet? Jason On Thu, Nov 30, 2000 at 01:14:54PM -0500, Elliot Lee wrote: > It's up on ftp.gnome.org. The biggest thing about it is DynAny support, > courtesy of Michael Meeks. There are also the usual bug fixes. > > ftp://ftp.gnome.org/pub/ORBit/ORBit-0.5.5.tar.gz > > Share & enjoy, > -- Elliot > "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words, > Archimedes Principle has 67 words, the 10 Commandments have 179 words, the > Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and > finally the European Commission's regulation on the sale of cabbage: 26,911 words." > > > _______________________________________________ > orbit-list mailing list > orbit-list@gnome.org > http://mail.gnome.org/mailman/listinfo/orbit-list From david@2good.nu Thu Nov 30 15:46:22 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from natty.rsn.hk-r.se (natty.rsn.hk-r.se [194.47.142.175]) by mail.gnome.org (Postfix) with ESMTP id BB91E2C8A2 for ; Thu, 30 Nov 2000 15:46:21 -0500 (EST) Received: from gwan (david@gwan.roots [172.16.0.3]) by natty.rsn.hk-r.se (8.9.3/8.9.3) with SMTP id VAA16522 for ; Thu, 30 Nov 2000 21:46:20 +0100 From: David Eriksson To: orbit-list@gnome.org Subject: Re: ORBit 0.5.5 release Date: Thu, 30 Nov 2000 21:46:23 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" References: <20001130153329.A32275@neptune.jlab.int> In-Reply-To: <20001130153329.A32275@neptune.jlab.int> MIME-Version: 1.0 Message-Id: <00113021462303.00276@gwan> Content-Transfer-Encoding: 8bit Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development On Thursday 30 November 2000 21:33, you wrote: >Does this release contain the needed fixes to play nice with Sattelite >in PHP? I know I was unable to move to the official 0.5.4 because of > some issue (discussed earlier on this list), and had to run a snap shot > or ORBit. Anyone know yet? It does not contain the fixes that Satellite needs :-( -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson From trohed@yahoo.com Thu Nov 30 16:49:05 2000 Return-Path: Delivered-To: orbit-list@gnome.org Received: from web10301.mail.yahoo.com (web10301.mail.yahoo.com [216.136.130.79]) by mail.gnome.org (Postfix) with SMTP id 7594B2BAAA for ; Thu, 30 Nov 2000 16:49:05 -0500 (EST) Message-ID: <20001130214901.77066.qmail@web10301.mail.yahoo.com> Received: from [206.31.111.24] by web10301.mail.yahoo.com; Thu, 30 Nov 2000 13:49:01 PST Date: Thu, 30 Nov 2000 13:49:01 -0800 (PST) From: trohed Subject: multithreaded and POA information To: orbit-list@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: orbit-list-admin@gnome.org Errors-To: orbit-list-admin@gnome.org X-BeenThere: orbit-list@gnome.org X-Loop: orbit-list@gnome.org X-Mailman-Version: 2.0beta5 Precedence: bulk Reply-To: orbit-list@gnome.org List-Id: ORBit CORBA implementation use & development Can you please point me in the direction of some documentation on writing multi-threaded corba servers and some information on POA. Thanks __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/