IBM Support

PH45670:NullPointerException in WebSphere socket factory in 8.5.5.21 and 9.0.5.11

Download


Downloadable File

File link File size File description

Abstract

This problem can surface in 3 different areas.
1. NullPointerException in socket factory in 8.5.5.21 and 9.0.5.11.
2. The Profile management GUI tool and the migration GUI tool cannot connect with Deployment manager.
3. The ORB fails to initialize

Download Description

PH45760 resolves the following problem:

ERROR DESCRIPTION:
A java.lang.NullPointerException error occurs in the in WebSphere socket factory when no properties are provided for the connection.   This error was introduced and applies only to fix packs to 8.5.5.21 and 9.0.5.11.
1. You might observe the following call stack in FFDC:
java.lang.NullPointerException
at com.ibm.websphere.ssl.protocol.SSLSocketFactory.setSSLSocketProperties(SSLSocketFactory.java:692)
at com.ibm.websphere.ssl.protocol.SSLSocketFactory.createSocket(SSLSocketFactory.java:391)
at com.ibm.ws.ssl.config.WSSocket.connect(WSSocket.java:225)
at sun.net.NetworkClient.doConnect(NetworkClient.java:192)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:494)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:589)
at com.ibm.net.ssl.www2.protocol.https.c.(c.java:19)
at com.ibm.net.ssl.www2.protocol.https.c.a(c.java:30)
at com.ibm.net.ssl.www2.protocol.https.d.getNewHttpClient(d.java:78)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1174)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1068)
at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:73)
at com.ibm.net.ssl.www2.protocol.https.b.connect(b.java:90)
at com.ibm.ecm.configmgr.app.acm.util.RESTHttpsURLConnection.invoke(RESTHttpsURLConnection.java:275)
at com.ibm.ecm.configmgr.app.acm.applicationserver.WebsphereApplicationServer$TestActivity.testWork(WebsphereApplicationServer.java:411)
2. You might observe an error like the following from the manageprofiles command or the migration tool command:
dmgrHost: Unable to connect to the deployment manager on the specified hostname and port
3. You might observe ORB fails to initialize with the following trace:
14:35:03.380 com.ibm.ws.orbimpl.transport.WSTransport init(ORB) P=101302:O=0:CT ORBRas[default] SECURITY CONFIG ERROR:  Error loading security interceptor, security is disabled.  Check to ensure com.ibm.CORBA.ConfigURL is setup correctly and that SAS.JAR is in the classpath.
14:35:03.771 com.ibm.ws.orbimpl.transport.WSTransport init(ORB) P=101302:O=0:CT ORBRas[default] Invalid ConnectionInterceptor name. The invalid name is: com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterceptor
14:35:03.771 com.ibm.ws.orbimpl.transport.WSTransport init(ORB) P=101302:O=0:CT ORBRas[default]  org.omg.CORBA.INITIALIZE:   vmcid: 0x0  minor code: 0  completed: No
   at com.ibm.ISecurityUtilityImpl.ServiceInit.init(ServiceInit.java:237)
   at com.ibm.ISecurityUtilityImpl.ServiceInit.initialize(ServiceInit.java:119)
   at com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterceptor.init(SecurityConnectionInterceptor.java:352)
   at com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterceptor.init(SecurityConnectionInterceptor.java:330)
   at com.ibm.ws.orbimpl.transport.WSTransport.init(WSTransport.java:168)
   at com.ibm.rmi.corba.PluginRegistry.initPlugin(PluginRegistry.java:228)
   at com.ibm.rmi.corba.PluginRegistry.initPlugins(PluginRegistry.java:214)
   at com.ibm.rmi.corba.PluginRegistry.initPlugin(PluginRegistry.java:195)
   at com.ibm.rmi.corba.ORB.initializePrereqPlugins(ORB.java:652)
   at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1432)
   at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1356)
   at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1697)
   at org.omg.CORBA.ORB.init(ORB.java:473)

PROBLEM CONCLUSION:
The WebSphere runtime is updated to check whether properties exist before attempting to use them.
 
The fix for this APAR is targeted for inclusion in fix packs 8.5.5.22 and 9.0.5.12.

For more information, see 'Recommended Updates for WebSphere Application Server':
https://www.ibm.com/support/pages/node/715553

INCLUDED FIXES:

The installation package for the V90 version of this fix, 9.0.5.11-WS-WAS-IFPH45670_PH45739, includes fixes for APAR PH45739:
ERROR DESCRIPTION: The GUI version of the profile management tool and the migration tool fails to connect with the deployment manager even when all the parameters are correct. There is no helpful message on the screen. The issue occurs after upgrading to WebSphere 9.0.5.11.

USERS AFFECTED: All users of IBM WebSphere Application Server 9.0.5.11 who use the GUI of Profile Management tool and the Migration tool.
PROBLEM CONCLUSION: The GUI versions of the Profile Management tool and the Migration tool fail to use the correct SSLSocket factory information.
 

Since the Profile Management and Migration tools do not install on all platforms, APAR PH45739 does not apply to all platforms. If a fix for APAR PH45739 applies to the platform that you are updating, when 9.0.5.11-WS-WAS-IFPH45670_PH45739.zip is provided as a repository to the Installation Manager, you see a screen that is similar to the following:

image-20220427105926-1
 
  • If a fix for APAR PH45739 does not apply to the platform that you are updating, you see only the fix for APAR PH45670.
  • The fixes for APAR PH45739 require the fix for APAR PH45670. You must apply the fix for PH45670 at the same time as, or prior to applying the fix for PH45739.
 

Prerequisites

None

Installation Instructions

Review the readme.txt for detailed installation instructions.
Readme files
URL SIZE (Bytes)
V85 readme file 5667
V90 readme file 5561
PH45739 V90 readme file 3133

Download Package

Important note: WebSphere Application Server and Liberty fix access requires S&S Entitlement in 2021. Use properly registered IDs to download the fixes in this table.
Download files
DOWNLOAD RELEASE DATE SIZE (BYTES)
URL
8.5.5.21-WS-WAS-IFPH45670 26 April 2022 229752 FC
9.0.5.11-WS-WAS-IFPH45670_PH45739 26 April 2022 229678 FC
Note: FC stands for Fix Central. Review the What is Fix Central (FC)? FAQs for more details.

Problems Solved

PH45670, PH44602

On

Technical Support

Contact IBM Support at https://www.ibm.com/software/mysupport/s/ or 1-800-IBM-SERV (US only).

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF013","label":"Inspur K-UX"},{"code":"PF016","label":"Linux"},{"code":"PF017","label":"Mac OS"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF014","label":"iOS"},{"code":"PF035","label":"z\/OS"}],"Version":"8.5.5.21;9.0.5.11","Edition":"Base","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
18 May 2022

UID

ibm16575137