Hmmm... this one is really bizarre.

I even tried compiling my own 1.5.4 Snapshot and the problem persists. 
Switched back to 1.5.3 and the problem went away. Back to 1.5.4 Snapshot 
and the problem again. And back and back again.

The exception and MyActionResolver are provided below.

At this point I can't test 1.5.4 Snapshot.

Ideas anyone????

--Nikolaos



Nikolaos Giannopoulos wrote:
> Hi,
>
> I finally had the time to switch to 1.5.4 Snapshot (once again) and give 
> it a spin after all the great updates / commits.
>
> However I get the following error early on in request processing.  Any 
> ideas anyone?
>
> I have done a Maven clean... an Eclipse clean... at least a 1/2 dozen 
> times each.  All my tests pass but I can't get glassfish going.  It all 
> worked fine on 1.5.3.
>
> Anyone have any clue.
>
> --Nikolaos
>
>
> [#|2010-10-09T21:16:44.219-0400|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=26;_ThreadName=http-thread-pool-8080-(2);|[21:16:44,215]
>  
> WARN  net.sourceforge.stripes.exception.DefaultExceptionHandler.warn  - 
> Unhandled exception caught by the Stripes default exception handler.
> java.lang.NoSuchMethodError: 
> net.sourceforge.stripes.controller.UrlBindingFactory.getInstance()Lnet/sourceforge/stripes/controller/UrlBindingFactory;
>     at 
> net.sourceforge.stripes.controller.NameBasedActionResolverHelper.getActionBeanType(NameBasedActionResolverHelper.java:186)
>     at 
> net.sourceforge.stripes.controller.NameBasedActionResolver.getActionBeanType(NameBasedActionResolver.java)
>     at 
> org.lightagents.ui.stripes.extensions.MyActionResolver.getActionBeanType(MyActionResolver.java:50001)
>     at 
> net.sourceforge.stripes.controller.DynamicMappingFilter$2.doFilter(DynamicMappingFilter.java:424)
>     at 
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
>     at 
> net.sourceforge.stripes.controller.DynamicMappingFilter.doFilter(DynamicMappingFilter.java:418)
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
>     at 
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
>     at 
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
>     at 
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
>     at 
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
>     at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
>     at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
>     at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
>     at 
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
>     at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
>     at 
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
>     at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
>     at 
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
>     at 
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>     at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>     at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>     at 
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>     at 
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>     at 
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>     at 
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>     at 
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>     at 
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>     at 
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>     at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>     at 
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>     at 
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>     at java.lang.Thread.run(Thread.java:637)
> |#]
>
>
>
> public class MyActionResolver extends NameBasedActionResolver {
>
>
>     @Override
>     protected String getBindingSuffix() {
>         return "";
>     }
>
>     @Override
>     protected String getUrlBinding(String actionBeanName) {
>         String result = super.getUrlBinding(actionBeanName);
>         // COMMENTED OUT:  As I don't think it necessary to force lower 
> case as all URLs in app are lower case
>         // result = convertToLowerCaseWithUnderscores(result);
>         return result;
>     }
> }
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Stripes-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>   


-- 
Nikolaos Giannopoulos
Director, BrightMinds Software Inc.
e. [email protected]
w. www.brightminds.org
t. 1.613.822.1700
c. 1.613.797.0036
f. 1.613.822.1915


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to