How long did it try to sync before getting the error? Was it immediate or after 
a long time? I've had issues with initial synchronizations taking a long time, 
especially as the database gets larger. 

I have not run into this specific error. 

----- Original Message ----- 
From: "Ajey.bitin" <[EMAIL PROTECTED]> 
To: [email protected] 
Sent: Friday, August 8, 2008 11:28:42 PM (GMT-0700) America/Denver 
Subject: Re: Problems while PUSH and PULL entity sync process in POS 


Hi Vince, 

just now I was trying with all these settings. I got a long error concerned 
with RMI when I tried to synchronize the Central Server with the following 
setting in serviceengine.xml of POS Terminals: 
<service-location name="entity-sync-rmi" 
location="rmi://75.127.101.138:8088/RMIDispatcher"/> 

Let me know if have also faced this during your early setups. 

The exceptions are: 

---- exception report 
---------------------------------------------------------- 
Service [remoteStoreEntitySyncDataRmi] threw an unexpected exception/error 
Exception: org.ofbiz.service.GenericServiceException 
Message: RMI Error (error during JRMP connection establishment; nested 
exception is: 
java.io.EOFException) 
---- stack trace 
--------------------------------------------------------------- 
org.ofbiz.service.GenericServiceException: RMI Error (error during JRMP 
connection establishment; nested exception is: 
java.io.EOFException) 
org.ofbiz.service.rmi.RmiServiceEngine.run(RmiServiceEngine.java:58) 
org.ofbiz.service.rmi.RmiServiceEngine.runSync(RmiServiceEngine.java:41) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) 
org.ofbiz.entityext.synchronization.EntitySyncContext.runPushSendData(EntitySyncContext.java:1011)
 
org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync(EntitySyncServices.java:105)
 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
java.lang.reflect.Method.invoke(Unknown Source) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) 
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) 
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221) 
java.lang.Thread.run(Unknown Source) 
java.rmi.ConnectIOException: error during JRMP connection establishment; 
nested exception is: 
java.io.EOFException 
sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) 
sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) 
sun.rmi.server.UnicastRef.newCall(Unknown Source) 
sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) 
java.rmi.Naming.lookup(Unknown Source) 
org.ofbiz.service.rmi.RmiServiceEngine.run(RmiServiceEngine.java:52) 
org.ofbiz.service.rmi.RmiServiceEngine.runSync(RmiServiceEngine.java:41) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) 
org.ofbiz.entityext.synchronization.EntitySyncContext.runPushSendData(EntitySyncContext.java:1011)
 
org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync(EntitySyncServices.java:105)
 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
java.lang.reflect.Method.invoke(Unknown Source) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) 
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) 
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221) 
java.lang.Thread.run(Unknown Source) 
Caused by: java.io.EOFException 
java.io.DataInputStream.readByte(Unknown Source) 
... 24 more 
--------------------------------------------------------------------------------
 

2008-07-09 10:49:54,218 (default-invoker-Thread-8) [ 
TransactionUtil.java:292:INFO ] [TransactionUtil.setRollbackOnly] 
transaction rollback only not set, status is STATUS_NO_TRANSACTION 
2008-07-09 10:49:54,359 (default-invoker-Thread-8) 
[GeneralServiceException.java:62 :ERROR] 
---- exception report 
---------------------------------------------------------- 
Error running EntitySync [6505], call to store service 
[remoteStoreEntitySyncDataRmi] failed. (RMI Error (error during JRMP 
connection establishment; nested exception is: 
java.io.EOFException)) 
Exception: org.ofbiz.service.GenericServiceException 
Message: RMI Error (error during JRMP connection establishment; nested 
exception is: 
java.io.EOFException) 
---- stack trace 
--------------------------------------------------------------- 
org.ofbiz.service.GenericServiceException: RMI Error (error during JRMP 
connection establishment; nested exception is: 
java.io.EOFException) 
org.ofbiz.service.rmi.RmiServiceEngine.run(RmiServiceEngine.java:58) 
org.ofbiz.service.rmi.RmiServiceEngine.runSync(RmiServiceEngine.java:41) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) 
org.ofbiz.entityext.synchronization.EntitySyncContext.runPushSendData(EntitySyncContext.java:1011)
 
org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync(EntitySyncServices.java:105)
 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
java.lang.reflect.Method.invoke(Unknown Source) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) 
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) 
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221) 
java.lang.Thread.run(Unknown Source) 
java.rmi.ConnectIOException: error during JRMP connection establishment; 
nested exception is: 
java.io.EOFException 
sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) 
sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) 
sun.rmi.server.UnicastRef.newCall(Unknown Source) 
sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) 
java.rmi.Naming.lookup(Unknown Source) 
org.ofbiz.service.rmi.RmiServiceEngine.run(RmiServiceEngine.java:52) 
org.ofbiz.service.rmi.RmiServiceEngine.runSync(RmiServiceEngine.java:41) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) 
org.ofbiz.entityext.synchronization.EntitySyncContext.runPushSendData(EntitySyncContext.java:1011)
 
org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync(EntitySyncServices.java:105)
 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
java.lang.reflect.Method.invoke(Unknown Source) 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:336) 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) 
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) 
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221) 
java.lang.Thread.run(Unknown Source) 
Caused by: java.io.EOFException 
java.io.DataInputStream.readByte(Unknown Source) 
... 24 more 
--------------------------------------------------------------------------------
 

Suggest me the needful. 

Thanks, 

Ajey 
-- 
View this message in context: 
http://www.nabble.com/Problems-while-PUSH-and-PULL-entity-sync-process-in-POS-tp16801589p18902314.html
 
Sent from the OFBiz - User mailing list archive at Nabble.com. 

Reply via email to