IBM Support

PK57558; 6.1.0.13: InvocationTargetException when attempting to connect

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.

[{"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":"6624","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK57558/readme.txt"}]
On
[{"DNLabel":"6.1.0.13-WS-WAS-IFPK57558","DNDate":"12/16/2007","DNLang":"US English","DNSize":"13908","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=6.1.0.13-WS-WAS-IFPK57558&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK57558/6.1.0.13-WS-WAS-IFPK57558.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK57558/6.1.0.13-WS-WAS-IFPK57558.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":"Service Integration Technology","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.1;6.1.0.11;6.1.0.13;6.1.0.3;6.1.0.5;6.1.0.7;6.1.0.9","Edition":"Advanced;Base;Developer;Enterprise;Express;Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24017925