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