Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development

Reply
New Developer
Posts: 35
Registered: ‎07-11-2009
My Device: Not Specified

Re: Blackberry Push service(BIS) production license

Yes, using 5.0+ APIs.

 

Running DebugPortal in a local server from the push SDK.

 

- Installed SamplePushEnabledApp5_0.cod (was not currently installed)

- Started app

- Registered to DebugPortal: success

- Queried status in PPG: returns ACTIVE

- Tried push: works

 

Let me wait for some hours and re-run this test.

Q: does the DebugPortal webapp do some activity in background?

 

I intend not to impleent muy own push server resources right now (API, subscriber DB...), just talk directly to the PPG server via a PHP script. Is that OK?

 

Hope I'm clear.

 

Luciano

 

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Blackberry Push service(BIS) production license

Q: does the DebugPortal webapp do some activity in background?

The web app should receive registration requests from devices.

I intend not to impleent muy own push server resources right now (API, subscriber DB...), just talk directly to the PPG server via a PHP script. Is that OK?

Yes, but if you do not currently have the ability to check subscription status I would highly recommend this, it will be required to troubleshoot issues like this.
Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
New Developer
Posts: 35
Registered: ‎07-11-2009
My Device: Not Specified

Re: Blackberry Push service(BIS) production license

Understood and thanks for recommendation. I'm using supplied demos for both client and server at this moment.

 

It's still unclear for me whether the DebugPortal does some kind of background maintenance like keeping subscriptions "alive" at the PPG. Note I haven't been running Tomcat last days, when I found this issue. Just initiating pushes with a simple script.

 

Sorry I'm not a web technologies expert, and find the push SDK documentation a little too long and unclear. It took several hours to get the demo environment up and running.

 

I've also seen other developers having this issue.

 

Will wait 24 hours and re-run the test.

 

Regards,

L.

 

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Blackberry Push service(BIS) production license

Subscriptions should be maintained by the client only. There shouldn't be any need to add logic to keep the subscription alive.

 

What other devs are experiencing this issue? Could you refer me to their posts? It would be good to keep all people experiencing the same issue in the same forum thread, it may be best to join your posts with an existing thread.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
New Developer
Posts: 35
Registered: ‎07-11-2009
My Device: Not Specified

Re: Blackberry Push service(BIS) production license

Thanks for clarification.

 

Here you can find a thread started long ago which still hasn't got a solution

http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Push-Messages-Not-Delivered-Anymo...

 

Here's another but I'm not sure it's the same scenario http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/getting-code-1001-when-push-to-md...

 

 

 

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Blackberry Push service(BIS) production license

Thanks! Please continue by posting to the first thread you referenced. We can keep the issue clear and separate as it is not entirely related to this thread.
Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Regular Contributor
martinwang
Posts: 84
Registered: ‎12-02-2009
My Device: Not Specified

Re: Blackberry Push service(BIS) production license

Again,

 

register production Blackberry (BIS) failed with sample-push-enabled-app

log in  Subscription.log:

août 14,2012 12:57:12 INFO  - [net.rim.pushsdk.subscription.web.SubscribeServlet.performSubscriptionOperation()] - Subscribe failed - invalid push application: I double check I enter coorect push application ID. Any hint?

 

Thanks

Please use plain text.