IBM Support

PK37272; 6.0.2.17: Application Deployment fails at v6.0.2.17

Download


Abstract

During the deployment of enhanced enterprise archives (EAR) from the administrative console, the deployment process may fail at the step "Map Resource references to Resources".

Download Description

PK37272 resolves the following problem:

ERROR DESCRIPTION:
Application Deployment fails at v6.0.2.17 for applications with resources because of a code change made in PK23320

After an upgrade to v6.0.2.17, pplication Deployment for an application containing resources will fail at step "Map resource reference to resources". (Examples of resources include Datasources, JMS Queues, etc...)

The SystemOut.log will show the following:


[1/8/07 15:23:31:385 EST] 00000031 ServletWrappe A SRVE0242I: [adminconsole] [/ibm/console]
[/com.ibm.ws.console.appmanagement/MapResRefToEJB.jsp]: Initialization successful.
[1/8/07 15:23:33:635 EST] 00000030 ResourceValid A validateResources
[1/8/07 15:23:33:651 EST] 00000030 RequestProces W org.apache.struts.action.RequestProcessor processException Unhandled Exception thrown: class java.lang.NullPointerException
[1/8/07 15:23:33:666 EST] 00000030 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet action. Exception thrown : javax.servlet.ServletException
.....
---- Begin backtrace for Nested Throwables
java.lang.NullPointerException
at
com.ibm.ws.management.configservice.WorkspaceHelper.getContext(WorkspaceHelper.java(Compiled Code))
at
com.ibm.websphere.management.application.client.ResourceValidationHelper._addObjectsToTbl(ResourceValidationHelper.java:2323)
at
com.ibm.websphere.management.application.client.ResourceValidationHelper._getResourceObjectsWithRefKeysForOneScope(ResourceValidationHelper.java:723)
at
com.ibm.websphere.management.application.client.ResourceValidationHelper._getResourceObjectsWithRefKeys(ResourceValidationHelper.java:637)
at
com.ibm.websphere.management.application.client.ResourceValidationHelper._taskResourceValidation(ResourceValidationHelper.java:2050)
at
com.ibm.websphere.management.application.client.ResourceValidationHelper._taskResourceValidation(ResourceValidationHelper.java:1963)
at
com.ibm.websphere.management.application.client.ResourceValidationHelper._taskResourceValidation(ResourceValidationHelper.java:859)
at
com.ibm.websphere.management.application.client.ResourceValidationHelper.taskResourceValidation(ResourceValidationHelper.java:334)
at
com.ibm.ws.console.appmanagement.ResourceValidationHelper.validateResources(ResourceValidationHelper.java:169)
at
com.ibm.ws.console.appmanagement.action.MapResRefToEJBAction.execute(MapResRefToEJBAction.java:261)


This problem only occurs when deploying with the Administrative Console.

LOCAL FIX:

PROBLEM SUMMARY

USERS AFFECTED:
Users of Websphere Application Server who try to deploy an enhanced enterprise archive (EAR) file on service pack 6.0.2.17.

PROBLEM DESCRIPTION:
During the deployment of enhanced enterprise archives (EAR) from the administrative console, the
deployment process may fail at the step "Map Resource references to Resources" with a NullPointerException.

RECOMMENDATION:
None



The NullpointerException was thrown on trying to get a context for the resource from Workspace. Since the resources being looked up are part of the application, there would be not a context so a null context is returned.

Here is the stack of the Exception from the SystemOut.log:
java.lang.NullPointerException
at com.ibm.ws.management.configservice.WorkspaceHelper.getContext(WorkspaceHelper.java(Compiled Code))
at com.ibm.websphere.management.application.client.ResourceValidationHelper._addObjectsToTbl
(ResourceValidationHelper.java:2323)

PROBLEM CONCLUSION:
Code changes were made so that for all application scoped resources, a predefined context is given.
The APAR has been integrated into service pack 6.0.2.18. Also, an interim fix is being made available for 6.0.2.17.

Please refer to the recommended updates page for delivery information
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

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":"9780","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK37272/readme.txt"}]
Off
[{"DNLabel":"PK37272_ifix","DNDate":"02-06-2007","DNLang":"US English","DNSize":"22207","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK37272/PK37272_ifix.pak","DNURL_FTP":null,"DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK37272/PK37272_ifix.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":"System Management\/Repository","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.0.2.17","Edition":"Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24014804