Download
Abstract
IBM® WebSphere® Application Server Enterprise Java Beans (EJB) Container should allow for the expansion of the CMP Connection Factor JNDI Name.
Download Description
PK41097 resolves the following problem:
ERROR DESCRIPTION:
When a use sets a variable as part of the Container Managed Persistence (CMP) Connection Factory Java Naming and Directory Interface (JNDI) name, there is a potential that the variable may not get expanded by Enterprise Java Beans (EJB) Container. If the variable is not expanded, the CMP Connection Factory will be bound by the wrong JNDI name, thus not allowing it to be looked up in naming as the user had expected.
LOCAL FIX:
PROBLEM SUMMARY
USERS AFFECTED:
Users of WebSphere Application Server version 6.1 who use variables in their CMP Connection Factory JNDI Name.
PROBLEM DESCRIPTION:
Application Server EJB Container should allow for the expansion of the CMP connection Factor JNDI Name.
RECOMMENDATION:
None
Application Server EJB Container should allow for the expansion of the CMP Connection Factor JNDI Name when a user's JNDI name contains a user defined Application Server variable. Current code does not expand variables in the CMP Connection Factory JNDI Name.
An application may want to have the ability to allows for variable expansion of their CMP Connection Factory JNDI Name. This APAR will provide a custom property to enable or disable this behaviour.
PROBLEM CONCLUSION:
Support for the expansion of variables used in a CMP Connection Factory JNDI Name has been added by the addition of a new EJB Container Custom Property: "com.ibm.websphere.ejbcontainer.expandCMPCFJNDIName", and can take the values of "true" or "false". This EJB Container property is set as a JVM System Property as follows:
1) In the Administrative Console, select Servers
2) Select Application Servers
3) Select the server you want to configure
4) Select Java and Process Management
5) Select Definition
6) Select Java Virtual Machine
7) Select Custom Properties.
8) Select the New box.
9) In the Name entry field, type com.ibm.websphere.ejbcontainer.expandCMPCFJNDIName. In the
Value entry field, type true or false.
If the value is "true" then the EJB Container will expand a variable when found in the CMP Connection Factory JNDI Name. If the value is "false", which is the default, then the EJB Container will not expand a variable. The default value of the System Property is equal to a setting of "false", which would be the behaviour prior to the APAR.
The fix for this APAR is currently targeted for inclusion in fixpack 6.1.0.9.
Please refer to the recommended updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Prerequisites
Please download the UpdateInstaller below to install this fix.
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www-306.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).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24015535