IBM Support

PK41097; 6.1.0.7: IBM WebSphere Application Server EJB Container

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.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"6909","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK41097/readme.txt"}]
Off
[{"DNLabel":"6.1.0.7-WS-WAS-IFPK41097","DNDate":"03-23-2007","DNLang":"US English","DNSize":"48014","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK41097/6.1.0.7-WS-WAS-IFPK41097.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK41097/6.1.0.7-WS-WAS-IFPK41097.pak"}]

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).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"EJB Container","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1.0.5;6.1.0.7","Edition":"Advanced;Base;Express;Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24015535