[cubby-user:137] Cubby2.0.0-beta1とSeasar2.4.35の組み合わせで例外
k.moriwaki
[E-MAIL ADDRESS DELETED]
2009年 4月 22日 (水) 16:28:35 JST
森脇と申します。
Cubby 2.0.0-beta1 と Seasar2.4.35 の組み合わせで動作確認をしていたところ
以下のような例外が発生しました。
スタックトレースを見た感じではCubbyではなくSeasar2の問題かもしれませんが、
判断がつかずこちらのメーリングリストに投稿させていただきました。
お手数ですがご確認願います。
- 環境
Java : jdk1.6.0_13
Mave2 : apache-maven-2.1.0
- 再現手順
1.「Maven2 によるプロジェクトの雛形作成」のとおりに作成
2.生成されたpom.xmlのseasar2関連のjarのバージョンを2.4.35に変更
3.「mvn tomcat:run」を実行
4.「http://localhost:8080/barapp/」を表示後、F5もしくはリンクをクリック
- 発生した例外
2009/04/22 16:08:43 org.apache.catalina.core.StandardWrapperValve invoke
致命的: Servlet.service() for servlet default threw exception
java.lang.ClassNotFoundException:
[Ljava.util.concurrent.ConcurrentHashMap$Segment;
at java.lang.ClassLoader.findClass(ClassLoader.java:359)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.seasar.framework.container.hotdeploy.HotdeployClassLoader.loadClass(HotdeployClassLoader.java:76)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.seasar.framework.container.hotdeploy.HotdeployHttpSession$1.resolveClass(HotdeployHttpSession.java:224)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
at java.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1265)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.seasar.framework.container.hotdeploy.HotdeployHttpSession$SerializedObjectHolder.getDeserializedObject(HotdeployHttpSession.java:229)
at org.seasar.framework.container.hotdeploy.HotdeployHttpSession.getAttribute(HotdeployHttpSession.java:91)
at org.seasar.cubby.internal.controller.impl.FlashMap.getAttribute(FlashMap.java:118)
at org.seasar.cubby.internal.controller.impl.FlashMap.buildMap(FlashMap.java:43)
at org.seasar.cubby.internal.controller.impl.FlashMap.<init>(FlashMap.java:37)
at org.seasar.cubby.internal.controller.impl.ActionProcessorImpl.process(ActionProcessorImpl.java:80)
at org.seasar.cubby.filter.CubbyFilter$CubbyFilterCommandFactory$1.execute(CubbyFilter.java:195)
at org.seasar.cubby.filter.CubbyFilter$CubbyFilterCommandFactory$1.execute(CubbyFilter.java:188)
at org.seasar.cubby.internal.controller.ThreadContext.runInContext(ThreadContext.java:182)
at org.seasar.cubby.internal.controller.impl.RequestProcessorImpl.process(RequestProcessorImpl.java:56)
at org.seasar.cubby.filter.CubbyFilter.doFilter(CubbyFilter.java:157)
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.doHotdeployFilter(HotdeployFilter.java:99)
at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:67)
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:177)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
以上、よろしくお願いいたします。
cubby-user メーリングリストの案内