Have you tried increasing the stack size by setting the environment variable CATALINA_OPTS. This is used to specify additional JVM settings for tomcat.
For example (on Windows): SET CATALINA_OPTS = %CATALINA_OPTS% -Xss1024k Note flag syntax may vary depending on trhe JVM you are using. > -----Original Message----- > From: Balasubramaniyan K [SMTP:[EMAIL PROTECTED]] > Sent: 09 July 2002 05:06 > To: [EMAIL PROTECTED] > Subject: FW: Tomcat crashes on too many custom tags in a jsp > > Hi, > > We are working with tomcat 4.0.1 We are using a struts like framework > having extensive tag library. We display all the data using custom tags. > > We have noticed that when the number of custom tags for a jsp page is > too large, our tomcat crashes. Our JSP has more than 125 <bean:message > key.../> tag apart from other custom tags. > > We hunted for the solution in mailing lists. As per a suggestion, we > should split the JSP into multiple JSPs and include the pieces by using > <jsp:include> directive. We have split the JSPs but the problem > persists. > > At times (But not always!) tomcat log file shows java.stackoverflow > error when server crashes. > > Can anybody suggest a work around? > > Thanks and Regards > > __________________________________________________________________________ > _ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html -- It is the strict policy of Truworths that its e-mail facility and all e-mail communications emanating therefrom, should be utilised for business purposes only and should conform to high professional and business standards. Truworths has stipulated certain regulations in terms whereof strict guidelines relating to the use and content of e-mail communications are laid down. The use of the Truworths e-mail facility is not permitted for the distribution of chain letters or offensive mail of any nature whatsoever. Truworths hereby distances itself from and accepts no liability in respect of the unauthorised use of its e-mail facility or the sending of e-mail communications for other than strictly business purposes. Truworths furthermore disclaims liability for any unauthorised instruction for which permission was not granted. Truworths Limited accepts no liability for any consequences arising from or as a result of reliance on this message unless it is in respect of bona fide Truworths business for which proper authorisation has been granted. Any recipient of an unacceptable communication, a chain letter or offensive material of any nature is requested to notify the Truworths e-mail administrator ([EMAIL PROTECTED]) immediately in order that appropriate action can be taken against the individual concerned. ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
