This content has been marked as final. Show 20 replies
@Rekounas - I am going through the tutorial here - http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/mobile/mobile.htm
and trying to follow the steps given here by Denis T - jdeveloper and mobile client blackberry data sync to enable data synchronization.
Edited by: user12747136 on Nov 8, 2010 11:06 PM
OK. Just verified on my machine syncing with a 9700 that everything worked fine.
Could you do me a favor and install the SQLite Win32 client on your windows box. This should take under 5 minutes.
The way you do that is like this:
2. download SQLite Win32 client
3. Enter your client username and password (SYNCUSER/SYNCUSER)
4. From c:\mobileclient\bin run msync.exe... your user and syncuser information should be populated.
5. click sync
Report your results.
@Rekounas , Thanks for your reply.
I installed and ran msync as you suggested and the result is 'Sync succeeded!'.
Immediately after this I tried to run the sync from the simulator I got the error message saying 'Could not find snapshot with id 139' .
The other error 'Plugin has thrown an exception' came along when I tried to sync for 3 or 4 times in a short intervel..but I restarted the simulator and its gone now. :)
I removed the publication items and created/deployment another deployment profile with a different device database names between yesterday and today.
However, I don't see any local device database being created and I am not able launch the application.
These are last few lines generated 'logfile.txt' generated in the sdcard directory and same exception is thrown on the simulator screen when I try to launch the application.
[INFO - adfnmc.model - SyncUtils - lookupDBUserViaCached] Attempting to use previously-saved sync settings
[INFO - adfnmc.model - SyncUtils - userDatabaseExists] Database does not exist at location /SDCard/databases/oracle/sqlite_db/SYNCUSER/MOBILEFODSERVER.db
[SEVERE - adfnmc.ui - Main - InitializePackages] Exception in Application.InitializePackages: oracle.opensync.util.Debug null
[SEVERE - adfnmc.ui - Main - InitializePackages] oracle.opensync.util.Debug
Looks like I messed up with the repository by deploying the same application using different profiles with the different device database names,
But don't know how to clean it up now.. :(
I am working on an adf mobile client PoC.
And I am using:
Oracle JDeveloper 184.108.40.206.0
BlackBerry JDE 5.0.0
Oracle database lite 10g
I was also getting the same error ('Plugin has thrown an exception, see the cause') when i ran msync on blacberry simulator.
So i tried the steps mentioned by you.
Thanks for that.
After running msync, i got sqlite db file then i installed it on SD card and now it is working fine.
But i am not getting reason of doing this??
Can you please tell me
the difference between Sqlite win 32 and Sqlite for blackberry?
According to me,
i am getting this exception because i am running it on simulator , I think it will work on blackberry device...
Please do reply...
Thanks in advance.
I am facing an error which says "element databases is invalid in this document".
I checked and did find the err.txt file, which mentions the same error message:
oracle.opensync.util.XMLException(-10222): Element "DATABASES" is invalid in this document
Ansh recently responded to another thread I had opened for this (FOD mobile db sync with base adf server db not working and told me to run the Blackberry JDE MDS-CS service while doing the sync, but that too has not helped.
Can you let me know exactly what all software do I need to run for sync to work?
I have oracle 10g server running (the db has the FOD schema, the TRSAdmin and the MobileAdmin schemas), Jdev 220.127.116.11.0, Oracle Mobile Server (10g), BB Simulator (9700 on JDE 6) and also tried keeping the BB JDE MDS-CS running.
Appreciate your help!
Thanks for your time sir!
By "client" you mean the "MobileClient" project in Jdev?
I searched the entire folder of the parent application folder, C:\JDeveloper\mywork\HVTMobFODSync in my case, but could not locate any such global.xml file anywhere.
Am I looking in the wrong place or missing a file?
Please do let me know, will update you immediately.
Oh ok, here you go:
<USER name="SYNCUSER" file_id="0"/>
<PLUGIN id="1397836905" CLASS="oracle.opensync.plugins.sqlite.SqlitePlugin"/>
<DATABASE name="MOBILEFOD" creator_id="1397836905"/>
Any idea what could be wrong?
Appreciate your help Greg!
Yes Greg, I have verified the same by checking the simulator too!
And then since I launch the simulator from within JDeveloper, in the "external tool" setup, I have provided the argument for the SD card path, as mentioned in the Oracle tutorial.
Is there something missing in this XML file?
I noticed that this is having a tag named "Databases", and since our error says "element databases is invalid in this document", i guess its referring to this file right?
Is there some working copy of this XML file with you, so that I can compare with mine and see if I can figure out if I missed anything?
Please do let me know if this has given you any clues, appreciate your help!