IBM Support

PM59405; 8.0.0.3: wsadmin invoked from ws_ant is missing Java endorsed dirs

Download


Abstract

An incorrect java.endorsed.dirs property set in the ws_ant process on iSeries can cause a ClassNotFoundException.

Download Description

PM59405 resolves the following problem:

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:
None

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?uid=swg27004980

Prerequisites

None

On
[{"DNLabel":"8.0.0.3-WS-WAS-i5OSPPC-IFPM59405","DNDate":"16 Apr 2012","DNLang":"US English","DNSize":"240816","DNPlat":{"label":"IBM i","code":"PF012"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=8.0.0.3-WS-WAS-i5OSPPC-IFPM59405&product=ibm%2FWebSphere%2FWebSphere+Application+Server&source=dbluesearch","DNURL_FTP":" ","DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administrative Scripting Tools (for example: wsadmin or ANT)","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"8.0.0.3","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24032543