Download
Abstract
An InvocationTargetException may be thrown while attempting to establish a connection to a service integration bus when global security is disabled.
Download Description
PK57558 resolves the following problem:
ERROR DESCRIPTION:
The following is a summary of the stack of the exception which was logged in SystemErr.log for an IBM® WebSphere® Application Server while attempting to invoke a service integration bus mediation:
SECJ5011E: Could not create default AuthorizationToken during
propagation login. The following exception occurred:
java.lang.NullPointerException
at com.ibm.ws.security.token.WSCredentialTokenMapper$9.
run(WSCredentialTokenMapper.java:979)
at com.ibm.ws.security.util.AccessController.
doPrivileged(AccessController.java:118)
at com.ibm.ws.security.token.WSCredentialTokenMapper....
at com.ibm.ws.sib.trm.client.
TrmSICoreConnectionFactoryImpl.
createConnection(TrmSICoreConnectionFactoryImpl.java:160)...
at com.ibm.ejs.j2c.FreePool.
createManagedConnectionWithMCWrapper(FreePool.java:1811)
at com.ibm.ejs.j2c.FreePool.
...
at com.ibm.ws.sib.ra.impl.SibRaConnectionFactory.
createConnection(SibRaConnectionFactory.java:266)
..
at com.ibm.ws.sib.mediation.runtime.
DestinationMediationParameters.getBifurcatedConsumerSession
(DestinationMediationParameters.java:374)
...
at com.ibm.ws.sib.mediation.runtime.
DestinationMediationInvocationInstance.invoke
(DestinationMediationInvocationInstance.java:252)
...
LOCAL FIX:
PROBLEM SUMMARY
USERS AFFECTED:
Users of the default messaging provider for IBM WebSphere Application Server V6.1, creating client JMS connections to a service integration bus with global security disabled.
PROBLEM DESCRIPTION:
An InvocationTargetException may be thrown while attempting to establish a connection to a service integration bus when global security is disabled.
A java.lang.reflect.InvocationTargetException may be thrown, caused by a java.lang.NullPointerException while attempting to establish a client JMS connection to a service integration bus.
The stack of the NullPointerException which causes the InvocationTargetException contains the following method:
com.ibm.ws.sib.security.auth.AuthUtilsImpl.getOpaqueAuthorizationToken()
The service integration bus was incorrectly invoking a method which should not be called in an environment where global security is disabled.
PROBLEM CONCLUSION:
This APAR resolves the issue.
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
swg24017925