Login  Register

[OFBiz] Users - RemoteDispatcher not bound to : entity-sync-rmi (RMIDispatcher)

Posted by Andrew Sykes on Nov 17, 2005; 11:43pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-jcentric-com-where-ahve-you-gone-where-is-my-website-tp136511p136521.html

Hi,

Getting RMI up has been like wading through treacle, I think I'll have
to put together a howto if I ever get it to work!

A big thanks to Andy for your help with the SSL stuff, this was much
appreciated

Can anyone help with this problem...

I have the following in ofbiz-containers.xml
    <!-- RMI Service Dispatcher -->
    <container name="rmi-dispatcher"
class="org.ofbiz.service.rmi.RmiServiceContainer">
        <property name="bound-name" value="RMIDispatcher"/>
        <property name="bound-host" value="10.1.6.3"/>
        <property name="bound-port" value="1099"/>
        <property name="delegator-name" value="default"/>
        <property name="client-factory"
value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/>
        <property name="server-factory"
value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/>
        <property name="ssl-client-auth" value="true"/>
    </container>


I'm getting this error...

---- exception report
----------------------------------------------------------
Service [remoteStoreEntitySyncDataRmi] threw an unexpected
exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: RemoteDispatcher not bound to : entity-sync-rmi (RMIDispatcher)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: RemoteDispatcher not bound
to : entity-sync-rmi (RMIDispatcher)
org.ofbiz.service.rmi.RmiServiceEngine.run(RmiServiceEngine.java:72)
org.ofbiz.service.rmi.RmiServiceEngine.runSync(RmiServiceEngine.java:50)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:333)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.entityext.synchronization.EntitySyncContext.runPushSendData
(EntitySyncContext.java:1030)
org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync
(EntitySyncServices.java:114)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync
(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:333)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
com.howells.schemesync.SchemeSyncServices.runEntitySyncWrapper
(SchemeSyncServices.java:63)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync
(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:333)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:80)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226)
java.lang.Thread.run(Thread.java:534)
java.rmi.NotBoundException: RMIDispatcher
org.objectweb.carol.jndi.registry.ManageableRegistry.lookup
(ManageableRegistry.java:130)
sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
sun.rmi.transport.Transport$1.run(Transport.java:148)
java.security.AccessController.doPrivileged(Native Method)
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run
(TCPTransport.java:701)
java.lang.Thread.run(Thread.java:534)
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer
(StreamRemoteCall.java:247)
sun.rmi.transport.StreamRemoteCall.executeCall
(StreamRemoteCall.java:223)
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
java.rmi.Naming.lookup(Naming.java:84)
org.ofbiz.service.rmi.RmiServiceEngine.run(RmiServiceEngine.java:67)
org.ofbiz.service.rmi.RmiServiceEngine.runSync(RmiServiceEngine.java:50)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:333)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.entityext.synchronization.EntitySyncContext.runPushSendData
(EntitySyncContext.java:1030)
org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync
(EntitySyncServices.java:114)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync
(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:333)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
com.howells.schemesync.SchemeSyncServices.runEntitySyncWrapper
(SchemeSyncServices.java:63)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker
(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync
(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:333)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:80)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:226)
java.lang.Thread.run(Thread.java:534)
--------------------------------------------------------------------------------


Kind Regards
--
Andrew Sykes <[hidden email]>
Sykes Development Ltd

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users