problem in POS setup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

problem in POS setup

AnandM
david, i configured one POS,PSS and MCS .Each has its own local database. On Pos machine entity-sync-rmi has address of PSS machine. On PSS entity-sync address is MCS ip. On MCS all locations are localhost in service engine.xml . But i am not able to find that my POS is actually connected to PSS and PSS is Connected to MCS. Is there any way see reflection of changes.
Reply | Threaded
Open this post in threaded view
|

Re: problem in POS setup

Vince Clark
Anand

Check the log files in runtime/logs on each machine for connection problems. Also, make sure you have set the RMIIF environment variable in the startup script. Usually "localhost" is sufficient.

----- Original Message -----
From: "AnandM" <[hidden email]>
To: [hidden email]
Sent: Tuesday, June 3, 2008 4:45:45 AM (GMT-0700) America/Denver
Subject: problem in POS setup


david, i configured one POS,PSS and MCS .Each has its own local database. On
Pos machine entity-sync-rmi has address of PSS machine. On PSS entity-sync
address is MCS ip. On MCS all locations are localhost in service engine.xml
. But i am not able to find that my POS is actually connected to PSS and PSS
is Connected to MCS. Is there any way see reflection of changes.
--
View this message in context: http://www.nabble.com/problem-in-POS-setup-tp17620755p17620755.html 
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: problem in POS setup

AnandM
Thanks Clark for your quick response.
  As you said, i checked RMIF variable. RMIF is pointing to localhost (127.0.0.1) on all three machines.Newly created POS is added in localhost DB.But it is not getting sync with PSS DB.The only chnage i made on PSS machine is that its Entity-sync-rmi is pointing to MCS.So my question is How PSS will know form which POS it has to PULL/PUSH and same for MCS.
 i have attached log files from POS machine.

Vince Clark wrote
Anand

Check the log files in runtime/logs on each machine for connection problems. Also, make sure you have set the RMIIF environment variable in the startup script. Usually "localhost" is sufficient.

----- Original Message -----
From: "AnandM" <anand.mohan@hytechpro.com> 
To: user@ofbiz.apache.org
Sent: Tuesday, June 3, 2008 4:45:45 AM (GMT-0700) America/Denver
Subject: problem in POS setup


david, i configured one POS,PSS and MCS .Each has its own local database. On
Pos machine entity-sync-rmi has address of PSS machine. On PSS entity-sync
address is MCS ip. On MCS all locations are localhost in service engine.xml
. But i am not able to find that my POS is actually connected to PSS and PSS
is Connected to MCS. Is there any way see reflection of changes.
--
View this message in context: http://www.nabble.com/problem-in-POS-setup-tp17620755p17620755.html 
Sent from the OFBiz - User mailing list archive at Nabble.com.
console.logofbiz.log
Reply | Threaded
Open this post in threaded view
|

Re: problem in POS setup

Jacques Le Roux
Administrator
Logs don't get through in Apache MLs. You may use Nabble OFBiz user forum http://www.nabble.com/OFBiz---User-f2743.html

Jacques

From: "AnandM" <[hidden email]>

>
> Thanks Clark for your quick response.
>  As you said, i checked RMIF variable. RMIF is pointing to localhost
> (127.0.0.1) on all three machines.Newly created POS is added in localhost
> DB.But it is not getting sync with PSS DB.The only chnage i made on PSS
> machine is that its Entity-sync-rmi is pointing to MCS.So my question is How
> PSS will know form which POS it has to PULL/PUSH and same for MCS.
> i have attached log files from POS machine.
>
>
> Vince Clark wrote:
>>
>> Anand
>>
>> Check the log files in runtime/logs on each machine for connection
>> problems. Also, make sure you have set the RMIIF environment variable in
>> the startup script. Usually "localhost" is sufficient.
>>
>> ----- Original Message -----
>> From: "AnandM" <[hidden email]>
>> To: [hidden email]
>> Sent: Tuesday, June 3, 2008 4:45:45 AM (GMT-0700) America/Denver
>> Subject: problem in POS setup
>>
>>
>> david, i configured one POS,PSS and MCS .Each has its own local database.
>> On
>> Pos machine entity-sync-rmi has address of PSS machine. On PSS entity-sync
>> address is MCS ip. On MCS all locations are localhost in service
>> engine.xml
>> . But i am not able to find that my POS is actually connected to PSS and
>> PSS
>> is Connected to MCS. Is there any way see reflection of changes.
>> --
>> View this message in context:
>> http://www.nabble.com/problem-in-POS-setup-tp17620755p17620755.html 
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
> http://www.nabble.com/file/p17662950/console.log console.log
> http://www.nabble.com/file/p17662950/ofbiz.log ofbiz.log
> --
> View this message in context: http://www.nabble.com/problem-in-POS-setup-tp17620755p17662950.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: problem in POS setup

AnandM
In reply to this post by Vince Clark
Hi clark, i am still having problem in POS setup. At present my POS and PSS in on same machine.entity-sync-rmi is pointing to MCS machine .i am getting error while making payment on POS by cash . Error message is "Problem in order change".On MCS machine entity_sync table is not having any record for my pos entity. here i am attaching all those files which i changed with log file.ofbiz.log.

Vince Clark wrote
Anand

Check the log files in runtime/logs on each machine for connection problems. Also, make sure you have set the RMIIF environment variable in the startup script. Usually "localhost" is sufficient.

----- Original Message -----
From: "AnandM" <anand.mohan@hytechpro.com> 
To: user@ofbiz.apache.org
Sent: Tuesday, June 3, 2008 4:45:45 AM (GMT-0700) America/Denver
Subject: problem in POS setup


david, i configured one POS,PSS and MCS .Each has its own local database. On
Pos machine entity-sync-rmi has address of PSS machine. On PSS entity-sync
address is MCS ip. On MCS all locations are localhost in service engine.xml
. But i am not able to find that my POS is actually connected to PSS and PSS
is Connected to MCS. Is there any way see reflection of changes.
--
View this message in context: http://www.nabble.com/problem-in-POS-setup-tp17620755p17620755.html 
Sent from the OFBiz - User mailing list archive at Nabble.com.
DemoRetail.xmlPosSyncSettings.xmlEntityScheduledServices.xmlserviceengine.xml
Reply | Threaded
Open this post in threaded view
|

Re: problem in POS setup

Vince Clark
The trace speaks for itself:

No credit GL accounts found for payment posting
Did you go thru the accounting setup for the org? It makes sense that you would hit this error at time of payment. That is when all documents are generated that create accounting postings (invoices, shipments, payments).

Alternatively you can turn off the accounting secas but you would have to figure out which ones to turn off in the services xml files. Search Nabble. There was another discussion about this not too long ago.

----- Original Message -----
From: "AnandM" <[hidden email]>
To: [hidden email]
Sent: Friday, June 6, 2008 7:24:25 AM (GMT-0700) America/Denver
Subject: Re: problem in POS setup


Hi clark, i am still having problem in POS setup. At present my POS and PSS
in on same machine.entity-sync-rmi is pointing to MCS machine .i am getting
error while making payment on POS by cash . Error message is "Problem in
order change".On MCS machine entity_sync table is not having any record for
my pos entity. here i am attaching all those files which i changed with log
file. http://www.nabble.com/file/p17692106/ofbiz.log ofbiz.log .


Vince Clark wrote:

>
> Anand
>
> Check the log files in runtime/logs on each machine for connection
> problems. Also, make sure you have set the RMIIF environment variable in
> the startup script. Usually "localhost" is sufficient.
>
> ----- Original Message -----
> From: "AnandM" <[hidden email]>
> To: [hidden email]
> Sent: Tuesday, June 3, 2008 4:45:45 AM (GMT-0700) America/Denver
> Subject: problem in POS setup
>
>
> david, i configured one POS,PSS and MCS .Each has its own local database.
> On
> Pos machine entity-sync-rmi has address of PSS machine. On PSS entity-sync
> address is MCS ip. On MCS all locations are localhost in service
> engine.xml
> . But i am not able to find that my POS is actually connected to PSS and
> PSS
> is Connected to MCS. Is there any way see reflection of changes.
> --
> View this message in context:
> http://www.nabble.com/problem-in-POS-setup-tp17620755p17620755.html 
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>
http://www.nabble.com/file/p17692106/DemoRetail.xml DemoRetail.xml
http://www.nabble.com/file/p17692106/PosSyncSettings.xml PosSyncSettings.xml
http://www.nabble.com/file/p17692106/EntityScheduledServices.xml 
EntityScheduledServices.xml
http://www.nabble.com/file/p17692106/serviceengine.xml serviceengine.xml
--
View this message in context: http://www.nabble.com/problem-in-POS-setup-tp17620755p17692106.html 
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: problem in POS setup

Jacques Le Roux
Administrator
I did not look into details, but this could help
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Accounting

Jacques

From: "Vince M. Clark" <[hidden email]>

> The trace speaks for itself:
>
> No credit GL accounts found for payment posting
> Did you go thru the accounting setup for the org? It makes sense that you would hit this error at time of payment. That is when
> all documents are generated that create accounting postings (invoices, shipments, payments).
>
> Alternatively you can turn off the accounting secas but you would have to figure out which ones to turn off in the services xml
> files. Search Nabble. There was another discussion about this not too long ago.
>
> ----- Original Message -----
> From: "AnandM" <[hidden email]>
> To: [hidden email]
> Sent: Friday, June 6, 2008 7:24:25 AM (GMT-0700) America/Denver
> Subject: Re: problem in POS setup
>
>
> Hi clark, i am still having problem in POS setup. At present my POS and PSS
> in on same machine.entity-sync-rmi is pointing to MCS machine .i am getting
> error while making payment on POS by cash . Error message is "Problem in
> order change".On MCS machine entity_sync table is not having any record for
> my pos entity. here i am attaching all those files which i changed with log
> file. http://www.nabble.com/file/p17692106/ofbiz.log ofbiz.log .
>
>
> Vince Clark wrote:
>>
>> Anand
>>
>> Check the log files in runtime/logs on each machine for connection
>> problems. Also, make sure you have set the RMIIF environment variable in
>> the startup script. Usually "localhost" is sufficient.
>>
>> ----- Original Message -----
>> From: "AnandM" <[hidden email]>
>> To: [hidden email]
>> Sent: Tuesday, June 3, 2008 4:45:45 AM (GMT-0700) America/Denver
>> Subject: problem in POS setup
>>
>>
>> david, i configured one POS,PSS and MCS .Each has its own local database.
>> On
>> Pos machine entity-sync-rmi has address of PSS machine. On PSS entity-sync
>> address is MCS ip. On MCS all locations are localhost in service
>> engine.xml
>> . But i am not able to find that my POS is actually connected to PSS and
>> PSS
>> is Connected to MCS. Is there any way see reflection of changes.
>> --
>> View this message in context:
>> http://www.nabble.com/problem-in-POS-setup-tp17620755p17620755.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
> http://www.nabble.com/file/p17692106/DemoRetail.xml DemoRetail.xml
> http://www.nabble.com/file/p17692106/PosSyncSettings.xml PosSyncSettings.xml
> http://www.nabble.com/file/p17692106/EntityScheduledServices.xml
> EntityScheduledServices.xml
> http://www.nabble.com/file/p17692106/serviceengine.xml serviceengine.xml
> --
> View this message in context: http://www.nabble.com/problem-in-POS-setup-tp17620755p17692106.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: problem in POS setup

AnandM
In reply to this post by AnandM
Clark , i noticed one more thing which is about ssl certificate when POS screen started. it says that
Error running EntitySync [5505], call to store service [remoteStoreEntitySyncDataRmi] failed. (RMI Invocation Error (error during JRMP connection establishment; nested exception is:
        javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found))
Exception: org.ofbiz.service.GenericServiceException
Message: RMI Invocation Error (error during JRMP connection establishment; nested exception is:
        javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found)
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: RMI Invocation Error (error during JRMP connection establishment; nested exception is:
        javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found)
org.ofbiz.service.rmi.RmiServiceEngine.run(RmiServiceEngine.java:69)
org.ofbiz.service.rmi.RmiServiceEngine.runSync(RmiServiceEngine.java:44)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:349)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.entityext.synchronization.EntitySyncContext.runPushSendData(EntitySyncContext.java:1016)
org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync(EntitySyncServices.java:108)
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)
        ... 34 more
--------------------------------------------------------------------------------

So ,my question is that is it mandatory to have a sslcertificate form a trusted company or a self-signed certificate is good enough to call rmi services.i have generated a certifiacte form keytool on MCS machine.

AnandM wrote
Hi clark, i am still having problem in POS setup. At present my POS and PSS in on same machine.entity-sync-rmi is pointing to MCS machine .i am getting error while making payment on POS by cash . Error message is "Problem in order change".On MCS machine entity_sync table is not having any record for my pos entity. here i am attaching all those files which i changed with log file.ofbiz.log.

Vince Clark wrote
Anand

Check the log files in runtime/logs on each machine for connection problems. Also, make sure you have set the RMIIF environment variable in the startup script. Usually "localhost" is sufficient.

----- Original Message -----
From: "AnandM" <anand.mohan@hytechpro.com> 
To: user@ofbiz.apache.org
Sent: Tuesday, June 3, 2008 4:45:45 AM (GMT-0700) America/Denver
Subject: problem in POS setup


david, i configured one POS,PSS and MCS .Each has its own local database. On
Pos machine entity-sync-rmi has address of PSS machine. On PSS entity-sync
address is MCS ip. On MCS all locations are localhost in service engine.xml
. But i am not able to find that my POS is actually connected to PSS and PSS
is Connected to MCS. Is there any way see reflection of changes.
--
View this message in context: http://www.nabble.com/problem-in-POS-setup-tp17620755p17620755.html 
Sent from the OFBiz - User mailing list archive at Nabble.com.
DemoRetail.xmlPosSyncSettings.xmlEntityScheduledServices.xmlserviceengine.xml
Reply | Threaded
Open this post in threaded view
|

Re: problem in POS setup

Vince Clark
There are instructions in the documentation on how to generate certificates.

Also I would search nabble for "trusted certificate" or "trusted cert".

----- Original Message -----
From: "AnandM" <[hidden email]>
To: [hidden email]
Sent: Tuesday, June 10, 2008 5:58:30 AM (GMT-0700) America/Denver
Subject: Re: problem in POS setup


Clark , i noticed one more thing which is about ssl certificate when POS
screen started. it says that
Error running EntitySync [5505], call to store service
[remoteStoreEntitySyncDataRmi] failed. (RMI Invocation Error (error during
JRMP connection establishment; nested exception is:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found))
Exception: org.ofbiz.service.GenericServiceException
Message: RMI Invocation Error (error during JRMP connection establishment;
nested exception is:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: RMI Invocation Error (error
during JRMP connection establishment; nested exception is:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found)
org.ofbiz.service.rmi.RmiServiceEngine.run(RmiServiceEngine.java:69)
org.ofbiz.service.rmi.RmiServiceEngine.runSync(RmiServiceEngine.java:44)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:349)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:215)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.entityext.synchronization.EntitySyncContext.runPushSendData(EntitySyncContext.java:1016)
org.ofbiz.entityext.synchronization.EntitySyncServices.runEntitySync(EntitySyncServices.java:108)
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)
... 34 more
--------------------------------------------------------------------------------

So ,my question is that is it mandatory to have a sslcertificate form a
trusted company or a self-signed certificate is good enough to call rmi
services.i have generated a certifiacte form keytool on MCS machine.


AnandM wrote:

>
> Hi clark, i am still having problem in POS setup. At present my POS and
> PSS in on same machine.entity-sync-rmi is pointing to MCS machine .i am
> getting error while making payment on POS by cash . Error message is
> "Problem in order change".On MCS machine entity_sync table is not having
> any record for my pos entity. here i am attaching all those files which i
> changed with log file. http://www.nabble.com/file/p17692106/ofbiz.log 
> ofbiz.log .
>
>
> Vince Clark wrote:
>>
>> Anand
>>
>> Check the log files in runtime/logs on each machine for connection
>> problems. Also, make sure you have set the RMIIF environment variable in
>> the startup script. Usually "localhost" is sufficient.
>>
>> ----- Original Message -----
>> From: "AnandM" <[hidden email]>
>> To: [hidden email]
>> Sent: Tuesday, June 3, 2008 4:45:45 AM (GMT-0700) America/Denver
>> Subject: problem in POS setup
>>
>>
>> david, i configured one POS,PSS and MCS .Each has its own local database.
>> On
>> Pos machine entity-sync-rmi has address of PSS machine. On PSS
>> entity-sync
>> address is MCS ip. On MCS all locations are localhost in service
>> engine.xml
>> . But i am not able to find that my POS is actually connected to PSS and
>> PSS
>> is Connected to MCS. Is there any way see reflection of changes.
>> --
>> View this message in context:
>> http://www.nabble.com/problem-in-POS-setup-tp17620755p17620755.html 
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
> http://www.nabble.com/file/p17692106/DemoRetail.xml DemoRetail.xml
> http://www.nabble.com/file/p17692106/PosSyncSettings.xml 
> PosSyncSettings.xml
> http://www.nabble.com/file/p17692106/EntityScheduledServices.xml 
> EntityScheduledServices.xml
> http://www.nabble.com/file/p17692106/serviceengine.xml serviceengine.xml
>

--
View this message in context: http://www.nabble.com/problem-in-POS-setup-tp17620755p17753660.html 
Sent from the OFBiz - User mailing list archive at Nabble.com.