PQ57269: JSP'S FAIL TO COMPILE WITH " BRANCH TOO LARGE " EXCEPTION | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Error while compiling large JSP's. The JSP has many includes and loads many tag libraries. The error thrown is... " Branch Too Large " exception. The generated method is exceeding the JDK method limit of 65K --------------------------------------------------------------- This APAR is equivalent to WebSphere distributed APAR PQ56243Local fix Problem summary **************************************************************** * USERS AFFECTED: All WebSphere Application Server Version * * 4.01 for z/OS and OS/390 developers using * * JSPs and Custom Tags may be affected. * **************************************************************** * PROBLEM DESCRIPTION: During compilation of large JSP * * files, a BranchTooLargeException is * * thrown by the java compiler. * **************************************************************** * RECOMMENDATION: * **************************************************************** A JSP page containing a large number of custom tags and static includes is generating source code greater than the internal java compiler can handle. During compilation of the generated java file, the compiler is throwing a BranchTooLargeException.Problem conclusion WebSphere's implementation of JSP was not taking into account the JDK 1.3 increase from 16K to 32K branches for internal compilation of java files. The new JVM system property, com.sun.tools.javac.main.largebranch=true , can be added to the jvm.properties file to leverage the newer 32K branch mechanism for JSPs that throw BranchTooLarge exceptions. This code change corresponds to APAR PQ56243 for the WebSphere for Distributed Platforms product and, hence, it will be superseded by the next WebSphere for z/OS PTF that provides service updates to V4.0.1 that were previously included in a WebSphere for Distributed Platforms FixPack. The following information will be added to the Appendix A of "WebSphere Application Server V4.0.1 for z/OS and OS/390: Assembling J2EE Applications": 1. The new property, com.sun.tools.javac.main.largebranch=, will be added to Table 20, along with an indication that it applies to a J2EE server instance. 2. The following description of this new property will be added to the section "Properties Descriptions": com.sun.tools.javac.main.largebranch= Enables JSPs to have up to 32K branches for internal compilation of Java files. Example: com.sun.tools.javac.main.largebranch=true For the latest version of this publication, see the product library page at URL: http://www.ibm.com/software/webservers/ appserv/zos_os390/library.html This change affects the following COMPID: 5655A9800 R401 for z/OS and OS/390. The code changes are stored in CMVC under defect PQ57269. 401Y EJSJWCWC * Cross Reference between External and Internal NamesTemporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: UQ65665 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 #: PQ57269
IBM Group: Software Group
Modified date: May 2, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.