[Seasar-user:3384] Re: flashgateway.GatewayException: [ESSR0007]

Shinpei Ohtani [E-MAIL ADDRESS DELETED]
2006年 3月 17日 (金) 10:17:31 JST


shotです。

すいません、外しているかもしれませんが、
web.xmlの設定で、load-on-startupが1の指定になっているのが
S2ServletとGatewayServletと二つなっていたりしませんか?
(gateway-config.xmlに指定したS2AdapterでS2Containerを取得しようとしているため)

あと、基礎情報をもう少し教えてください。
・S2のバージョン
・Flexのバージョン
・お使いのWebContainerはJRunでしょうか?
・JDKのバージョン


宜しくお願いします。

06/03/17 に Terumi Nakayama<[E-MAIL ADDRESS DELETED]> さんは書きました:
> 中山です。
>
> 早速のお返事ありがとうございます。
>
> S2に関する設定を抜粋しました。
> よろしくお願いします。
>
> ------------------------------------------------------------------
> ■ web.xml
> ------------------------------------------------------------------
>     <servlet>
>       <servlet-name>s2servlet</servlet-name>
>       <display-name>Seasar2 Servlet</display-name>
>       <servlet-class>org.seasar.framework.container.servlet.S2ContainerServlet</servlet-class>
>       <load-on-startup>1</load-on-startup>
>       <init-param>
>         <param-name>configPath</param-name>
>         <param-value>app.dicon</param-value>
>       </init-param>
>       <init-param>
>         <param-name>debug</param-name>
>         <param-value>false</param-value>
>       </init-param>
>     </servlet>
> ...
>
>     <servlet-mapping>
>       <servlet-name>s2servlet</servlet-name>
>       <url-pattern>/s2servlet</url-pattern>
>     </servlet-mapping>
> ------------------------------------------------------------------
> ■app.dicon
> ------------------------------------------------------------------
> <?xml version="1.0" encoding="Shift_JIS"?>
> <!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container//EN"
> "http://www.seasar.org/dtd/components.dtd">
>
> <components>
>     <include path="s2Dao/xxxx.dicon" />
> </components>
> ------------------------------------------------------------------
> ■xxxx.dicon
> ------------------------------------------------------------------
> <?xml version="1.0" encoding="Shift_JIS"?>
> <!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container//EN"
> "http://www.seasar.org/dtd/components.dtd">
>
> <components>
>
>     <include path="dao.dicon"/>
> ...
>     <component name="XXXXXX" class="s2Dao.XXXXXXImpl">
>         <aspect>interceptor</aspect>
>     </component>
> ...
>
> </components>
> ------------------------------------------------------------------
> ■ バージョン
> ------------------------------------------------------------------
> S2Flex:Ver 1.0.4
> S2Dao:Ver 1.0.31
> ------------------------------------------------------------------
>
>
> On Fri, 17 Mar 2006 00:52:47 +0900
> Shinpei Ohtani <[E-MAIL ADDRESS DELETED]> wrote:
>
> > shotです。
> >
> > web.xmlやdiconファイルなどの設定情報と、使用しているS2などのバージョン情報を
> > 出してもらえると何かしらわかるかもしれません。
> > #一瞬見た感じだと、S2の初期化処理が走ってない気がします。
> >
> > 06/03/17 に Terumi Nakayama<[E-MAIL ADDRESS DELETED]> さんは書きました:
> > > 中山と申します。
> > >
> > > S2Flex+S2Dao+MySQLで、FlexStoreのアプリケーションをお手本に、Webアプリ
> > > ケーションを作成しています。
> > >
> > > DBサーバからデータを取得する際、下記のエラーが発生し、解消できずに困って
> > > います。
> > >
> > > seasarを使い始めたばかりで、基本的なことが理解できていないのだとは思うの
> > > ですが、原因がわかりましたら教えて頂けますか?
> > >
> > > よろしくお願いします。
> > >
> > > ----------------------------------------------------------------------------
> > > Error: [ESSR0007]S2Containerはnullあるいは空であってはいけません
> > > flashgateway.GatewayException: [ESSR0007]S2Containerはnullあるいは空であってはいけません
> > >         at flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:152)
> > >         at flashgateway.filter.MessageSecurityFilter.invoke(MessageSecurityFilter.java:144)
> > >         at flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:101)
> > >         at flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102)
> > >         at flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28)
> > >         at flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57)
> > >         at flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39)
> > >         at flashgateway.filter.LogFilter.invoke(LogFilter.java:46)
> > >         at flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)
> > >         at flashgateway.filter.PacketSecurityFilter.invoke(PacketSecurityFilter.java:68)
> > >         at flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)
> > >         at flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:89)
> > >         at flashgateway.Gateway.invoke(Gateway.java:217)
> > >         at flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)
> > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
> > >         at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> > >         at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241)
> > >         at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> > >         at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
> > >         at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
> > >         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
> > >         at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
> > >         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> > > Info: Serializing response
> > >   (Message #0 targetURI=/1/onStatus, responseURI=null)
> > >     (Object #0)
> > >       level = "error"
> > >       code = "Server.Processing"
> > >       type = ""
> > >       rootcause = (Object #1)
> > >         level = "error"
> > >         code = null
> > >         type = ""
> > >         details = ""
> > >         description = "[ESSR0007]S2Containerはnullあるいは空であってはいけません"
> > >       details = ""
> > >       description = "[ESSR0007]S2Containerはnullあるいは空であってはいけません"
> > > ----------------------------------------------------------------------------
> > >
> > >
> > > _______________________________________________
> > > Seasar-user mailing list
> > > [E-MAIL ADDRESS DELETED]
> > > https://www.seasar.org/mailman/listinfo/seasar-user
> > >
> >
> >
> > --
> > =============================
> > Shinpei Ohtani
> > [E-MAIL ADDRESS DELETED]
> > =============================
> > _______________________________________________
> > Seasar-user mailing list
> > [E-MAIL ADDRESS DELETED]
> > https://www.seasar.org/mailman/listinfo/seasar-user
>
>
>
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://www.seasar.org/mailman/listinfo/seasar-user
>


--
=============================
Shinpei Ohtani
[E-MAIL ADDRESS DELETED]
=============================



Seasar-user メーリングリストの案内