Following:
http://www.globus.org/toolkit/docs/4.2/4.2.0/admin/quickstart/index.html#q-webmds
# su - yoichi
$ myproxy-logon -s grid2
Enter MyProxy pass phrase:
A credential has been received for user yoichi in /tmp/x509up_u500.
$ host grid1.ramscommunity.org
grid1.ramscommunity.org has address 137.111.246.175
$ wsrf-query -s https://grid2.ramscommunity.org:8443/wsrf/services/DefaultIndexService
'/*' | grep 137.111.246.175 | wc -l
5
(After installing Tomcat and configured it to use http://localhost:8080/webmds
, which points to https://indexservicehost:8443/wsrf/services/DefaultIndexService)
:
# su - yoichi
$ lynx http://localhost:8080/webmds/
This works fine and I get a web page with a link:
...
A list of resources registered to the local default index service
...
When I select this link, I get an error as below,. It seems to be
saying that it is caused by Unknown CA. However, I think that CA is
set up correctly since wsrf-query and myproxy-logon work correctly.
It also gets somehow the host name grid1.ramscommunity.org and may
be saying that it does not know (although this may be a secondary
error message only because the GSS-API failed). The IP for it,
137.111.246.175, may work as it is used in the wsrf-query???
However, I don't know how it is getting the DNS not the IP.
Can someone tell me what may be wrong?
Thanks,
Yoichi
---------------------------------------------------------------------------------------------------------------------------------------------------
WebMDS Exception
Description
Remote exception while attempting to run query '/' on remote
resource Address: https://grid2.ramscommunity.org:8443/wsrf/services/DefaultIndexService
; nested exception is: org.globus.common.ChainedIOException:
Authentication failed [Caused by: Failure unspecified at GSS-API
level [Caused by: Unknown CA]]
Message
org.oasis.wsrf.faults.BaseFaultType: ; nested exception is:
org.globus.common.ChainedIOException: Authentication failed [Caused
by: Failure unspecified at GSS-API level [Caused by: Unknown CA]] /
Remote exception while attempting to run query '/' on remote
resource Address: https://grid2.ramscommunity.org:8443/wsrf/services/DefaultIndexService
Detail:
AxisFault
faultCode:
Unknown macro: {http}
Server.generalException
faultSubcode:
faultString:
faultActor:
faultNode:
faultDetail:
Unknown macro: {http}
exceptionName:org.oasis.wsrf.faults.BaseFaultType
Unknown macro: {http}
hostname:grid1.ramscommunity.org
at org.globus.wsrf.utils.FaultHelper.toBaseFault(FaultHelper.java:308)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyHelper
.runResourcePropertyQuery(ResourcePropertyHelper.java:199)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyHelper
.queryResourceProperties(ResourcePropertyHelper.java:127)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyQueryNodeSource
.getNode(ResourcePropertyQueryNodeSource.java:110)
at
org
.globus
.mds
.webmds
.xmlSources.xmlDomNode.NodeXmlSource.getXmlSource(NodeXmlSource.java:
133)
at org.globus.mds.webmds.WebmdsServlet.getSource(WebmdsServlet.java:
396)
at org.globus.mds.webmds.WebmdsServlet.doGet(WebmdsServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
org.oasis.wsrf.faults.BaseFaultType: ; nested exception is:
org.globus.common.ChainedIOException: Authentication failed [Caused
by: Failure unspecified at GSS-API level [Caused by: Unknown CA]] /
Remote exception while attempting to run query '/' on remote
resource Address: https://grid2.ramscommunity.org:8443/wsrf/services/DefaultIndexService
Timestamp: Sun Sep 28 00:14:11 EST 2008
AxisFault
faultCode:
Unknown macro: {http}
Server.userException
faultSubcode:
faultString: org.globus.common.ChainedIOException: Authentication
failed [Caused by: Failure unspecified at GSS-API level [Caused by:
Unknown CA]]
faultActor:
faultNode:
faultDetail:
Unknown macro: {http}
stackTrace:Authentication failed. Caused by Failure unspecified at
GSS-API level. Caused by
COM.claymoresystems.ptls.SSLThrewAlertException: Unknown CA
at COM.claymoresystems.ptls.SSLConn.alert(SSLConn.java:235)
at
COM
.claymoresystems.ptls.SSLHandshake.recvCertificate(SSLHandshake.java:
304)
at
COM
.claymoresystems
.ptls.SSLHandshakeClient.processTokens(SSLHandshakeClient.java:128)
at
COM
.claymoresystems
.ptls.SSLHandshake.processHandshake(SSLHandshake.java:135)
at
org
.globus
.gsi
.gssapi
.GlobusGSSContextImpl.initSecContext(GlobusGSSContextImpl.java:494)
at
org
.globus.gsi.gssapi.net.GssSocket.authenticateClient(GssSocket.java:
107)
at org.globus.gsi.gssapi.net.GssSocket.startHandshake(GssSocket.java:
145)
at org.globus.gsi.gssapi.net.GssSocket.getInputStream(GssSocket.java:
177)
at
org
.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:
744)
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
.oasis
.wsrf
.properties
.QueryResourcePropertiesSOAPBindingStub
.queryResourceProperties(QueryResourcePropertiesSOAPBindingStub.java:
585)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyHelper
.runResourcePropertyQuery(ResourcePropertyHelper.java:197)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyHelper
.queryResourceProperties(ResourcePropertyHelper.java:127)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyQueryNodeSource
.getNode(ResourcePropertyQueryNodeSource.java:110)
at
org
.globus
.mds
.webmds
.xmlSources.xmlDomNode.NodeXmlSource.getXmlSource(NodeXmlSource.java:
133)
at org.globus.mds.webmds.WebmdsServlet.getSource(WebmdsServlet.java:
396)
at org.globus.mds.webmds.WebmdsServlet.doGet(WebmdsServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Unknown macro: {http}
hostname:grid1.ramscommunity.org
org.globus.common.ChainedIOException: Authentication failed [Caused
by: Failure unspecified at GSS-API level [Caused by: Unknown CA]]
at org.apache.axis.AxisFault.makeFault(AxisFault.java:104)
at
org
.apache
.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:
337)
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
.oasis
.wsrf
.properties
.QueryResourcePropertiesSOAPBindingStub
.queryResourceProperties(QueryResourcePropertiesSOAPBindingStub.java:
585)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyHelper
.runResourcePropertyQuery(ResourcePropertyHelper.java:197)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyHelper
.queryResourceProperties(ResourcePropertyHelper.java:127)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyQueryNodeSource
.getNode(ResourcePropertyQueryNodeSource.java:110)
at
org
.globus
.mds
.webmds
.xmlSources.xmlDomNode.NodeXmlSource.getXmlSource(NodeXmlSource.java:
133)
at org.globus.mds.webmds.WebmdsServlet.getSource(WebmdsServlet.java:
396)
at org.globus.mds.webmds.WebmdsServlet.doGet(WebmdsServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.globus.common.ChainedIOException: Authentication
failed [Caused by: Failure unspecified at GSS-API level [Caused by:
Unknown CA]]
at org.globus.gsi.gssapi.net.GssSocket.startHandshake(GssSocket.java:
150)
at org.globus.gsi.gssapi.net.GssSocket.getInputStream(GssSocket.java:
177)
at
org
.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:
744)
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)
... 31 more
at org.globus.wsrf.utils.FaultHelper.toBaseFault(FaultHelper.java:308)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyHelper
.runResourcePropertyQuery(ResourcePropertyHelper.java:199)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyHelper
.queryResourceProperties(ResourcePropertyHelper.java:127)
at
org
.globus
.mds
.webmds
.xmlSources
.resourceProperties
.ResourcePropertyQueryNodeSource
.getNode(ResourcePropertyQueryNodeSource.java:110)
at
org
.globus
.mds
.webmds
.xmlSources.xmlDomNode.NodeXmlSource.getXmlSource(NodeXmlSource.java:
133)
at org.globus.mds.webmds.WebmdsServlet.getSource(WebmdsServlet.java:
396)
at org.globus.mds.webmds.WebmdsServlet.doGet(WebmdsServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------
Yoichi Takayama, PhD
Senior Research Fellow
RAMP Project
MELCOE (Macquarie E-Learning Centre of Excellence)
MACQUARIE UNIVERSITY
Phone: +61 (0)2 9850 9073
Fax: +61 (0)2 9850 6527
www.mq.edu.au
www.melcoe.mq.edu.au/projects/RAMP/
--------------------------------------------------------------------------
MACQUARIE UNIVERSITY: CRICOS Provider No 00002J
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient,
please delete it and notify the sender. Views expressed in this
message are those of the individual sender, and are not necessarily
the views of Macquarie E-Learning Centre Of Excellence (MELCOE) or
Macquarie University.