From: Marco T. <mr...@gm...> - 2008-04-09 07:34:30
|
Hi John, actually if you see the message "Ignoring notification message for 'fwm-355831010114675'" in the ctp-server log file this means the ctp-server is receiving the udp messages sent by the ds-server, so there is no issue in JGroups communication. But if the ctp-server ignore the notification message, this means the device is not connected to the ctp-server. in the client log file, after the message "Address notification failed, STP not available (code 421)" you should see something like: [DEBUG] - Starting ctpWorker thread [DEBUG] - Open CTP connection... [INFO] - Starting a new SOCKET connection [DEBUG] - Find the server address... [INFO] - HOSTNAME = '<your host name>' PORT = '4745' [INFO] - Succesfully connected to <your host name>! cheers, marco 2008/4/9, John Hamill <jh...@la...>: > > Thanks Marco, > > I am still having some issues so if you can assist further that would be > excellent as I am unsure where to look next to resolve this - I am still > getting the messages from the CTP server about ignoring it I've verified > that jgroups is working and the two windows come up and work ok with > demos.draw etc so doesn't look like there is any underlying comms/network > problem. To get jgroups.demos.draw working I had to change > preferIPv4Stack=true and I put this option in all the startup.sh and > ctpserver.sh with a -D option. > > ctp-server.log > [2008-04-09 10:19:13,287] [funambol.ctp.server.notification] [TRACE] [OOB > Thread,ctp-notification-group,192.168.20.30:32833] Ignoring notification > message for 'fwm-355831010114675' > [2008-04-09 10:21:16,203] [funambol.ctp.server.notification] [TRACE] [OOB > Thread,ctp-notification-group,192.168.20.30:32833] Ignoring notification > message for 'fjm-1187bff318fb6da1dbf' > [2008-04-09 10:21:16,264] [funambol.ctp.server.notification] [TRACE] [OOB > Thread,ctp-notification-group,192.168.20.30:32833] Ignoring notification > message for 'fwm-355831010118064' > [2008-04-09 10:21:16,360] [funambol.ctp.server.notification] [TRACE] [OOB > Thread,ctp-notification-group,192.168.20.30:32833] Ignoring notification > message for 'fwm-355831010118213' > > > ds-server.log > [2008-04-09 10:21:16,329] [funambol.server.notification] [TRACE] > [269A07D3AA7523AFD92A45AF6336C8AC] [fwm-355831010118213] [jhamill] [mail] > Sending message > '70F45FF17B5ABD16CE29FA27D2F870C2031800000000000866756E616D626F6C1060000306046D61696C' > to > 'com.funambol.framework.server.Sync4jDevice@a20981[deviceId=fwm-355831010118213,description=Moto<%27com.funambol.framework.server.Sync4jDevice@a20981%5BdeviceId=fwm-355831010118213,description=Moto>with > JH,type=motoQ-JH,client_nonce=,server_nonce=,serverPassword=fnbl,timeZone=Australia/Sydney,convertDatePolicy=CONVERT_DATE,charset=UTF-8,address=,msisdn=0410438900,notificationBuilder=com/funambol/server/notification/DSNotificationBuilder.xml,notificationSender=com/funambol/server/notification/PushSender.xml]' > [2008-04-09 10:21:16,330] [funambol.server.notification.ctp-sender] > [TRACE] [269A07D3AA7523AFD92A45AF6336C8AC] [fwm-355831010118213] [jhamill] > [mail] Dispatching notification message... > [2008-04-09 10:21:16,406] [funambol.server.notification.ctp-sender] > [TRACE] [269A07D3AA7523AFD92A45AF6336C8AC] [fwm-355831010118213] [jhamill] > [mail] Notification message dispatched to all CTP Servers in 75 milliseconds > [2008-04-09 10:21:16,406] [funambol.server.notification.ctp-sender] > [TRACE] [269A07D3AA7523AFD92A45AF6336C8AC] [fwm-355831010118213] [jhamill] > [mail] Notification message not delivered by any CTP Server > [2008-04-09 10:21:16,406] [funambol.server.notification.tcp-sender] > [TRACE] [269A07D3AA7523AFD92A45AF6336C8AC] [fwm-355831010118213] [jhamill] > [mail] Notification message not sent via TCP > [2008-04-09 10:21:16,407] [funambol.server.notification] [TRACE] > [269A07D3AA7523AFD92A45AF6336C8AC] [fwm-355831010118213] [jhamill] [mail] > Notification message not sent since: [STP: Address not configured for device > 'fwm-355831010118213'. Unable to send notification via STP] [CTP: > Notification message not delivered by any CTP Server] > [2008-04-09 10:21:16,407] [funambol.push] [TRACE] > [269A07D3AA7523AFD92A45AF6336C8AC] [] [jhamill] [mail] [DS_PUSH_SENT_EXC] > Notification result: > > fjm-1187bff318fb6da1dbf: Notification message not sent since: [STP: > Address not configured for device 'fjm-1187bff318fb6da1dbf'. Unable to send > notification via STP] [CTP: Notification message not delivered by any CTP > Server] > > fwm-355831010118064: Notification message not sent since: [STP: > Address not configured for device 'fwm-355831010118064'. Unable to send > notification via STP] [CTP: Notification message not delivered by any CTP > Server] > > fwm-355831010118213: Notification message not sent since: [STP: > Address not configured for device 'fwm-355831010118213'. Unable to send > notification via STP] [CTP: Notification message not delivered by any CTP > Server] > > synclog.txt > > 10:19:02 GMT +10:00 [DEBUG] - GPRS mutex created. > 10:19:02 GMT +10:00 [DEBUG] - Checking internet connection... > 10:19:02 GMT +10:00 [DEBUG] - Attempting to connect... > 10:19:04 GMT +10:00 [DEBUG] - Internet connection succesfully completed! > 10:19:04 GMT +10:00 [DEBUG] - GPRS mutex released. > 10:19:04 GMT +10:00 [DEBUG] - User Agent = Funambol Smartphone Plug-in > 6.5.18 > 10:19:04 GMT +10:00 [DEBUG] - Connecting to 203.17.254.47:80 > 10:19:04 GMT +10:00 [DEBUG] - Requesting resource /funambol/devinfo > 10:19:37 GMT +10:00 [DEBUG] - Message sent > 10:19:37 GMT +10:00 [DEBUG] - HTTP server error: 421. Client not > notifiable and CTP Server is available. > 10:19:37 GMT +10:00 [INFO] - Address notification failed, STP not > available (code 421) > 10:19:37 GMT +10:00 [DEBUG] - notifyAddressChange: prepareSync failed > (421: HTTP server error: 421. Client not notifiable and CTP Server is > available.) > 10:19:37 GMT +10:00 [DEBUG] - notifyAddressChange END.... > > ------------------------------ > *From:* Marco Testa [mailto:mr...@gm...] > *Sent:* Tuesday, 8 April 2008 6:24 PM > *To:* syn...@li... > *Subject:* Re: [funambol-users] Using CTP > > Hi John, > on the device you just have to set Menu -> Settings -> Menu -> Sync Method > -> "Push Service". > Please send also the log file: Menu -> About Funambol -> Menu -> Logging > > cheers > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Sync4j-users mailing list > Syn...@li... > https://lists.sourceforge.net/lists/listinfo/sync4j-users > > |