Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Corba > Re: OrbixWeb: Q...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 510 of 534
Post > Topic >>

Re: OrbixWeb: Questions about persistent servers and auto-launch

by apm35@[EMAIL PROTECTED] Oct 9, 2007 at 12:45 AM

On 17 Sep, 12:54, ap...@[EMAIL PROTECTED]
 wrote:
> I am converting a C++ CORBA server to java using OrbixWeb. In the C++
> code there is this:
>
> orb->setServerName( serverName);
> boa->impl_is_ready( serverName);
>
> This looks wrong to me but it has been in there since day 1 and the C+
> + server does auto-launch correctly. I thought that this would make it
> a persisent server. Yet this is supposed to be a server that is auto-
> launched. I am puzzled. This terminology is getting me confused. I
> thought that the phrase "persistent server" means one that is launched
> manually. I want my server to be auto-launched. In my java code I say:
>
> orb.setServerName(serverName);
> orb.impl_is_ready(serverName, 0);
>
> This follows the pattern of the C++ code. This server does auto-launch
> but it gives an error on impl_is_ready saying server is already
> registered. If I take those calls out it still auto-launches but then
> halts silently in the bit where it exports its object reference to the
> Naming Service.
>
> Can anyone shed any light please?
>
> Andrew Marlow

Just for the record, with alot of help from Ciaran McHale (thanks
Ciaran!) I found out that the auto-launch was failing due to my
accidental use of IT_IIOP_USE_LOCATOR=false. This caused the IOR to
contain a reference to the transient port number of my server rather
than the port number of the Orbix daemon.

-Andrew M.




 1 Posts in Topic:
Re: OrbixWeb: Questions about persistent servers and auto-launch
apm35@[EMAIL PROTECTED]   2007-10-09 00:45:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 17:18:41 CDT 2008.