|
|
|
|||||
|
no suitable endpoint available for proxy `hello -t'
Problems about “no suitable endpoint available for proxy `hello -t'”
I have 3 computers,one is used as the client(10.0.38.126),one is used as the registry(10.0.38.127),and the other is used as the server(10.0.38.128). And I tested in Ice-3.3.1/cpp/demo/IceGrid/simple. In the registry, I modified the file of config.grid,and added the IP of registry as follows: Code:
# # The IceGrid locator proxy. # Ice.Default.Locator=DemoIceGrid/Locator:default -p 4061 -h 10.0.38.127 # # IceGrid registry configuration. # IceGrid.Registry.Client.Endpoints=default -p 4061 -h 10.0.38.127 IceGrid.Registry.Server.Endpoints=default -h 10.0.38.127 IceGrid.Registry.Internal.Endpoints=default -h 10.0.38.127 Code:
# # The IceGrid locator proxy. # Ice.Default.Locator=DemoIceGrid/Locator:default -p 4061 -h 10.0.38.127 Code:
# IceGrid node configuration. # IceGrid.Node.Name=localhost IceGrid.Node.Endpoints=default IceGrid.Node.Data=db/node IceGrid.Node.CollocateRegistry=1 IceGrid.Node.Output=db IceGrid.Node.RedirectErrToOut=1 # # Trace properties. # IceGrid.Node.Trace.Activator=1 IceGrid.Node.Trace.Adapter=2 IceGrid.Node.Trace.Server=3 1. in the registry, I run: Code:
icegridregistry --Ice.Config=config.grid Code:
icegridnode --Ice.Config=config.grid Code:
linux2:~/Ice-3.3.1/cpp/demo/IceGrid/simple # icegridnode --Ice.Config=config.grid 01/28/10 05:57:58.191 icegridnode: warning: couldn't reach the IceGrid registry (this is expected if it's down, otherwise please check the value of the Ice.Default.Locator property): ConnectionI.cpp:1308: Ice::ConnectTimeoutException: timeout while establishing a connection Code:
icegridadmin --Ice.Config=config.grid Ice 3.3.1 Copyright 2003-2009 ZeroC, Inc. >>> application add "application.xml" >>> node list localhost >>> node ping 'localhost' node is up Code:
icegridnode --Ice.Config=config.grid 01/28/10 05:57:58.191 icegridnode: warning: couldn't reach the IceGrid registry (this is expected if it's down, otherwise please check the value of the Ice.Default.Locator property): ConnectionI.cpp:1308: Ice::ConnectTimeoutException: timeout while establishing a connection [ 01/28/10 05:58:45.245 icegridnode: Server: changed server `SimpleServer' state to `Loading' ] [ 01/28/10 05:58:45.247 icegridnode: Server: changed server `SimpleServer' state to `Inactive' ] Code:
./clent Code:
./client: Reference.cpp:1546: Ice::NoEndpointException: no suitable endpoint available for proxy `hello -t' ![]() Last edited by zeronumber : 01-27-2010 at 11:29 PM. |
|
|||||
|
update~
when i didn't modified the config.client in the client, the errors appeared as follows after the command "./client" : Code:
linux:~/Ice-3.3.1/cpp/demo/IceGrid/simple # ./client ./client: Network.cpp:1221: Ice::ConnectionRefusedException: connection refused: Connection refused Code:
# # The IceGrid locator proxy. # Ice.Default.Locator=DemoIceGrid/Locator:default -p 4061 -h 10.0.38.127 #Ice.Default.Locator=DemoIceGrid/Locator:default -p 4061 Code:
linux:~/Ice-3.3.1/cpp/demo/IceGrid/simple # ./client ./client: Reference.cpp:1546: Ice::NoEndpointException: no suitable endpoint available for proxy `hello -t' |
|
|||||
|
Quote:
OS:turbo8(i need to test on this OS, although it is not the suitable platform) i have tried the telnet command that you mentioned,and it works well. But when i run "./client",the errors appears again. Code:
./client: Reference.cpp:1546: Ice::NoEndpointException: no suitable endpoint available for proxy `hello -t' Last edited by zeronumber : 01-29-2010 at 05:04 AM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Endpoint Specifications | steveo06360 | Help Center | 10 | 03-04-2009 12:29 PM |
| Endpoint format | acbell | Help Center | 3 | 03-03-2009 04:27 PM |
| Is Ice suitable for parallel computation? | Yunqiao Yin | Comments | 1 | 01-26-2006 12:44 PM |
| SSL Proxy Endpoint and -s | gsalazar | Help Center | 11 | 06-22-2005 01:57 PM |
| Endpoint merge | ganzuoni | Help Center | 1 | 06-25-2003 08:52 AM |