As you already discovered yourself - judging from your comment on the following GitHub issue - it's a known issue in the Java APNS library: https://github.com/notnoop/java-apns/issues/117. So this is not an Apache Camel issue.
Also would you be so kind to use the [email protected] list instead of dev@ On Wed, Dec 18, 2013 at 5:22 PM, Nital <[email protected]> wrote: > 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) > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-APNS-issue-with-IBM-Websphere-server-tp5745003.html > Sent from the Camel Development mailing list archive at Nabble.com. >
