-
1. Re: Struts with JBoss and Tomcat (VM crashes)
jwkaltz Oct 30, 2001 9:48 AM (in response to nsbisgod)Which Java under which OS are you using ?
PS your problem seems unrelated to JBoss, but if we can help we will of course. -
2. Re: Struts with JBoss and Tomcat (VM crashes)
nsbisgod Nov 1, 2001 4:21 PM (in response to nsbisgod)Well I am using win NT 4.0 and tried with VM 1.3.0 , 1.3.1, 1.3.1_01 and 1.4 beta . But I found out the problem is with 64K limit for the methods, one of my JSP service methods was bigger than the limit. So I broke up and it works. The only thing is that when I deploy it as a seperate war file on tomcat I get the 64K error message, but when the war file is part of an ear file, the VM crashes.
Also the same JSp works in Orion, so it is a Tomcat problem. I also tried the largefile option in Tomcat 4.0, which would have helped except I do not have any static HTML in the JSP.
Any thought on this would be appreciated very much.
Thanks -
3. Re: Struts with JBoss and Tomcat (VM crashes)
nick.penkov Apr 5, 2002 5:24 AM (in response to nsbisgod)Hi,
I met the same problem :-( The solution is in patching jasper compiler. The problem is when you have a lot of custom tags in your jsp - jasper creates servlets with a large amount of "try catch" blocks, witch brokes the virtual machine. I resolve the problem by fixing TagBegin, TagEnd and ParserListener in jasper - to create only one try catch block and a release() method in finally clause.
Cheers
Nick