[Seasar-user:6115] S2RMIでHotDeployが出来ない

Masanobu Shimura [E-MAIL ADDRESS DELETED]
2007年 2月 11日 (日) 16:53:31 JST


志村です。
はまってしまったので、もし判れば教えてください。

GolfのHost連携で S2RMIを使ってTestしているのですが、CoolDeployはOKなのですが、
HotDeployでは、ContainerからのComponetをGetするところでErrorになってしまいます。

なおMainの中で、Errorになっている「golfTrxService」を getComponentするとその時点で
登録され、これはRMIでも getComponent 出来るのですが、次に必要なComponent
がまたgetComponent出来ません。

なにか調査方法はありますか?

1.CoolDeploy時のLOG

2007-02-11 16:38:47.039 [DEBUG] main
org.seasar.remoting.rmi.deployer.impl.RMIAdaptorDeployerImpl
    RMIレジストリをポート 1108 で作成しました。
2007-02-11 16:38:47.071 [DEBUG] main
org.seasar.remoting.rmi.deployer.impl.RMIAdaptorDeployerImpl
    RMIアダプタをサービスポート 1109 で公開しました。
2007-02-11 16:38:47.071 [DEBUG] main
org.seasar.remoting.rmi.deployer.impl.RMIAdaptorDeployerImpl
    公開したRMIアダプタをRMIレジストリにバインドしました。
2007-02-11 16:38:47.852 [DEBUG] main
org.seasar.framework.container.util.S2ContainerUtil
    クラス(examples.rmi.service.impl.HelloServiceImpl[helloService])のコンポーネント定義を登録します
2007-02-11 16:38:47.883 [DEBUG] main
org.seasar.framework.container.util.S2ContainerUtil
    クラス(org.seasar.golf.transaction.impl.GolfTrxServiceImpl[golfTrxService])のコンポーネント定義を登録します
2007-02-11 16:38:47.946 [DEBUG] main
org.seasar.framework.container.util.S2ContainerUtil
    クラス(org.seasar.golf.uexample.transaction.VdrTrxLogic[vdrTrxLogic])のコンポーネント定義を登録します
2007-02-11 16:38:48.008 [DEBUG] main
org.seasar.framework.container.util.S2ContainerUtil
    クラス(org.seasar.extension.component.impl.ComponentInvokerImpl[componentInvoker])のコンポーネント定義を登録します
2007-02-11 16:38:48.539 [DEBUG] main
org.seasar.framework.container.util.S2ContainerUtil
    クラス(org.seasar.golf.example.logic.impl.TestLogicImpl[testLogic])のコンポーネント定義を登録します
2007-02-11 16:38:48.789 [DEBUG] main
org.seasar.framework.container.util.S2ContainerUtil
    クラス(org.seasar.golf.uexample.logic.impl.LoginLogicImpl[loginLogic])のコンポーネント定義を登録します
2007-02-11 16:38:49.711 [INFO] main
org.seasar.framework.container.factory.SingletonS2ContainerFactory
    Running on [ENV]utt, [DEPLOY MODE]Cool Deploy
2007-02-11 16:39:41.024 [DEBUG] RMI TCP Connection(3)-192.168.0.2
org.seasar.framework.aop.interceptors.TraceInterceptor
    BEGIN org.seasar.golf.transaction.impl.GolfTrxServiceImpl#execute([E-MAIL ADDRESS DELETED])
2007-02-11 16:39:55.227 [DEBUG] RMI TCP Connection(3)-192.168.0.2
org.seasar.framework.aop.interceptors.TraceInterceptor
    END org.seasar.golf.transaction.impl.GolfTrxServiceImpl#execute([E-MAIL ADDRESS DELETED])
: [E-MAIL ADDRESS DELETED]

2. Hot Deploy時のError Call Stack

DEBUG 2007-02-11 16:35:50,680 [AWT-EventQueue-0] BEGIN
org.seasar.golf.transaction.GolfTrxService#execute([E-MAIL ADDRESS DELETED])
DEBUG 2007-02-11 16:35:55,071 [AWT-EventQueue-0] END
org.seasar.golf.transaction.GolfTrxService#execute([E-MAIL ADDRESS DELETED])
Throwable:org.seasar.framework.container.ComponentNotFoundRuntimeException:
[ESSR0046]コンポーネント(golfTrxService)が見つかりません
Exception in thread "AWT-EventQueue-0"
org.seasar.framework.container.ComponentNotFoundRuntimeException:
[ESSR0046]コンポーネント(golfTrxService)が見つかりません
        at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponentDef(S2ContainerBehavior.java:94)
        at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponent(S2ContainerBehavior.java:87)
        at org.seasar.framework.container.impl.S2ContainerBehavior.acquireFromGetComponent(S2ContainerBehavior.java:43)
        at org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:119)
        at org.seasar.extension.component.impl.ComponentInvokerImpl.invoke(ComponentInvokerImpl.java:43)
        at org.seasar.remoting.rmi.adaptor.impl.RMIAdaptorImpl$RMIFilterChainImpl.doFilter(RMIAdaptorImpl.java:162)
        at org.seasar.remoting.rmi.filter.impl.RMIHotdeployFilter.doFilter(RMIHotdeployFilter.java:34)
        at org.seasar.remoting.rmi.adaptor.impl.RMIAdaptorImpl$RMIFilterChainImpl.doFilter(RMIAdaptorImpl.java:160)
        at org.seasar.remoting.rmi.filter.impl.RMIExternalContextFilter.doFilter(RMIExternalContextFilter.java:44)
        at org.seasar.remoting.rmi.adaptor.impl.RMIAdaptorImpl$RMIFilterChainImpl.doFilter(RMIAdaptorImpl.java:160)
        at org.seasar.remoting.rmi.adaptor.impl.RMIAdaptorImpl.invoke(RMIAdaptorImpl.java:50)
        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:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
        at java.lang.Thread.run(Thread.java:595)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
        at org.seasar.remoting.rmi.adaptor.impl.RMIAdaptorImpl_Stub.invoke(Unknown
Source)
        at org.seasar.remoting.rmi.connector.impl.RMIConnectorImpl.invoke(RMIConnectorImpl.java:56)
        at org.seasar.remoting.common.interceptor.RemotingInterceptor.invoke(RemotingInterceptor.java:84)
        at org.seasar.golf.transaction.GolfTrxService$$EnhancedByS2AOP$$893969$$MethodInvocation$$execute0.proceed(MethodInvocationClassGenerator.java)
        at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:59)
        at org.seasar.golf.transaction.GolfTrxService$$EnhancedByS2AOP$$893969$$MethodInvocation$$execute0.proceed(MethodInvocationClassGenerator.java)
        at org.seasar.golf.transaction.GolfTrxService$$EnhancedByS2AOP$$893969.execute(GolfTrxService$$EnhancedByS2AOP$$893969.java)
        at org.seasar.golf.transaction.impl.TrxDispatcherRmilImpl.execute(TrxDispatcherRmilImpl.java:32)
        at org.seasar.golf.Session.trxExecute(Session.java:97)
        at org.seasar.golf.uexample.frame.VdrFrame.jB_EnterActionPerformed(VdrFrame.java:288)
        at org.seasar.golf.uexample.frame.VdrFrame.access$1(VdrFrame.java:285)
        at org.seasar.golf.uexample.frame.VdrFrame$2.actionPerformed(VdrFrame.java:90)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
        at java.awt.Component.processMouseEvent(Component.java:5501)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
        at java.awt.Component.processEvent(Component.java:5266)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3968)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1778)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

3.HotDeploy時のServer Console Log
2007-02-11 16:34:47.946 [DEBUG] main
org.seasar.framework.container.util.S2ContainerUtil
    クラス(org.seasar.extension.component.impl.ComponentInvokerImpl[componentInvoker])のコンポーネント定義を登録します
2007-02-11 16:34:50.805 [DEBUG] main
org.seasar.remoting.rmi.deployer.impl.RMIAdaptorDeployerImpl
    RMIレジストリをポート 1108 で作成しました。
2007-02-11 16:34:50.852 [DEBUG] main
org.seasar.remoting.rmi.deployer.impl.RMIAdaptorDeployerImpl
    RMIアダプタをサービスポート 1109 で公開しました。
2007-02-11 16:34:50.852 [DEBUG] main
org.seasar.remoting.rmi.deployer.impl.RMIAdaptorDeployerImpl
    公開したRMIアダプタをRMIレジストリにバインドしました。
2007-02-11 16:34:51.446 [INFO] main
org.seasar.framework.container.factory.SingletonS2ContainerFactory
    Running on [ENV]ut, [DEPLOY MODE]Hot Deploy



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