Topic
  • 5 replies
  • Latest Post - ‏2012-02-20T11:41:32Z by SystemAdmin
Monica_
Monica_
3 Posts

Pinned topic Notification Service Sample Problem

‏2012-02-17T11:38:34Z |
I was trying this notification sample application. I completed all the steps provided in the notification sample tutorial . The IP address for the Notifications Application service which I used is 192.168.0.7 and the port used is 9080. But it is not getting registered due to some problems.
The following steps were taken by me:
1) I created APN enabled provisioning profile and created a SSL certificate also.
2) I started the Application server using command :bin/was4d run .
3) Then I generated the the .ipa file and saved it at the location as specified in the sample.
4) I tried running the sample on the device

Anyone who has tried this sample, Please help me.
What can be the possible errors?
Updated on 2012-02-20T11:41:32Z at 2012-02-20T11:41:32Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    59 Posts

    Re: Notification Service Sample Problem

    ‏2012-02-17T11:55:25Z  
    Hello Monica,

    You need to use the IP address of your Application server. (192.168.0.7 looks like the IP address that was used in the Notifications sample documentation.)
  • Monica_
    Monica_
    3 Posts

    Re: Notification Service Sample Problem

    ‏2012-02-17T12:19:57Z  
    Hello Monica,

    You need to use the IP address of your Application server. (192.168.0.7 looks like the IP address that was used in the Notifications sample documentation.)
    It is silly to ask this question but can you please tell me how to get the IP Address of Application server?
  • SystemAdmin
    SystemAdmin
    59 Posts

    Re: Notification Service Sample Problem

    ‏2012-02-17T12:59:04Z  
    • Monica_
    • ‏2012-02-17T12:19:57Z
    It is silly to ask this question but can you please tell me how to get the IP Address of Application server?
    Try 'ifconfig' if your server is being hosted on a MAC. Or 'ipconfig' if on Windows.
  • Monica_
    Monica_
    3 Posts

    Re: Notification Service Sample Problem

    ‏2012-02-20T05:41:15Z  
    Try 'ifconfig' if your server is being hosted on a MAC. Or 'ipconfig' if on Windows.
    But that would be the IP of the system. In the tutorial, it requires the IP address of Notification Application Service. Are both the IP addresses same?
  • SystemAdmin
    SystemAdmin
    59 Posts

    Re: Notification Service Sample Problem

    ‏2012-02-20T11:41:32Z  
    • Monica_
    • ‏2012-02-20T05:41:15Z
    But that would be the IP of the system. In the tutorial, it requires the IP address of Notification Application Service. Are both the IP addresses same?
    Hi Monica,

    Yes, the notification and application management services come pre-deployed on the application server provided with the Tech Preview. So once you start the app server, it also starts the notification & app mngmt services automatically. The notification client sample application needs to know where you are hosting these services so that it can register with them accordingly.