This issue with compilation of JSPs with large amount of dynamic content is seen with this version of tomcat and only on solaris.
Hence the quick way out was to split the large JSPs that I was using into 2 smaller JSPs and using jsp include to make tomcat happy.
I believe this issue has been fixed with tomcat 4.1.x, so upgrading to 4.1.x should fix this issue. -
thanks to http://firstname.lastname@example.orgemail@example.com/msg90500.html