Hello,
I have run into some strange problems recently. I'm running gt-4.2.1.1.
I have deployed a service, which is following the traditional
factory/instance scenario. When running the client on the same machine
everything works fine:
1. it connects to the factory service and retrieves the epr for
a newly created resource
2. it contacts and communicates fine with the instance service
Running the client on a different machine in the same LAN where globus
is not installed, but cog-jglobus, the client fails when contacting the
instance service
1. it connects to the factory service and retrieves the epr for
a newly created resource
2. it fails when contacting the instance service with these
error messages:
; nested exception is:
java.net.ConnectException: Connection refused
AxisFault
faultCode:
{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}General
faultSubcode:
faultString: ; nested exception is:
java.net.ConnectException: Connection refused
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection
refused
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection
refused
at java.net.PlainSocketImpl.socketConnect(Native
Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at
java.net.Socket.<init>(Socket.java:372)
at
java.net.Socket.<init>(Socket.java:273)
at
org.globus.net.SocketFactory.createSocket(SocketFactory.java:74)
at
org.globus.net.SocketFactory.createSocket(SocketFactory.java:64)
at
org.globus.axis.transport.commons.CommonsSocketFactory.createSocket(CommonsSocketFactory.java:57)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:224)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at
org.apache.axis.client.AxisClient.invokeTransport(AxisClient.java:150)
at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:289)
at
org.apache.axis.client.Call.invokeEngine(Call.java:2838)
at org.apache.axis.client.Call.invoke(Call.java:2824)
at org.apache.axis.client.Call.invoke(Call.java:2501)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:1835)
at
org.globus.wsrf.security.impl.secconv.SecureConversationSOAPBindingStub.requestSecurityToken(SecureConversationSOAPBindingStub.java:1173)
at
org.globus.wsrf.impl.security.authentication.secureconv.Authenticator.authenticate(Authenticator.java:100)
at
org.globus.wsrf.impl.security.authentication.secureconv.SecContextHandler.handleRequest(SecContextHandler.java:315)
at
org.apache.axis.handlers.HandlerChainImpl.handleRequest(HandlerChainImpl.java:148)
at
org.apache.axis.handlers.JAXRPCHandler.invoke(JAXRPCHandler.java:51)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at
org.apache.axis.client.AxisClient.invokeOutbound(AxisClient.java:91)
at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:282)
at
org.apache.axis.client.Call.invokeEngine(Call.java:2838)
at org.apache.axis.client.Call.invoke(Call.java:2824)
at org.apache.axis.client.Call.invoke(Call.java:2501)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:1835)
at
com.test.service.stubs.serviceInstanceService.bindings.serviceInstancePortTypeSOAPBindingStub.submitJob(serviceInstancePortTypeSOAPBindingStub.java:733)
at GuiClientSimple.submitJobs(GuiClientSimple.java:308)
at
GuiClientSimple.<init>(GuiClientSimple.java:225)
at GuiClientSimple$1.run(GuiClientSimple.java:321)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
{http://xml.apache.org/axis/}hostname:myhostname.mydomain.com
It's hard to debug this problem since the stacktrace is not very
precise. Maybe someone can identify the source or has a clue :)
I have copied the certificates to the other machine and I'm using
jglobus' grid-proxy-init. It's working fine, so the certificates seem
not to be the problem. It appears strange to me, that it first can
contact the factory without any problems, but then fails when contacting
the service.
On the server side I do not get any error messages.
Greetings,
Johannes