Hallo,
Heeft hier iemand ervaring met de server applicatie Sync4j?
Hier is et iig te vinden:
http://sync4j.funambol.com/main.jsp?main=theproject
Maar ik heb et al zover aan de gang dat mn phone connectie krijgt met de server over GPRS.
Maar toch lukt het synchroniseren niet. Ik krijg alleen de foutmelding synchronistie fout, en het volgende staat in het logboek:
Hierbij staat Logging aan op alles.
Ben benieuwd of iemand me kan helpen, of dat er meer mensen geinteresseerd raken in deze applicatie.
Heeft hier iemand ervaring met de server applicatie Sync4j?
Hier is et iig te vinden:
http://sync4j.funambol.com/main.jsp?main=theproject
Maar ik heb et al zover aan de gang dat mn phone connectie krijgt met de server over GPRS.
Maar toch lukt het synchroniseren niet. Ik krijg alleen de foutmelding synchronistie fout, en het volgende staat in het logboek:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
| [17-sep-2005 10:53:02][sync4j.transport.http] FINEST: Http header:
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: cookie2: $Version="1"
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: x-wap-profile: "http://nds1.nds.nokia.com/uaprof/N6230r400.xml"
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: x-wap-xid: E7D2340F2D8EA4A38AD14FA301DFA1CC@Telfort
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: accept: application/vnd.syncml+wbxml
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: accept-charset: UTF-8
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: accept-encoding: gzip, deflate
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: cache-control: No-Store
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: connection: Close
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: content-type: application/vnd.syncml+wbxml; charset=UTF-8
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: host: 81.71.115.106
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: user-agent: Nokia6230/2.0 (05.35) Profile/MIDP-2.0 Configuration/CLDC-1.1
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: via: 1.1 Comverse 4.5
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: content-length: 1264
[17-sep-2005 10:53:02] INFO: Handling incoming request /sync4j/sync.
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: contentType: application/vnd.syncml+wbxml; charset=UTF-8
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: contentLength: 1264
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: Read 1264 bytes
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: cache: {W0JAMTVjNDU4Yy0xMTI2OTQ2NzA1MzM1=sync4j.transport.http.server.LocalSyncHolder@da1515, W0JAODU2ZDNiLTExMjY5NDY2NzEwMT=sync4j.transport.http.server.LocalSyncHolder@1c67b54, W0JAYmNjOGY0LTExMjY5NDY3OTUzND=sync4j.transport.http.server.LocalSyncHolder@2d13c1}
[17-sep-2005 10:53:02][sync4j.server] FINEST: Configuration: sync4j.framework.config.Configuration - {user.manager=sync4j/server/admin/DBUserManager.xml, engine.manifacturer=SyncServer, engine.deviceid=Sync4j SyncServer, security.officer=sync4j/server/security/DBOfficer.xml, minMaxMsgSize=2700, engine.modelname=-, engine.hardwareversion=-, server.uri=http://localhost:8080/sync4j/sync, syncml.dtdversion=1.1, engine.strategy=sync4j.server.engine.Sync4jStrategy, engine.devicetype=-, engine.pipeline=sync4j/framework/engine/pipeline/PipelineManager.xml, engine.store=sync4j/server/store/PersistentStoreManager.xml, server.id=sync4j, engine.firmwareversion=-, engine.softwareversion=4.0.9, engine.oem=-} - classLoader: sync4j.framework.config.ConfigClassLoader for: file:/C:/Program Files/Sync4j/syncserver-4.0.9/config/
[17-sep-2005 10:53:02][sync4j.engine] FINEST: Engine configuration:
[17-sep-2005 10:53:02][sync4j.engine] FINEST: store: sync4j.framework.server.store.PersistentStoreManager - {jndiDataSourceName: jdbc/sync4j; stores: sync4j.server.store.SyncPersistentStore,sync4j/server/store/EnginePersistentStore.xml,sync4j/server/store/ModulesPersistentStore.xml
[17-sep-2005 10:53:02][sync4j.engine] FINEST: officer: sync4j.server.security.DBOfficer@cb6a34
[17-sep-2005 10:53:02][sync4j.engine] FINEST: strategy: sync4j.server.engine.Sync4jStrategy@a97f68
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: Cleaning procedure...
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: now: 1126947182912
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: CLEANING_PERIOD: 300000
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: lastCleaningTimestamp: 1126943198883
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: holderTimeToLive: 600000
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: Performing purging...
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: Caching W0JAMWViOGY3MS0xMTI2OTQ3MTgyOTEy(sync4j.transport.http.server.LocalSyncHolder@1645b9)
[17-sep-2005 10:53:02][sync4j.server] FINEST: mimeType: application/vnd.syncml+wbxml
[17-sep-2005 10:53:02][sync4j.server] FINEST: charSet : UTF-8
[17-sep-2005 10:53:02][sync4j.server] FINEST: Convert message from wbxml to xml
[17-sep-2005 10:53:02][sync4j.engine] FINEST: Starting input canonization
[17-sep-2005 10:53:02][sync4j.server] FINEST: Message for creating SyncML object
<SyncML><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>13</SessionID><MsgID>1</MsgID><Target><LocURI>81.71.115.106:80/sync4j/sync</LocURI></Target><Source><LocURI>IMEI:356629001835152</LocURI></Source><Cred><Meta><Format>b64</Format><Type>syncml:auth-basic</Type></Meta><Data>MDAwMDA6MDAwMDA=</Data></Cred><Meta><MaxMsgSize>3584</MaxMsgSize></Meta></SyncHdr><SyncBody><Alert><CmdID>1</CmdID><Data>201</Data><Item><Target><LocURI>./sifcontact</LocURI></Target><Source><LocURI>/telecom/pb.vcf</LocURI></Source><Meta><Anchor><Last>0</Last><Next>71</Next></Anchor></Meta></Item></Alert><Put><CmdID>2</CmdID><Item><Source><LocURI>./devinf11</LocURI></Source><Meta><Type>application/vnd.syncml-devinf+wbxml</Type></Meta><Data>
<DevInf>
<VerDTD>1.1</VerDTD>
<Man>Nokia</Man>
<Mod>Nokia 6230</Mod>
<FwV>V 05.35</FwV>
<SwV>V 05.35</SwV>
<HwV>0721</HwV>
<DevID>IMEI:356629001835152</DevID>
<DevTyp>phone</DevTyp>
<DataStore>
<SourceRef>/telecom/pb.vcf</SourceRef>
<MaxGUIDSize>8</MaxGUIDSize>
<Rx-Pref>
<CTType>text/x-vcard</CTType>
<VerCT>2.1</VerCT>
</Rx-Pref>
<Tx-Pref>
<CTType>text/x-vcard</CTType>
<VerCT>2.1</VerCT>
</Tx-Pref>
<SyncCap>
<SyncType>1</SyncType>
<SyncType>2</SyncType>
<SyncType>7</SyncType>
</SyncCap>
</DataStore>
<DataStore>
<SourceRef>/telecom/cal.vcs</SourceRef>
<MaxGUIDSize>8</MaxGUIDSize>
<Rx-Pref>
<CTType>text/x-vcalendar</CTType>
<VerCT>1.0</VerCT>
</Rx-Pref>
<Tx-Pref>
<CTType>text/x-vcalendar</CTType>
<VerCT>1.0</VerCT>
</Tx-Pref>
<SyncCap>
<SyncType>1</SyncType>
<SyncType>2</SyncType>
<SyncType>7</SyncType>
</SyncCap>
</DataStore>
<DataStore>
<SourceRef>/telecom/note.txt</SourceRef>
<MaxGUIDSize>8</MaxGUIDSize>
<Rx-Pref>
<CTType>text/plain</CTType>
<VerCT></VerCT>
</Rx-Pref>
<Tx-Pref>
<CTType>text/plain</CTType>
<VerCT></VerCT>
</Tx-Pref>
<SyncCap>
<SyncType>1</SyncType>
<SyncType>2</SyncType>
<SyncType>7</SyncType>
</SyncCap>
</DataStore>
<CTCap>
<CTType>text/x-vcard</CTType>
<PropName>BEGIN</PropName>
<ValEnum>VCARD</ValEnum>
<PropName>VERSION</PropName>
<ValEnum>2.1</ValEnum>
<PropName>END</PropName>
<ValEnum>VCARD</ValEnum>
<PropName>N</PropName>
<PropName>TEL</PropName>
<ParamName>PREF</ParamName>
<ParamName>WORK</ParamName>
<ParamName>HOME</ParamName>
<ParamName>VOICE</ParamName>
<ParamName>FAX</ParamName>
<ParamName>CELL</ParamName>
<PropName>NOTE</PropName>
<PropName>URL</PropName>
<PropName>EMAIL</PropName>
<PropName>LABEL</PropName>
</CTCap>
<CTCap>
<CTType>text/x-vcalendar</CTType>
<PropName>BEGIN</PropName>
<ValEnum>VCALENDAR</ValEnum>
<ValEnum>VEVENT</ValEnum>
<ValEnum>VTODO</ValEnum>
<PropName>VERSION</PropName>
<ValEnum>1.0</ValEnum>
<PropName>END</PropName>
<ValEnum>VCALENDAR</ValEnum>
<ValEnum>VEVENT</ValEnum>
<ValEnum>VTODO</ValEnum>
<PropName>DTSTART</PropName>
<DataType>datetime</DataType>
<PropName>DTEND</PropName>
<DataType>datetime</DataType>
<PropName>SUMMARY</PropName>
<PropName>DUE</PropName>
<PropName>AALARM</PropName>
<DataType>datetime</DataType>
<PropName>DALARM</PropName>
<DataType>datetime</DataType>
<PropName>RRULE</PropName>
<PropName>CATEGORIES</PropName>
<PropName>LOCATION</PropName>
<PropName>STATUS</PropName>
<PropName>PRIORITY</PropName>
<PropName>EXDATE</PropName>
</CTCap>
<CTCap>
<CTType>text/plain</CTType>
<PropName></PropName>
<DataType>chr</DataType>
<Size>3000</Size>
</CTCap>
</DevInf></Data></Item></Put><Final></Final></SyncBody></SyncML>
[17-sep-2005 10:53:02][sync4j.server] FINEST: Calling input pipeline
[17-sep-2005 10:53:02][sync4j.engine] FINEST: Starting preprocessing
[17-sep-2005 10:53:02][sync4j.engine] FINEST: sync4j.foundation.ChangeDeviceIdSynclet.preProcessMessage(...)
[17-sep-2005 10:53:02][sync4j.engine] FINEST: sync4j.foundation.ChangeDeviceIdSynclet - device id replacement required
[17-sep-2005 10:53:02][sync4j.engine] FINEST: sync4j.foundation.ChangeDeviceIdSynclet - original clientDeviceId 'IMEI:356629001835152'
[17-sep-2005 10:53:02][sync4j.engine] FINEST: preProcessMessage: SyncRequestStore of input message
[17-sep-2005 10:53:02][sync4j.engine] FINEST: preProcessMessage: name clientCapabilities Put
[17-sep-2005 10:53:02][sync4j.server] FINEST: Calling process message
[17-sep-2005 10:53:02][sync4j.handler] FINEST: current state: STATE_START
[17-sep-2005 10:53:02][sync4j] FINEST: Username: 00000
[17-sep-2005 10:53:02][sync4j] SEVERE: Error reading principal: sync4j.framework.server.store.NotFoundException: Principal not found for syncml-phone/00000
[17-sep-2005 10:53:02][sync4j] FINER: THROW
sync4j.framework.server.store.NotFoundException: Principal not found for syncml-phone/00000
at sync4j.server.store.EnginePersistentStore.readPrincipal(EnginePersistentStore.java:310)
at sync4j.server.store.EnginePersistentStore.read(EnginePersistentStore.java:153)
at sync4j.framework.server.store.PersistentStoreManager.read(PersistentStoreManager.java:148)
at sync4j.server.security.DBOfficer.authenticateBasicCredential(DBOfficer.java:171)
at sync4j.server.security.DBOfficer.authenticate(DBOfficer.java:124)
at sync4j.server.engine.Sync4jEngine.login(Sync4jEngine.java:875)
at sync4j.server.session.SyncSessionHandler.login(SyncSessionHandler.java:1771)
at sync4j.server.session.SyncSessionHandler.processMessage(SyncSessionHandler.java:362)
at sync4j.server.engine.SyncAdapter.processInputMessage(SyncAdapter.java:418)
at sync4j.server.engine.SyncAdapter.processMessage(SyncAdapter.java:303)
at sync4j.transport.http.server.LocalSyncHolder.processMessage(LocalSyncHolder.java:64)
at sync4j.transport.http.server.Sync4jServlet.doPost(Sync4jServlet.java:227)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
[17-sep-2005 10:53:02] INFO: Authentication failed for device syncml-phone. Make sure that the client used correct username and password and that there is a principal associating the user to the device.
[17-sep-2005 10:53:02][sync4j.handler] FINEST: moving to state STATE_PKG1_RECEIVING
[17-sep-2005 10:53:02][sync4j.handler] FINEST: Processing the initialization commands
[17-sep-2005 10:53:02][sync4j.handler] FINEST: moving to state STATE_START
[17-sep-2005 10:53:02][sync4j.handler] FINEST: About returning message: <?xml version="1.0" encoding="UTF-8"?>
<SyncML>
<SyncHdr>
<VerDTD>1.1</VerDTD>
<VerProto>SyncML/1.1</VerProto>
<SessionID>13</SessionID>
<MsgID>1</MsgID>
<Target>
<LocURI>syncml-phone</LocURI>
</Target>
<Source>
<LocURI>81.71.115.106:80/sync4j/sync</LocURI>
</Source>
</SyncHdr>
<SyncBody>
<Status>
<CmdID>1</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>0</CmdRef>
<Cmd>SyncHdr</Cmd>
<TargetRef>81.71.115.106:80/sync4j/sync</TargetRef>
<SourceRef>syncml-phone</SourceRef>
<Chal>
<Meta>
<Format>b64</Format>
<Type>syncml:auth-basic</Type>
</Meta>
</Chal>
<Data>401</Data>
</Status>
<Status>
<CmdID>2</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>1</CmdRef>
<Cmd>Alert</Cmd>
<TargetRef>./sifcontact</TargetRef>
<SourceRef>/telecom/pb.vcf</SourceRef>
<Data>401</Data>
</Status>
<Status>
<CmdID>3</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>2</CmdRef>
<Cmd>Put</Cmd>
<SourceRef>./devinf11</SourceRef>
<Data>401</Data>
</Status>
<Final></Final>
</SyncBody>
</SyncML>
[17-sep-2005 10:53:02][sync4j.server] FINEST: Calling output pipeline
[17-sep-2005 10:53:02][sync4j.engine] FINEST: Starting postprocessing
[17-sep-2005 10:53:02][sync4j.engine] FINEST: sync4j.foundation.ChangeDeviceIdSynclet.postProcessMessage(...)
[17-sep-2005 10:53:02][sync4j.engine] FINEST: sync4j.foundation.ChangeDeviceIdSynclet - setting device id to 'IMEI:356629001835152'
[17-sep-2005 10:53:02][sync4j.engine] FINEST: postProcessMessage: SlowFastSyncManagement of output message
[17-sep-2005 10:53:02][sync4j.engine] FINEST: postProcessMessage: man: Nokia
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: Outgoing message length: 439
[17-sep-2005 10:53:02][sync4j.transport.http] FINEST: Finally |
Hierbij staat Logging aan op alles.
Ben benieuwd of iemand me kan helpen, of dat er meer mensen geinteresseerd raken in deze applicatie.