File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes WAS 4.0 Bug Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 4.0 Bug " Watch "WAS 4.0 Bug " New topic

WAS 4.0 Bug


Joined: Apr 27, 2002
Posts: 4
I am facing a typical problem with WAS 4.0.3
The JSP is not getting compiled as it is complaining that the code is too large for the try statement.
Is this a bug with WAS .
Please let me know if there is some fix pack for this
The error in detail is as follows :
C:\WebSphere\AppServer\temp\swagh\Default_Server\EP102\cs70_banking.war\common\transact\user\ code too large for try statement
try {
I tried JSPBatchCompiler.
Unable to compile class for JSP -- Branch too large errors
Anyone help please .

S.G.Wagh<br />Porting Developer
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
Ummm... That's not a bug, that's a well-known issue with Java compilers in general and JSP's in specific.
The only solution is to rewrite your JSP. Try splitting Java code out into separate classes and calling the new classes from your JSP's.
Everyy time I've seen this error it's from a JSP that's in desparate need of refactoring...

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: WAS 4.0 Bug
It's not a secret anymore!