PQ72279: WARTOWEBAPP.SH DOES NOT ALLOW A WEBAPP PATH OR ROOTURI OF '/' INWEBSPHERE APPLICATION SERVER FOR Z/OS V4.01 | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description This apar will add the ability for customers to specify either a webapp path or a rooturi of '/' when running the wartowebapp.sh script against an application war file for WebSphere Application Server for z/OS v4.01.Local fix Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V4.0.1 for z/OS and OS/390 * **************************************************************** * PROBLEM DESCRIPTION: If a response of '/' is made to the WAR * * file to Web application conversion * * tool (wartowebapp.sh) prompt for * * 'WEBAPP_PATH' then an incorrect * * directory structure is generated for * * the Web application. * **************************************************************** * RECOMMENDATION: * **************************************************************** If the WAR file to Web application conversion tool, wartowebapp.sh, which is located in the install_root/AppServer/bin/ directory, receives a response of '/' to the prompt for the 'WEBAPP_PATH' parameter, then an incorrect directory structure is generated for the Web application. For example: (note the WEBAPP_PATH parameters that are in effect): parameters in effect: TEMP_DIRECTORY /user/tmp/w2w WAR_FILENAME /user/warfiles/myapp.war VIRTUAL_HOST_NAME default_host WEBAPP_NAME myapp WEBAPP_DESTINATION /user/test WEBAPP_AUTO_RELOAD_INTERVAL 0 WEBAPP_PATH / WAS_HOME /user/W401502/WebServerPlugIn LOCAL_FILE_ENCODING en_US.IBM-1047 INVOKER_SERVLET no .... created '/user/test/myapp/was.conf.updates' containing: # ## webapp: myapp # deployedwebapp.myapp.host=default_host deployedwebapp.myapp.rooturi=/ deployedwebapp.myapp.classpath=/user/test/myapp/servlets deployedwebapp.myapp.documentroot=/user/test/myapp/web deployedwebapp.myapp.autoreloadinterval=0 which is incorrect. The correct directory structure is: created '/user/test/was.conf.updates' containing: # ## webapp: myapp # deployedwebapp.myapp.host=default_host deployedwebapp.myapp.rooturi=/ deployedwebapp.myapp.classpath=/user/test/servlets deployedwebapp.myapp.documentroot=/user/test/web deployedwebapp.myapp.autoreloadinterval=0Problem conclusion Changes have been made to WebSphere Application Server such that the WAR file to Web application conversion tool, wartowebapp.sh, generates the correct directory structure for all values of WEBAPP_PATH. APAR PQ72279 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: PQ72283 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 #: PQ72279
IBM Group: Software Group
Modified date: May 3, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.