Yes, the peer could be on the same machine, i.e., a local socket connection. Perhaps both socket endpoints are running inside the same Tomcat instance. Still, I suggest finding out what peer is being connected to in the java.net.URL.openStream() call and looking for an error message on the other side of the connection that explains why it is being closed.
Cosmin wrote: > The problem described is from a local test. It is a local test which > impliese only a single machine with GT 4.0.5 installed on it and OGSADAI > 3.0 with a PostgreSQL database server. It uses Tomcat as a webserver. > > > Thanks, > > Cosmin Placinta > > > On 19.03.2009, at 14:49, Jim Basney wrote: > >> A java.io.EOFException from GSIGssInputStream.readHandshakeToken tells >> me the peer aborted the connection during the GSI handshake. Do you get >> any error from the peer? >> >> Mike Jackson wrote: >>> >>> Hi Cosmin, Globus users, >>> >>> I suggested this e-mail list since we in the OGSA-DAI team had run out >>> of suggestions for Cosmin to try and thought that maybe someone here has >>> seen a similar error not necessarily in using OGSA-DAI with GT security >>> but in using anything with GT security (it'd be useful for us to know >>> any possible causes and solutions too!). >>> >>> Cheers, >>> >>> mike >>> >>> On Thu, 19 Mar 2009, Cosmin wrote: >>> >>>> Dear all, >>>> >>>> We have implemented GT 4.0.5 on Centos 5 with the desire to use it in >>>> combination with ogsa-dai. All the instalation went well. Also in ogsa >>>> as well. >>>> >>>> The problem is that after the instalation of ogsa, there a couple of >>>> tests you can perform. >>>> One of them is to invoke a method from a client.toolkit class in order >>>> to see if there are results coming from the server. >>>> >>>> So, we've tried the following command: >>>> " >>>> java uk.org.ogsadai.client.toolkit.gt.example.GTSecureSQLClient -u >>>> "https://intrn-dhcp-169.nipne.ro:8444/wsrf/services/dai/" -d >>>> PostgreSQLDataResource -q "SELECT * FROM littleblackbook where id < >>>> 10" -tls >>>> " >>>> >>>> and the server gives us the following exception: >>>> " >>>> Exception in thread "main" >>>> uk.org.ogsadai.client.toolkit.exception.ServerURLInvalidException: A >>>> problem occured initialising the server. >>>> at uk.org.ogsadai.client.toolkit.ServerFactory.getWSDL(Unknown >>>> Source) >>>> at uk.org.ogsadai.client.toolkit.ServerFactory.getServer(Unknown >>>> Source) >>>> at uk.org.ogsadai.client.toolkit.ServerProxy.getServer(Unknown >>>> Source) >>>> at >>>> uk.org.ogsadai.client.toolkit.ServerProxy.getDataRequestExecutionResource(Unknown >>>> >>>> Source) >>>> at uk.org.ogsadai.client.toolkit.example.SQLClient.execute(Unknown >>>> Source) >>>> at >>>> uk.org.ogsadai.client.toolkit.gt.example.GTSecureSQLClient.main(Unknown >>>> Source) >>>> Caused by: java.io.EOFException >>>> at >>>> org.globus.gsi.gssapi.net.impl.GSIGssInputStream.readHandshakeToken(GSIGssInputStream.java:56) >>>> >>>> >>>> at >>>> org.globus.gsi.gssapi.net.impl.GSIGssSocket.readToken(GSIGssSocket.java:60) >>>> >>>> >>>> at >>>> org.globus.gsi.gssapi.net.GssSocket.authenticateClient(GssSocket.java:110) >>>> >>>> >>>> at >>>> org.globus.gsi.gssapi.net.GssSocket.startHandshake(GssSocket.java:140) >>>> at >>>> org.globus.gsi.gssapi.net.GssSocket.getOutputStream(GssSocket.java:161) >>>> at >>>> org.globus.net.GSIHttpURLConnection.getInputStream(GSIHttpURLConnection.java:155) >>>> >>>> >>>> at java.net.URL.openStream(URL.java:1007) >>>> ... 6 more >>>> " >>>> >>>> We've ask for help to the ogsadai support team and they send us to >>>> this mailing list. >>>> Can you help us with this problem ? >>>> Has anybody there tried the ogsadai and had the same problems ? >>>> >>>> >>>> Thank you, >>>> >>>> Cosmin Placinta, >>>> IFIN-HH >>>> Romania
smime.p7s
Description: S/MIME Cryptographic Signature
