PQ54150: JASPER DOESN'T PARSE LINES ENDING IN BACKSLASH R: IN JSP DEBUG, BACKSLASH N ADDED TO SCRIPTLETS:WRITE TO FILES OUTSIDE WSAD TREE

APAR status
Closed as program error.

Error description
This APAR is being used to ship 3 JSP problems reported via
the following internal defects:
111947 -
Jasper does not correctly parse lines ending in only a
carriage return, '\r' (it handles \n and \r\n).
This causes some files that end in lines with carriage
returns (such as those files created on a Mac OS
to be parsed incorrectly.
The corresponding line numbers in the resulting generated
java file will not correlate correctly with the line
numbers of the JSP file, so reporting errors with
accurate line numbers will not be possible.
.
113000 -
In JSP debug mode \n char is being add to all scriptlet values.
.
112137 -
The default installation directory of WSAD is:
\Program Files\IBM\WebSphere Studio Application Developer
However, WAS writes files into
\Program_Files\IBM\WebSphere_Studio_Application_Developer
which is outside the WSAD install tree.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users who edit  *
*                 their files in the Mac environment and       *
*                 JSP's haivng sciplets that needs to be       *
*                 debugged and WSAD customers                  *
****************************************************************
* PROBLEM DESCRIPTION: * Jasper jsp compiler does not parse    *
*                        lines ending in '\r' when files       *
*                        created in Macintosh environment      *
*                      * In JSP debug mode causes "\n" char    *
*                        is being add to all Scriplets values  *
*                      * WebSphere writes to files outside     *
*                        WSAD install directory tree, for      *
*                        example if the default installation   *
*                        directory of  WSAD is:                *
*                        \Program Files\IBM\WebSphere          *
*                      Studio Application Developer            *
*                      However, WAS writes files into          *
*                      \Program_Files\IBM                      *
*                      \WebSphere_Studio_Application_Developer *
*                       which is outside the WSAD install tree *
*                                                              *
*                                                              *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
* Jasper jsp compiler does not parse lines ending in '\r' when
files created in Macintosh environment
* In JSP debug mode causes "\n" char is being add to all
Scriplets values
* WebSphere writes to files outside WSAD install directory
tree, for example if The default installation directory of
WSAD is: \Program Files\IBM\WebSphere Studio Application
Developer However, WAS writes files into
\Program_Files\IBM\WebSphere_Studio_Application_Developer
which is outside the WSAD install tree.
Problem conclusion
JSP's edited in Mac env are supported and compiled in WSAD
environment
Temporary fix Comments
APAR information
APAR number PQ54150
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-10-31
Closed date 2001-11-02
Last modified date 2001-11-02

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
JSP          

Fix information
Fixed component name WEBSPHERE AE AI
Fixed component ID 5630A2200

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ54150
IBM Group: Software Group
Modified date: Nov 2, 2001