PQ72279: WARTOWEBAPP.SH DOES NOT ALLOW A WEBAPP PATH OR ROOTURI OF '/' INWEBSPHERE APPLICATION SERVER FOR Z/OS V4.01

 A fix may be available

Obtain the fix for this APAR



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=0
Problem 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 information
APAR number PQ72279
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 401
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-03-20
Closed date 2003-04-07
Last modified date 2003-05-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:
PQ72283

Modules/Macros
EJSSWARW          

Fix information
Fixed component name WEBSPHERE OS/39
Fixed component ID 5655A9800

Applicable component levels
R401 PSY UQ75776    UP03/04/15 P F304

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


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