You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <ji...@apache.org> on 2010/06/26 04:23:49 UTC
[jira] Updated: (GERONIMO-5406) NoClassDefFoundError throws out
when installing and starting daytrader-web-jdbc sample
[ 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.