[
http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11803#action_11803
]
David Wade commented on STS-655:
--------------------------------
Its good to see some progress on this rather crucial issue. I wonder however
whether this issue should be combined with STS-666 which is basically the same
problem except on WebSphere 6.1.
To actually have an MVC framework totally not work out of the box on two of the
leading application servers is basically going to be terminal for this
framework which is really sad because you know it rocks!
I can't help but think there is something fundamentally wrong with the code and
that the incomplete patches are nothing more than sticking plaster. I think a
combined and complete solution for this and STS-666 is a must before all other
work.
I work for the same organization as the original raiser of this issue. We use
JBoss in development but deploy to WebSphere 6.1 for production so for us it is
double trouble. Our work around is to define our own ActionResolver that
allows us to programatically declare our action beans.
> 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
> Fix For: Release 1.6
>
> Attachments: server.zip, server.zip,
> stripes-1.5.x-any-url-matching-redux.patch, STS-655-any-url-scanning.patch,
> STS-655-jboss5x.patch
>
>
> -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
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development