Fixes are available
PM59405; 8.0.0.3: wsadmin invoked from ws_ant is missing Java endorsed dirs
8.0.0.4: WebSphere Application Server V8.0 Fix Pack 4
8.0.0.5: WebSphere Application Server V8.0 Fix Pack 5
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
APAR status
Closed as program error.
Error description
A java.lang.NoClassDefFoundError is thrown from a wsadmin task invoked from within ant, for example: java.lang.NoClassDefFoundError: javax.annotation.sql.DataSourceDefinition
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of the IBM WebSphere Application * * Server ws_ant program on iSeries operating * * systems * **************************************************************** * PROBLEM DESCRIPTION: An incorrect java.endorsed.dirs * * property set in the ws_ant process on * * iSeries can cause a * * ClassNotFoundException. * **************************************************************** * RECOMMENDATION: * **************************************************************** The java.endorsed.dirs property is not correctly set for the the ws_ant process. It is missing endorsed_apis. This may cause ClassNotFound exceptions to be thrown by ant tasks which use classes found in the endorsed_apis directory. For example, classes with a package name starting with 'javax.annotation'.
Problem conclusion
Fixed the ws_ant launcher so that the java.endorsed.dirs property is correct. The fix for this APAR is currently targeted for inclusion in fix pack 8.0.0.4. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM59405
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-03-01
Closed date
2012-04-13
Last modified date
2012-04-13
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R800 PSY
UP
Document Information
Modified date:
28 October 2021