Problem Note 10163: Org.apache.xml.dtm.DTMException: No more DTM Ids are available
Importing Metadata may result in the following error message:
Org.apache.xml.dtm.DTMException: No more DTM Ids are available.
This problem is the result of a problem in the version of Xalan or
Xalan-Java (version 2.2D11) that is installed with SAS Management
Console and SAS ETL Studio.
To correct the problem, create a <ETL(SASMC) Home>/lib/endorsed
directory and copy the following jars from Xalan 2.4.1 or later to this
directory.
xalan.jar
xml-apis.jar
xerceslmpl.jar
serializer.jar
For example, if you accepted the default install location on Windows,
you would copy the 4 jar files into the following directories:
C:\Program Files\SAS\SASManagementConsole\9.1\lib\endorsed
C:\Program Files\SAS\SASETLStudio\9.1\lib\endorsed
The jar files can be downloaded from one of the mirror locations
accessible from the following site:
http://www.apache.org/dyn/closer.cgi/xml/xalan-j
Note: This serializer jar may not be a separate entity in earlier
versions of Xalan. If it is not present in the download, then
it can be omitted from the endorsed directory.
Next, make a backup copy of the .INI files for SAS Management Console
and SAS ETL Studio. These files are named sasmc.ini and etlstudio.ini
respectively, and you will find them in the following location if you
accepted the default Windows install location:
C:\Program Files\SAS\SASManagementConsole\9.1\sasmc.ini
C:\Program Files\SAS\SASETLStudio\9.1\etlstudio.ini
After making the backup copies, modify the original .INI files by adding
these three arguments to the FRONT of the existing CommandLineArgs=:
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.
DocumentBuilderFactoryImpl
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.
SAXParserFactoryImpl
-Djava.endorsed.dirs="<ETL(SASMC) Home>\lib\endorsed"
Caution: Any path that contains blank or special characters should be
placed in quotes.
Note: These arguments are listed on separate lines for readability
purposes; however, they must be inserted into the single
CommandLineArgs= line. Separate each argument by a blank space.
After these changes have been saved, all invocations of SAS Management
Console and SAS ETL Studio will pick up the newer version of these jar
files and the problem should be resolved.
Operating System and Release Information
SAS System | SAS Management Console | Microsoft Windows NT Workstation | 9.1 TS1M0 | |
64-bit Enabled AIX | 9.1 TS1M0 | 9.2 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M0 | 9.2 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M0 | 9.2 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2007-11-21 12:42:11 |
Date Created: | 2003-05-30 11:49:16 |