PQ72295: PROBLEM SPECIFYING EQUAL SIGN AS INITARGS PARAMETER IN WAS.CONF. | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description A Web application's initargs are processed differently by WebSphere Application Server when configured by way of.webapp XML directives than when configured by way of was.conf properties. The customer is attempting to pass the following parameters: . webapp.ivp.servlet.myservlet.initargs=myarg1=value1=test1,myarg2 =value2 . Thus, the value of myarg1 should be 'value1=test1'. However, after initialization, the servlet sees only 'value1' when retrieving the value for myarg1. This would work correctly if these parameters were processed the same as when configured via .webapp XML directives.Local fix Configure the web application via XML directives instead of was.conf directivesProblem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V4.0.1 for z/OS and OS/390. * **************************************************************** * PROBLEM DESCRIPTION: If a Web application * * * * - Is configured using was.conf * * properties * * - Has initargs whose name value pairs * * specify a value which contains the * * character "=" * * * * the value of the initarg generated by * * WebSphere Application Server is * * different than the value generated * * when the same initargs are defined * * using .webapp tags. * **************************************************************** * RECOMMENDATION: * **************************************************************** If a Web application is configured using was.conf file properties similar to the following: webapp.<deployed-webapp>.servlet.<servlet-name>.initargs= myarg1=value1=test1,myarg2=val The initialization argument 'myarg1' has the value 'value' and the initialization argument 'myarg2' has the value 'val' But if the following .webapp file XML directives are used to configure the same initargs: <init-parameter> <name>myarg1</name> <value>value1=test1</value> </init-parameter> <init-parameter> <name>myarg2</name> <value>val</value> </init-parameter> The initialization argument 'myarg1' has the value 'value1=test1' and the initialization argument 'myarg2' has the value 'val'Problem conclusion Changes have been made to WebSphere Application Server such that initargs are processed to have the same value regardless of whether the source is was.conf file properties or .webapp XML directives. APAR PQ72295 is associated with SERVICE LEVEL W401503 of WebSphere Application Server version 4.0.1 for z/OS and OS/390.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: PQ72338 Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ72295
IBM Group: Software Group
Modified date: May 3, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.