This content has been marked as final. Show 1 reply
When you deploy your application to the local server in development mode via Workshop, it configures datasync projects a differently than when you deploy a .ear file to a server. There is some information about this at http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14245/datasync.htm#i1028339
I don't know what the exact error is, but here's a couple of things to investigate:
1. In your .ear file, make sure the .pla files exist somewhere underneath a META-INF/data folder (generally they are under META-INF/data/placeholders).
2. On the remote server's database, make sure the DATA_SYNC_ITEM table is empty for your application (look in DATA_SYNC_APPLICATION for the APPLICATION_ID). See http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14233/data_dictionary.htm#i1298627 for details about the database. From a .ear file, the META-INF/data files (which come from your datasync project) are only loaded into the database if the database is empty; otherwise, you need to propagate or clear out the database rows. If you have no other application on the remote server, you can just
delete from all the DATA_SYNC_* tables.