Advisories for OGSA-DAI WSI 1.0

The following advisories have been issued:

Problems retrieving BLOBS

When trying to retrieve BLOBs from a relational database you get zero rows returned (or an error). The following error message will be logged:

Base64Provider has not been set up with a Base64 implementation

This will be fixed in the next release. In the meantime, if you have the source version of the release, you can correct this bug by changing the following two files and rebuilding OGSA-DAI:

  1. At the bottom of the initialise() method in uk/org/ogsadai/service/wsi/dataservice/impl/DataServiceImpl.java, change the following old code:
    ...
                LOG.error(msg);
            }
        }
        if (LOG.isDebugEnabled()) {
    
            LOG.debug(\"Exiting initialise.\");
        }
        mInitialised = true;
    }
    
    to the following new version:
    ...
                LOG.error(msg);
            }
        }
    
        // Create a PlatformConfigurator to use for Base64 encoding
        new uk.org.ogsadai.common.wsi.WSIPlatformConfigurator();
    
        if (LOG.isDebugEnabled()) {
    
            LOG.debug(\"Exiting initialise.\");
        }
        mInitialised = true;
    }
    
  2. In the contructor of uk/org/ogsadai/client/toolkit/wsi/WSIDataService.java , change the old code:
    public WSIDataService(String handle)
        throws IllegalArgumentException, MalformedURLException
    {
        mService = new WSIDataServiceStub(handle);
    }
    
    to a new version:
    public WSIDataService(String handle)
        throws IllegalArgumentException, MalformedURLException
    {
        mService = new WSIDataServiceStub(handle);
    
        // Set up the PlatformConfigurator
        new uk.org.ogsadai.common.wsi.WSIPlatformConfigurator();
    }
    

News