OGSA-DAI WSRF-specific FAQ

The following questions and answers deal with frequent problems in installing or using OGSA-DAI WSRF. If you have any others that you feel should be added to this list then please let us know.

You may also want to consult the General FAQ and Known Problems pages.

General

Does OGSA-DAI WSRF Provide Registry Services?

OGSA-DAI WSRF does not provide any specific registry services. However, you could check out the registry services bundled with Globus Toolkit 4. The Globus Toolkit 4 documentation is available at http://www.globus.org/toolkit/docs/4.0.

Why do I get "Exception in thread "main" java.lang.IllegalAccessError: tried to access field..."?

If you get an error from your client or in your logs:

Exception in thread "main" java.lang.IllegalAccessError: tried to access
field org.apache.xpath.compiler.FunctionTable.m_functions from class
org.apache.xml.security.Init at ...

then this is probably due to an incompatibility between the version of the xalan.jar shipped with the Globus Toolkit and particular versions of Java.

To find out the version of Java you are using, run:

$ java -version

being sure to run the Java version referenced by your JAVA_HOME environment variable.

Some builds of Java version 1.4.2_05 are known to cause this error. Versions of the Java 1.4 up to and including 1.4.2_04 are known to be okay. It is believed that a change of a variable from public to private in Java versions since 1.4.2_05 has caused this problem.

To fix this problem, you can use a newer version of xalan.jar. See the information on the "Endorsed Standards Override Mechanism" explained in the Xalan FAQ: http://xml.apache.org/xalan-j/faq.html#faq-N100CC.

Essentially, you need to download the latest version of Xalan and copy the xalan.jar, xercesImpl.jar and xml-apis.jar files to a directory called JRE_HOME/lib/endorsed where JRE_HOME is the base directory of your JRE installation.

Alternatively, switching to an earlier Java version (1.4.2_05 and previous) should solve this problem.

For more information on this bug take a look at:

http://www-unix.globus.org/mail_archive/discuss/2004/07/msg00187.html and https://mail.internet2.edu/wws/arc/shibboleth-users/2004-07/msg00171.html

If using a Macintosh what has a built-in Java 1.4.2_09 release then you should use Xalan 2.6.0.

What do I need in my CLASSPATH to be able to run OGSA-DAI clients or compile OGSA-DAI client examples?

You need to have the following in your CLASSPATH:

Also ensure that the following file is located in a directory in the CLASSPATH: