PQ72990: TRYING TO CREATE NEW NAME PAIR UNDER A SYSTEM PROPERTIES JVM TAB IN THE WEB CONSOLE | |||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description CUSTOMER IS RECIEVING A NULL POINTER EXCEPTION WHEN TRYING TO CREATE NEW NAME PAIR UNDER A SYSTEM JVM TAB IN THE AEs WEB CONSOLELocal fix NO WORK AROUNDProblem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server 4.0 Advanced * * Edition Single Server (AEs) users on all * * platforms. * **************************************************************** * PROBLEM DESCRIPTION: When using a configuration file that * * is not the default server-cfg.xml file * * users can not add JVM properties via * * the Thin Admin console. * **************************************************************** * RECOMMENDATION: * **************************************************************** When the server-cfg.xml file is removed or renamed from the <WebSphere_home>/config directory and the user starts the server by pointing to a different XML config file a NullPointerException is thrown when trying to add a JVM property in the Thin Admin. The error arises when the user clicks on the "New" button while adding a JVM system property. The following error is thrown: java.lang.NullPointerException at com.ibm.ejs.sm.web.server.EditJVMSystemPropertyAction.perform (EditJVMSystemPropertyAction.java:127) at org.apache.struts.action.ActionServlet.processActionInstance (ActionServlet.java:960)at org.apache.struts.action.ActionServlet.processActionServlet.java :869)at org.apache.struts.action.ActionServlet.doPost (ActionServlet.java:361) ...Problem conclusion The cause of this problem was that there were some session attributes that were not being set during the logon when the server was pointed to a different XML configuration file during startup. These attributes are set during a normal startup when there is a server-cfg.xml file in the <WebSphere_home>/config directory. The following session attributes were not being set during logon: resourcesFactory applicationFactory serverFactory securityFactoryTemporary fix This temporary fix will set the serverFactory session attribute when the user is not using the default server-cfg.xml file. Th is is the reason for the NullPointerException.Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
SRLS
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ72990
IBM Group: Software Group
Modified date: Apr 15, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.