list archives . users mailing list

Subject: RE: GDSF Configuration

Date view Thread view Subject view Author view Attachment view

From: Arijit Mukherjee (Arijit.Mukherjee@newcastle.ac.uk)
Date: Apr 04, 2003 16:51

Hi All

I don't know if anyone ever encountered this error - but it seems that if the GDS (OGSADAI Release 1 - haven't tried with the new release yet) is running on an Windows 2000 machine, and if the data set (results) contain greek characters (like alpha-beta in greek script - αβ ), the GDS fails with the following exception (after it fetches the result from the DB and shows it on the tomcat window):

11687 [Thread-46] ERROR uk.org.ogsadai.common.XMLUtilities - Exception in XMLUtilities:xmlFileToDOM
java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 sequence.
        at org.apache.xerces.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:693)
        at org.apache.xerces.impl.io.UTF8Reader.read(UTF8Reader.java:384)
        at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(XMLEntityManager.java:3265)
        at org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipChar(XMLEntityManager.java:2865)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1401)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
        at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253)
        at uk.org.ogsadai.common.XMLUtilities.xmlStreamToDOM(Unknown Source)
        at uk.org.ogsadai.common.XMLUtilities.xmlStringToDOM(Unknown Source)
        at uk.org.ogsadai.service.gds.GridDataServiceP2R1.performScript(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:385)
        at org.globus.ogsa.handlers.RPCURIProvider.invokeMethod(RPCURIProvider.java:290)

Is there some configuration setting on the Windows to fix this?

Regards
Arijit


Date view Thread view Subject view Author view Attachment view