geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Chau <mcha...@gmail.com>
Subject Geronino 3 beta Servlet issue
Date Tue, 17 Apr 2012 21:52:54 GMT
I've created a SampleApi(interface), SampleServer(implementation) and SampleWeb(servlet) bundles.
 It's using Blueprint.  I ran it in the Apache Aries container and it was fine.  I tried to
run it in Geronimo and got 

2012-04-17 14:44:52,759 ERROR [WebApplication] Unable to start web application for bundle
sample-web
java.lang.NoClassDefFoundError: Could not fully load class: com.sample.client.web.SampleServlet
 due to:javax/naming/NamingException
 in classLoader: 
org.apache.geronimo.hook.equinox.GeronimoClassLoader@10993991
	at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:136)
	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.createWebAppClassFinder(AbstractWebModuleBuilder.java:663)
	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(AbstractWebModuleBuilder.java:698)
	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:483)
	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:218)
	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:125)
	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:680)

Any help is appreciated.

Michael
Mime
View raw message