
Originally Posted by
rhochmuth
I'm a little confused about using Glacier2 without the Ice.Default.Router property being set. What I think I have to do is the following:
1. Create an object adapter with a router specified as is documented in the example in the manual as follows:
Ice.Default.Router=Glacier2/router:tcp -h 5.6.7.8 -p 8000
2. Then creating a router session. When using the default router it is easy to get a a RouterPrx by just using the communicator. But when specifying a router for the object adapter there is no obvious way of getting a RouterPrx which is needed to create the session.
I tried using the communicator as follows:
communicatorr()->stringToProxy("Glacier2/router:ssl -h 5.6.7.8 -p 8000");
and then casting to a RouterPrx, but this didn't appear to work for me either.
Any suggestions?
Regards --Roland