Mindbowser / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Camel APNS issue with IBM Websphere server #209

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I am trying to deploy Camel APNS to push notification on IBM websphere server . 
But i am getting below error while deploying on WAS 8.5 server . I am using 
jdk1.7 to run the application.Please give me solution as soon as possible.

Caused by: com.notnoop.exceptions.InvalidSSLConfig: 
com.notnoop.exceptions.InvalidSSLConfig: 
java.security.NoSuchAlgorithmException: sunx509 KeyManagerFactory not available
        at com.notnoop.apns.internal.Utilities.newSSLContext(Utilities.java:88)
        at com.notnoop.apns.ApnsServiceBuilder.withCert(ApnsServiceBuilder.java:167)
        at org.apache.camel.component.apns.factory.ApnsServiceFactory.configureApnsCertificate(ApnsServiceFactory.java:194)
        at org.apache.camel.component.apns.factory.ApnsServiceFactory.getApnsService(ApnsServiceFactory.java:172)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:613)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)
        ... 100 more
Caused by: com.notnoop.exceptions.InvalidSSLConfig: 
java.security.NoSuchAlgorithmException: sunx509 KeyManagerFactory not available
        at com.notnoop.apns.internal.Utilities.newSSLContext(Utilities.java:109)
        at com.notnoop.apns.internal.Utilities.newSSLContext(Utilities.java:86)
        ... 108 more
Caused by: java.security.NoSuchAlgorithmException: sunx509 KeyManagerFactory 
not available
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:171)
        at javax.net.ssl.KeyManagerFactory.getInstance(KeyManagerFactory.java:10)
        at com.notnoop.apns.internal.Utilities.newSSLContext(Utilities.java:96) 

Original issue reported on code.google.com by nital.pa...@gmail.com on 19 Dec 2013 at 5:51

GoogleCodeExporter commented 8 years ago
Based on the stacktrace - another library is used: 
https://github.com/notnoop/java-apns

Original comment by alex.pan...@gmail.com on 28 Dec 2013 at 1:17

GoogleCodeExporter commented 8 years ago

Original comment by sype...@gmail.com on 19 May 2014 at 9:16