Laura, Yes, when I mimic the anonymous access, I get the same exception on the command line:
wsrf-query -debug -a -s "http://127.0.0.1:8443/wsrf/services/DefaultIndexService" '/*' AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.SocketException: Broken pipe faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) The exception in the container.log is below. From googling around, the token length exception occurs when trying to talk "https" over the http connection (or, visa versa). 2007-09-07 09:36:26,171 ERROR container.GSIServiceThread [ServiceThread-10,proce ss:141] Error processing request java.io.IOException: Token length 1347375956 > 33554432 at org.globus.gsi.gssapi.net.impl.GSIGssInputStream.readToken(GSIGssInpu tStream.java:93) at org.globus.gsi.gssapi.net.impl.GSIGssInputStream.readHandshakeToken(G SIGssInputStream.java:54) at org.globus.gsi.gssapi.net.impl.GSIGssSocket.readToken(GSIGssSocket.ja va:60) Nick Nicholas J. Kings (Nick) Senior Researcher Next Generation Web Research, BT Group Chief Technology Office > -----Original Message----- > From: Laura Pearlman [mailto:[EMAIL PROTECTED] > Sent: 06 September 2007 20:24 > To: Kings,NJ,Nick,CXR3 R > Cc: [email protected] > Subject: Re: [gt-user] Tomcat exception while running WebMDS > > That error message doesn't look like an authentication > question, but to answer that part of your question -- > currently, webmds works only with index servers that allow > anonymous access for queries (this is the default -- you can > check for sure by adding "-a" to the flags in your wsrf-query > command). > > It might be helpful if you could do a wsrf-query command that > mimicked the conditions that webmds runs under as closely as > possible, by logging into semantic.info.bt.co.uk and running > > wsrf-query -a "-s > https://127.0.0.1:8443/wsrf/services/DefaultIndexService" / > > Also, there might be some clues in the Globus container log. > > -- Laura > > P.S. If you are restricting access to queries to your index > server, and you'd like to use webmds to view it, please let me know. > > > [EMAIL PROTECTED] wrote: > > All, > > > > I get the following exception from Tomcat, when accessing this URL: > > > > > http://semantic.info.bt.co.uk:8080/webmds/webmds?info=indexinf o&xsl=serv > > icegroupxsl > > > > Querying the index server from the command line works fine: > > > > wsrf-query -s > https://semantic:8443/wsrf/services/DefaultIndexService > > '/*' > > > > The configuration in the indexinfo file is (as Tomcat is running on > > semantic): > > > > <name>endpoint</name> > > > > > <value>https://127.0.0.1:8443/wsrf/services/DefaultIndexServic e</value> > > > > Does the tomcat process need it's own certificate? > > > > Regards, > > Nick > > > > exception trace > > > > > org.globus.mds.webmds.xmlSources.resourceProperties.ResourcePr > opertySour > > ceException: ; nested exception is: > > java.net.SocketException: Connection reset > > > > > org.globus.mds.webmds.xmlSources.resourceProperties.ResourcePr > opertyHelp > > er.queryResourceProperties(ResourcePropertyHelper.java:121) > > > > > org.globus.mds.webmds.xmlSources.resourceProperties.ResourcePr > opertyQuer > > yNodeSource.getNode(ResourcePropertyQueryNodeSource.java:82) > > > > > org.globus.mds.webmds.xmlSources.xmlDomNode.NodeXmlSource.getX > mlSource(N > > odeXmlSource.java:128) > > > > > org.globus.mds.webmds.WebmdsServlet.getSource(WebmdsServlet.java:296) > > > > org.globus.mds.webmds.WebmdsServlet.doGet(WebmdsServlet.java:114) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > > > root cause > > > > java.net.SocketException: Connection reset > > org.apache.axis.AxisFault.makeFault(AxisFault.java:101) > > > > > org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) > > > > > org.apache.axis.strategies.InvocationStrategy.visit(Invocation > Strategy.j > > ava:32) > > org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) > > org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) > > org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) > > org.apache.axis.client.Call.invokeEngine(Call.java:2727) > > org.apache.axis.client.Call.invoke(Call.java:2710) > > org.apache.axis.client.Call.invoke(Call.java:2386) > > org.apache.axis.client.Call.invoke(Call.java:2309) > > org.apache.axis.client.Call.invoke(Call.java:1766) > > > > > org.oasis.wsrf.properties.QueryResourcePropertiesSOAPBindingSt > ub.queryRe > > sourceProperties(QueryResourcePropertiesSOAPBindingStub.java:415) > > > > > org.globus.mds.webmds.xmlSources.resourceProperties.ResourcePr > opertyHelp > > er.queryResourceProperties(ResourcePropertyHelper.java:119) > > > > > org.globus.mds.webmds.xmlSources.resourceProperties.ResourcePr > opertyQuer > > yNodeSource.getNode(ResourcePropertyQueryNodeSource.java:82) > > > > > org.globus.mds.webmds.xmlSources.xmlDomNode.NodeXmlSource.getX > mlSource(N > > odeXmlSource.java:128) > > > > > org.globus.mds.webmds.WebmdsServlet.getSource(WebmdsServlet.java:296) > > > > org.globus.mds.webmds.WebmdsServlet.doGet(WebmdsServlet.java:114) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > > > Nicholas J. Kings (Nick) > > Senior Researcher > > Next Generation Web Research, BT Group Chief Technology Office > > > > > > > > > > > >
