Advisories for OGSA-DAI WSI 2.2

The following advisories have been issued:

DOM Object Parsing Patch for OGSA-DAI WSI 2.2

This is a patch to allow OGSA-DAI perform documents to be parsed correctly under certain Axis versions. It fixes a developer bug. For more details see below.

Please use the provided ANT build file to apply a patch to a binary or source OGSA-DAI WSI 2.2 distribution. On the command line run the following:

ant -f patch.xml -Dogsadai.root=/PATH/TO/YOUR/OGSA-DAI/DISTRIBUTION

Replace /PATH/TO/YOUR/OGSA-DAI/DISTRIBUTION by the correct path of your OGSA-DAI distribution (binary or source). If patching the binary distribution make sure that a java compiler is on the system path.

Download patch in tar.gz or zip format.

Details

This patch modifies the following class:

uk.org.ogsadai.sessions.impl.SessionStrategyFactoryImpl

Use of the method getElementsByTagName() in this class is a developer bug. Under certain Axis versions the perform document is not being parsed correctly.

In this patch, the line:

  NodeList nodes = root.getElementsByTagName("session");

is replaced with:

  NodeList nodes = root.getElementsByTagNameNS(
             OGSADAIConstants.TYPES_NAMESPACE,
             "session");

and an import statement is added:

 import uk.org.ogsadai.service.OGSADAIConstants;

Apache Axis 1.2.1 or 1.2RC cannot be found

Apache have now archived the downloads for Apache Axis 1.2.1 and 1.2RC3, so the locations specified in the distributed OGSA-DAI user documentation are no longer valid. Instead, please download Apache Axis from the Apache Archive at: http://archive.apache.org/dist/ws/axis/.

News