Introduction
WebMDS is a web-based interface for viewing formatted information about Grid resources. In the simplest instance, a web server administrator creates an HTML link that causes the WebMDS server to collect and format information that is presented to the user. Users can also use web forms to specify parameters that control what information is collected and how it's presented.
Table of Contents
T
- troubleshooting, Troubleshooting
U
- using WebMDS, Visualizing the Index Service with WebMDS
Once you've deployed the WebMDS servlet,
simply point your web browser at http://your-tomcat-host:your-tomcat-port/webmds and
click on the link labelled "A list of resources registered to the local default index service". For more information, see
Chapter 2, Graphical User Interface.
For more detailed information about changing the look of WebMDS and more advanced configuration, see the WebMDS Admin Guide.
Table of Contents
The WebMDS GUI is a web-based interface for browsing formatted XML data, such as the results of resource property queries on a grid service.
WebMDS can be accessed using any web browser. In a default WebMDS
installation, the URL http://hostname:port/webmds
corresponds to the top-level WebMDS web page. This page includes a link
to a WebMDS invocation that provides summary information (with links to
detailed information) about a locally-running MDS Index server. It also
contains a link to a page of sample web forms demonstrating other uses
of WebMDS.
The WebMDS servlet is located at http://your-tomcat-host:your-tomcat-port/webmds/webmds.
It takes the following arguments:
Table 2.1. Form arguments used by WebMDS
info | The name of the XML source that will be used to collect the raw XML data.
XML sources are defined by files in
$GLOBUS_LOCATION/lib/webmds/conf. This argument must be
specified. |
xsl | The name of the XML source that will provide the XSL transform.
XML sources are defined by files in
$GLOBUS_LOCATION/lib/webmds/conf.
If this argument is not specified, the WebMDS servlet will display
raw, untransformed XML. |
xmlSource.info_name.param.source_specific_options | Any additional options recognized by the info_name XML source (info_name must be the value of the info argument for this request). Source-specific options are discussed in the next section. |
xmlSource.xsl_name.param.source_specific_options | Any additional options recognized by the xsl_name XML source (xsl_name must be the value of the xsl argument for this request). Source-specific options are discussed in the next section. |
Table of Contents
The commonly-used WebMDS plugins do resource property queries; the Globus Toolkit
wsrf-query can be used to determine whether the
desired information is available directly from the resource.
For a list of common errors in GT, see Error Codes.
For debugging information, see Chapter 5, Debugging
Error handling in WebMDS is currently done by throwing exceptions, which are displayed by Tomcat as stack traces.
Table 3.1. WS MDS Trigger Service Error Messages
| Error Code | Definition | Possible Solutions | |||
|---|---|---|---|---|---|
java.net.ConnectException: Connection refused |
If you attempt to use WebMDS to collect information from a service that is not running, you will see a stack trace that begins with:
org.globus.mds.webmds.xmlSources.resourceProperties.ResourcePropertySourceException: ; nested exception is: java.net.ConnectException: Connection refused | Make sure the service you are trying to collect information from is running. | |||
faultString: org.globus.common.ChainedIOException: Authentication failed
[Caused by: Failure unspecified at GSS-API level [Caused by: Unknown CA]] | When WebMDS sends resource property queries to a secure WSRF service instance (such as an WS MDS Index Server), the WebMDS server must trust the certificate authority that issued the certificate used by the WSRF service instance. If the WebMDS server does not trust the CA used by the remote service, then WebMDS queries will produce a stack trace that includes this message. |
This can be solved by configuring the Tomcat server that hosts WebMDS to trust the appropriate CA, by either:
| |||
| WebMDS connections to secure Index Servers (or other secure WSRF servers) just hang | If the JVM used by Tomcat is configured to use a blocking random-number source, WebMDS connections to secure Index Servers (or other secure WSRF servers) can hang. This is the default configuration for many installations. |
One solution is to set the CATALINA_OPTS environment variable to ensure that Tomcat's JVM will use a non-blocking
random-number source:
export CATALINA_OPTS=-Djava.security.egd=/dev/urandom $CATALINA_HOME/bin/shutdown.sh $CATALINA_HOME/bin/startup.sh
|
G
- GUI interface, Graphical User Interface
- commands, Command and options
- customizing, Customizing the web forms used to access WebMDS
- limitations, Limitations
- options, Command and options
- overview, Overview of the purpose and functionality of the GUI
T
- troubleshooting, Troubleshooting
U
- using WebMDS, Visualizing the Index Service with WebMDS
![[Note]](/docbook-images/note.gif)