Quote:
|
don't see how it could work if you remove the servers from the application, to which server would the client connect to? Could you post the configuration file of the client as well?
|
Oh! I lost something in the file
application_with_replication.xml (have changed) when I post my thread.
<server-instance template="SimpleServer" index="1"/>
is added in the node tab.
-----
<icegrid>
<application name="Simple">
... ...
<node name="localhost">
<server-instance template="SimpleServer" index="1"/>
<!--
<server-instance template="SimpleServer" index="2"/>
-->
<server-instance template="Glacier2" client-endpoints="tcp -p 10005" server-endpoints="tcp"/>
</node>
</application>
</icegrid>
-----
That is when i just delete a server-instance from application_with_replication.xml, it works well!
The configuration file of the client is the config.client which is in the glacier2 chat demo,I changed nothing.
config.client
-----
Ice.Default.Router=Glacier2/router:tcp -p 10005 -h 192.168.1.104
Chat.Client.Router=Glacier2/router:tcp -p 10005 -h 192.168.1.104
-----
Quote:
|
The Ice::ObjectNotExistException indicates that the client setCallback request is rejected by Glacier2. This can happen if the client doesn't have an active session or is using another network connection than the one used to create the session.
|
What should I do.I am a beginner to ICE. I need your help so much.
Thank you!
