Fixes are available
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
9.0.0.11: WebSphere Application Server traditional V9.0 Fix Pack 11
9.0.5.0: WebSphere Application Server traditional Version 9.0.5 Refresh Pack
9.0.5.1: WebSphere Application Server traditional Version 9.0.5 Fix Pack 1
9.0.5.2: WebSphere Application Server traditional Version 9.0.5 Fix Pack 2
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
9.0.5.3: WebSphere Application Server traditional Version 9.0.5 Fix Pack 3
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
WASPostUpgrade fails to deploy large and complex ears like Websphere Commerce ear and throw below error. [01/03/2019 23:48:50:605 PST] WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode. [01/03/2019 23:48:53:648 PST] WASX7017E: Exception received while running file "/opt/IBM/dmgrPreUpgradeOutput/install_WC_ProdMaster.ear.jy"; exception information: com.ibm.bsf.BSFException: exception from Jython: [01/03/2019 23:48:53:648 PST] Traceback (innermost last): [01/03/2019 23:48:53:648 PST] (no code object) at line 0 [01/03/2019 23:48:53:649 PST] File "<string>", line 2 [01/03/2019 23:48:53:649 PST] SyntaxError: string constant too large (more than 32767 characters) [01/03/2019 23:48:53:649 PST] [01/03/2019 23:48:53:666 PST] MIGR0340W: Application WC_ProdMaster.ear did not deploy. repeated strings such as target server list in the script install_WC_ProdMaster.ear.jy caused to reach jython string limit.
Local fix
To workaround it you need to edit the install_WC_ProdMaster.ear.jy file and, anywhere near the middle of the very long parameters string, insert the characters '+' which will break up the string literal into two literals that are concatenated together.
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Configuration Migration * **************************************************************** * PROBLEM DESCRIPTION: "SyntaxError: string constant too * * large" error when deploying * * applications in WASPostUpgrade * **************************************************************** * RECOMMENDATION: * **************************************************************** When deploying applications, either as part of WASPostUpgrade, as part of WASMigrationAppInstaller, or by manually running the application deployment Jython scripts under wsadmin, the deployment fails with the error "SyntaxError: string constant too large." The error is accurate: the options to the AdminApp.install() method are provided as one string literal that contains all the options for each module in the app. If there are many modules and/or many options specified for each module, the string literal will exceed the inherent character limit that Jython imposes (currently 32767 characters.)
Problem conclusion
Migration was adjusted to split the options literal into several separate literals and let Jython concatenate them together if they would otherwise be too long as one literal. The fix for this APAR is currently targeted for inclusion in fix packs 8.5.5.15 and 9.0.0.11. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
The scripts can be manually edited to insert a single quote, then a plus sign, then a single quote somewhere in the middle of the literal, which will turn the one string into two that are concatenated. Note that if one or both of the resulting two literals are still over the limit, they must be split up in the same way until all literals are less than the limit (currently 32767 characters.)
Comments
APAR Information
APAR number
PH06941
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-01-04
Closed date
2019-01-31
Last modified date
2019-01-31
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R850 PSY
UP
R900 PSY
UP
Document Information
Modified date:
27 April 2022