ICEpush
  1. ICEpush
  2. PUSH-175

Do not log NoClassDefFoundError when checking for BPNS configuration

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE 3.0.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      EE

      Description

      On Servlet context startup, the BPNSNotificationProvider checks for BPNS configuration. If the RIM pusksdk classes are not available, this results in the following message being logged:

      INFO: BPNS notification disabled: Could not read BPNS configuration during Registration java.lang.NoClassDefFoundError: net/rim/pushsdk/commons/PushSDKException


      Some of our clients have been concerned about logging the NoClassDefFoundError which can trigger extra alerts in their logging audits, so we should avoid this and just print out a "BPNS notification disabled: RIM pushsdk classes not available" message instead.

        Activity

        Philip Breau created issue -
        Hide
        Philip Breau added a comment -

        Revision: 31573
        Author: philip.breau
        Date: June-15-12 10:31:11 AM
        Message:
        PUSH-175 don't print out scary NoClassDefFoundError when checking for RIM pushsdk config


        Modified : /icepush-ee/branches/icepush-ee-3.0.x-maintenance/icepush-ee/core-ee/src/main/java/com/icesoft/icepush/BPNSNotificationProvider.java

        Revision: 31572
        Author: philip.breau
        Date: June-15-12 10:30:56 AM
        Message:
        PUSH-175 don't print out scary NoClassDefFoundError when checking for RIM pushsdk config


        Modified : /icepush-ee/trunk/icepush-ee/core-ee/src/main/java/com/icesoft/icepush/BPNSNotificationProvider.java

        Show
        Philip Breau added a comment - Revision: 31573 Author: philip.breau Date: June-15-12 10:31:11 AM Message: PUSH-175 don't print out scary NoClassDefFoundError when checking for RIM pushsdk config Modified : /icepush-ee/branches/icepush-ee-3.0.x-maintenance/icepush-ee/core-ee/src/main/java/com/icesoft/icepush/BPNSNotificationProvider.java Revision: 31572 Author: philip.breau Date: June-15-12 10:30:56 AM Message: PUSH-175 don't print out scary NoClassDefFoundError when checking for RIM pushsdk config Modified : /icepush-ee/trunk/icepush-ee/core-ee/src/main/java/com/icesoft/icepush/BPNSNotificationProvider.java
        Philip Breau made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s EE-3.0.0.GA_P01 [ 10329 ]
        Fix Version/s EE 3.1.0 [ 10323 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.2.0.BETA [ 10574 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: