Hello everybody, 
I take this exception when I try to load a servlet. My server is GAE. 
 
The code from the servlet is the following : 


import java.io.IOException;
import javax.servlet.http.*;

import com.notnoop.apns.APNS;
import com.notnoop.apns.ApnsService;

@SuppressWarnings("serial")
public class LastPushNotificationServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {

 String payload = APNS.newPayload().alertBody("Push notification!").build();
String token = "be6XXXXXXXXXX";
resp.setContentType("text/plain");
resp.getWriter().println("Hello, world");
    ApnsService service =
    APNS.newService()
    .withCert("CertificateName.p12", "XXXX")
    .withSandboxDestination()
    .build();

service.push(token, payload);
}
}

Is there any incompatibility with the APNS library? 
Any ideas?
If you need further details, let me know :)


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to