OLIVE Vincent FTRD/DTL wrote:
>
> I Would like to develop a program (Server/Client) using Jonathan (DAVID
> personnality) but without using IOR file.
I guess you are worrying about finding the "initial reference" to the CosNaming.
If you don't have acces to the file system where the CosNaming IOR file is written,
then you should change 2 properties in file jonathan.prop, in order to get the
CosNaming IOR through HTTP :
david.CosNaming.default_method=1
david.CosNaming.default_url=http://myWebServer/webPath/cos-ns.ior
Of course, you have to
- run a web server on the machine where the CosNaming is running ;
- use option "-file filePath/cos-ns.ior" when running the CosNaming in order to
produce the CosNaming IOR file (in the right place regarding your web server
configuration).
> I Know my name server address and my Server address, how can I do ?
As far as I know, configuring the default reference to the CosNaming by setting the
server IP address and port number is not supported by David (unless any recent change
or workaround exists?). This is not a portable manner, since IORs contain an
"arbitrary" object key that is not predictable in the general case.
> I think there is something to do with the values of parameters (option -D of
> java) or with the values of properties which are given before running the
> client ?
You may setup jonathan/David via -D options to override jonathan.prop properties.
> Or perhaps, I must change something in the code of David ?
You, daring wizard! ;o)
-- Bruno.
___________________________________________________
Dr. Bruno DILLENSEGER - France Telecom R&D (CNET)
Distributed Systems Architecture Department
phone: +33 4 76 76 41 46, fax: +33 4 76 76 45 57
e-mail [EMAIL PROTECTED]
web URL http://bruno.dillenseger.online.fr/
____________________________________________________