Example .war does not work on JBoss 5
-------------------------------------
Key: STS-655
URL: http://www.stripesframework.org/jira/browse/STS-655
Project: Stripes
Issue Type: Bug
Affects Versions: Release 1.5
Environment: MS Window XP, JDK 1.6, Jboss 5.0.0GA
Reporter: Richard Tsang
Priority: Critical
-Dropping the stripes-example.war (from stripes-1.5.zip) into JBoss 5.0.0GA
(EG: jboss-5.0.0.GA\server\default\deploy)
-Start up server and open stripes-examples
(http://localhost:8080/stripes-examples)
-Click the quick start link to the simple calculator
-Enter two numbers and press the Add button
Got the following stacktrace:
net.sourceforge.stripes.exception.ActionBeanNotFoundException: Could not locate
an ActionBean that is bound to the URL
[/examples/quickstart/Calculator.action]. Commons reasons for this include
mis-matched URLs and forgetting to implement ActionBean in your class.
Registered ActionBeans are: {/controller/DefaultView.action=class
net.sourceforge.stripes.controller.DefaultViewActionBean}
net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:325)
net.sourceforge.stripes.controller.NameBasedActionResolver.getActionBean(NameBasedActionResolver.java:264)
net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:279)
net.sourceforge.stripes.controller.DispatcherHelper$1.intercept(DispatcherHelper.java:106)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:102)
net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:245)
net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:148)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development