DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9375>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9375 JSP class loading failure with derived tags Summary: JSP class loading failure with derived tags Product: Tomcat 4 Version: 4.0.3 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have created an own tag that is derived from the standard struts <html:form> tag. If i use this tag on a JSP page, the generated servlet class sometimes will not be loaded because of a: java.lang.VerifyError: (class: org/apache/jsp/flogon$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V) Incompatible object argument for method call at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:254) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.load (JspServlet.java:139) I tried to isolate the cause and after i added overrides for the used getXxx/setXxx functions of the tag (simply calling the superfunction), the verify passed and everything worked (so the classloader must have been always able to locate the used classes - in fact, if i used "simple" tags of the same packages, the problem never occured). Unfortunately the error does not appear always, so i am not sure that i found the cause or if it's some side effect workaround. What exactly is verified by which class loader on the load of a JSP servlet class? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>