20 Replies Latest reply on Jun 15, 2015 4:08 AM by Pietro Francesco Maggi

    RhoConnect Sync working off and on

    Peter Arcuri

      A partner reported that their Rhodes app doesn't alway sync up the database. He stated by creating a Rhodes app and a RhoConnect app (local) following the demo instructions found on the Rhomobile site.  This first set of apps worked fine on RhoSimulator, device emulator and the devices (Android & windows).

       

      Then  he tried to build a second app using Rhohub this time (http://docs.rhomobile.com/rhohub/tutorial and video Webinar).  He encountered problems with deployment of the app so he pushed the code onto https://app.rhohub.com/ using Git without any problem, but
      everytime I tried to deploy I got a "Failed" status.  No error message, nothing.... How do we can check for errors? He couldn't locate a log file to provide insight.

        

      Finally he was able to do it following the instructions on the site, creating the apps on Rhohub site, get it locally using Git, doing the modifications, push it back and deploy.

       

      He 3rd app he followed instructions in the webinar on how to use .NET plug-in and RhoConnect. He was able to get the .Net plug-in to work except the synchronisation part. He saw that RhoSimulator was connected but the sync was not working.

       

      He thought of launching all 3 apps that he had developed leveraging RhoConnect. Two were working/sync'ing fine but when he launched the third app he was unable to sync anyone with any apps. RhoConnect stopped/froze entirely.

       

      He then noticed that he was unable to compile his .Net Plug-in on RhoHub. Redis is launched but after the freeze ocurred with RhoConnect.
      For the first pair off apps (the local ones) I am able to run and get the Sync when uploading from a device to http://rhostore.heroku.com/products , but when modifying something on the site and sync'ing with RhoSimulator it doesn't work until I reset/reinitialize the database. How can he sync up changes without having to reset the DB. 

       

      Thoughts, suggestions are welcome. 

        • Re: RhoConnect Sync working off and on

          As far as .NET plugin, there was a bug in plugin initialization part that was addressed in RhoConnect 3.2.1 released on June 22.

          Please, install new rhoconnect gem and give it a try. You will need to change the RhoConnect dependency in your app's Gemfile from 3.2.0 to 3.2.1 and run 'bundle install'.

           

          Max.

          1 of 1 people found this helpful
            • Re: RhoConnect Sync working off and on
              Peter Arcuri

              Hi Max, the partner resumed work on this as he just returned from vacation. Unfortunately the results are similar.  He got the new version of Rhoconnect (3.2.1), modify the gemfile and ran "bundle install". Now when running the app in RhoStudio he got redis started with message "Starting rhoconnect..." , but nothing happen.
              In the redis-server window we don't get a client connected. Is there something possibly missing here in order to get a successful client connection?

              • Re: RhoConnect Sync working off and on
                Roméo Pavel

                Hi Max, thank you for the reply. Rhoconnect is working now for me. I changed in my Rhoconnect app the in settings.yml the value for syncserver from 

                :syncserver: http://localhost:9292/api/application/ 

                to

                :syncserver: http://'my_ip_addr':9292/api/application/

                but now when starting RhodesApp I don't get the clientId. In log I get:

                Net| An error occurred connecting to the server: 404 returned.

                Do you have any idea?   

                  • Re: RhoConnect Sync working off and on

                    sync server in RhoConnect app settings.yml is not used at all. It doesn't matter what you're using in settings.yml for syncserver.

                    What matters is rhoconfig.txt in your Rhodes App and set_app_endpoint method in .NET plugin.

                     

                    set_app_endpoint in .NET   should have the following url: "<your_server_name", like http://192.168.1.20:9292

                    NOTE: no /api/application at the end , only the host name (or IP address).

                     

                    rhoconfig.txt in the Rhodes App should have the following setting:

                     

                    syncserver:<your_rc_hostname>/api/application, for example : http://192.168.1.20:9292/api/application

                    NOTE: This one has the /api/application at the end of the hostname.

                     

                    Then, the start order matters:

                     

                    1) Start RhoConnect app

                    2) Start plugin

                    3) Start Rhodes app

                     

                    Also, if you're using simulator - you need to clean the cached data by removing rhosimulator and bin folder from your Rhodes app on every re-start, otherwise some of data would not be properly cleaned up.

                    And, in general, for test purposes - clean the Redis Db before you re-start RhoConnect by using 'rhoconnect flushdb' command.

                     

                    Max.

                      • Re: RhoConnect Sync working off and on
                        Roméo Pavel

                        Hi Max,
                        after following your instructions I still have issues. You're right; modifying the
                        ip address back to localhost did not change anything.  My problem was probably related to the fact
                        that my RhoSimulator was not able to register. Finally, after running the
                        rhodes app couple of times, I got my device registered (and my clientId for my
                        rhosimulator) but I cannot get the list of contacts when I do a sync operation
                        (the list is empty or on my localhost/ContactsApp site I have 4 records).  Do you have any idea why the sync operation
                        is not working?  Here is the part at the
                        end of my console log, where I do the sync:

                         

                         

                        07/16/2012
                        14:39:11:622 000020b4         
                        MainWindow| WebView: loaded

                         

                         

                        I
                        07/16/2012 14:39:11:623 00002118     
                        ClientRegister| ClientRegister start

                         

                         

                        I
                        07/16/2012 14:39:11:623 00002118     
                        ClientRegister| Try to register: 1

                         

                         

                        I
                        07/16/2012 14:39:11:623 00002118     
                        ClientRegister| SyncThread is not ready

                         

                         

                        I
                        07/16/2012 14:39:11:623 00002118     
                        ClientRegister| Waiting for 60 sec to try again to register client

                         

                         

                        I
                        07/16/2012 14:39:11:623 00002118     
                        ClientRegister| Try to register: 2

                         

                         

                        I
                        07/16/2012 14:39:11:623 00002118     
                        ClientRegister| SyncThread is not ready

                         

                         

                        I
                        07/16/2012 14:39:11:623 00002118     
                        ClientRegister| Waiting for 60 sec to try again to register client

                         

                         

                        I
                        07/16/2012 14:39:11:627 00001c10            
                        RhoRuby| Init_RhoBlobs:
                        C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/rhosimulator/db/db-files

                         

                         

                        I
                        07/16/2012 14:39:11:628 00001c10            
                        RhoRuby| require_compiled: digest

                         

                         

                        I
                        07/16/2012 14:39:11:629 00001c10            
                        RhoRuby| require_compiled: rhoframework

                         

                         

                        I
                        07/16/2012 14:39:11:630 00001c10            
                        RhoRuby| require_compiled: rational

                         

                         

                        I
                        07/16/2012 14:39:11:630 00001c10            
                        RhoRuby| require_compiled: rhom/rhom_db_adapter

                         

                         

                        I
                        07/16/2012 14:39:11:633 00001c10            
                        RhoRuby| require_compiled: rhodes

                         

                         

                        I
                        07/16/2012 14:39:11:634 00001c10            
                        RhoRuby| require_compiled: rhom/rhom_object

                         

                         

                        I
                        07/16/2012 14:39:11:634 00001c10            
                        RhoRuby| require_compiled: rhofsconnector

                         

                         

                        I
                        07/16/2012 14:39:11:635 00001c10            
                        RhoRuby| require_compiled: rho/rhofsconnector

                         

                         

                        I
                        07/16/2012 14:39:11:636 00001c10            
                        RhoRuby| require_compiled: rhom/rhom_object_factory

                         

                         

                        I
                        07/16/2012 14:39:11:652 00001c10            
                        RhoRuby| require_compiled: rhom/rhom

                         

                         

                        I
                        07/16/2012 14:39:11:654 00001c10              RhoRuby| require_compiled: rhom/rhom_model

                         

                         

                        I
                        07/16/2012 14:39:11:656 00001c10            
                        RhoRuby| require_compiled: rhom

                         

                         

                        I
                        07/16/2012 14:39:11:656 00001c10            
                        RhoRuby| require_compiled: rho/rhoapplication

                         

                         

                        I
                        07/16/2012 14:39:11:660 00001c10            
                        RhoRuby| require_compiled: rholang/localization_simplified

                         

                         

                        I
                        07/16/2012 14:39:11:661 00001c10            
                        RhoRuby| require_compiled: rho/rhomsg

                         

                         

                        I
                        07/16/2012 14:39:11:662 00001c10            
                        RhoRuby| require_compiled: rho/rhotabbar

                         

                         

                        I 07/16/2012
                        14:39:11:663 00001c10            
                        RhoRuby| require_compiled: rho/rhotoolbar

                         

                         

                        I
                        07/16/2012 14:39:11:663 00001c10                  APP| Current locale: ;
                        Country code:

                         

                         

                        I
                        07/16/2012 14:39:11:664 00001c10                  APP| Locilized file:
                        C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_

                         

                         

                        I
                        07/16/2012 14:39:11:664 00001c10                  APP| Could not find resources
                        for locale: fr;file:
                        C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_

                         

                         

                        I
                        07/16/2012 14:39:11:664 00001c10                  APP| Load english resources.

                         

                         

                        I
                        07/16/2012 14:39:11:664 00001c10            
                        RhoRuby| require_compiled:
                        C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_en

                         

                         

                        I
                        07/16/2012 14:39:11:665 00001c10                  APP| Locilized file: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/lang/lang_

                         

                         

                        I
                        07/16/2012 14:39:11:665 00001c10                  APP| Could not find resources
                        for locale: fr;file:
                        C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/lang/lang_

                         

                         

                        I
                        07/16/2012 14:39:11:665 00001c10                  APP| Locilized file:
                        C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_

                         

                         

                        I
                        07/16/2012 14:39:11:665 00001c10                  APP| Could not find resources
                        for locale: fr;file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_

                         

                         

                        I
                        07/16/2012 14:39:11:665 00001c10                  APP| Load english resources.

                         

                         

                        I
                        07/16/2012 14:39:11:665 00001c10            
                        RhoRuby| require_compiled:
                        C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_en

                         

                         

                        I
                        07/16/2012 14:39:11:666 00001c10                  APP| Locilized file:
                        C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhomsg_

                         

                         

                        I
                        07/16/2012 14:39:11:666 00001c10                  APP| Could not find resources
                        for locale: fr;file:
                        C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhomsg_

                         

                         

                        I
                        07/16/2012 14:39:11:666 00001c10                  APP| Load english resources.

                         

                         

                        ss'

                         

                         

                        e_compiled:
                        helpers/browser_helper

                         

                         

                        :
                        /app/Contact

                         

                         

                        1. 192.168.1.7
                          - - [16/Jul/2012 14:39:39] "POST /api/source/save_adapter HTTP/1.1"
                          200 30 0.0150
                        2. 192.168.1.7
                          - - [16/Jul/2012 14:39:39] "POST /application/clientlogin HTTP/1.1"
                          200 - 2.4910
                        3. 192.168.1.7
                          - - [16/Jul/2012 14:39:39] "POST /application/clientregister
                          HTTP/1.1" 200 - 0.0180
                        4. 192.168.1.7
                          - - [16/Jul/2012 14:39:39] "GET
                          /application?client_id=83d33d054b9b4ce0bb670420b8499a73&p_size=2000&version=3&source_name=Contact
                          HTTP/1.1" 200 196 0.0350
                        5. 192.168.1.7
                          - - [16/Jul/2012 14:39:46] "GET
                          /application?client_id=83d33d054b9b4ce0bb670420b8499a73&p_size=2000&version=3&source_name=Contact
                          HTTP/1.1" 200 196 0.0470     

                         

                                   

                        Thank you

                          • Re: RhoConnect Sync working off and on

                            Please, post your settings.yml file. And the initial part of the RhoConnect log there it says which version is being used.

                             

                            Max.

                              • Re: RhoConnect Sync working off and on
                                Roméo Pavel

                                Hi Max, below my settings.yml file and the full log file

                                 

                                 

                                :sources:

                                Contact:

                                   :poll_interval: 300

                                 

                                :development:

                                  :licensefile: settings/license.key

                                  :redis: localhost:6379

                                  :syncserver: http://localhost/api/application/

                                  :api_token: 0f3b38c2f9be4fdca599a8f6562125d3

                                :test:

                                  :licensefile: settings/license.key

                                  :redis: localhost:6379

                                  :syncserver: http://localhost:9292/api/application/

                                :production:

                                  :licensefile: settings/license.key

                                  :redis: localhost:6379

                                  :syncserver: http://localhost:9292/api/application/

                                 

                                 

                                log file:

                                 

                                I 07/16/2012 14:39:11:666 00001c10              RhoRuby| require_compiled: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhomsg_en

                                I 07/16/2012 14:39:11:667 00001c10              RhoRuby| require_compiled: indifferent_access

                                I 07/16/2012 14:39:11:668 00001c10              RhoRuby| require_compiled: rho/rhosupport

                                I 07/16/2012 14:39:11:670 00001c10              RhoRuby| require_compiled: rho/rhocontroller

                                I 07/16/2012 14:39:11:672 00001c10              RhoRuby| require_compiled: rho/render

                                I 07/16/2012 14:39:11:674 00001c10              RhoRuby| require_compiled: rho/rho

                                I 07/16/2012 14:39:11:686 00001c10              RhoRuby| require_compiled: rho/rhoerror

                                I 07/16/2012 14:39:11:687 00001c10              RhoRuby| require_compiled: rhom/rhom_source

                                E 07/16/2012 14:39:11:689 00001c10              RhoRuby| require_compiled: error: can not find rhodes_translator

                                I 07/16/2012 14:39:11:689 00001c10              RhoRuby| require_compiled: rho/rhoviewhelpers

                                I 07/16/2012 14:39:11:691 00001c10              RhoRuby| require_compiled: rho

                                I 07/16/2012 14:39:11:691 00001c10              RhoRuby| require_compiled: debugger

                                I 07/16/2012 14:39:11:694 00001c10              RhoRuby| require_compiled: uri

                                I 07/16/2012 14:39:11:695 00001c10              RhoRuby| require_compiled: uri/common

                                I 07/16/2012 14:39:11:702 00001c10              RhoRuby| require_compiled: uri/generic

                                I 07/16/2012 14:39:11:708 00001c10              RhoRuby| require_compiled: uri/ftp

                                I 07/16/2012 14:39:11:711 00001c10              RhoRuby| require_compiled: uri/http

                                I 07/16/2012 14:39:11:712 00001c10              RhoRuby| require_compiled: uri/https

                                I 07/16/2012 14:39:11:712 00001c10              RhoRuby| require_compiled: uri/ldap

                                I 07/16/2012 14:39:11:714 00001c10              RhoRuby| require_compiled: uri/ldaps

                                I 07/16/2012 14:39:11:714 00001c10              RhoRuby| require_compiled: uri/mailto

                                I 07/16/2012 14:39:11:716 00001c10              RhoRuby| require_compiled: timeout

                                I 07/16/2012 14:39:12:720 00001c10                  APP| [Debugger] Unable to open connection to debugger: #<Errno::ECONNREFUSED: Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. - connect(2)>

                                I 07/16/2012 14:39:12:720 00001c10                  APP| RHO loaded

                                I 07/16/2012 14:39:12:720 00001c10                  APP| Calling RHO.initialize

                                I 07/16/2012 14:39:12:720 00001c10              RhoRuby| require_compiled: rhoappmanifest

                                I 07/16/2012 14:39:12:721 00001c10              RhoRuby| require_compiled: find

                                I 07/16/2012 14:39:12:726 00001c10                  APP| model file: Contact/contact

                                I 07/16/2012 14:39:12:726 00001c10                   DB| Open DB: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/rhosimulator/db/syncdbuser.sqlite

                                I 07/16/2012 14:39:12:726 00001c10          GeoLocation| Creating singleton instance.

                                I 07/16/2012 14:39:12:727 00001c10            RhodesApp| Starting sync engine...

                                I 07/16/2012 14:39:12:727 00001c10                 Sync| sync_poll_interval: 0

                                I 07/16/2012 14:39:12:727 00001c10                 Sync| syncserver: http://192.168.1.7:9292/application

                                I 07/16/2012 14:39:12:727 00001c10                 Sync| bulksync_state: 0

                                I 07/16/2012 14:39:12:727 00001c10            RhodesApp| RhoRubyInitApp...

                                I 07/16/2012 14:39:12:727 00001c10                  APP| init_app

                                I 07/16/2012 14:39:12:727 00002224                 Sync| Starting main routine...

                                I 07/16/2012 14:39:12:727 00001c10              RhoRuby| require_compiled: application

                                I 07/16/2012 14:39:12:728 00001c10                 Sync| Set notification. Source ID: -1;Url :http://127.0.0.1:55397/app/Settings/sync_notify; Params:

                                I 07/16/2012 14:39:12:728 00002224                 Sync| ThreadQueue blocked for 300 seconds...

                                I 07/16/2012 14:39:12:728 00001c10           HttpServer| Start HTTP server

                                I 07/16/2012 14:39:12:733 00001c10           HttpServer| Listen for connections on port 55397

                                I 07/16/2012 14:39:12:733 00001c10         AppCallbacks| addCommand: LOCAL-SERVER-STARTED

                                I 07/16/2012 14:39:12:733 000022ac         AppCallbacks| process command: LOCAL-SERVER-STARTED

                                I 07/16/2012 14:39:12:733 000022ac  SystemImpl.cpp: 717| rho_sys_report_app_started() has no implementation on Win Mobile.

                                I 07/16/2012 14:39:12:733 000022ac         AppCallbacks| process command: UI-CREATED

                                I 07/16/2012 14:39:12:733 000022ac                  Net| Method: GET;Url: http://127.0.0.1:55397/system/uicreated

                                I 07/16/2012 14:39:12:752 00001c10           HttpServer| Process URI: '/system/uicreated'

                                I 07/16/2012 14:39:12:752 00001c10                  APP| on_ui_created.navigate to start url: '/app'

                                I 07/16/2012 14:39:12:752 000020b4           MainWindow| navigate: 'http://127.0.0.1:55397/app'

                                I 07/16/2012 14:39:12:752 000020b4           MainWindow| WebView: loading...

                                I 07/16/2012 14:39:12:752 000022ac         AppCallbacks| process command: APP-ACTIVATED

                                I 07/16/2012 14:39:12:752 000022ac                  Net| Method: GET;Url: http://127.0.0.1:55397/system/activateapp

                                I 07/16/2012 14:39:12:763 00001c10           HttpServer| Process URI: '/system/activateapp'

                                I 07/16/2012 14:39:12:763 000022ac         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:39:12:763 00001c10           HttpServer| Process URI: '/app'

                                I 07/16/2012 14:39:12:765 00001c10           HttpServer| Process URI: '/app/index.erb'

                                I 07/16/2012 14:39:12:765 00001c10                  APP| RHO serve_index: /app/index.erb

                                I 07/16/2012 14:39:12:765 00001c10 RHO Rho::RhoController| inst_render_index

                                I 07/16/2012 14:39:12:765 00001c10              RhoRuby| require_compiled: erb

                                I 07/16/2012 14:39:12:770 00001c10                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/index.erb

                                I 07/16/2012 14:39:12:771 00001c10 RHO Rho::RhoController| index layout

                                I 07/16/2012 14:39:12:771 00001c10                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/layout.erb

                                I 07/16/2012 14:39:12:772 000020b4           MainWindow| addToolbarButton: Label: '';Action: 'back'

                                I 07/16/2012 14:39:12:772 00001c10           HttpServer| GC Start.

                                I 07/16/2012 14:39:12:772 000020b4           MainWindow| addToolbarButton: Label: '';Action: 'separator'

                                I 07/16/2012 14:39:12:772 000020b4           MainWindow| addToolbarButton: Label: '';Action: 'home'

                                I 07/16/2012 14:39:12:772 000020b4           MainWindow| addToolbarButton: Label: '';Action: 'refresh'

                                I 07/16/2012 14:39:12:773 000020b4           MainWindow| addToolbarButton: Label: '';Action: 'options'

                                I 07/16/2012 14:39:12:774 00001c10           HttpServer| GC End.

                                I 07/16/2012 14:39:12:775 000020b4           MainWindow| WebView: URL changed

                                I 07/16/2012 14:39:12:813 00001c10           HttpServer| Process URI: '/public/jquery/jquery-1.6.4.min.js'

                                I 07/16/2012 14:39:12:815 00001c10           HttpServer| Process URI: '/public/jquery/jquery.json-2.3.min.js'

                                I 07/16/2012 14:39:12:816 00001c10           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.css'

                                I 07/16/2012 14:39:12:817 00001c10           HttpServer| Process URI: '/public/css/jqmobile-patch.css'

                                I 07/16/2012 14:39:12:817 00001c10           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.js'

                                I 07/16/2012 14:39:12:853 00001c10           HttpServer| Process URI: '/public/js/jqmobile-patch.js'

                                I 07/16/2012 14:39:12:854 00001c10           HttpServer| Process URI: '/public/css/re_webkit.css'

                                I 07/16/2012 14:39:12:926 00001c10           HttpServer| Process URI: '/public/jqmobile/images/icons-18-white.png'

                                I 07/16/2012 14:39:12:943 000020b4           MainWindow| WebView: loaded

                                n| Destroying singleton instance.

                                I 07/16/2012 14:09:00:312 000018a0                 Sync| Stopping Sync thread

                                I 07/16/2012 14:09:00:322 00000614                 Sync| Thread shutdown

                                I 07/16/2012 14:31:56:747 00002194            RhodesApp| New start params: "-approot='C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes'" "-rhodespath='C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3'"

                                I 07/16/2012 14:31:56:747 00002194      Rhodes.cpp: 432| Rhodes started

                                I 07/16/2012 14:31:56:748 000013e0         AppCallbacks| Starting main routine...

                                I 07/16/2012 14:31:56:748 000013e0         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:31:56:749 00002194            RhodesApp| Trying to get free listening port.

                                I 07/16/2012 14:31:56:750 00002194            RhodesApp| Trying to bind of 0 port...

                                I 07/16/2012 14:31:56:750 00002194            RhodesApp| Got port to bind on: 55261

                                I 07/16/2012 14:31:56:750 00002194            RhodesApp| Free listening port: 55261

                                I 07/16/2012 14:31:56:808 00002194            RhodesApp| callAppActiveCallback

                                I 07/16/2012 14:31:56:808 00002194         AppCallbacks| addCommand: APP-ACTIVATED

                                I 07/16/2012 14:31:56:808 000013e0         AppCallbacks| Received command APP-ACTIVATED which is greater than expected (LOCAL-SERVER-STARTED) - postpone it

                                I 07/16/2012 14:31:56:808 000013e0         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:31:56:810 00002194         AppCallbacks| addCommand: UI-CREATED

                                I 07/16/2012 14:31:56:810 000013e0         AppCallbacks| Received command UI-CREATED which is greater than expected (LOCAL-SERVER-STARTED) - postpone it

                                I 07/16/2012 14:31:56:811 000013e0         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:31:56:811 0000217c            RhodesApp| Starting RhodesApp main routine...

                                I 07/16/2012 14:31:56:811 00002194           MainWindow| navigate: 'about:blank'

                                I 07/16/2012 14:31:56:811 00002194           MainWindow| WebView: loading...

                                I 07/16/2012 14:31:56:811 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:31:56:811 00002194           MainWindow| WebView: loaded

                                I 07/16/2012 14:31:56:813 00000fe8       ClientRegister| ClientRegister start

                                I 07/16/2012 14:31:56:813 00000fe8       ClientRegister| Try to register: 1

                                I 07/16/2012 14:31:56:813 00000fe8       ClientRegister| SyncThread is not ready

                                I 07/16/2012 14:31:56:813 00000fe8       ClientRegister| Waiting for 60 sec to try again to register client

                                I 07/16/2012 14:31:56:813 00000fe8       ClientRegister| Try to register: 2

                                I 07/16/2012 14:31:56:813 00000fe8       ClientRegister| SyncThread is not ready

                                I 07/16/2012 14:31:56:813 00000fe8       ClientRegister| Waiting for 60 sec to try again to register client

                                I 07/16/2012 14:31:56:815 0000217c              RhoRuby| Init_RhoBlobs: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/rhosimulator/db/db-files

                                I 07/16/2012 14:31:56:816 0000217c              RhoRuby| require_compiled: digest

                                I 07/16/2012 14:31:56:817 0000217c              RhoRuby| require_compiled: rhoframework

                                I 07/16/2012 14:31:56:818 0000217c              RhoRuby| require_compiled: rational

                                I 07/16/2012 14:31:56:819 0000217c              RhoRuby| require_compiled: rhom/rhom_db_adapter

                                I 07/16/2012 14:31:56:821 0000217c              RhoRuby| require_compiled: rhodes

                                I 07/16/2012 14:31:56:822 0000217c              RhoRuby| require_compiled: rhom/rhom_object

                                I 07/16/2012 14:31:56:823 0000217c              RhoRuby| require_compiled: rhofsconnector

                                I 07/16/2012 14:31:56:823 0000217c              RhoRuby| require_compiled: rho/rhofsconnector

                                I 07/16/2012 14:31:56:824 0000217c              RhoRuby| require_compiled: rhom/rhom_object_factory

                                I 07/16/2012 14:31:56:841 0000217c              RhoRuby| require_compiled: rhom/rhom

                                I 07/16/2012 14:31:56:843 0000217c              RhoRuby| require_compiled: rhom/rhom_model

                                I 07/16/2012 14:31:56:845 0000217c              RhoRuby| require_compiled: rhom

                                I 07/16/2012 14:31:56:845 0000217c              RhoRuby| require_compiled: rho/rhoapplication

                                I 07/16/2012 14:31:56:848 0000217c              RhoRuby| require_compiled: rholang/localization_simplified

                                I 07/16/2012 14:31:56:849 0000217c              RhoRuby| require_compiled: rho/rhomsg

                                I 07/16/2012 14:31:56:850 0000217c              RhoRuby| require_compiled: rho/rhotabbar

                                I 07/16/2012 14:31:56:851 0000217c              RhoRuby| require_compiled: rho/rhotoolbar

                                I 07/16/2012 14:31:56:851 0000217c                  APP| Current locale: ; Country code:

                                I 07/16/2012 14:31:56:851 0000217c                  APP| Locilized file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_

                                I 07/16/2012 14:31:56:852 0000217c                  APP| Could not find resources for locale: fr;file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_

                                I 07/16/2012 14:31:56:852 0000217c                  APP| Load english resources.

                                I 07/16/2012 14:31:56:852 0000217c              RhoRuby| require_compiled: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_en

                                I 07/16/2012 14:31:56:853 0000217c                  APP| Locilized file: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/lang/lang_

                                I 07/16/2012 14:31:56:853 0000217c                  APP| Could not find resources for locale: fr;file: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/lang/lang_

                                I 07/16/2012 14:31:56:853 0000217c                  APP| Locilized file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_

                                I 07/16/2012 14:31:56:853 0000217c                  APP| Could not find resources for locale: fr;file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_

                                I 07/16/2012 14:31:56:853 0000217c                  APP| Load english resources.

                                I 07/16/2012 14:31:56:853 0000217c              RhoRuby| require_compiled: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_en

                                I 07/16/2012 14:31:56:854 0000217c                  APP| Locilized file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhomsg_

                                I 07/16/2012 14:31:56:854 0000217c                  APP| Could not find resources for locale: fr;file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhomsg_

                                I 07/16/2012 14:31:56:854 0000217c                  APP| Load english resources.

                                I 07/16/2012 14:31:56:854 0000217c              RhoRuby| require_compiled: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhomsg_en

                                I 07/16/2012 14:31:56:855 0000217c              RhoRuby| require_compiled: indifferent_access

                                I 07/16/2012 14:31:56:856 0000217c              RhoRuby| require_compiled: rho/rhosupport

                                I 07/16/2012 14:31:56:858 0000217c              RhoRuby| require_compiled: rho/rhocontroller

                                I 07/16/2012 14:31:56:860 0000217c              RhoRuby| require_compiled: rho/render

                                I 07/16/2012 14:31:56:863 0000217c              RhoRuby| require_compiled: rho/rho

                                I 07/16/2012 14:31:56:874 0000217c              RhoRuby| require_compiled: rho/rhoerror

                                I 07/16/2012 14:31:56:875 0000217c              RhoRuby| require_compiled: rhom/rhom_source

                                E 07/16/2012 14:31:56:877 0000217c              RhoRuby| require_compiled: error: can not find rhodes_translator

                                I 07/16/2012 14:31:56:877 0000217c              RhoRuby| require_compiled: rho/rhoviewhelpers

                                I 07/16/2012 14:31:56:879 0000217c              RhoRuby| require_compiled: rho

                                I 07/16/2012 14:31:56:879 0000217c              RhoRuby| require_compiled: debugger

                                I 07/16/2012 14:31:56:882 0000217c              RhoRuby| require_compiled: uri

                                I 07/16/2012 14:31:56:883 0000217c              RhoRuby| require_compiled: uri/common

                                I 07/16/2012 14:31:56:890 0000217c              RhoRuby| require_compiled: uri/generic

                                I 07/16/2012 14:31:56:896 0000217c              RhoRuby| require_compiled: uri/ftp

                                I 07/16/2012 14:31:56:899 0000217c              RhoRuby| require_compiled: uri/http

                                I 07/16/2012 14:31:56:900 0000217c              RhoRuby| require_compiled: uri/https

                                I 07/16/2012 14:31:56:901 0000217c              RhoRuby| require_compiled: uri/ldap

                                I 07/16/2012 14:31:56:902 0000217c              RhoRuby| require_compiled: uri/ldaps

                                I 07/16/2012 14:31:56:903 0000217c              RhoRuby| require_compiled: uri/mailto

                                I 07/16/2012 14:31:56:905 0000217c              RhoRuby| require_compiled: timeout

                                I 07/16/2012 14:31:57:912 0000217c                  APP| [Debugger] Unable to open connection to debugger: #<Errno::ECONNREFUSED: Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. - connect(2)>

                                I 07/16/2012 14:31:57:912 0000217c                  APP| RHO loaded

                                I 07/16/2012 14:31:57:912 0000217c                  APP| Calling RHO.initialize

                                I 07/16/2012 14:31:57:912 0000217c              RhoRuby| require_compiled: rhoappmanifest

                                I 07/16/2012 14:31:57:913 0000217c              RhoRuby| require_compiled: find

                                I 07/16/2012 14:31:57:921 0000217c                  APP| model file: Contact/contact

                                I 07/16/2012 14:31:57:921 0000217c                   DB| Open DB: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/rhosimulator/db/syncdbuser.sqlite

                                I 07/16/2012 14:31:57:923 0000217c          GeoLocation| Creating singleton instance.

                                I 07/16/2012 14:31:57:923 0000217c            RhodesApp| Starting sync engine...

                                I 07/16/2012 14:31:57:923 0000217c                 Sync| sync_poll_interval: 0

                                I 07/16/2012 14:31:57:923 0000217c                 Sync| syncserver: http://192.168.1.7:9292/application

                                I 07/16/2012 14:31:57:923 0000217c                 Sync| bulksync_state: 0

                                I 07/16/2012 14:31:57:924 0000217c            RhodesApp| RhoRubyInitApp...

                                I 07/16/2012 14:31:57:924 0000217c                  APP| init_app

                                I 07/16/2012 14:31:57:924 0000162c                 Sync| Starting main routine...

                                I 07/16/2012 14:31:57:924 0000217c              RhoRuby| require_compiled: application

                                I 07/16/2012 14:31:57:925 0000162c                 Sync| ThreadQueue blocked for 300 seconds...

                                I 07/16/2012 14:31:57:925 0000217c                 Sync| Set notification. Source ID: -1;Url :http://127.0.0.1:55261/app/Settings/sync_notify; Params:

                                I 07/16/2012 14:31:57:926 0000217c           HttpServer| Start HTTP server

                                I 07/16/2012 14:31:57:936 0000217c           HttpServer| Listen for connections on port 55261

                                I 07/16/2012 14:31:57:936 0000217c         AppCallbacks| addCommand: LOCAL-SERVER-STARTED

                                I 07/16/2012 14:31:57:936 000013e0         AppCallbacks| process command: LOCAL-SERVER-STARTED

                                I 07/16/2012 14:31:57:937 000013e0  SystemImpl.cpp: 717| rho_sys_report_app_started() has no implementation on Win Mobile.

                                I 07/16/2012 14:31:57:937 000013e0         AppCallbacks| process command: UI-CREATED

                                I 07/16/2012 14:31:57:937 000013e0                  Net| Method: GET;Url: http://127.0.0.1:55261/system/uicreated

                                I 07/16/2012 14:31:57:978 0000217c           HttpServer| Process URI: '/system/uicreated'

                                I 07/16/2012 14:31:57:979 0000217c                  APP| on_ui_created.navigate to start url: '/app'

                                I 07/16/2012 14:31:57:979 00002194           MainWindow| navigate: 'http://127.0.0.1:55261/app'

                                I 07/16/2012 14:31:57:979 000013e0         AppCallbacks| process command: APP-ACTIVATED

                                I 07/16/2012 14:31:57:979 000013e0                  Net| Method: GET;Url: http://127.0.0.1:55261/system/activateapp

                                I 07/16/2012 14:31:57:979 00002194           MainWindow| WebView: loading...

                                I 07/16/2012 14:31:57:980 0000217c           HttpServer| Process URI: '/system/activateapp'

                                I 07/16/2012 14:31:57:980 000013e0         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:31:57:990 0000217c           HttpServer| Process URI: '/app'

                                I 07/16/2012 14:31:57:991 0000217c           HttpServer| Process URI: '/app/index.erb'

                                I 07/16/2012 14:31:57:992 0000217c                  APP| RHO serve_index: /app/index.erb

                                I 07/16/2012 14:31:57:992 0000217c RHO Rho::RhoController| inst_render_index

                                I 07/16/2012 14:31:57:992 0000217c              RhoRuby| require_compiled: erb

                                I 07/16/2012 14:31:57:998 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/index.erb

                                I 07/16/2012 14:31:57:999 0000217c RHO Rho::RhoController| index layout

                                I 07/16/2012 14:31:57:999 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/layout.erb

                                I 07/16/2012 14:31:58:001 00002194           MainWindow| addToolbarButton: Label: '';Action: 'back'

                                I 07/16/2012 14:31:58:001 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:31:58:001 00002194           MainWindow| addToolbarButton: Label: '';Action: 'separator'

                                I 07/16/2012 14:31:58:001 00002194           MainWindow| addToolbarButton: Label: '';Action: 'home'

                                I 07/16/2012 14:31:58:001 00002194           MainWindow| addToolbarButton: Label: '';Action: 'refresh'

                                I 07/16/2012 14:31:58:002 00002194           MainWindow| addToolbarButton: Label: '';Action: 'options'

                                I 07/16/2012 14:31:58:003 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:31:58:005 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:31:58:099 0000217c           HttpServer| Process URI: '/public/jquery/jquery-1.6.4.min.js'

                                I 07/16/2012 14:31:58:106 0000217c           HttpServer| Process URI: '/public/jquery/jquery.json-2.3.min.js'

                                I 07/16/2012 14:31:58:106 0000217c           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.css'

                                I 07/16/2012 14:31:58:107 0000217c           HttpServer| Process URI: '/public/css/jqmobile-patch.css'

                                I 07/16/2012 14:31:58:108 0000217c           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.js'

                                I 07/16/2012 14:31:58:145 0000217c           HttpServer| Process URI: '/public/js/jqmobile-patch.js'

                                I 07/16/2012 14:31:58:146 0000217c           HttpServer| Process URI: '/public/css/re_webkit.css'

                                I 07/16/2012 14:31:58:220 0000217c           HttpServer| Process URI: '/public/jqmobile/images/icons-18-white.png'

                                I 07/16/2012 14:31:58:243 00002194           MainWindow| WebView: loaded

                                I 07/16/2012 14:32:07:081 0000217c           HttpServer| Process URI: '/app/Contact'

                                I 07/16/2012 14:32:07:081 0000217c                  APP| RHO serve: /app/Contact

                                I 07/16/2012 14:32:07:082 0000217c              RhoRuby| require_compiled: Contact/contact_controller

                                I 07/16/2012 14:32:07:083 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:32:07:085 0000217c                  APP| const_missing: Contact

                                I 07/16/2012 14:32:07:085 0000217c                  APP| load_model: Contact

                                I 07/16/2012 14:32:07:086 0000217c              RhoRuby| require_compiled: Contact/contact

                                I 07/16/2012 14:32:07:086 0000217c                  APP| model name: Contact

                                I 07/16/2012 14:32:07:087 0000217c                  APP| model class found

                                I 07/16/2012 14:32:07:087 0000217c                  APP| Contact : {"sync_type"=>"incremental", "property"=>{}}

                                I 07/16/2012 14:32:07:087 0000217c                  APP| init_db_sources

                                I 07/16/2012 14:32:07:088 0000217c                  APP| start_id: 4

                                I 07/16/2012 14:32:07:089 0000217c                  APP| Migrate schema sources: {}

                                I 07/16/2012 14:32:07:188 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/Contact/index.erb

                                I 07/16/2012 14:32:07:190 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:32:07:192 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:32:07:217 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:32:12:356 00002194                 Sync| addCommand: SyncAll

                                I 07/16/2012 14:32:12:356 0000162c                  Net| Method: POST;Url: http://127.0.0.1:55261/system/loadallsyncsources

                                I 07/16/2012 14:32:12:358 0000217c           HttpServer| Process URI: '/system/loadallsyncsources'

                                I 07/16/2012 14:32:12:358 0000217c                  APP| load_all_sync_sources

                                I 07/16/2012 14:32:12:358 0000217c                  APP| init_sources:

                                I 07/16/2012 14:32:12:359 0000217c                  APP| @db_partitions : {"user"=>#<Rhom::RhomDbAdapter:0x6eb5b1c @dbpath="C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/rhosimulator/db/syncdbuser.sqlite", @database=#<SQLite3::Database:0x6eb5b08>>}

                                I 07/16/2012 14:32:12:359 0000217c                  APP| init_db_sources

                                I 07/16/2012 14:32:12:359 0000217c                  APP| start_id: 4

                                I 07/16/2012 14:32:12:438 0000217c                  APP| Migrate schema sources: {}

                                I 07/16/2012 14:32:12:438 0000217c                  APP| init_schema_sources

                                I 07/16/2012 14:32:12:438 0000217c                  APP| END init_schema_sources

                                I 07/16/2012 14:32:12:496 0000162c                 Sync| Sync server changes source ID :3

                                I 07/16/2012 14:32:12:497 0000162c                 Sync| Pull changes from server. Url: http://192.168.1.7:9292/application?client_id=83d33d054b9b4ce0bb670420b8499a73&p_size=2000&version=3&source_name=Contact

                                I 07/16/2012 14:32:12:497 0000162c                  Net| Method: GET;Url: http://192.168.1.7:9292/application?client_id=83d33d054b9b4ce0bb670420b8499a73&p_size=2000&version=3&source_name=Contact

                                I 07/16/2012 14:32:12:497 0000162c                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFOGZmZDJkZjZmZmQ0Y2Q4MWIwZTlm%0ANjU0ZDAwNWM3MzQwMzUwM2MzMmI2ZWRhMzI3MDczZTE5YzY2MmQxNWZjNkki%0ACmxvZ2luBjsARkkiC3JwYXZlbAY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--195982511d5b4531788fb361a7852aa6d8e1a736;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFOGZmZDJkZjZmZmQ0Y2Q4MWIwZTlm%0ANjU0ZDAwNWM3MzQwMzUwM2MzMmI2ZWRhMzI3MDczZTE5YzY2MmQxNWZjNkki%0ACmxvZ2luBjsARkkiC3JwYXZlbAY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--195982511d5b4531788fb361a7852aa6d8e1a736;path=/;

                                I 07/16/2012 14:32:13:813 0000162c                 Sync| Got 0(Processed: 0) records of 0 from server. Source: Contact. Version: 3

                                I 07/16/2012 14:32:13:880 0000162c                 Sync| Fire notification. Source : Contact; Url :http://127.0.0.1:55261/app/Settings/sync_notify; Params:

                                I 07/16/2012 14:32:13:880 0000162c                  Net| Method: POST;Url: http://127.0.0.1:55261/app/Settings/sync_notify

                                I 07/16/2012 14:32:13:881 0000217c           HttpServer| Process URI: '/app/Settings/sync_notify'

                                I 07/16/2012 14:32:13:881 0000217c                  APP| RHO serve: /app/Settings/sync_notify

                                I 07/16/2012 14:32:13:881 0000217c              RhoRuby| require_compiled: Settings/controller

                                I 07/16/2012 14:32:13:882 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:32:13:883 0000217c                  APP| Params: {"total_count"=>"0", "processed_count"=>"0", "cumulative_count"=>"0", "source_id"=>"3", "source_name"=>"Contact", "sync_type"=>"incremental", "status"=>"error", "error_code"=>"8", "error_message"=>"", "server_errors"=>{"query-error"=>{"message"=>"Please provide some code to read records from the backend data source"}}, "rho_callback"=>"1"}

                                I 07/16/2012 14:32:13:883 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:32:13:883 0000162c                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:55261/app/Settings/sync_notify; Params:

                                I 07/16/2012 14:32:13:883 0000162c                  Net| Method: POST;Url: http://127.0.0.1:55261/app/Settings/sync_notify

                                I 07/16/2012 14:32:13:884 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:32:13:884 0000217c           HttpServer| Process URI: '/app/Settings/sync_notify'

                                I 07/16/2012 14:32:13:884 0000217c                  APP| RHO serve: /app/Settings/sync_notify

                                I 07/16/2012 14:32:13:885 0000217c              RhoRuby| require_compiled: Settings/controller

                                I 07/16/2012 14:32:13:886 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:32:13:886 0000217c                  APP| Params: {"sync_type"=>"incremental", "status"=>"complete", "rho_callback"=>"1"}

                                I 07/16/2012 14:32:13:886 00002194           MainWindow| navigate: 'http://127.0.0.1:55261/app'

                                I 07/16/2012 14:32:13:886 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:32:13:886 00002194           MainWindow| WebView: loading...

                                I 07/16/2012 14:32:13:886 0000162c                 Sync| ThreadQueue blocked for 300 seconds...

                                I 07/16/2012 14:32:13:887 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:32:13:887 0000217c           HttpServer| Process URI: '/app'

                                I 07/16/2012 14:32:13:888 0000217c           HttpServer| Process URI: '/app/index.erb'

                                I 07/16/2012 14:32:13:889 0000217c                  APP| RHO serve_index: /app/index.erb

                                I 07/16/2012 14:32:13:889 0000217c RHO Rho::RhoController| inst_render_index

                                I 07/16/2012 14:32:13:889 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/index.erb

                                I 07/16/2012 14:32:13:889 0000217c RHO Rho::RhoController| index layout

                                I 07/16/2012 14:32:13:890 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/layout.erb

                                I 07/16/2012 14:32:13:891 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:32:13:891 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:32:13:892 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:32:13:915 0000217c           HttpServer| Process URI: '/public/jquery/jquery-1.6.4.min.js'

                                I 07/16/2012 14:32:13:921 0000217c           HttpServer| Process URI: '/public/jquery/jquery.json-2.3.min.js'

                                I 07/16/2012 14:32:13:922 0000217c           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.css'

                                I 07/16/2012 14:32:13:923 0000217c           HttpServer| Process URI: '/public/css/jqmobile-patch.css'

                                I 07/16/2012 14:32:13:923 0000217c           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.js'

                                I 07/16/2012 14:32:13:954 0000217c           HttpServer| Process URI: '/public/js/jqmobile-patch.js'

                                I 07/16/2012 14:32:13:955 0000217c           HttpServer| Process URI: '/public/css/re_webkit.css'

                                I 07/16/2012 14:32:14:032 0000217c           HttpServer| Process URI: '/public/jqmobile/images/icons-18-white.png'

                                I 07/16/2012 14:32:14:047 00002194           MainWindow| WebView: loaded

                                I 07/16/2012 14:32:37:035 00002194           MainWindow| navigate: 'http://127.0.0.1:55261/app/Settings'

                                I 07/16/2012 14:32:37:036 00002194           MainWindow| WebView: loading...

                                I 07/16/2012 14:32:37:047 0000217c           HttpServer| Process URI: '/app/Settings'

                                I 07/16/2012 14:32:37:048 0000217c                  APP| RHO serve: /app/Settings

                                I 07/16/2012 14:32:37:048 0000217c              RhoRuby| require_compiled: Settings/controller

                                I 07/16/2012 14:32:37:051 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:32:37:053 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/Settings/index.erb

                                I 07/16/2012 14:32:37:055 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/layout.erb

                                I 07/16/2012 14:32:37:059 0000217c RHO SettingsController| Layout file: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/layout.erb. Content size: 2793

                                I 07/16/2012 14:32:37:059 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:32:37:060 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:32:37:061 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:32:37:141 0000217c           HttpServer| Process URI: '/public/jquery/jquery-1.6.4.min.js'

                                I 07/16/2012 14:32:37:143 0000217c           HttpServer| Process URI: '/public/jquery/jquery.json-2.3.min.js'

                                I 07/16/2012 14:32:37:144 0000217c           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.css'

                                I 07/16/2012 14:32:37:144 0000217c           HttpServer| Process URI: '/public/css/jqmobile-patch.css'

                                I 07/16/2012 14:32:37:145 0000217c           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.js'

                                I 07/16/2012 14:32:37:151 0000217c           HttpServer| Process URI: '/public/js/jqmobile-patch.js'

                                I 07/16/2012 14:32:37:228 0000217c           HttpServer| Process URI: '/public/css/re_webkit.css'

                                I 07/16/2012 14:32:37:286 0000217c           HttpServer| Process URI: '/public/jqmobile/images/icons-18-white.png'

                                I 07/16/2012 14:32:37:296 00002194           MainWindow| WebView: loaded

                                I 07/16/2012 14:32:56:816 00000fe8       ClientRegister| Try to register: 3

                                I 07/16/2012 14:32:56:816 00000fe8       ClientRegister| Registered: 3

                                I 07/16/2012 14:32:56:817 00000fe8       ClientRegister| ClientRegister thread shutdown

                                I 07/16/2012 14:33:10:714 0000217c           HttpServer| Process URI: '/app/Settings/do_sync'

                                I 07/16/2012 14:33:10:714 0000217c                  APP| RHO serve: /app/Settings/do_sync

                                I 07/16/2012 14:33:10:715 0000217c              RhoRuby| require_compiled: Settings/controller

                                I 07/16/2012 14:33:10:718 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:33:10:719 0000217c                 Sync| addCommand: SyncAll

                                I 07/16/2012 14:33:10:719 0000162c                  Net| Method: POST;Url: http://127.0.0.1:55261/system/loadallsyncsources

                                I 07/16/2012 14:33:10:720 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:33:10:722 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:33:10:722 0000217c           HttpServer| Process URI: '/system/loadallsyncsources'

                                I 07/16/2012 14:33:10:722 0000217c           HttpServer| Process URI: '/app/Settings'

                                I 07/16/2012 14:33:10:723 0000217c                  APP| RHO serve: /app/Settings

                                I 07/16/2012 14:33:10:723 0000217c              RhoRuby| require_compiled: Settings/controller

                                I 07/16/2012 14:33:10:726 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:33:10:727 0000217c                  APP| Params: {"msg"=>"Sync has been triggered."}

                                I 07/16/2012 14:33:10:728 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/Settings/index.erb

                                I 07/16/2012 14:33:10:783 0000162c                 Sync| Sync server changes source ID :3

                                I 07/16/2012 14:33:10:783 0000162c                 Sync| Pull changes from server. Url: http://192.168.1.7:9292/application?client_id=83d33d054b9b4ce0bb670420b8499a73&p_size=2000&version=3&source_name=Contact

                                I 07/16/2012 14:33:10:783 0000162c                  Net| Method: GET;Url: http://192.168.1.7:9292/application?client_id=83d33d054b9b4ce0bb670420b8499a73&p_size=2000&version=3&source_name=Contact

                                I 07/16/2012 14:33:10:783 0000162c                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFOGZmZDJkZjZmZmQ0Y2Q4MWIwZTlm%0ANjU0ZDAwNWM3MzQwMzUwM2MzMmI2ZWRhMzI3MDczZTE5YzY2MmQxNWZjNkki%0ACmxvZ2luBjsARkkiC3JwYXZlbAY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--195982511d5b4531788fb361a7852aa6d8e1a736;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFOGZmZDJkZjZmZmQ0Y2Q4MWIwZTlm%0ANjU0ZDAwNWM3MzQwMzUwM2MzMmI2ZWRhMzI3MDczZTE5YzY2MmQxNWZjNkki%0ACmxvZ2luBjsARkkiC3JwYXZlbAY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--195982511d5b4531788fb361a7852aa6d8e1a736;path=/;

                                I 07/16/2012 14:33:10:784 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:33:10:786 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:33:10:810 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:33:10:891 0000162c                 Sync| Got 0(Processed: 0) records of 0 from server. Source: Contact. Version: 3

                                I 07/16/2012 14:33:10:941 0000162c                 Sync| Fire notification. Source : Contact; Url :http://127.0.0.1:55261/app/Settings/sync_notify; Params:

                                I 07/16/2012 14:33:10:941 0000162c                  Net| Method: POST;Url: http://127.0.0.1:55261/app/Settings/sync_notify

                                I 07/16/2012 14:33:10:942 0000217c           HttpServer| Process URI: '/app/Settings/sync_notify'

                                I 07/16/2012 14:33:10:942 0000217c                  APP| RHO serve: /app/Settings/sync_notify

                                I 07/16/2012 14:33:10:942 0000217c              RhoRuby| require_compiled: Settings/controller

                                I 07/16/2012 14:33:10:943 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:33:10:944 0000217c                  APP| Params: {"total_count"=>"0", "processed_count"=>"0", "cumulative_count"=>"0", "source_id"=>"3", "source_name"=>"Contact", "sync_type"=>"incremental", "status"=>"error", "error_code"=>"8", "error_message"=>"", "server_errors"=>{"query-error"=>{"message"=>"Please provide some code to read records from the backend data source"}}, "rho_callback"=>"1"}

                                I 07/16/2012 14:33:10:944 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:33:10:944 0000162c                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:55261/app/Settings/sync_notify; Params:

                                I 07/16/2012 14:33:10:944 0000162c                  Net| Method: POST;Url: http://127.0.0.1:55261/app/Settings/sync_notify

                                I 07/16/2012 14:33:10:945 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:33:10:945 0000217c           HttpServer| Process URI: '/app/Settings/sync_notify'

                                I 07/16/2012 14:33:10:945 0000217c                  APP| RHO serve: /app/Settings/sync_notify

                                I 07/16/2012 14:33:10:946 0000217c              RhoRuby| require_compiled: Settings/controller

                                I 07/16/2012 14:33:10:947 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:33:10:947 0000217c                  APP| Params: {"sync_type"=>"incremental", "status"=>"complete", "rho_callback"=>"1"}

                                I 07/16/2012 14:33:10:948 00002194           MainWindow| navigate: 'http://127.0.0.1:55261/app'

                                I 07/16/2012 14:33:10:948 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:33:10:948 0000162c                 Sync| ThreadQueue blocked for 300 seconds...

                                I 07/16/2012 14:33:10:948 00002194           MainWindow| WebView: loading...

                                I 07/16/2012 14:33:10:948 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:33:10:949 0000217c           HttpServer| Process URI: '/app'

                                I 07/16/2012 14:33:10:950 0000217c           HttpServer| Process URI: '/app/index.erb'

                                I 07/16/2012 14:33:10:950 0000217c                  APP| RHO serve_index: /app/index.erb

                                I 07/16/2012 14:33:10:951 0000217c RHO Rho::RhoController| inst_render_index

                                I 07/16/2012 14:33:10:951 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/index.erb

                                I 07/16/2012 14:33:10:951 0000217c RHO Rho::RhoController| index layout

                                I 07/16/2012 14:33:10:952 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/layout.erb

                                I 07/16/2012 14:33:10:953 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:33:10:954 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:33:10:954 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:33:11:007 0000217c           HttpServer| Process URI: '/public/jquery/jquery-1.6.4.min.js'

                                I 07/16/2012 14:33:11:028 0000217c           HttpServer| Process URI: '/public/jquery/jquery.json-2.3.min.js'

                                I 07/16/2012 14:33:11:029 0000217c           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.css'

                                I 07/16/2012 14:33:11:029 0000217c           HttpServer| Process URI: '/public/css/jqmobile-patch.css'

                                I 07/16/2012 14:33:11:030 0000217c           HttpServer| Process URI: '/public/jqmobile/jquery.mobile-1.0.1.min.js'

                                I 07/16/2012 14:33:11:062 0000217c           HttpServer| Process URI: '/public/js/jqmobile-patch.js'

                                I 07/16/2012 14:33:11:063 0000217c           HttpServer| Process URI: '/public/css/re_webkit.css'

                                I 07/16/2012 14:33:11:134 0000217c           HttpServer| Process URI: '/public/jqmobile/images/icons-18-white.png'

                                I 07/16/2012 14:33:11:137 00002194           MainWindow| WebView: loaded

                                I 07/16/2012 14:33:12:429 0000217c           HttpServer| Process URI: '/app/Contact'

                                I 07/16/2012 14:33:12:429 0000217c                  APP| RHO serve: /app/Contact

                                I 07/16/2012 14:33:12:430 0000217c              RhoRuby| require_compiled: Contact/contact_controller

                                I 07/16/2012 14:33:12:432 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:33:12:434 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/Contact/index.erb

                                I 07/16/2012 14:33:12:435 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:33:12:437 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:33:12:461 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:38:01:784 0000217c           HttpServer| Process URI: '/app'

                                I 07/16/2012 14:38:01:796 0000217c           HttpServer| Process URI: '/app/index.erb'

                                I 07/16/2012 14:38:01:797 0000217c                  APP| RHO serve_index: /app/index.erb

                                I 07/16/2012 14:38:01:797 0000217c RHO Rho::RhoController| inst_render_index

                                I 07/16/2012 14:38:01:797 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/index.erb

                                I 07/16/2012 14:38:01:799 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:38:01:801 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:38:01:823 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:38:04:911 0000217c           HttpServer| Process URI: '/app/Settings/logout'

                                I 07/16/2012 14:38:04:912 0000217c                  APP| RHO serve: /app/Settings/logout

                                I 07/16/2012 14:38:04:912 0000217c              RhoRuby| require_compiled: Settings/controller

                                I 07/16/2012 14:38:04:915 0000217c              RhoRuby| require_compiled: helpers/browser_helper

                                I 07/16/2012 14:38:04:916 0000217c  syncthread.cpp: 393| Logout

                                I 07/16/2012 14:38:04:916 0000217c                 Sync| STOP sync

                                I 07/16/2012 14:38:04:917 0000217c  syncthread.cpp: 398| stopSyncByUser

                                I 07/16/2012 14:38:04:972 0000217c                  APP| eval_compiled_file : C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/Settings/login.erb

                                I 07/16/2012 14:38:04:973 0000217c           HttpServer| GC Start.

                                I 07/16/2012 14:38:04:975 0000217c           HttpServer| GC End.

                                I 07/16/2012 14:38:05:000 00002194           MainWindow| WebView: URL changed

                                I 07/16/2012 14:38:07:902 00002194            RhodesApp| callAppActiveCallback

                                I 07/16/2012 14:38:07:902 00002194         AppCallbacks| addCommand: APP-DEACTIVATED

                                I 07/16/2012 14:38:07:902 00002194                  Net| Method: GET;Url: http://127.0.0.1:55261/system/deactivateapp

                                I 07/16/2012 14:38:07:902 000013e0         AppCallbacks| process command: APP-DEACTIVATED

                                I 07/16/2012 14:38:07:902 000013e0         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:38:07:905 0000217c           HttpServer| Process URI: '/system/deactivateapp'

                                I 07/16/2012 14:38:07:907 00002194                  Net| Method: GET;Url: http://127.0.0.1:55261/system/uidestroyed

                                I 07/16/2012 14:38:07:908 0000217c           HttpServer| Process URI: '/system/uidestroyed'

                                I 07/16/2012 14:38:07:908 000013e0         AppCallbacks| Thread shutdown

                                I 07/16/2012 14:38:07:908 00002194           HttpServer| Stopping server...

                                I 07/16/2012 14:38:07:909 0000217c            RhodesApp| RhodesApp thread shutdown

                                I 07/16/2012 14:38:07:909 0000217c          GeoLocation| Destroying singleton instance.

                                I 07/16/2012 14:38:07:909 0000217c                 Sync| Stopping Sync thread

                                I 07/16/2012 14:38:07:910 0000162c                 Sync| Thread shutdown

                                I 07/16/2012 14:39:11:575 000020b4            RhodesApp| New start params: "-approot='C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes'" "-rhodespath='C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3'"

                                I 07/16/2012 14:39:11:576 000020b4      Rhodes.cpp: 432| Rhodes started

                                I 07/16/2012 14:39:11:576 000022ac         AppCallbacks| Starting main routine...

                                I 07/16/2012 14:39:11:576 000022ac         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:39:11:577 000020b4            RhodesApp| Trying to get free listening port.

                                I 07/16/2012 14:39:11:578 000020b4            RhodesApp| Trying to bind of 0 port...

                                I 07/16/2012 14:39:11:578 000020b4            RhodesApp| Got port to bind on: 55397

                                I 07/16/2012 14:39:11:578 000020b4            RhodesApp| Free listening port: 55397

                                I 07/16/2012 14:39:11:619 000020b4            RhodesApp| callAppActiveCallback

                                I 07/16/2012 14:39:11:619 000020b4         AppCallbacks| addCommand: APP-ACTIVATED

                                I 07/16/2012 14:39:11:619 000022ac         AppCallbacks| Received command APP-ACTIVATED which is greater than expected (LOCAL-SERVER-STARTED) - postpone it

                                I 07/16/2012 14:39:11:619 000022ac         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:39:11:622 000020b4         AppCallbacks| addCommand: UI-CREATED

                                I 07/16/2012 14:39:11:622 000022ac         AppCallbacks| Received command UI-CREATED which is greater than expected (LOCAL-SERVER-STARTED) - postpone it

                                I 07/16/2012 14:39:11:622 000022ac         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                                I 07/16/2012 14:39:11:622 000020b4           MainWindow| navigate: 'about:blank'

                                I 07/16/2012 14:39:11:622 00001c10            RhodesApp| Starting RhodesApp main routine...

                                I 07/16/2012 14:39:11:622 000020b4           MainWindow| WebView: loading...

                                I 07/16/2012 14:39:11:622 000020b4           MainWindow| WebView: URL changed

                                I 07/16/2012 14:39:11:622 000020b4           MainWindow| WebView: loaded

                                I 07/16/2012 14:39:11:623 00002118       ClientRegister| ClientRegister start

                                I 07/16/2012 14:39:11:623 00002118       ClientRegister| Try to register: 1

                                I 07/16/2012 14:39:11:623 00002118       ClientRegister| SyncThread is not ready

                                I 07/16/2012 14:39:11:623 00002118       ClientRegister| Waiting for 60 sec to try again to register client

                                I 07/16/2012 14:39:11:623 00002118       ClientRegister| Try to register: 2

                                I 07/16/2012 14:39:11:623 00002118       ClientRegister| SyncThread is not ready

                                I 07/16/2012 14:39:11:623 00002118       ClientRegister| Waiting for 60 sec to try again to register client

                                I 07/16/2012 14:39:11:627 00001c10              RhoRuby| Init_RhoBlobs: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/rhosimulator/db/db-files

                                I 07/16/2012 14:39:11:628 00001c10              RhoRuby| require_compiled: digest

                                I 07/16/2012 14:39:11:629 00001c10              RhoRuby| require_compiled: rhoframework

                                I 07/16/2012 14:39:11:630 00001c10              RhoRuby| require_compiled: rational

                                I 07/16/2012 14:39:11:630 00001c10              RhoRuby| require_compiled: rhom/rhom_db_adapter

                                I 07/16/2012 14:39:11:633 00001c10              RhoRuby| require_compiled: rhodes

                                I 07/16/2012 14:39:11:634 00001c10              RhoRuby| require_compiled: rhom/rhom_object

                                I 07/16/2012 14:39:11:634 00001c10              RhoRuby| require_compiled: rhofsconnector

                                I 07/16/2012 14:39:11:635 00001c10              RhoRuby| require_compiled: rho/rhofsconnector

                                I 07/16/2012 14:39:11:636 00001c10              RhoRuby| require_compiled: rhom/rhom_object_factory

                                I 07/16/2012 14:39:11:652 00001c10              RhoRuby| require_compiled: rhom/rhom

                                I 07/16/2012 14:39:11:654 00001c10              RhoRuby| require_compiled: rhom/rhom_model

                                I 07/16/2012 14:39:11:656 00001c10              RhoRuby| require_compiled: rhom

                                I 07/16/2012 14:39:11:656 00001c10              RhoRuby| require_compiled: rho/rhoapplication

                                I 07/16/2012 14:39:11:660 00001c10              RhoRuby| require_compiled: rholang/localization_simplified

                                I 07/16/2012 14:39:11:661 00001c10              RhoRuby| require_compiled: rho/rhomsg

                                I 07/16/2012 14:39:11:662 00001c10              RhoRuby| require_compiled: rho/rhotabbar

                                I 07/16/2012 14:39:11:663 00001c10              RhoRuby| require_compiled: rho/rhotoolbar

                                I 07/16/2012 14:39:11:663 00001c10                  APP| Current locale: ; Country code:

                                I 07/16/2012 14:39:11:664 00001c10                  APP| Locilized file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_

                                I 07/16/2012 14:39:11:664 00001c10                  APP| Could not find resources for locale: fr;file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_

                                I 07/16/2012 14:39:11:664 00001c10                  APP| Load english resources.

                                I 07/16/2012 14:39:11:664 00001c10              RhoRuby| require_compiled: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/lang_en

                                I 07/16/2012 14:39:11:665 00001c10                  APP| Locilized file: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/lang/lang_

                                I 07/16/2012 14:39:11:665 00001c10                  APP| Could not find resources for locale: fr;file: C:/Users/rpavel.JTI/workspace/ContactsApp-rhodes/app/lang/lang_

                                I 07/16/2012 14:39:11:665 00001c10                  APP| Locilized file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_

                                I 07/16/2012 14:39:11:665 00001c10                  APP| Could not find resources for locale: fr;file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_

                                I 07/16/2012 14:39:11:665 00001c10                  APP| Load english resources.

                                I 07/16/2012 14:39:11:665 00001c10              RhoRuby| require_compiled: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhoerror_en

                                I 07/16/2012 14:39:11:666 00001c10                  APP| Locilized file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhomsg_

                                I 07/16/2012 14:39:11:666 00001c10                  APP| Could not find resources for locale: fr;file: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/framework/rholang/rhomsg_

                                I 07/16/2012 14:39:11:666 00001c10                  APP| Load english resources.

                                ss'

                                e_compiled: helpers/browser_helper

                                : /app/Contact

                                192.168.1.7 - - [16/Jul/2012 14:39:39] "POST /api/source/save_adapter HTTP/1.1" 200 30 0.0150

                                192.168.1.7 - - [16/Jul/2012 14:39:39] "POST /application/clientlogin HTTP/1.1" 200 - 2.4910

                                192.168.1.7 - - [16/Jul/2012 14:39:39] "POST /application/clientregister HTTP/1.1" 200 - 0.0180

                                192.168.1.7 - - [16/Jul/2012 14:39:39] "GET /application?client_id=83d33d054b9b4ce0bb670420b8499a73&p_size=2000&version=3&source_name=Contact HTTP/1.1" 200 196 0.0350

                                192.168.1.7 - - [16/Jul/2012 14:39:46] "GET /application?client_id=83d33d054b9b4ce0bb670420b8499a73&p_size=2000&version=3&source_name=Contact HTTP/1.1" 200 196 0.0470

                                 

                                Thank you

                      • Re: RhoConnect Sync working off and on
                        Glenn Sayer

                        Peter,  Keep in mind that the RhoConnect version on RhoHub might not be the same as is installed with the V2 install.  One other thing to try is add the sync_changes to your dosync call as this will cause your update to be synced before the query is done.

                        SyncEngine.dosync(false,":sync_changes => true")
                        1 of 1 people found this helpful
                          • Re: RhoConnect Sync working off and on
                            Peter Arcuri

                            Hey Glenn, our client tried the following:

                            Unfortunately running gem install rspec didn't change anything.  For the application running local (rhodes and rhoconnect) is working with rhosimulator but get a strange behavior when sync with http://rhostore.heroku.com/products We're able to modify on the rhosimulator (add, modify,..) and sync (I get the information on
                            the site) but when modifying a record on the web site and doing a sync we don't get the modifications. We've observed that when logging-in we get the sync and also when the automatic sync runs (5 min) or, in code we see that SyncEngine.dosync is called everywhere!?

                            Same apps  using Android simulator and windows mobile simulator provides the following error when logging in "Could not establish network
                            connection."

                             

                            Thougts?

                              • Re: RhoConnect Sync working off and on

                                Hi,

                                 

                                For the application running local (rhodes and rhoconnect) is working with rhosimulator but get a strange behavior when sync with http://rhostore.heroku.com/products We're able to modify on the rhosimulator (add, modify,..) and sync (I get the information on

                                the site) but when modifying a record on the web site and doing a sync we don't get the modifications.

                                This is because there is a rhoconnect adapter `:poll_interval:` setting which is used to determine how often an adapter's query method is executed.  By default it is 300 seconds.  This means the query for backend data (i.e. picking up a change you make directly in the rhostore.heroku.com website) happens at most once every 5 minutes.  This of course can be adjusted to suit your needs, it is just a default of 300 seconds.

                                 

                                http://docs.rhomobile.com/rhoconnect/settings#source-settings

                                http://docs.rhomobile.com/rhodes/synchronization#sync-workflow

                                  • Re: RhoConnect Sync working off and on
                                    Roméo Pavel

                                    Hi Lars, thank you for your reply. I know that the default interval is 5 min (300s) and that I can set this interval according to my needs, but the thing is that that I don't get the synchronisation when I push the Sync button on the menu bar (or "Perform Sync" in Settings) on RhoSimulator, after a modification on rhostore.heroku/products site.  In my opinion if you force a sync, this should happen instantly. I get the sync done just after a login, a reset or when the automatic sync is triggered. Or in code the same method is called (SyncEngine.dosync). 

                                    To recapitulate the issue is that using the sample (with Rhoconnect and Rhodes on local) and RhoSimulator I am able to upload the changes to heroku/products site without any problem but after I modify my record on the site I don't get the sync (download) done when I pres the Sync button (the sync is performed after the poll_interval elapsed or login or reset). Do you have any idea?

                              • Re: RhoConnect Sync working off and on
                                Peter Arcuri

                                I will pass your input along to the partner. He's currently away on PTO, but certainly will find your input valuable.