SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 14351: Calling an external function in MDX throws a java exception

DetailsHotfixAboutRate It
If you attempt to use an external function in your MDX query, you may
receive the following error in your SAS OLAP Server log:

   20041109:10.07.59.21: 00001827: 21:sasadm: IOM RETURN -1=
   {compRef:6514320}->MDDataSet::Init() : text=<?xml version="1.0" ?
   ><Exceptions><Exception><SASMessage severity="Error">Access
   violation</SASMessage></Exception><Exception><SASMessage
   severity="Error">An OLAP server thread has
   failed</SASMessage></Exception></Exceptions>

Or, if you query the cube using SQL Passthru, you may receive errors
such as:

   ERROR: An OLAP server thread has failed
   ERROR: Access violation
   11 EXECUTE(DROP LIBRARY 'Hello') by olap;
   ERROR: A run-time execution error occurred in the MDX query
   ERROR: A run-time execution error occurred in the MDX query
   ERROR: Function library "Hello" is not loaded; therefore, it cannot
          be dropped
   ERROR: The immediate MDX execution failed


A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:

http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#014351

For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:

http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#014351


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS OLAP ServerTru64 UNIX9.1 TS1M09.1 TS1M3 SP2
64-bit Enabled AIX9.1 TS1M09.1 TS1M3 SP2
OpenVMS Alpha9.1 TS1M09.1 TS1M3 SP2
64-bit Enabled HP-UX9.1 TS1M09.1 TS1M3 SP2
HP-UX IPF9.1 TS1M09.1 TS1M3 SP2
Linux9.1 TS1M09.1 TS1M3 SP2
z/OS9.1 TS1M09.1 TS1M3 SP2
64-bit Enabled Solaris9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows 2000 Advanced Server9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows 2000 Datacenter Server9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows 2000 Professional9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows 2000 Server9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M09.1 TS1M3 SP2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows NT Workstation9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows XP Professional9.1 TS1M09.1 TS1M3 SP2
* 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.