[sync4j]Nokia手机和sync4j服务器同步的第四次手机登录,手工新建了syncSource同步源

news/2024/5/21 13:04:49

[sync4j]Nokia手机和sync4j服务器同步的第四次手机登录:

sync4j社区看到一个话题,讨论如何纠正Nokia系列手机会自动在远程数据库前面添加一个“./”符号。据Harrie说,“You can work around this by configure a similar syncsource

 as the one with the scard URI. Create with the admin tool

 a similar syncsource that has the URI ./scard.

也就是说,我们需要自己到Sync4j Admin中,配置一个数据库源。步骤是这样的:

展开localhost

       àModules

              àpdi

                     àSIF SyncSource

你会看到同步源有好几个,如scalscardsnotestask等。我们再添加一个“./scard”,配置画面为:

 

这样,Nokia7610手机上就可以设置远程数据库名称为“scard”了,请求到了服务器后,已经变成了“./scard”,sync4jSync4j/server/db/contact目录下开始建立用户的子目录,并将新上传的联系人放置在这个子目录里。

这种策略用sync4jgui client测试成功。

但是,在Nokia手机上,当服务器端日志打到这个地方的时候,总是停止下来,从而导致手机报告错误“服务器无响应”:

Log提示:

[Sep 20, 2005 2:11:46 PM][sync4j.server] FINEST: Calling output pipeline

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: Starting postprocessing

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: sync4j.foundation.synclet.ChangeSourceUriSynclet.postProcessMessage(...)

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: Replace TargetRef into output Status commands

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: Replace SourceRef into output Result commands

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: Replace TargetRef into output Alert commands

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: sync4j.foundation.ChangeDeviceIdSynclet.postProcessMessage(...)

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: sync4j.foundation.ChangeDeviceIdSynclet - processing not required

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: postProcessMessage: SlowFastSyncManagement of output message

[Sep 20, 2005 2:11:46 PM][sync4j.engine] FINEST: postProcessMessage: man: NOKIA

[Sep 20, 2005 2:11:46 PM][sync4j.transport.http] FINEST: Outgoing message length: 988

[Sep 20, 2005 2:11:46 PM][sync4j.transport.http] FINEST: Finally

 zhengyun@ultrapower 20050920





http://www.niftyadmin.cn/n/3649595.html

相关文章

debian tomcat_如何在Debian 10上安装Apache Tomcat 9

debian tomcat介绍 (Introduction) Apache Tomcat is a web server and servlet container that is used to serve Java applications. Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies, released by the Apache Software Fou…

移动开发:Ionic框架实现注册与登录功能

由于项目是前后端分离式开发,所以移动端使用ionic框架,后端API接口使用SpringBoot框架。注册与登录的后端实现可以参考我的这篇文章:后端开发:SpringBoot实现注册与登录功能。ionic框架实现注册与登录其实就是调用后端API接口对数…

Android根据分辨率进行单位转换-(dp,sp转像素px) - topMan'blog - ITeye技术网站

【转】Android根据分辨率进行单位转换-(dp,sp转像素px) 博客分类: Android 开发学习 Android系统中,默认的单位是像素(px)。也就是说,在没有明确说明的情况下,所有的大小设置都是以像素为单位。 如果以像素设置大小,会…

[sync4j]Nokia手机和sync4j服务器同步的第三次尝试

第三次手机登录:按照前面所说的,设置手机上面的“远程数据库”为“./contact”,然后做手机同步。结果,经过漫长的初始化时间,手机上报告错误“连接错误同步类型不被支持无法和服务器同步”在服务器日志中,我…

Ionic6使用组件出现错误:Did you add it to @NgModule.entryComponents

缘由 在Ionic6和Angular8项目中使用组件时出现错误:Error: No component factory found for LoginComponent. Did you add it to NgModule.entryComponents? 在我的上一篇文章:移动开发:Ionic框架实现注册与登录功能中,实现软件运行时弹出登…

new一个Object对象占用多少内存?

Java的自动内存管理机制省却了很多编码工作,大大地提高了Java的生产力,而且JVM的性能也越来越好,特别是G1的出现,改善了垃圾回收中stop the world的状况。 也许很多人都没有考虑过这个问题,new一个Object对象到底占用多…

[Domino]“java.lang.ClassCastException:lotus.domino.cso.Item”异常解决办法

[Domino] “java.lang.ClassCastException:lotus.domino.cso.Item”异常解决办法编写者日期关键词郑昀ultrapower2005-6Java Domino RichTextItem通过Domino的Document.getFirstItem("Body")是可以获取当前邮件的Body字段,并试图直接转换为Ric…

命令行基础知识:使用ImageMagick调整图像大小

If you’ve ever done programmatic image manipulation (especially in PHP) you have probably encountered the ImageMagick library or it’s major fork, GraphicsMagick. In addition to being able to leverage it’s power from many popular programming languages, y…