Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 52001 invoked from network); 26 Jun 2010 02:24:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jun 2010 02:24:12 -0000 Received: (qmail 22974 invoked by uid 500); 26 Jun 2010 02:24:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 22910 invoked by uid 500); 26 Jun 2010 02:24:11 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 22902 invoked by uid 99); 26 Jun 2010 02:24:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 02:24:11 +0000 X-ASF-Spam-Status: No, hits=-1546.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jun 2010 02:24:10 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5Q2Nn6K025237 for ; Sat, 26 Jun 2010 02:23:50 GMT Message-ID: <32946227.72081277519029941.JavaMail.jira@thor> Date: Fri, 25 Jun 2010 22:23:49 -0400 (EDT) From: "Forrest Xia (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-5406) NoClassDefFoundError throws out when installing and starting daytrader-web-jdbc sample In-Reply-To: <27866248.71971277518911218.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Forrest Xia updated GERONIMO-5406: ---------------------------------- Attachment: daytrader-derby-datasource-3.0-M1-SNAPSHOT.car daytrader-web-jdbc-3.0-M1-SNAPSHOT.war The daytrader-web-jdbc sample to reproduce the problem. Thoug the NoClassDefFoundError exception throws out, the sample app seems work well. > NoClassDefFoundError throws out when installing and starting daytrader-web-jdbc sample > -------------------------------------------------------------------------------------- > > Key: GERONIMO-5406 > URL: https://issues.apache.org/jira/browse/GERONIMO-5406 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: sample apps > Affects Versions: 3.0-M1, 3.0 > Reporter: Forrest Xia > Attachments: daytrader-derby-datasource-3.0-M1-SNAPSHOT.car, daytrader-web-jdbc-3.0-M1-SNAPSHOT.war > > > Steps: > 1. install the derby datasource plugin via deploy install-plugin > 2. install the daytrader-web-jdbc war via the admin console or command line: deploy install thewarfile > 3. check the geronimo console output, you will see the exceptions like this: > 2010-06-26 09:56:06,303 ERROR [WebApplication] Unable to start web application for bundle daytrader-web-jdbc > java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1872) > at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758) > at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61) > at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674) > at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1547) > at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887) > at org.apache.geronimo.web25.deployment.merge.annotation.ServletSecurityAnnotationMergeHandler.postProcessWebXmlElement(ServletSecurityAnnotationMergeHandler.java:52) > at org.apache.geronimo.web25.deployment.merge.MergeHelper.processWebFragmentsAndAnnotations(MergeHelper.java:423) > at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:450) > at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:405) > at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:212) > at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:122) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet > at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814) > at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61) > at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > ... 23 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.