Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 46469 invoked from network); 22 Jul 2008 15:45:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 15:45:21 -0000 Received: (qmail 40264 invoked by uid 500); 22 Jul 2008 15:45:17 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 40206 invoked by uid 500); 22 Jul 2008 15:45:17 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 40195 invoked by uid 500); 22 Jul 2008 15:45:16 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 40190 invoked by uid 99); 22 Jul 2008 15:45:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 08:45:16 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 15:44:31 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 9F644234C173; Tue, 22 Jul 2008 08:44:56 -0700 (PDT) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 45459] New: Startup Listener error message unhelpful X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 6 X-Bugzilla-Component: Jasper X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: futung.cheng@yahoo.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tomcat-dev@jakarta.apache.org X-Bugzilla-Target-Milestone: default X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 22 Jul 2008 08:44:56 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=45459 Summary: Startup Listener error message unhelpful Product: Tomcat 6 Version: 6.0.16 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: futung.cheng@yahoo.com I get the following error on startup: java.lang.IllegalAccessException: Class org.apache.catalina.core.StandardContext can not access a member of class com.mycom.Myclass with modifiers "private" This occurs when the listener class does not have a public zero argument constructor. Could we improve the error message to make it a little easier to understand? It's too bad that the sun docs don't even mention the requirement: http://java.sun.com/javaee/5/docs/api/index.html?javax/servlet/http/HttpSessionListener.html >>> web.xml: com.mycom.Myclass where Myclass is located inside my war in WEB-INF/class/com/mycom -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org