PK32670: J2CA0007W MESSAGES APPEAR WHEN USING JMS RESOURCES

 Fixes are available

6.1.0.15 WebSphere Application Server V6.1 Fix Pack 15 for i5/OS
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for AIX
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for HP-UX
6.1.0.13 WebSphere Application Server V6.1 Fix Pack 13 for AIX
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Linux
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for AIX
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for AIX platforms
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for HP-UX
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for HP-UX platforms
6.1.0.15 WebSphere Application Server V6.1 Fix Pack 15 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Solaris
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Windows
6.1.0.15: WebSphere Application Server V6.1 Fix Pack 15 for HP-UX
6.1.0.15: WebSphere Application Server V6.1 Fix Pack 15 for Windows
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for OS/400 platform
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for Windows
6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for i5/OS
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for i5/OS
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for HP-UX
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for Solaris
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for Windows platforms
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Linux
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for AIX platforms
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for HP-UX platforms
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Solaris
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for HP-UX platforms
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for HP-UX
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Windows
6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for AIX
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for Solaris
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Linux
6.1.0.15: WebSphere Application Server V6.1 Fix Pack 15 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Solaris
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Windows
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for AIX platforms
6.1.0.15: WebSphere Application Server V6.1 Fix Pack 15 for Solaris
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for AIX
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for AIX platforms
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for HP-UX platforms
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for Linux platforms
V6.0.2: Java SDK 1.4.2 SR11 Cumulative Fix for IBM WebSphere Application Server
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for Solaris
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for Windows platforms
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for Linux platforms
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Windows
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Solaris
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Windows
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Solaris
6.1.0.5: WebSphere Application Server V6.1.0 Fix Pack 5 for Solaris
6.1.0.7 WebSphere Application Server V6.1 Fix Pack 7 for AIX
6.1.0.5: WebSphere Application Server V6.1.0 Fix Pack 5 for AIX
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for Linux platforms
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for AIX
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for Solaris
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for Windows platforms
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Windows
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for HP-UX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Linux
6.1.0.5: WebSphere Application Server V6.1.0 Fix Pack 5 for Windows
6.1.0.5: WebSphere Application Server V6.1.0 Fix Pack 5 for HP-UX
6.0.2.19: WebSphere Application Server V6.0.2 Fix Pack 19 for AIX platforms
6.1.0.7: WebSphere Application Server V6.1 Fix Pack 7 for i5/OS
6.1.0.5: WebSphere Application Server V6.1.0 Fix Pack 5 for i5/OS
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for AIX
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Linux
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Windows
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Windows
6.1.0.9 WebSphere Application Server V6.1 Fix Pack 9 for AIX
6.1.0.9: WebSphere Application Server V6.1 Fix Pack 9 for i5/OS
6.1.0.7: WebSphere Application Server V6.1 Fix Pack 7 for Windows
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for HP-UX
6.0.2.19: WebSphere Application Server V6.0.2 Fix Pack 19 for HP-UX platforms
6.0.2.19: WebSphere Application Server V6.0.2 Fix Pack 19 for Windows platforms
6.1.0.9: WebSphere Application Server V6.1 Fix Pack 9 for HP-UX
6.0.2.19: WebSphere Application Server V6.0.2 Fix Pack 19 for OS/400 platform
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for AIX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for HP-UX
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for HP-UX platforms
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for Linux platforms
6.1.0.5: WebSphere Application Server V6.1.0 Fix Pack 5 for Linux
6.1.0.7: WebSphere Application Server V6.1 Fix Pack 7 for HP-UX
6.1.0.9: WebSphere Application Server V6.1 Fix Pack 9 for Linux
6.1.0.9: WebSphere Application Server V6.1 Fix Pack 9 for Solaris
6.1.0.9: WebSphere Application Server V6.1 Fix Pack 9 for Windows
6.1.0.11: WebSphere Application Server V6.1 Fix Pack 11 for HP-UX
6.1.0.11: WebSphere Application Server V6.1 Fix Pack 11 for Windows
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Linux
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for Windows platforms
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for Solaris
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for OS/400 platform
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Linux
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for Linux platforms
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for AIX platforms
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for Windows platforms
6.1.0.7: WebSphere Application Server V6.1 Fix Pack 7 for Solaris
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for Solaris platforms
6.1.0.7: WebSphere Application Server V6.1 Fix Pack 7 for Linux
6.0.2.19: WebSphere Application Server V6.0.2 Fix Pack 19 for Solaris
6.1.0.11: WebSphere Application Server V6.1 Fix Pack 11 for Solaris
6.1.0.11: WebSphere Application Server V6.1 Fix Pack 11 for Linux
6.1.0.11: WebSphere Application Server V6.1 Fix Pack 11 for i5/OS
6.1.0.11 WebSphere Application Server V6.1 Fix Pack 11 for AIX
6.0.2.19: WebSphere Application Server V6.0.2 Fix Pack 19 for Linux platforms
6.1.0.13: WebSphere Application Server V6.1 Fix Pack 13 for Linux
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for HP-UX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for AIX
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for HP-UX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for i5/OS
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Linux
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Solaris
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Windows
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
6.1.0.21 WebSphere Application Server V6.1 Fix Pack 21 for AIX
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for AIX platforms
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for HP-UX platforms
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for OS/400 platform
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for Linux platforms
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for Solaris
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for Windows platforms
V6.0.2: Java SDK 1.4.2 SR11 Cumulative Fix for IBM WebSphere Application Server
6.1.0.21 WebSphere Application Server V6.1 Fix Pack 21 for i5/OS
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Windows
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Solaris
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Linux
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for HP-UX



APAR status
Closed as program error.

Error description
After applying Cumulative Fix 12 for WebSphere Application
Server Version 5.1.1, when an application looks up a Java
Message Service (JMS) resource from the application server's
JNDI namespace, the following warning message appears in the
SystemOut.log file:
.
J2CA0007W: An exception occurred while invoking method
setsetMcfPassword on
com.ibm.ejs.jms.JMSManagedQueueSessionFactory used by resource
JMS$ITIM Queue Connection Factory$JMSManagedConnection@19698418
: com.ibm.ws.security.util.InvalidPasswordDecodingException
  at
com.ibm.ws.security.util.PasswordUtil.decode(PasswordUtil.java:8
4)
  at
com.ibm.ejs.jms.JMSManagedSessionFactory.setMcfPassword(JMSManag
edSessionFactory.java:856)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.java:39)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
AccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at
com.ibm.ejs.j2c.J2CXAResourceFactory.createMCFEntry(J2CXAResourc
eFactory.java:736)
  at
com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(Conn
ectionFactoryBuilderImpl.java:1429)
  at
com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getConnectionFactor
y(ConnectionFactoryBuilderImpl.java:581)
  at
com.ibm.ejs.jms.JMSManagedConnection.getConnection(JMSManagedCon
nection.java:400)
  at
com.ibm.ejs.j2c.MCWrapper.getConnection(MCWrapper.java:1601)
  at
com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionM
anager.java:477)
  at
com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConne
ction(JMSQueueConnectionFactoryHandle.java:124)
  at
com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBList
enerImpl.java:327)
  at
com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListen
erImpl.java:611)
  at
com.ibm.ejs.jms.listener.MDBListenerImpl.start(MDBListenerImpl.j
ava:535)
  at
com.ibm.ejs.jms.listener.MDBListenerManagerImpl.start(MDBListene
rManagerImpl.java:482)
  at
com.ibm.ejs.jms.listener.MsgListenerPort.add(MsgListenerPort.jav
a:152)
  at
com.ibm.ejs.jms.listener.MDBListenerManagerImpl.startApplication
MDBs(MDBListenerManagerImpl.java:715)
  at
com.ibm.ejs.jms.listener.MDBListenerManagerImpl.stateChanged(MDB
ListenerManagerImpl.java:686)
  at
com.ibm.ws.runtime.component.MessageListenerImpl.stateChanged(Me
ssageListenerImpl.java:151)
  at
com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(App
licationMgrImpl.java:487)
  at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeploye
dObjectEvent(DeployedApplicationImpl.java:791)
  at
com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(De
ployedApplicationImpl.java:157)
  at
com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(De
ployedApplicationImpl.java:153)
  at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(Deplo
yedApplicationImpl.java:589)
  at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication
(ApplicationMgrImpl.java:311)
  at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(Applicatio
nMgrImpl.java:268)
  at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(Conta
inerImpl.java:536)
  at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.j
ava:413)
  at
com.ibm.ws.runtime.component.ApplicationServerImpl.start(Applica
tionServerImpl.java:152)
  at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(Conta
inerImpl.java:536)
  at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.j
ava:413)
  at
com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:24
6)
  at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
  at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.java:39)
  at
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
AccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
  at java.lang.Thread.run(Thread.java:534)
Local fix
N/A.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server Version         *
*                 5.1.1.12 users of JMS                        *
****************************************************************
* PROBLEM DESCRIPTION: J2CA0007W messages appear when using    *
*                      JMS resources with WebSphere            *
*                      Application Server Version 5.1.1.12     *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
After applying Cumulative Fix 12 for WebSphere Application
Server Version 5.1.1.12, when an application looks up a Java
Message Service (JMS) resource from the application server's
JNDI namespace, the following warning message appears in the
SystemOut.log file:

J2CA0007W: An exception occurred while invoking method
setsetMcfPassword on <object> used by resource <resource> :
com.ibm.ws.security.util.InvalidPasswordDecodingException
  at com.ibm.ws.security.util.PasswordUtil.
    decode(PasswordUtil.java:84)
  at com.ibm.ejs.jms.JMSManagedSessionFactory.
    setMcfPassword(JMSManagedSessionFactory.java:856)
  :    :    :    :    :    :    :    :    :    :    :

The J2CA0007W message is generated because an attempt is
made to decode a password that has already been decoded.
Prior to WebSphere Application Server Version 5.1.1.12, this
was not a problem - however, due to some behavioural changes
that were made to these versions of the application server,
attempting to decode a password that has already been decoded
results in an InvalidPasswordDecodingException being
generated.
Problem conclusion
A utility method exists which will decode passwords, and will
not throw an exception if the password passed into the method
has already been decoded. The
JMSManagedSessionFactory.setMcfPassword() method will be
changed to call this method.

The fix for this APAR is currently targeted for inclusion in
Cumulative Fix 14 for WebSphere Application Server Version
5.1.1. And fixpacks 6.0.2.19 and 6.1.0.5 for Version 6.
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 PK32670
Reported component name WAS NETWRK DEPL
Reported component ID 5630A3601
Reported release 10S
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2006-10-09
Closed date 2006-10-20
Last modified date 2006-10-20

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:
PK33452 PK47054

Modules/Macros
MSGING          

Publications Referenced

Fix information
Fixed component name WAS NETWRK DEPL
Fixed component ID 5630A3601

Applicable component levels
R003 PSN    UP
R00A PSN    UP
R00H PSN    UP
R00I PSN    UP
R00P PSN    UP
R00S PSN    UP
R00W PSN    UP
R103 PSY    UP
R10A PSY    UP
R10H PSY    UP
R10I PSY    UP
R10P PSY    UP
R10S PSY    UP
R10W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 10S
Software edition:
Reference #: PK32670
IBM Group: Software Group
Modified date: Oct 20, 2006