Return-Path: Mailing-List: contact taglibs-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list taglibs-dev@jakarta.apache.org Received: (qmail 91494 invoked from network); 17 Jan 2001 15:51:15 -0000 Received: from unknown (HELO hqmail.cysive.com) (38.204.0.2) by h31.sny.collab.net with SMTP; 17 Jan 2001 15:51:15 -0000 From: "Hui Lin" To: , Subject: RE: Verify Error!! Date: Wed, 17 Jan 2001 09:51:59 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, We had the same problem in our previous project where we used Struts 0.5 with WebLogic 5.1 (SP 6). WebLogic blame this problem to Sun's Java VM as it has a 64 KB limit on the size of a method in a Java class. As most JSP compiler put all the stuff of a page in the _jspService method, this problem is likely to occur if the page is two big. There are two solutions to this problem: 1. For Windows NT, you can put "-noverify" as part of the VM parameter to turn off the Java class verification. This doesn't work for Solaris Java VM, it causes core dump. Again, WebLogic blame this to Sun's Java implementation. 2. Use dynamic JSP "include" to separate a big page to multiple smaller ones. Most JSP compilers will generate a separate Servlet for each JSP page. Only the output of them will be merged together at runtime. This maybe the best solution for Servlet 2.3 and JSP 1.2. For Servlet 2.2 and JSP 1.1, there is an issue regarding the "flush" attribute of the "include" directive, it has to be set as "true". This can causes some troubles for the error handling Hopefully this helps Hui Lin -----Original Message----- From: Stefan H�kans [mailto:stefan.hakans@ibfs.com] Sent: Monday, January 15, 2001 7:54 AM To: taglibs-user@jakarta.apache.org; taglibs-dev@jakarta.apache.org Subject: Verify Error!! Hello. I get this verify error when using tags. Is there an easy answer to why this might occur ? It seems as if I am using too many tags on the page because I can remove a couple of them (anywhere on the page) and it works fine! java.lang.VerifyError: (class: html/_0002fhtml_0002fMyPage_0002ejspMyPage_jsp_12, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V) Illegal target of jump or branch at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.load(JspServlet.java: 113) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:151) Thanks in advance/ Stefan H�kans I n t e r b i z z S c a n d i n a v i a a b mailto:stefan.hakans@interbizz.se http://www.interbizz.com