A fix is available
APAR status
Closed as program error.
Error description
APNS push notifications mail fail to be delivered. Worklight Server logs may contain error messages similar to: 2/16/15 17:12:20:210 EST] 000001b0 ApplicationCo E com.ibm.pushworks.server.notification.apns.ApplicationConnection APNSDelegate.connectionClosed FWLSE1080E: Connection to APNS closed. Delivery error: INVALID_TOKEN, error code: 8, identifier: 3. [2/16/15 17:12:20:211 EST] 000001b0 ApplicationCo E com.ibm.pushworks.server.notification.apns.ApplicationConnection APNSDelegate.messageSendFailed FWLSE1081E: Failed to send APNS notification with identifier 3, device token: CFA6D7521EF80A3B358B162C5B8A6BFCDBBEFB12D289912110F85EC0B2366173 com.notnoop.exceptions.ApnsDeliveryErrorException: Failed to deliver notification with error code 8 at com.ibm.pushworks.server.notification.apns.ApnsConnectionImpl$1M onitoringThread.run(ApnsConnectionImpl.java:169) [2/16/15 17:12:20:212 EST] 000001b0 ApnsConnectio I com.ibm.pushworks.server.notification.apns.ApnsConnectionImpl$1M onitoringThread run Exception while waiting for error code java.lang.RuntimeException: BaseProjectLocal is null at com.worklight.common.util.BaseProjectLocal.get(BaseProjectLocal. java:41) at com.worklight.server.util.ProjectLocal.get(ProjectLocal.java:57) at com.worklight.integration.notification.WLPushServiceListenerImpl .getProjectLocal(WLPushServiceListenerImpl.java:36) at com.ibm.pushworks.server.notification.apns.APNSMediator.deleteDe viceSubscriptionByTokenWithContext(APNSMediator.java:121) at com.ibm.pushworks.server.notification.apns.ApplicationConnection $APNSDelegate.messageSendFailed(ApplicationConnection.java:206) at com.ibm.pushworks.server.notification.apns.ApnsConnectionImpl$1M onitoringThread.run(ApnsConnectionImpl.java:169) [2/16/15 17:12:20:213 EST] 000001b0 ApplicationCo E com.ibm.pushworks.server.notification.apns.ApplicationConnection APNSDelegate.connectionClosed FWLSE1080E: Connection to APNS closed. Delivery error: UNKNOWN, error code: -2, identifier: -1. [2/16/15 17:12:20:321 EST] 000001b1 ApplicationCo E com.ibm.pushworks.server.notification.apns.ApplicationConnection APNSDelegate.connectionClosed FWLSE1080E: Connection to APNS closed. Delivery error: INVALID_TOKEN, error code: 8, identifier: 4. [2/16/15 17:12:20:322 EST] 000001b1 ApplicationCo E com.ibm.pushworks.server.notification.apns.ApplicationConnection APNSDelegate.messageSendFailed FWLSE1081E: Failed to send APNS notification with identifier 4, device token: AE201F962D540C7411EE43F41C202365CCD8ABF60A8DC22A544F87944DF8E347 com.notnoop.exceptions.ApnsDeliveryErrorException: Failed to deliver notification with error code 8 at com.ibm.pushworks.server.notification.apns.ApnsConnectionImpl$1M onitoringThread.run(ApnsConnectionImpl.java:169) [2/16/15 17:12:20:322 EST] 000001b1 ApnsConnectio I com.ibm.pushworks.server.notification.apns.ApnsConnectionImpl$1M onitoringThread run Exception while waiting for error code java.lang.RuntimeException: BaseProjectLocal is null at com.worklight.common.util.BaseProjectLocal.get(BaseProjectLocal. java:41) at com.worklight.server.util.ProjectLocal.get(ProjectLocal.java:57) at com.worklight.integration.notification.WLPushServiceListenerImpl .getProjectLocal(WLPushServiceListenerImpl.java:36) at com.ibm.pushworks.server.notification.apns.APNSMediator.deleteDe viceSubscriptionByTokenWithContext(APNSMediator.java:121) at com.ibm.pushworks.server.notification.apns.ApplicationConnection $APNSDelegate.messageSendFailed(ApplicationConnection.java:206) at com.ibm.pushworks.server.notification.apns.ApnsConnectionImpl$1M onitoringThread.run(ApnsConnectionImpl.java:169)
Local fix
None available
Problem summary
**************************************************************** * USERS AFFECTED: * * Users of IBM MFP (Worklight) v6.2 sending out push * * notifications via APNS (Apple Push notification service) . * **************************************************************** * PROBLEM DESCRIPTION: * * Users of IBM Worklight 6.2 sending out push notifications * * via APNS (Apple Push notification service) will notice Push * * notification delivery failure with exception - * * * * ApplicationCo E * * com.ibm.pushworks.server.notification.apns.Application * * Connection APNSDelegate.connection Closed FWLSE1080E: * * Connection to APNS closed. * * * * Delivery error: INVALID_TOKEN, error code: 8, * * identifier: 3. * * ApplicationCo E * * com.ibm.pushworks.server.notification.apns.ApplicationConnec * * tion * * APNSDelegate.messageSendFailed FWLSE1081E: Failed to send * * APNS * * notification with identifier 3, device token: * * .... * * at * * com.ibm.pushworks.server.notification.apns.ApnsConnectionImp * * l$1M * * onitoringThread.run(ApnsConnectionImpl.java:169) * * * * ApnsConnectio I * * com.ibm.pushworks.server.notification.apns.ApnsConnectionImp * * l$1M * * onitoringThread run Exception while waiting for error code * * java.lang.RuntimeException: BaseProjectLocal is null * * at * * com.worklight.common.util.BaseProjectLocal.get(BaseProjectLo * * cal. * * java:41) * * at * * com.worklight.server.util.ProjectLocal.get(ProjectLocal.java * * :57) * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
Code has been fixed to correct the validation checks before dispatching push notifications via APNS.
Temporary fix
Comments
APAR Information
APAR number
PI35493
Reported component name
WL/MFPF CONSUME
Reported component ID
5725I4301
Reported release
620
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-02-20
Closed date
2015-05-14
Last modified date
2015-05-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WL/MFPF CONSUME
Fixed component ID
5725I4301
Applicable component levels
R620 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 October 2021