I had it working, then tried to change things a bit, now it won't work at all!
Whenever I hit the Sync Now button on the "Zulu: Sync Administration" page, I get an error as follows:
- Code: Select all
Wed May 25 14:41:41 BST 2011: Sync failed: java.sql.SQLException: Failure while getting list of changes from com.prosc.fmcontact.DBContactData@9f9a19: com.prosc.fmpjdbc.FileMakerException: 105: "Layout is missing" - Make sure that the table name you have requested in the SQL query is the name of a layout in the current database. (JDBC URL: jdbc:fmp360://localhost/ECBM_Web, SSL: false / SQL statement: SELECT "_id_Group","zulu_DELETED","zulu_GOOGLE_DATA","zulu_UUID","Students.MainAddress::Address","Students.MainAddress::TownCity","Students.MainAddress::County","Students.MainAddress::Postcode","Students.MainAddress::Country","NameFirst","NameLast","Company","NameTitle","Email","TelephoneMain","Mobile","zulu_MODIFICATION_TIMESTAMP","__kp__StudentsUUID" FROM MIS Students WHERE "zulu_MODIFICATION_TIMESTAMP" >=? / SQL params: [1969-12-31 01:00:00.0])
The error seems to suggest that there needs to be a layout named the same as the table from which it is drawing the data. I didn't see this mentioned in the documentation, but tried it anyway, changing the table occurrence of the 'Students' table to be 'ZuluContacts'.
However, the error above lists in the SQL statement a couple of related fields that I have since removed from the ZuluContacts layout. It appears to be caching this info somewhere as I have deleted the sync data, changed the database used (switched back to the ZuluContacts_SampleData file to test it was still working) and restarted the web publishing engine, yet it still presents the same error.
Any ideas? I'm testing this now on our dev server, but need to install on the clients server asap.