Re: bonobo-activation - a plan.



> X-Unix-From: bill haneman sun com  Wed Oct 31 16:14:23 2001
> From: Bill Haneman <bill haneman sun com>
> To: Louise Miller - Sun Microsystems Ireland - Computer Systems - Engineer 
<Louise Miller sun com>
> Cc: michael ximian com, mjs noisehavoc org, gnome-components-list gnome org
> Subject: Re: bonobo-activation - a plan.
> 
> Louise Miller - Sun Microsystems Ireland - Computer Systems - Engineer
> wrote:
> > 
> > > >         So; if your script could execute a little C program, that we
> > > > always install that'd be great; eg. if you run 
bonobo-activation-run-query
> > > > with no args, that will ensure ( by the time it completes ) that the
> > > > server is correctly started up.
> > > >
> > 
> > Yes, I done exactly this and it works fine for me , thanks
> > 
> > > Oh, I forgot to mention - bonobo-activation comes with a program
> > > bonobo-activation-client which will activate an arbitrary server for
> > > you and print out the IOR. This can be used as a means of integration
> > > of last resort.
> > >
> > > Bill, would that be good enough for your purposes? The command-line
> > > tool would take care of launching the server if need be. It would not
> > > handle shlib objects very well since it would exit after activation in
> > > that case, but perhaps it can be changed to stick around in the case
> > > of an shlib server.
> > >
> > >  - Maciej
> > >
> > 
> > I'm trying to use the activation-client program, but I am a little unsure
> > of its usage. I do not understand what is meant by the -s argument and
> > the application will not run without it set. Some examples would be great.
> 
> Hi Louise:
> 
> I have run this, there are some (spotty) docs in bonobo-activation/docs
> that discuss the query format.
> 
> An example:
> 
> -s "repo_ids.has('IDL:CosNaming/NamingContext:1.0') "
> 
> Unfortunately my system gives errors at the moment, my activation seems
> broken, so until I can rebuild, I can't go much further than this.
> 
> -Bill
> 			
> 

Running : 
activation-client -s "repo_ids.has( 'IDL:Accessibility/Registry:1.0')"

I get the following output 

Query spec is "repo_ids.has( 'IDL:Accessibility/Registry:1.0')"
Activation ID 
"OAFAID:[OAFIID:Accessibility_Registry:proto0.1,ld77043,cdelab13.Ireland.Sun.COM
,session]" RESULT_OBJECT
IOR:01f7ffbf1f00000049444c3a4163636573736962696c6974792f52656769737472793a312e30
00e402000000000000004400000001010200190000006364656c616231332e4972656c616e642e53
756e2e434f4d00009d091800000000000000745d77e0d80ccfdb040000009035f085d89ae0030000
0000010000003c0000000100000002000000050000001800000000000000745d77e0d80ccfdb0400
00009035f085d89ae0030100000001000105000000000901010000000000

But the registryd program itself isnt activated, i.e ps -ef shows no registryd
running.
The code for activation-client, in client.c calls 
Bonobo_ActivationContext_activate which i would have thought would have
started up registryd server.


> > Thanks

> > Louise
> > 
> > > _______________________________________________
> > > gnome-components-list mailing list
> > > gnome-components-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gnome-components-list
> > 
> > ------------------------------
> > Louise Miller
> > Sun Microsystems Ltd - Ireland
> > louise miller ireland sun com
> > 01-8199014
> > ------------------------------
> _______________________________________________
> gnome-components-list mailing list
> gnome-components-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-components-list

------------------------------
Louise Miller
Sun Microsystems Ltd - Ireland
louise miller ireland sun com
01-8199014
------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]