On Wed, Jul 31, 2013 at 2:19 PM, Lucas Holmquist <lholmqui(a)redhat.com>wrote:
On Jul 30, 2013, at 8:23 PM, Matthias Wessendorf <matzew(a)apache.org>
wrote:
Hello Yavuz,
thanks for trying out the new bits - comments inline;
On Tue, Jul 30, 2013 at 9:20 PM, Yavuz Selim YILMAZ <yavuzsel(a)buffalo.edu>wrote:
> Hi all,
>
> I was trying out unified push server with my production app. Here are
> some of the issues I encountered. Any helps and directions are appreciated.
>
> 1- I cloned aerogear-unified-push-server master branch, and imported to
> eclipse. it was not compiling (I think because of m2e issues).
>
Not compiling ? Or Eclipse error/warnings (which is different from having
java code that is not compiling)
> I have seen in pom.xml file a fix for that already, but on my machine
> that fix was not working either. so, I needed to change
> maven-compiler-plugin's execution id to "test-compile". it then
compiled,
> and deployed successfully.
>
> 2- Then I followed the instructions here:
>
https://github.com/aerogear/aerogear-unified-push-server
> Here, login command hangs with a message saying "no chunk, no close, no
> size. Assume close to signal end". And I hit Ctrl + C. Then tried again,
> same thing. And then I proceeded (with Ctrl + C), and everything else seem
> fine, and I could add my app and variants.
>
Luke, any comment here on the login ?
in the read me
https://github.com/lholmquist/aerogear-unified-push-server#login
probably would make sense to change the code to 406 or 409( stealing this
from matzew ;) )
>
> 3- While adding the iOS variants, readme says {PUSH_ID}, but it is not
> clear if it means "pushApplicationId" or "id" (in the output of
app
> creation command, there are two id's, none is called "PUSH_ID").
>
I have updated the README to use *pushApplicationID*
>
> 4- In the server side, "pushee" and "ag-push" are used together
I
> believe. Example commands use "ag-push", while the repo deploys the server
> as "pushee" (but then it tries to navigate to "ag-push" on the
browser, and
> cannot find). I simply renamed the project to "ag-push" after importing
(so
> it deploys as "ag-push"), and it is working well, but I still see some
logs
> printing "pushee".
>
if you would rename the WAR file to something else, that would be used
name as the servlet context name. I assume the 'pushee' is something from
eclipse.
The README uses 'ag-push' as servlet context name, since that document is
maven driven:
https://github.com/aerogear/aerogear-unified-push-server#some-guidance
and the reason for ag-push:
https://github.com/aerogear/aerogear-unified-push-server/blob/master/pom....
If you want, we can change that to pushee - but again if folks rename the
WAR file, it's really a different name
>
> 5- Development certificate and sending push to development app is working
> well (as it was always the case :) ). But I'm still getting error on
> production app. Here is the server logs (I didn't know the payload, kept
> same with the last one I tried (i.e. there is a staging input in the
> payload). It sends to dev, but fails to send to prod.):
>
Make sure you read:
http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-New-branch-for-Pro...
NOTE: you need a different variant for TEST and another one for
production. Note as well, that you have different tokens for the different
Apple Provisioning profiles.
If a DEV token is send to Apple PROD server => nothing happens; if a PROD
token is send to Apple DEV server => nothing happens.
>
> (first I thought the certificate_error is related to my .p12 file, and I
> reproduced the .p12 and added new variant and then tried again, but still
> no luck).
>
> 15:13:28,812 INFO
> [org.jboss.aerogear.connectivity.rest.sender.PushNotificationSenderEndpoint]
> (http--0.0.0.0-8080-2) Message submitted to PushNetworks for further
> processing
> 15:13:28,814 INFO
> [org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl]
> (EJB default - 9) Processing broadcast request with 'BroadcastMessage
> [simplePush=null, alert=try prod cert, sound=null, badge=1,
> data={staging=production}]' payload
>
I see you use an outdated message format: 'staging=production'. That was
needed on the older work, where we had both DEV and PROD in _one_ variant.
That's no longer the case.
When creating an iOS variant, you say if that variant is production or not:
https://github.com/aerogear/aerogear-unified-push-server#ios-variant
> 15:13:29,814 INFO [com.notnoop.apns.internal.ApnsConnectionImpl]
> (Thread-102) Exception while waiting for error code:
> java.net.SocketException: Socket closed
> at java.net.SocketInputStream.socketRead0(Native Method)
> [classes.jar:1.6.0_51]
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> [classes.jar:1.6.0_51]
> at com.sun.net.ssl.internal.ssl.InputRecord.readFully(
> InputRecord.java:422) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(
> SSLSocketImpl.java:863) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(
> SSLSocketImpl.java:820) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.AppInputStream.read(
> AppInputStream.java:75) [jsse.jar:1.6]
> at java.io.InputStream.read(InputStream.java:82) [classes.jar:1.6.0_51]
> at com.notnoop.apns.internal.ApnsConnectionImpl$1MonitoringThread.run(
> ApnsConnectionImpl.java:114) [apns-0.2.3.jar:]
>
> 15:13:31,743 INFO [com.notnoop.apns.internal.ApnsConnectionImpl]
> (Thread-105) Exception while waiting for error code:
> java.net.SocketException: Socket is closed
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(
> SSLSocketImpl.java:1334) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.AppInputStream.read(
> AppInputStream.java:76) [jsse.jar:1.6]
> at java.io.InputStream.read(InputStream.java:82) [classes.jar:1.6.0_51]
> at com.notnoop.apns.internal.ApnsConnectionImpl$1MonitoringThread.run(
> ApnsConnectionImpl.java:114) [apns-0.2.3.jar:]
>
> 15:13:32,150 INFO [com.notnoop.apns.internal.ApnsConnectionImpl]
> (Thread-106) Exception while waiting for error code:
> java.net.SocketException: Socket is closed
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(
> SSLSocketImpl.java:1334) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.AppInputStream.read(
> AppInputStream.java:76) [jsse.jar:1.6]
> at java.io.InputStream.read(InputStream.java:82) [classes.jar:1.6.0_51]
> at com.notnoop.apns.internal.ApnsConnectionImpl$1MonitoringThread.run(
> ApnsConnectionImpl.java:114) [apns-0.2.3.jar:]
>
These are not really issues - after sending we tear down the connection,
and the APNs library logs an (odd) info for that:
https://github.com/notnoop/java-apns/issues/109#issuecomment-21111291
>
> 15:13:32,150 INFO [com.notnoop.apns.internal.ApnsConnectionImpl] (EJB
> default - 9) Failed to send message Message(Id=1;
> Token=004DF5E9CBDB6160F3115D777A29EF64193D5BB34ACF82B8DBF42B8CF212BC9E;
>
Payload={"staging":"production","aps":{"alert":"try
prod
> cert","badge":1}})... trying again after delay:
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> certificate_unknown
>
something is wrong here with your certificate. Please read this thread:
http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-New-branch-for-Pro...
and have in mind to have two variants: one for PROD and one for DEV
certificates.
thanks for trying!
-Matthias
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(
> SSLSocketImpl.java:1822) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(
> SSLSocketImpl.java:1004) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(
> SSLSocketImpl.java:1188) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(
> SSLSocketImpl.java:654) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.AppOutputStream.write(
> AppOutputStream.java:100) [jsse.jar:1.6]
> at java.io.OutputStream.write(OutputStream.java:58)
> [classes.jar:1.6.0_51]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:240) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:230) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsServiceImpl.push(
> ApnsServiceImpl.java:46) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.AbstractApnsService.push(
> AbstractApnsService.java:89) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsServiceImpl.push(
> ApnsServiceImpl.java:36) [apns-0.2.3.jar:]
> at
>
org.jboss.aerogear.connectivity.message.sender.APNsPushNotificationSender.sendPushMessage(
> APNsPushNotificationSender.java:79) [classes:]
> at
> org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl.sendToAPNs(
> SenderServiceImpl.java:188) [classes:]
> at
> org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl.broadcast(
> SenderServiceImpl.java:160) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [classes.jar:1.6.0_51]
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_51]
> at java.lang.reflect.Method.invoke(Method.java:597)
> [classes.jar:1.6.0_51]
> at
>
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(
> ManagedReferenceMethodInterceptorFactory.java:72)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext$Invocation.proceed(
> InterceptorContext.java:374)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(
> Jsr299BindingsInterceptor.java:127)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(
> Jsr299BindingsInterceptor.java:135)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(
> UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.WeavedInterceptor.processInvocation(
> WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(
> UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(
> SBInvocationInterceptor.java:47)
> [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(
> EjbRequestScopeActivationInterceptor.java:101)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InitialInterceptor.processInvocation(
> InitialInterceptor.java:21)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(
> ComponentDispatcherInterceptor.java:53)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(
> PooledInstanceInterceptor.java:51)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(
> CMTTxInterceptor.java:228) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(
> CMTTxInterceptor.java:304) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(
> CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(
> CurrentInvocationContextInterceptor.java:41)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(
> LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(
> NamespaceContextInterceptor.java:50)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(
> AdditionalSetupInterceptor.java:43)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(
> TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ViewService$View.invoke(
> ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
> ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.AsyncVoidInterceptorFactory$Task.run(
> AsyncVoidInterceptorFactory.java:75)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:895) [classes.jar:1.6.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:918) [classes.jar:1.6.0_51]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_51]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
>
> 15:13:33,463 INFO [com.notnoop.apns.internal.ApnsConnectionImpl]
> (Thread-107) Exception while waiting for error code:
> java.net.SocketException: Socket is closed
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(
> SSLSocketImpl.java:1334) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.AppInputStream.read(
> AppInputStream.java:76) [jsse.jar:1.6]
> at java.io.InputStream.read(InputStream.java:82) [classes.jar:1.6.0_51]
> at com.notnoop.apns.internal.ApnsConnectionImpl$1MonitoringThread.run(
> ApnsConnectionImpl.java:114) [apns-0.2.3.jar:]
>
> 15:13:33,463 ERROR [com.notnoop.apns.internal.ApnsConnectionImpl] (EJB
> default - 9) Couldn't send message after 3 retries.Message(Id=1;
> Token=004DF5E9CBDB6160F3115D777A29EF64193D5BB34ACF82B8DBF42B8CF212BC9E;
>
Payload={"staging":"production","aps":{"alert":"try
prod
> cert","badge":1}}): javax.net.ssl.SSLHandshakeException: Received
fatal
> alert: certificate_unknown
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(
> SSLSocketImpl.java:1822) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(
> SSLSocketImpl.java:1004) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(
> SSLSocketImpl.java:1188) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(
> SSLSocketImpl.java:654) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.AppOutputStream.write(
> AppOutputStream.java:100) [jsse.jar:1.6]
> at java.io.OutputStream.write(OutputStream.java:58)
> [classes.jar:1.6.0_51]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:240) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:230) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsServiceImpl.push(
> ApnsServiceImpl.java:46) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.AbstractApnsService.push(
> AbstractApnsService.java:89) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsServiceImpl.push(
> ApnsServiceImpl.java:36) [apns-0.2.3.jar:]
> at
>
org.jboss.aerogear.connectivity.message.sender.APNsPushNotificationSender.sendPushMessage(
> APNsPushNotificationSender.java:79) [classes:]
> at
> org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl.sendToAPNs(
> SenderServiceImpl.java:188) [classes:]
> at
> org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl.broadcast(
> SenderServiceImpl.java:160) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [classes.jar:1.6.0_51]
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_51]
> at java.lang.reflect.Method.invoke(Method.java:597)
> [classes.jar:1.6.0_51]
> at
>
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(
> ManagedReferenceMethodInterceptorFactory.java:72)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext$Invocation.proceed(
> InterceptorContext.java:374)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(
> Jsr299BindingsInterceptor.java:127)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(
> Jsr299BindingsInterceptor.java:135)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(
> UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.WeavedInterceptor.processInvocation(
> WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(
> UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(
> SBInvocationInterceptor.java:47)
> [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(
> EjbRequestScopeActivationInterceptor.java:101)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InitialInterceptor.processInvocation(
> InitialInterceptor.java:21)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(
> ComponentDispatcherInterceptor.java:53)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(
> PooledInstanceInterceptor.java:51)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(
> CMTTxInterceptor.java:228) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(
> CMTTxInterceptor.java:304) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(
> CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(
> CurrentInvocationContextInterceptor.java:41)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(
> LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(
> NamespaceContextInterceptor.java:50)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(
> AdditionalSetupInterceptor.java:43)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(
> TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ViewService$View.invoke(
> ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
> ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.AsyncVoidInterceptorFactory$Task.run(
> AsyncVoidInterceptorFactory.java:75)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:895) [classes.jar:1.6.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:918) [classes.jar:1.6.0_51]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_51]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
>
> 15:13:33,483 ERROR [org.jboss.weld.Bean] (EJB default - 9) WELD-000019
> Error destroying an instance Managed Bean [class
> org.jboss.aerogear.connectivity.jpa.dao.impl.VariantDaoImpl] with
> qualifiers [@Any @Default] of
> org.jboss.aerogear.connectivity.jpa.dao.impl.VariantDaoImpl@fb0bb09
> 15:13:33,484 ERROR [org.jboss.ejb3.invocation] (EJB default - 9)
> JBAS014134: EJB Invocation failed on component SenderServiceImpl for method
> public abstract void
>
org.jboss.aerogear.connectivity.service.sender.SenderService.broadcast(org.jboss.aerogear.connectivity.model.PushApplication,org.jboss.aerogear.connectivity.service.sender.message.BroadcastMessage):
> javax.ejb.EJBException: com.notnoop.exceptions.NetworkIOException:
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> certificate_unknown
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(
> CMTTxInterceptor.java:166) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(
> CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(
> CMTTxInterceptor.java:304) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(
> CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(
> CurrentInvocationContextInterceptor.java:41)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(
> LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(
> NamespaceContextInterceptor.java:50)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(
> AdditionalSetupInterceptor.java:43)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(
> TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ViewService$View.invoke(
> ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
> ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.AsyncVoidInterceptorFactory$Task.run(
> AsyncVoidInterceptorFactory.java:75)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:895) [classes.jar:1.6.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:918) [classes.jar:1.6.0_51]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_51]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> Caused by: com.notnoop.exceptions.NetworkIOException:
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> certificate_unknown
> at com.notnoop.apns.internal.Utilities.wrapAndThrowAsRuntimeException(
> Utilities.java:277) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:257) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:230) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsServiceImpl.push(
> ApnsServiceImpl.java:46) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.AbstractApnsService.push(
> AbstractApnsService.java:89) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsServiceImpl.push(
> ApnsServiceImpl.java:36) [apns-0.2.3.jar:]
> at
>
org.jboss.aerogear.connectivity.message.sender.APNsPushNotificationSender.sendPushMessage(
> APNsPushNotificationSender.java:79) [classes:]
> at
> org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl.sendToAPNs(
> SenderServiceImpl.java:188) [classes:]
> at
> org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl.broadcast(
> SenderServiceImpl.java:160) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [classes.jar:1.6.0_51]
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_51]
> at java.lang.reflect.Method.invoke(Method.java:597)
> [classes.jar:1.6.0_51]
> at
>
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(
> ManagedReferenceMethodInterceptorFactory.java:72)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext$Invocation.proceed(
> InterceptorContext.java:374)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(
> Jsr299BindingsInterceptor.java:127)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(
> Jsr299BindingsInterceptor.java:135)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(
> UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.WeavedInterceptor.processInvocation(
> WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(
> UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(
> SBInvocationInterceptor.java:47)
> [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(
> EjbRequestScopeActivationInterceptor.java:101)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InitialInterceptor.processInvocation(
> InitialInterceptor.java:21)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(
> ComponentDispatcherInterceptor.java:53)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(
> PooledInstanceInterceptor.java:51)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(
> CMTTxInterceptor.java:228) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> ... 22 more
> Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert:
> certificate_unknown
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(
> SSLSocketImpl.java:1822) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(
> SSLSocketImpl.java:1004) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(
> SSLSocketImpl.java:1188) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(
> SSLSocketImpl.java:654) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.AppOutputStream.write(
> AppOutputStream.java:100) [jsse.jar:1.6]
> at java.io.OutputStream.write(OutputStream.java:58)
> [classes.jar:1.6.0_51]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:240) [apns-0.2.3.jar:]
> ... 55 more
>
> 15:13:33,500 ERROR [org.jboss.as.ejb3] (EJB default - 9) JBAS014102:
> Asynchronous invocation failed: javax.ejb.EJBException:
> com.notnoop.exceptions.NetworkIOException:
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> certificate_unknown
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(
> CMTTxInterceptor.java:166) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(
> CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(
> CMTTxInterceptor.java:304) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(
> CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(
> CurrentInvocationContextInterceptor.java:41)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(
> LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(
> NamespaceContextInterceptor.java:50)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(
> AdditionalSetupInterceptor.java:43)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(
> TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ViewService$View.invoke(
> ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
> ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.AsyncVoidInterceptorFactory$Task.run(
> AsyncVoidInterceptorFactory.java:75)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:895) [classes.jar:1.6.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:918) [classes.jar:1.6.0_51]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_51]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> Caused by: com.notnoop.exceptions.NetworkIOException:
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> certificate_unknown
> at com.notnoop.apns.internal.Utilities.wrapAndThrowAsRuntimeException(
> Utilities.java:277) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:257) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:230) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsServiceImpl.push(
> ApnsServiceImpl.java:46) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.AbstractApnsService.push(
> AbstractApnsService.java:89) [apns-0.2.3.jar:]
> at com.notnoop.apns.internal.ApnsServiceImpl.push(
> ApnsServiceImpl.java:36) [apns-0.2.3.jar:]
> at
>
org.jboss.aerogear.connectivity.message.sender.APNsPushNotificationSender.sendPushMessage(
> APNsPushNotificationSender.java:79) [classes:]
> at
> org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl.sendToAPNs(
> SenderServiceImpl.java:188) [classes:]
> at
> org.jboss.aerogear.connectivity.service.sender.impl.SenderServiceImpl.broadcast(
> SenderServiceImpl.java:160) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [classes.jar:1.6.0_51]
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_51]
> at java.lang.reflect.Method.invoke(Method.java:597)
> [classes.jar:1.6.0_51]
> at
>
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(
> ManagedReferenceMethodInterceptorFactory.java:72)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext$Invocation.proceed(
> InterceptorContext.java:374)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(
> Jsr299BindingsInterceptor.java:127)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(
> Jsr299BindingsInterceptor.java:135)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(
> UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.WeavedInterceptor.processInvocation(
> WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(
> UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(
> SBInvocationInterceptor.java:47)
> [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(
> EjbRequestScopeActivationInterceptor.java:101)
> [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InitialInterceptor.processInvocation(
> InitialInterceptor.java:21)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
>
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(
> ComponentDispatcherInterceptor.java:53)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(
> PooledInstanceInterceptor.java:51)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(
> CMTTxInterceptor.java:228) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> ... 22 more
> Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert:
> certificate_unknown
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
> [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(
> SSLSocketImpl.java:1822) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(
> SSLSocketImpl.java:1004) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(
> SSLSocketImpl.java:1188) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(
> SSLSocketImpl.java:654) [jsse.jar:1.6]
> at com.sun.net.ssl.internal.ssl.AppOutputStream.write(
> AppOutputStream.java:100) [jsse.jar:1.6]
> at java.io.OutputStream.write(OutputStream.java:58)
> [classes.jar:1.6.0_51]
> at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(
> ApnsConnectionImpl.java:240) [apns-0.2.3.jar:]
> ... 55 more
>
>
> Kind regards,
>
> ---
> Yavuz Selim Yilmaz
> SUNY at Buffalo
> Computer Science and Engineering
> PhD Candidate
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev