Apple Push Notifications not working from java webservice deployed in Linux - ios

Tested java build with ios production certificate from local windows machines. It was working fine and the push notifications were sent successfully to iphone and ipad.Push notifications are done using javapns.
Deployed the same build in Linux machine, but the push notifications are not working now.
Granted full permission for p12 file in linux server.
should we add/grant anything in the linux server for sending push notification from Linux.
Please help to sort out this issue.

check your java version
JavaPNS javapns-jdk16 Java1.6 compatible

Related

Push notifications not receiving/working for AppStore and TestFlight build

As one of our iOS applications is UNABLE to receive push/remote notifications for production/live build which installed from App Store/TestFlight but able to receive push/remote notifications in development environment and even in production environment also app is able to receive push/remote notifications from third party services like Gimbal (which is in sync with Urban Airship) but not receiving in app notifications which triggered from our servers using Java code base.
We have cross checked
Push notifications permissions in iOS devices
Device token registration/update in our databases.
All ports which are needed for APNS are open in our servers firewall restrictions.
All the .p12 certificates which we are using for development and production are not expired and even we are able to send/trigger these push/remote notifications manually from third party portals(like pushtry.com website, NWPusher) by using the same .p12 certificates even in production environment to live build installed from App Store/TestFlight.
Need help/suggestions in this issue???
Thanks
I would suggest to check the host and port used in your server for production push notification.
I hope you are removing the sandbox from the host for production push notifications.

Where do i install APNS certification on my server?

I have the certificate from the Apple Push Notification Services. My App developer has not idea on how to install that on the server and neither do I. My server information
Apache Version 2.2.34
PHP Version 5.6.30
MySQL Version 5.6.41-84.1
You need to put it in the same path as your php script that contains the code to trigger the push for example in terms of local Mamp
hdocs
scrip.php ----------=> access would be $pushCertAndKeyPemFile = 'certificate.pem';
certificate.pem
For php code example look here Using PHP to send iOS Push Notifications via APNs

How does the IBM MobileFirst server know if it is in "production" or "sandbox" mode for APNS notifications?

I'm looking at the MobileFirst Platform 7.1 push notification setup instructions, and am trying to debug an issue with an MFP server where it seems to be connected to the wrong Apple backend server (sandbox where it should be production).
To clarify: how does the MFP server know if it is in "sandbox" or "production" mode? Is it purely based on which of the two .p12 files (apns-certificate-sandbox.p12 and apns-certificate-production.p12) exist in the .wlapp file? What happens if both of them are present?
I believe it is based on the name of the certificate. It either ends with "sandbox" or "production".

Apple push notification server on Amazon EC2 connected but not receive notification

I tried the apple push notification API and made it work on my local mac(environment). I tested it in my local tomcat, everything works fine and iOS devices receive notifications as excepted.
But when I deploy my war into the tomcat at remote server( Amazon EC2 instance), noted that I use the same .p12 file for verification. The application returns a successful message but the iOS devices could not receive any messages.
I checked the connection with Apple push server, everything seems fine.
I am wondering if I missed any other system set up for this Amazon EC2. The same code works on a tomcat on windows machine as well.
Thanks!
I have verified that sending a push notification from ec2 through Apns works great. I was having trouble, but it turned out to be using a cert for the wrong app and it failed silently. If you have trouble connecting then check firewall. If it is saying that it sends successfully but there is no delivery then eliminate variables in your certs.

Blackberry push notification - push server sample app missing

We tried to implement the push notification in blackberry. We followed the steps provided in BB developer guide.
We installed the push SDK in our system. once the SDK is installed, we checked whether the tomcat is running ... It was running fine. But, we could not find the sample push server app. (war file is missing in the webapps folder of tomcat).
Are we missing anything or should we install the push server sample app seperately from elsewhere ?
Any pointers where the steps for configuring a push server and a push client app (in device) would be very much helpful ....
Thanks in advance.
php Server side code reference
This is very helpful for the server side code.

Resources