[CUBBY-263] アプリケーション起動中、パスが重複しているという例外が発生することがある Created: 21/Oct/09  Updated: 06/Nov/09  Resolved: 03/Nov/09

Status: Closed
Project: Cubby
Component/s: None
Affects Version/s: 2.0.2
Fix Version/s: 2.0.3

Type: Bug Priority: Major
Reporter: baba Assignee: baba
Resolution: Fixed Votes: 0
Labels: None


 Description   

SEVERE: Servlet.service() for servlet default threw exception
org.seasar.cubby.routing.RoutingException: Duplicate action uri regex [regex=/xxx/xxxxxxxx/([a-zA-Z0-9])$,actionMethod=public org.seasar.cubby.action.ActionResult xxxxx.action.xxxx.XxxAction.xxxx(),uriParameterNames=[key],requestMethod=GET,onSubmit=null,priority=2147483647,auto=],[regex=/xxx/xxxxxxxx/([a-zA-Z0-9])$,actionMethod=public org.seasar.cubby.action.ActionResult xxxxx.action.xxxx.XxxAction.xxxx(),uriParameterNames=[key],requestMethod=GET,onSubmit=null,priority=2147483647,auto=] please check your class name, method nam
e and @Path annotation
at org.seasar.cubby.routing.impl.PathResolverImpl.add(PathResolverImpl.java:179)
at org.seasar.cubby.routing.impl.PathResolverImpl.add(PathResolverImpl.java:96)
at org.seasar.cubby.routing.impl.PathResolverImpl.addAll(PathResolverImpl.java:108)
at org.seasar.cubby.plugins.s2.spi.S2PathResolverProvider.initialize(S2PathResolverProvider.java:103)
at org.seasar.cubby.plugins.s2.spi.S2PathResolverProvider.getPathResolver(S2PathResolverProvider.java:154)
at org.seasar.cubby.internal.routing.impl.RouterImpl.routing(RouterImpl.java:88)
at org.seasar.cubby.filter.CubbyFilter.doFilter(CubbyFilter.java:142)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at xxxxx.servlet.filter.xxxxxFilter.doFilter(xxxxxFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at xxxxx.servlet.filter.AutoLoginFilter.doFilter(AutoLoginFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:71)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.seasar.cubby.filter.EncodingFilter.doFilter(EncodingFilter.java:175)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)



 Comments   
Comment by baba [ 03/Nov/09 ]

S2PathResolverProvider の initialize メソッドに synchronized ブロックを追加しました。

Generated at Sun Sep 20 15:38:46 JST 2020 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.