DB2 - Problem description
Problem IC67132 | Status: Closed |
The files that contain the stored procedures are not world readable | |
product: | |
DB2 FOR LUW / DB2FORLUW / 980 - DB2 | |
Problem description: | |
During instance migration from V9.1 to V9.5, installed stored procedures may not have read permission for Other. Thus, when executing stored procedures you may get the following error: db2inst2 $ db2 "call out_language(?)" SQL4304N Java stored procedure or user-defined function "DB2INST2.OUT_LANGUAGE", specific name "JDBC_OUT_LANGUAGE" could not load Java class "testserver", reason code "1". SQLSTATE=42724 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * During instance migration from V9.1 to V9.5, * * installedstoredprocedures may not have read permission for * * Other.Thus, when executing stored procedures you may get * * thefollowingerror:db2inst2 $ db2 "call * * out_language(?)"SQL4304N Java stored procedure or * * user-defined function"DB2INST2.OUT_LANGUAGE", specific name * * "JDBC_OUT_LANGUAGE"couldnot load Javaclass "testserver", * * reason code "1". SQLSTATE=42724 * **************************************************************** * RECOMMENDATION: * * Upgrade DB2 UDB version 9.8 fix pack 3. * **************************************************************** | |
Local Fix: | |
Modify the permission on the following files manually after upgrading the instance: chmod -R 644 <Instance Home>/sqllib/function/jar/<user id>/* | |
available fix packs: | |
DB2 Version 9.8 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 UDB Version 9.8 Fix Pack 3. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 11.03.2010 10.01.2011 10.01.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.8.FP3 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.8.0.3 |