geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tina Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5899) osgi sample "showmethemoney" 's running failure
Date Thu, 05 May 2011 06:47:03 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029183#comment-13029183
] 

Tina Li commented on GERONIMO-5899:
-----------------------------------

Tried on the build:2011.05.04-22:24:47.468+0800-3.0-SNAPSHOT

> osgi sample "showmethemoney" 's running failure
> -----------------------------------------------
>
>                 Key: GERONIMO-5899
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5899
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi-bundles, sample apps
>    Affects Versions: 3.0
>         Environment: Windows XP SP3 x86
> sun jdk 1.6.0_23
> Geronimo build on 20110411 (both in full profile and web profile)
>            Reporter: Jacky Liu
>            Assignee: Rex Wang
>            Priority: Minor
>              Labels: osgi, samples
>             Fix For: 3.0
>
>
> Take Geronimo web profile as an example:
> 1. input cd ..\geronimo-tomcat7-javaee6-web-3.0-SNAPSHOT\bin in cmd and geronimo run
> 2. press Enter
> 3. input install file:/D:/../samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/target/showmethemoney-api-3.0-SNAPSHOT.jar
> 4. input start ____(showmethemoney-api's Bundle ID)
> 5. input install file:/D:/../samples/trunk/samples/osgi/showmethemoney/showmethemoney-ds/target/showmethemoney-ds-3.0-SNAPSHOT.jar
> 6. input start ____(showmethemoney-ds's Bundle ID)
> 7. input install file:/D:/../samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/target/showmethemoney-server-3.0-SNAPSHOT.jar
> 8. input start ____(showmethemoney-server's Bundle ID)
> 9. input cd ..\geronimo-tomcat7-javaee6-web-3.0-SNAPSHOT\bin in cmd
> 10. input deploy deploy D:\..\samples\trunk\samples\osgi\showmethemoney\showmethemoney-web\target\showmethemoney-web-3.0-SNAPSHOT.war
> 11. go to http://localhost:8080/showmoney/ and click Show Me the Money
> ERROR OCCURS!!
> geronimo> 2011-04-12 10:33:54,750 ERROR [[ShowMoneyServlet]] Servlet.service() for
servlet [ShowMoneyServlet] in context with path [/showmoney] threw exception [Servlet execution
threw an exception] with root cause
> java.lang.ClassNotFoundException: org.apache.geronimo.samples.osgi.showmethemoney.api.ShowMoneyService
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at org.apache.geronimo.samples.osgi.showmethemoney.web.ShowMoneyServlet.doGet(ShowMoneyServlet.java:67)
>         at org.apache.geronimo.samples.osgi.showmethemoney.web.ShowMoneyServlet.doPost(ShowMoneyServlet.java:115)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:696)
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
>         at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
>         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373)
>         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:662)
> This error occurs both in Geronimo web profile and full profile.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message