SAP Knowledge Base Article - Preview

1897002 - After upgrading Sybase Unwired Platform 2.1.3 to 2.2.2, Android GCM is failing - SUP/SMP

Symptom

After user upgrades Sybase Unwired Platform 2.1.3 to 2.2.2, Android GCM Notification is failing to send a notification.  Review of the Sybase Unwired Platform log seems to indicate the message is not being sent from the Sybase Unwired Platform server internally:

 2013-07-10 08:22:09.416 WARN Security pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.security.ldap.LDAPAttributer] [] [] Ignored non-string value of type [B for attribute thumbnailPhoto
2013-07-10 08:22:09.417 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Notification is forwarded to PushNotificationServiceImpl handle()
2013-07-10 08:22:09.417 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] ----------request URL obtained for notification is--------http://mobilereldev.cps.intel.com:8080/notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC
2013-07-10 08:22:09.417 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] ----------request URI obtained for notification is--------/notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC
2013-07-10 08:22:09.417 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Notification Mode0
2013-07-10 08:22:09.417 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Native Push Notification to be processed
2013-07-10 08:22:09.417 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Native application based Notification to be processed
2013-07-10 08:22:09.417 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Device type : Android
2013-07-10 08:22:09.417 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] GCM notification received
2013-07-10 08:22:09.417 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] GCM notification is recieved
2013-07-10 08:22:09.417 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Inside getC2DMNotification()
2013-07-10 08:22:09.417 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Inside isGateWayNotification() : enums =[X-SAP-POKE-DATA, X-SAP-POKE-ENTRIESOFINTEREST, X-SAP-POKE-TITLE]
2013-07-10 08:22:09.417 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Non-SAP Gateway Notification
2013-07-10 08:22:09.417 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Reading Notification data from headers
2013-07-10 08:22:09.418 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] notificatin objcom.sybase.sup.components.notification.C2dmNotificationBeanImpl@48166368
2013-07-10 08:22:09.418 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.Notificationhandler] [] [] Notificationhandler constructor is called
2013-07-10 08:22:09.418 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.Notificationhandler] [] [] gcm notification
2013-07-10 08:22:09.418 DEBUG PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.Notificationhandler] [] [] Notificationhandler : domain logs are set
2013-07-10 08:22:09.431 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationServiceImpl] [] [] Notification submitted to executor service
2013-07-10 08:22:09.431 INFO PUSH pool-4-thread-7 - /notifications/v1/83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOC [com.sybase.sup.components.notification.PushNotificationBuilder] [] [] Notification is submitted to SUP for processing .....
2013-07-10 08:22:09.432 INFO PUSH hz._hzInstance_2_FMSAP157_push.cached.thread-4 [com.sybase.sup.components.notification.Notificationhandler] [] [] Inside call() method of Notificationhandler
2013-07-10 08:22:09.433 INFO PUSH hz._hzInstance_2_FMSAP157_push.cached.thread-4 [com.sybase.sup.components.notification.Notificationhandler] [] [] Inside ProcessNotification method
2013-07-10 08:22:09.433 INFO PUSH hz._hzInstance_2_FMSAP157_push.cached.thread-4 [com.sybase.sup.components.notification.Notificationhandler] [] [] notification type is GCM
2013-07-10 08:22:09.433 INFO PUSH hz._hzInstance_2_FMSAP157_push.cached.thread-4 [com.sybase.sup.components.notification.Notificationhandler] [] [] GCMNotificationProcessor called
2013-07-10 08:22:09.433 DEBUG PUSH hz._hzInstance_2_FMSAP157_push.cached.thread-4 [com.sybase.sup.components.notification.Notificationhandler] [] [] Processing notification
2013-07-10 08:22:09.433 INFO PUSH hz._hzInstance_2_FMSAP157_push.cached.thread-4 [com.sybase.sup.components.notification.GCMNotificationProcessor] [] [] ###### GCMProcessor processing notification...
2013-07-10 08:22:09.433 DEBUG PUSH hz._hzInstance_2_FMSAP157_push.cached.thread-4 [com.sybase.sup.components.notification.GCMNotificationProcessor] [] [] ODP: processNotifications() - application connection Id=83df40c0-0573-36ed-9b32-4120868971a6__EntAppsTestGCMPOCand regId isAPA91bFlgDbygW-c4oLOD2DOWRVku-GLmRhLKFyfH2nDIyC90aE_scwYQNwpXQCppisTdNtjZuJOUONe6L7vwLX9MNV16BHYzdTgRlqAPhzJLIHf97e2izmi0fKyEtLI KbhN8T7IxsJH6X-KU8rYWwFaAr3Fs8XvWUj3s611U4nqmGRankK3ltU
2013-07-10 08:24:41.379 WARN Other TmHttpclientPool-337 [org.eclipse.jetty.util.thread.Timeout] [] [] EXCEPTION
java.lang.ClassCastException: com.sybase.sup.server.http.HttpRequestLoggingWrapper cannot be cast to org.mortbay.jetty.Request
at com.sybase.sup.server.http.TmApplicationHandler$1.onExpire(TmApplicationHandler.java:384)
at org.eclipse.jetty.client.HttpExchange$Listener.onExpire(HttpExchange.java:1121)
at org.eclipse.jetty.client.HttpExchange.setStatusExpired(HttpExchange.java:379)
at org.eclipse.jetty.client.HttpExchange.setStatus(HttpExchange.java:275)
at org.eclipse.jetty.client.HttpExchange.expire(HttpExchange.java:124)
at org.eclipse.jetty.client.HttpExchange$1.expired(HttpExchange.java:1071)
at org.eclipse.jetty.util.thread.Timeout.tick(Timeout.java:135)
at org.eclipse.jetty.util.thread.Timeout.tick(Timeout.java:148)
at org.eclipse.jetty.client.HttpClient$1.run(HttpClient.java:431)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
at java.lang.Thread.run(Thread.java:662)

AMPResponder:

20130709T140822.972|4|Responder calling ProcessQueueItems

When testing another server that is a fresh Sybase Unwired Platform 2.2 install that has been upgraded to 2.2.2, the Android GCM works successfully and notification is sent:

2013-07-10 08:13:04.320 DEBUG PUSH Thread-420 [com.sybase.sup.components.notification.gcm.QueueImpl] [] [] GCM Notification sent successfully


Read more...

Environment

  • Sybase Unwired Platform 2.1.3 upgraded to Sybase Unwired Platform 2.2.2
  • Windows 2008
  • Android 4.1, 4.2
  • Android GCM
  • oData

Product

SAP NetWeaver Application Server for ABAP 7.1 ; Sybase Unwired Platform 2.1 ; Sybase Unwired Platform 2.2

Keywords

  • SUP
  • GCM
  • Android
, KBA , MOB-SUP-RT , SUP Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.