I think this is the last 3.2.1 question I answer, but this would have hit you with 4.x also: 10.0.0.20 is a private, non-routable address. Unless both machines are on the same local network, you are specifying an IP with no route to it. Hence the "no route to host" error.

Charles

On Jul 22, 2008, at 11:08 AM, Ramon Gomes Costa wrote:

Hi,

Sorry for use globus 3.2.1 yet.Should be equal on the Globus 4.
But I have a problem when run a service of a machine in other machine.
Why?

java -classpath ./build/classes/:$CLASSPATH org.globus.progtutorial.clients.MathService.Client http://10.0.0.20:8080/ogsa/services/progtutorial/core/first/MathService 3
ERROR!
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/ envelope/}Server.userException
 faultSubcode:
 faultString: java.net.NoRouteToHostException: No route to host
 faultActor:
 faultNode:
 faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.net.NoRouteToHostException: No route to host
        at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java: 305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at java.net.Socket.<init>(Socket.java:309)
        at java.net.Socket.<init>(Socket.java:124)
at org .apache .axis .components .net.DefaultSocketFactory.create(DefaultSocketFactory.java:129) at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java: 157) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114) at org .apache .axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java: 150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java: 180)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
at org .globus .progtutorial .stubs .MathService .bindings .MathServiceSOAPBindingStub.add(MathServiceSOAPBindingStub.java:908) at org.globus.progtutorial.clients.MathService.Client.main(Client.java: 27)


java.net.NoRouteToHostException: No route to host
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131) at org .apache .axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java: 150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java: 180)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
at org .globus .progtutorial .stubs .MathService .bindings .MathServiceSOAPBindingStub.add(MathServiceSOAPBindingStub.java:908) at org.globus.progtutorial.clients.MathService.Client.main(Client.java: 27)
Caused by: java.net.NoRouteToHostException: No route to host
        at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java: 305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at java.net.Socket.<init>(Socket.java:309)
        at java.net.Socket.<init>(Socket.java:124)
at org .apache .axis .components .net.DefaultSocketFactory.create(DefaultSocketFactory.java:129) at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java: 157) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
        ... 11 more


--
Ramon Gomes Costa
Mestrando em Informática - UFES
Professor do curso de Sistemas de Informação - Doctum
Graduado em Ciência da Computação - FIC
Autor do livro "WEB: Como Programar Usando Ferramentas Livres". ISBN: 857608117-2

"Feliz é o homem que acha sabedoria e que adquire entendimento,
pois melhor é o lucro que ela dá do que o lucro da prata e do ouro". (PV 3.13,14)

Reply via email to