PQ83338: DEPLOYING WS_ANT SCRIPT ON WEBSPHERE 5.0.2 ANY <EXEC> TASKS SHOWGARBLED RESULTS.

 A fix is available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
Deploying ws_ant script on WebSphere 5.0.2 any <exec> tasks show
garbled results.
..
With WebSphere 5.0.2 the encoding for ANT was changed. In ws_ant
the folowing lines have been added:
..
-Dfile.encoding=ISO-8859-1
-Xnoargsconversion
..
As a result, deploying ws_ant script that use any <exec> task
will return garble information.
..
Example of an <exec> task which calls the EARExpander.sh -
..
<exec executable="EARExpander.${os.exec.ext}" failonerror="true"
  <arg line="-ear ${ear.in}" />
  <arg line="-operationDir ${working.ear}" />
  <arg line="-operation expand" />
</exec>
<echo>Done.</echo>
..
The result is -
..   [exec]
--+-(== +z@+        @a   G     = =aS-Ga+        a    a     a()
m m-      K   @    @a   a() m m-      `=
..
 =) a+-+
     [echo] Done.
..
If you remove the two new encoding lines then the result would
be:
..
     [exec] ADMA4006I: Expanding
/WebSphere390/UBS/Lifecycle/test/repository/456_1_Auction.ear
   into
/tmp/456_1_Auction-0
31224-1058/EAR
     [echo] Done.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V5.0 for z/OS                                *
****************************************************************
* PROBLEM DESCRIPTION: The Execute Ant Task output is garbled  *
*                      due to an ASCII / EBCDIC conversion.    *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Because Ant now runs in ASCII Mode, the Execute task outputs
garbage due to encoding problems.  The fix was to implement a
version of Execute that could accept an encoding.

The default exec task has now been changed to a WebSphere
specific ant task.  No change to the build.xml should be
required.

The task accepts one new paramter that is unique to the task,
over and above what the standard ant Execute Task accepts.
It is the outputEncoding parameter.

<exec outputEncoding="encoding" ie: ISO-8859-1 | Cp1047
 ...
  />

 On the z/OS and other platforms specifying the encoding
 is not required, the correct encoding will be selected, unless
 specified.
Problem conclusion
A new Exec Ant Task was built.

APAR PQ83338 is associated with SERVICE LEVEL W502003 of
WebSphere Application Server V5.0 for z/OS.
Temporary fix Comments
APAR information
APAR number PQ83338
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 500
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-01-16
Closed date 2004-02-26
Last modified date 2004-04-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
BBOUBINF          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSY UQ85594    UP04/03/02 P F403

  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


Current web document: swg1PQ83338.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ83338
IBM Group: Software Group
Modified date: Apr 3, 2004