|
This post was updated on .
Hi All, from [hidden email]
I have gone thru this doc https://cwiki.apache.org/confluence/display/OFBIZ/Sync+Setup+Notes+and+Example But I am confused.... ( I have inserted my questions into the list below) Step by Step Instructions 1. Setup POS terminal with clean checkout from trunk I have windows, how do I get just the POS terminal from the trunk? 2. In startofbiz.sh/bat set RMIIF to localhost (uncomment the line.) Is this done on the machine with the POS Terminal or the Enterprise server? What happens if the enterprise server is a remote server? The startofbiz.sh/bat has this section referencing RMIIF but NONE of it sets the RMIIF to localhost... " rem # RMI settings rem set DEBUG=-Dsun.rmi.server.exceptionTrace=true rem # Automatic IP address for Windows rem ipconfig | find "IP." | find /v "::" | find /v "0.0.0.0" > tmp.tmp rem for /f "tokens=2* delims=:" %%a in (tmp.tmp) do for %%b IN (%%a) do set IPADDR=%%b rem del tmp.tmp rem set RMIIF=-Djava.rmi.server.hostname=%IPADDR% " Please clarify what change to make..... 3. Create empty ofbiz database and populate with seed data (ant run-install-seed). Note that for testing/learning you can load demo data as well. For a production environment you will need to only load seed, then do all of your organization specific setup such as accounting, facilities, stores, etc. OK 4. framework/service/config/serviceengine.xml - enity-sync-rmi set to MCS. Right now that line reads "<service-location name="entity-sync-rmi" location="rmi://localhost:1099/RMIDispatcher"/>" what change would I make if I want it set to MCS? 5. Start POS instance(s) (the OFBiz instance(s) which runs the POS, aka POS terminal(s)) in standard mode (web interface) I have NO IDEA what is meant here, unless you mean running the startofbizpos.bat? If so, why not say that? 6. Load EntitySync record for PULL on MCS instance (the OFBiz instance which runs the MCS) How would I load this? Is it a menu option? If not where would I find this? Which instance? I think you are meaning on the enterprise server, right? 7. Load XML data you want to setup on POS instance to trigger PULL sync How would I load this? Is it a menu option? If not where would I find this? Which instance? the POS remote terminal or on the enterprise server? 8. Load EntitySync PUSH on POS instance(s). How would I load this? Is it a menu option? If not where would I find this? At least I know to do this at the POS terminal. 9. When pull is finished, load XML data you want to setup to trigger PUSH How would I know if pull is finished? How would I load this? Is it a menu option? If not where would I find this? Which instance? the POS remote terminal or on the enterprise server? 10.Shutdown POS instance(s) I can do that, I think. 11.os-containers.xml on POS instance(s) - set xui session id = <facilityId-pos terminal number> ex. 10020-1. How do I know what the facility ID is? Is the POS terminal just an arbitrary number or is it set in a database file and I have to get its value? Where would I find this? At least I know to do this at the POS terminal. 12.pos-containers.xml on POS instance(s) - set faclility ID = facilityId) ex. 10020. How do I know what the facility ID is? Where would I find this? At least I know to do this at the POS terminal. 13.Don't forget to change entityengine.xml on all POS instance(s) to include a prefix for record id's. Otherwise you will get record id conflicts when instance(s) push records to the MCS. This is done by adding the "sequenced-id-prefix" attribute to the default delegator. How do I know what the sequenced-id-prefix is? Where would I find this? At least I know to do this at the POS terminal. 14.Add PosTerminal record to MCS database. How do I do this? Is it a menu option? Which instance? the POS remote terminal or on the enterprise server? You must create a PosTerminal record for each POS instance you need to synchronize with MCS. Once this record is added you can start your POS instance and attempt a synchronization. 15.Start your POS instance in rich client mode. (add -pos after ofbiz.jar in startup file.) I have NO IDEA what is meant here, unless you mean running the startofbizpos.bat? If so, why not say that? I do a little better on the example code, but those entries all relate to the questions that I have posed above. So they would need to be answered before I could even try the sample code, cause i don't know, mostly, where it goes. This is the second post I have made about this, I did not get a single response on my first effort. Here is a link to my original post ... My original Post. If someone could just get me pointed in the correct direction I would greatly appreciate it. I have searched this forum extensively for more than a week, but get discouraged because I spend hours reading threads, then find out that all the stuff I read (posted in 2009) has been reworked, changed, modified, degraded, or retired in the latest set of code release. But there is NO Documentation for the changes and no warnings in the forum that these issues are retired. I don't mean to sound complaining, I just want to explain that I have diligently tried to work out the answers to my questions by doing my homework, but get sidetracked by "Retired" questions and answers, just to find that I wasted my time. Thanks MrFitz |
| Free forum by Nabble | Edit this page |
