Thanks again.Matthew thanks for the swift reply. I did some more digging, seems the problem is two-fold: if I send the notification directly from firebase I get it on my devices so seems aerogear is not getting to it.I don't own the keys so I asked them to be doubled checked. I've also found the following errors on my logs:Can those situations be related?[0m [33m14:48:15,595 WARN [com.arjuna.ats.arjuna] (EJB default - 9) ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffffc8c6e126:3922595c: 59b2add6:124ed5, org.jboss.as.txn.service. internal.tsr. JCAOrderedLastSynchronizationL ist@714d9801 >: javax.persistence.PersistenceException: error during managed flush Ent
at org.hibernate.jpa.internal.ityManagerImpl$ CallbackExceptionMapperImpl. mapManagedFlushFailure( EntityManagerImpl.java:240) Session
at org.hibernate.internal.Impl. flushBeforeTransactionCompleti on(SessionImpl.java:2970)
at org.hibernate.internal.SessionImpl. beforeTransactionCompletion( SessionImpl.java:2339)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl. beforeTransactionCompletion( JdbcCoordinatorImpl.java:485) transac
at org.hibernate.resource.tion.backend.jta. internal.JtaTransactionCoordinatorImpl. beforeCompletion( JtaTransactionCoordinatorImpl. java:316)
at org.hibernate.resource.transaction.backend.jta. internal.synchronization. SynchronizationCallbackCoordin atorNonTrackingImpl. beforeCompletion(SynchronizationCallbackCoordin atorNonTrackingImpl.java:47) transac
at org.hibernate.resource.tion.backend.jta. internal.synchronization. RegisteredSynchronization. beforeCompletion(RegisteredSynchronization. java:37) inter
at org.jboss.as.txn.service.nal.tsr. JCAOrderedLastSynchronizationL ist.beforeCompletion(JCAOrderedLastSynchronizationL ist.java:116) re
at com.arjuna.ats.internal.jta.sources.arjunacore. SynchronizationImple. beforeCompletion(SynchronizationImple.java:76) coordina
at com.arjuna.ats.arjuna.tor. TwoPhaseCoordinator.beforeCompletion( TwoPhaseCoordinator.java:368) coordina
at com.arjuna.ats.arjuna.tor. TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91) AtomicAc
at com.arjuna.ats.arjuna.tion.commit( AtomicAction.java:162) tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. TransactionImple. commitAndDisassociate(TransactionImple.java:1200) tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. BaseTransaction.commit( BaseTransaction.java:126) BaseTr
at com.arjuna.ats.jbossatx.ansactionManagerDelegate .commit( BaseTransactionManagerDelegate .java:89)
at org.jboss.as.ejb3.tx.CMTTxInterceptor. endTransaction(CMTTxInterceptor.java:91) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. invokeInOurTx(CMTTxInterceptor.java:279) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor.required( CMTTxInterceptor.java:327) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. processInvocation(CMTTxInterceptor.java:239) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. CurrentInvocationContextInterc eptor.processInvocation( CurrentInvocationContextInterc eptor.java:41) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.vocationmetrics. WaitTimeInterceptor. processInvocation(WaitTimeInterceptor.java:47) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) Sec
at org.jboss.as.ejb3.security.urityContextInterceptor. processInvocation( SecurityContextInterceptor. java:100)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) p
at org.jboss.as.ejb3.deployment.rocessors. StartupAwaitInterceptor. processInvocation(StartupAwaitInterceptor.java: 22)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. ShutDownInterceptorFactory$1. processInvocation(ShutDownInterceptorFactory. java:64) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. LoggingInterceptor.processInvocation( LoggingInterceptor.java:67) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) Name
at org.jboss.as.ee.component.spaceContextInterceptor. processInvocation( NamespaceContextInterceptor. java:50)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. AdditionalSetupInterceptor. processInvocation(AdditionalSetupInterceptor. java:54) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) ContextCl
at org.jboss.invocation.assLoaderInterceptor. processInvocation( ContextClassLoaderInterceptor. java:64)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) Intercept
at org.jboss.invocation.orContext.run( InterceptorContext.java:356) W
at org.wildfly.security.manager.ildFlySecurityManager. doChecked( WildFlySecurityManager.java:636) AccessChe
at org.jboss.invocation.ckingInterceptor. processInvocation( AccessCheckingInterceptor. java:61)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) Intercept
at org.jboss.invocation.orContext.run( InterceptorContext.java:356) Privilege
at org.jboss.invocation.dWithCombinerIntercep tor.processInvocation( PrivilegedWithCombinerIntercep tor.java:80)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) ChainedIn
at org.jboss.invocation.terceptor. processInvocation(ChainedInterceptor.java:61) View
at org.jboss.as.ee.component.Service$View.invoke( ViewService.java:198) View
at org.jboss.as.ee.component.Description$1. processInvocation( ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. LogDiagnosticContextRecoveryIn terceptor.processInvocation( LogDiagnosticContextRecoveryIn terceptor.java:82) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. AsyncFutureInterceptorFactory$ 1$2.runInvocation(AsyncFutureInterceptorFactory. java:104) in
at org.jboss.as.ejb3.component.terceptors. AsyncInvocationTask.run( AsyncInvocationTask.java:74) ThreadPoo
at java.util.concurrent.lExecutor.runWorker( ThreadPoolExecutor.java:1149) ThreadPoo
at java.util.concurrent.lExecutor$Worker.run( ThreadPoolExecutor.java:624) ja
at java.lang.Thread.run(Thread.va:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320) ConstraintVio
Caused by: javax.validation.lationException: Validation failed for classes [org.jboss.aerogear. unifiedpush.api.Installation] during persist time for groups [javax.validation.groups. Default, ] interp
List of constraint violations:[
ConstraintViolationImpl{olatedMessage='Device token is not valid for this device type', propertyPath=, rootBeanClass=class org.jboss.aerogear. unifiedpush.api.Installation, messageTemplate='{org.jboss. aerogear.unifiedpush.model. constraints.devicetoken}'} beanvalidati
]
at org.hibernate.cfg.on. BeanValidationEventListener. validate(BeanValidationEventListener. java:138)
at org.hibernate.cfg.beanvalidation. BeanValidationEventListener. onPreInsert(BeanValidationEventListener. java:78)
at org.hibernate.action.internal.EntityInsertAction.preInsert( EntityInsertAction.java:205)
at org.hibernate.action.internal.EntityInsertAction.execute( EntityInsertAction.java:82) Actio
at org.hibernate.engine.spi.nQueue.executeActions( ActionQueue.java:582) Actio
at org.hibernate.engine.spi.nQueue.executeActions( ActionQueue.java:456) A
at org.hibernate.event.internal.bstractFlushingEventListener. performExecutions( AbstractFlushingEventListener. java:337)
at org.hibernate.event.internal.DefaultFlushEventListener. onFlush( DefaultFlushEventListener.java:39) Session
at org.hibernate.internal.Impl.flush(SessionImpl. java:1282) Session
at org.hibernate.internal.Impl.managedFlush( SessionImpl.java:465) Session
at org.hibernate.internal.Impl. flushBeforeTransactionCompleti on(SessionImpl.java:2963)
... 55 more
[0m [31m14:48:15,597 ERROR [org.jboss.as.ejb3.invocation] (EJB default - 9) WFLYEJB0034: EJB Invocation failed on component ClientInstallationServiceImpl for method public abstract void org.jboss.aerogear.unifiedpush.service. ClientInstallationService. addInstallation(org.jboss. aerogear.unifiedpush.api. Variant,org.jboss.aerogear. unifiedpush.api.Installation): javax.ejb. EJBTransactionRolledbackExcept ion: Transaction rolled back
at org.jboss.as.ejb3.tx.CMTTxInterceptor. handleEndTransactionException( CMTTxInterceptor.java:137) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. endTransaction(CMTTxInterceptor.java:117) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. invokeInOurTx(CMTTxInterceptor.java:279) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor.required( CMTTxInterceptor.java:327) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. processInvocation(CMTTxInterceptor.java:239) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. CurrentInvocationContextInterc eptor.processInvocation( CurrentInvocationContextInterc eptor.java:41) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.vocationmetrics. WaitTimeInterceptor. processInvocation(WaitTimeInterceptor.java:47) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) Sec
at org.jboss.as.ejb3.security.urityContextInterceptor. processInvocation( SecurityContextInterceptor. java:100)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) p
at org.jboss.as.ejb3.deployment.rocessors. StartupAwaitInterceptor. processInvocation(StartupAwaitInterceptor.java: 22)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. ShutDownInterceptorFactory$1. processInvocation(ShutDownInterceptorFactory. java:64) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. LoggingInterceptor.processInvocation( LoggingInterceptor.java:67) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) Name
at org.jboss.as.ee.component.spaceContextInterceptor. processInvocation( NamespaceContextInterceptor. java:50)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. AdditionalSetupInterceptor. processInvocation(AdditionalSetupInterceptor. java:54) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) ContextCl
at org.jboss.invocation.assLoaderInterceptor. processInvocation( ContextClassLoaderInterceptor. java:64)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) Intercept
at org.jboss.invocation.orContext.run( InterceptorContext.java:356) W
at org.wildfly.security.manager.ildFlySecurityManager. doChecked( WildFlySecurityManager.java:636) AccessChe
at org.jboss.invocation.ckingInterceptor. processInvocation( AccessCheckingInterceptor. java:61)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) Intercept
at org.jboss.invocation.orContext.run( InterceptorContext.java:356) Privilege
at org.jboss.invocation.dWithCombinerIntercep tor.processInvocation( PrivilegedWithCombinerIntercep tor.java:80)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) ChainedIn
at org.jboss.invocation.terceptor. processInvocation(ChainedInterceptor.java:61) View
at org.jboss.as.ee.component.Service$View.invoke( ViewService.java:198) View
at org.jboss.as.ee.component.Description$1. processInvocation( ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. LogDiagnosticContextRecoveryIn terceptor.processInvocation( LogDiagnosticContextRecoveryIn terceptor.java:82) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. AsyncFutureInterceptorFactory$ 1$2.runInvocation(AsyncFutureInterceptorFactory. java:104) in
at org.jboss.as.ejb3.component.terceptors. AsyncInvocationTask.run( AsyncInvocationTask.java:74) ThreadPoo
at java.util.concurrent.lExecutor.runWorker( ThreadPoolExecutor.java:1149) ThreadPoo
at java.util.concurrent.lExecutor$Worker.run( ThreadPoolExecutor.java:624) ja
at java.lang.Thread.run(Thread.va:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320) RollbackExce
Caused by: javax.transaction.ption: ARJUNA016053: Could not commit transaction. tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. TransactionImple. commitAndDisassociate(TransactionImple.java:1212) tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. BaseTransaction.commit( BaseTransaction.java:126) BaseTr
at com.arjuna.ats.jbossatx.ansactionManagerDelegate .commit( BaseTransactionManagerDelegate .java:89)
at org.jboss.as.ejb3.tx.CMTTxInterceptor. endTransaction(CMTTxInterceptor.java:91) PersistenceE
... 41 more
Caused by: javax.persistence.xception: error during managed flush Ent
at org.hibernate.jpa.internal.ityManagerImpl$ CallbackExceptionMapperImpl. mapManagedFlushFailure( EntityManagerImpl.java:240) Session
at org.hibernate.internal.Impl. flushBeforeTransactionCompleti on(SessionImpl.java:2970)
at org.hibernate.internal.SessionImpl. beforeTransactionCompletion( SessionImpl.java:2339)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl. beforeTransactionCompletion( JdbcCoordinatorImpl.java:485) transac
at org.hibernate.resource.tion.backend.jta. internal.JtaTransactionCoordinatorImpl. beforeCompletion( JtaTransactionCoordinatorImpl. java:316)
at org.hibernate.resource.transaction.backend.jta. internal.synchronization. SynchronizationCallbackCoordin atorNonTrackingImpl. beforeCompletion(SynchronizationCallbackCoordin atorNonTrackingImpl.java:47) transac
at org.hibernate.resource.tion.backend.jta. internal.synchronization. RegisteredSynchronization. beforeCompletion(RegisteredSynchronization. java:37) inter
at org.jboss.as.txn.service.nal.tsr. JCAOrderedLastSynchronizationL ist.beforeCompletion(JCAOrderedLastSynchronizationL ist.java:116) re
at com.arjuna.ats.internal.jta.sources.arjunacore. SynchronizationImple. beforeCompletion(SynchronizationImple.java:76) coordina
at com.arjuna.ats.arjuna.tor. TwoPhaseCoordinator.beforeCompletion( TwoPhaseCoordinator.java:368) coordina
at com.arjuna.ats.arjuna.tor. TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91) AtomicAc
at com.arjuna.ats.arjuna.tion.commit( AtomicAction.java:162) tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. TransactionImple. commitAndDisassociate(TransactionImple.java:1200) ConstraintVio
... 44 more
Caused by: javax.validation.lationException: Validation failed for classes [org.jboss.aerogear. unifiedpush.api.Installation] during persist time for groups [javax.validation.groups. Default, ] interp
List of constraint violations:[
ConstraintViolationImpl{olatedMessage='Device token is not valid for this device type', propertyPath=, rootBeanClass=class org.jboss.aerogear. unifiedpush.api.Installation, messageTemplate='{org.jboss. aerogear.unifiedpush.model. constraints.devicetoken}'} beanvalidati
]
at org.hibernate.cfg.on. BeanValidationEventListener. validate(BeanValidationEventListener. java:138)
at org.hibernate.cfg.beanvalidation. BeanValidationEventListener. onPreInsert(BeanValidationEventListener. java:78)
at org.hibernate.action.internal.EntityInsertAction.preInsert( EntityInsertAction.java:205)
at org.hibernate.action.internal.EntityInsertAction.execute( EntityInsertAction.java:82) Actio
at org.hibernate.engine.spi.nQueue.executeActions( ActionQueue.java:582) Actio
at org.hibernate.engine.spi.nQueue.executeActions( ActionQueue.java:456) A
at org.hibernate.event.internal.bstractFlushingEventListener. performExecutions( AbstractFlushingEventListener. java:337)
at org.hibernate.event.internal.DefaultFlushEventListener. onFlush( DefaultFlushEventListener.java:39) Session
at org.hibernate.internal.Impl.flush(SessionImpl. java:1282) Session
at org.hibernate.internal.Impl.managedFlush( SessionImpl.java:465) Session
at org.hibernate.internal.Impl. flushBeforeTransactionCompleti on(SessionImpl.java:2963)
... 55 more
[0m [33m14:48:42,860 WARN [com.arjuna.ats.arjuna] (EJB default - 6) ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffffc8c6e126:3922595c: 59b2add6:124ee3, org.jboss.as.txn.service. internal.tsr. JCAOrderedLastSynchronizationL ist@1e5c076a >: javax.persistence.PersistenceException: error during managed flush Ent
at org.hibernate.jpa.internal.ityManagerImpl$ CallbackExceptionMapperImpl. mapManagedFlushFailure( EntityManagerImpl.java:240) Session
at org.hibernate.internal.Impl. flushBeforeTransactionCompleti on(SessionImpl.java:2970)
at org.hibernate.internal.SessionImpl. beforeTransactionCompletion( SessionImpl.java:2339)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl. beforeTransactionCompletion( JdbcCoordinatorImpl.java:485) transac
at org.hibernate.resource.tion.backend.jta. internal.JtaTransactionCoordinatorImpl. beforeCompletion( JtaTransactionCoordinatorImpl. java:316)
at org.hibernate.resource.transaction.backend.jta. internal.synchronization. SynchronizationCallbackCoordin atorNonTrackingImpl. beforeCompletion(SynchronizationCallbackCoordin atorNonTrackingImpl.java:47) transac
at org.hibernate.resource.tion.backend.jta. internal.synchronization. RegisteredSynchronization. beforeCompletion(RegisteredSynchronization. java:37) inter
at org.jboss.as.txn.service.nal.tsr. JCAOrderedLastSynchronizationL ist.beforeCompletion(JCAOrderedLastSynchronizationL ist.java:116) re
at com.arjuna.ats.internal.jta.sources.arjunacore. SynchronizationImple. beforeCompletion(SynchronizationImple.java:76) coordina
at com.arjuna.ats.arjuna.tor. TwoPhaseCoordinator.beforeCompletion( TwoPhaseCoordinator.java:368) coordina
at com.arjuna.ats.arjuna.tor. TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91) AtomicAc
at com.arjuna.ats.arjuna.tion.commit( AtomicAction.java:162) tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. TransactionImple. commitAndDisassociate(TransactionImple.java:1200) tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. BaseTransaction.commit( BaseTransaction.java:126) BaseTr
at com.arjuna.ats.jbossatx.ansactionManagerDelegate .commit( BaseTransactionManagerDelegate .java:89)
at org.jboss.as.ejb3.tx.CMTTxInterceptor. endTransaction(CMTTxInterceptor.java:91) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. invokeInOurTx(CMTTxInterceptor.java:279) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor.required( CMTTxInterceptor.java:327) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. processInvocation(CMTTxInterceptor.java:239) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. CurrentInvocationContextInterc eptor.processInvocation( CurrentInvocationContextInterc eptor.java:41) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.vocationmetrics. WaitTimeInterceptor. processInvocation(WaitTimeInterceptor.java:47) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) Sec
at org.jboss.as.ejb3.security.urityContextInterceptor. processInvocation( SecurityContextInterceptor. java:100)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) p
at org.jboss.as.ejb3.deployment.rocessors. StartupAwaitInterceptor. processInvocation(StartupAwaitInterceptor.java: 22)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. ShutDownInterceptorFactory$1. processInvocation(ShutDownInterceptorFactory. java:64) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. LoggingInterceptor.processInvocation( LoggingInterceptor.java:67) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) Name
at org.jboss.as.ee.component.spaceContextInterceptor. processInvocation( NamespaceContextInterceptor. java:50)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. AdditionalSetupInterceptor. processInvocation(AdditionalSetupInterceptor. java:54) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) ContextCl
at org.jboss.invocation.assLoaderInterceptor. processInvocation( ContextClassLoaderInterceptor. java:64)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) Intercept
at org.jboss.invocation.orContext.run( InterceptorContext.java:356) W
at org.wildfly.security.manager.ildFlySecurityManager. doChecked( WildFlySecurityManager.java:636) AccessChe
at org.jboss.invocation.ckingInterceptor. processInvocation( AccessCheckingInterceptor. java:61)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) Intercept
at org.jboss.invocation.orContext.run( InterceptorContext.java:356) Privilege
at org.jboss.invocation.dWithCombinerIntercep tor.processInvocation( PrivilegedWithCombinerIntercep tor.java:80)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) ChainedIn
at org.jboss.invocation.terceptor. processInvocation(ChainedInterceptor.java:61) View
at org.jboss.as.ee.component.Service$View.invoke( ViewService.java:198) View
at org.jboss.as.ee.component.Description$1. processInvocation( ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. LogDiagnosticContextRecoveryIn terceptor.processInvocation( LogDiagnosticContextRecoveryIn terceptor.java:82) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. AsyncFutureInterceptorFactory$ 1$2.runInvocation(AsyncFutureInterceptorFactory. java:104) in
at org.jboss.as.ejb3.component.terceptors. AsyncInvocationTask.run( AsyncInvocationTask.java:74) ThreadPoo
at java.util.concurrent.lExecutor.runWorker( ThreadPoolExecutor.java:1149) ThreadPoo
at java.util.concurrent.lExecutor$Worker.run( ThreadPoolExecutor.java:624) ja
at java.lang.Thread.run(Thread.va:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320) ConstraintVio
Caused by: javax.validation.lationException: Validation failed for classes [org.jboss.aerogear. unifiedpush.api.Installation] during persist time for groups [javax.validation.groups. Default, ] interp
List of constraint violations:[
ConstraintViolationImpl{olatedMessage='Device token is not valid for this device type', propertyPath=, rootBeanClass=class org.jboss.aerogear. unifiedpush.api.Installation, messageTemplate='{org.jboss. aerogear.unifiedpush.model. constraints.devicetoken}'} beanvalidati
]
at org.hibernate.cfg.on. BeanValidationEventListener. validate(BeanValidationEventListener. java:138)
at org.hibernate.cfg.beanvalidation. BeanValidationEventListener. onPreInsert(BeanValidationEventListener. java:78)
at org.hibernate.action.internal.EntityInsertAction.preInsert( EntityInsertAction.java:205)
at org.hibernate.action.internal.EntityInsertAction.execute( EntityInsertAction.java:82) Actio
at org.hibernate.engine.spi.nQueue.executeActions( ActionQueue.java:582) Actio
at org.hibernate.engine.spi.nQueue.executeActions( ActionQueue.java:456) A
at org.hibernate.event.internal.bstractFlushingEventListener. performExecutions( AbstractFlushingEventListener. java:337)
at org.hibernate.event.internal.DefaultFlushEventListener. onFlush( DefaultFlushEventListener.java:39) Session
at org.hibernate.internal.Impl.flush(SessionImpl. java:1282) Session
at org.hibernate.internal.Impl.managedFlush( SessionImpl.java:465) Session
at org.hibernate.internal.Impl. flushBeforeTransactionCompleti on(SessionImpl.java:2963)
... 55 more
[0m [31m14:48:42,863 ERROR [org.jboss.as.ejb3.invocation] (EJB default - 6) WFLYEJB0034: EJB Invocation failed on component ClientInstallationServiceImpl for method public abstract void org.jboss.aerogear.unifiedpush.service. ClientInstallationService. addInstallation(org.jboss. aerogear.unifiedpush.api. Variant,org.jboss.aerogear. unifiedpush.api.Installation): javax.ejb. EJBTransactionRolledbackExcept ion: Transaction rolled back
at org.jboss.as.ejb3.tx.CMTTxInterceptor. handleEndTransactionException( CMTTxInterceptor.java:137) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. endTransaction(CMTTxInterceptor.java:117) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. invokeInOurTx(CMTTxInterceptor.java:279) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor.required( CMTTxInterceptor.java:327) CMTTxInte
at org.jboss.as.ejb3.tx.rceptor. processInvocation(CMTTxInterceptor.java:239) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. CurrentInvocationContextInterc eptor.processInvocation( CurrentInvocationContextInterc eptor.java:41) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.vocationmetrics. WaitTimeInterceptor. processInvocation(WaitTimeInterceptor.java:47) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) Sec
at org.jboss.as.ejb3.security.urityContextInterceptor. processInvocation( SecurityContextInterceptor. java:100)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) p
at org.jboss.as.ejb3.deployment.rocessors. StartupAwaitInterceptor. processInvocation(StartupAwaitInterceptor.java: 22)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. ShutDownInterceptorFactory$1. processInvocation(ShutDownInterceptorFactory. java:64) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. LoggingInterceptor.processInvocation( LoggingInterceptor.java:67) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) Name
at org.jboss.as.ee.component.spaceContextInterceptor. processInvocation( NamespaceContextInterceptor. java:50)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. AdditionalSetupInterceptor. processInvocation(AdditionalSetupInterceptor. java:54) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) ContextCl
at org.jboss.invocation.assLoaderInterceptor. processInvocation( ContextClassLoaderInterceptor. java:64)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) Intercept
at org.jboss.invocation.orContext.run( InterceptorContext.java:356) W
at org.wildfly.security.manager.ildFlySecurityManager. doChecked( WildFlySecurityManager.java:636) AccessChe
at org.jboss.invocation.ckingInterceptor. processInvocation( AccessCheckingInterceptor. java:61)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) Intercept
at org.jboss.invocation.orContext.run( InterceptorContext.java:356) Privilege
at org.jboss.invocation.dWithCombinerIntercep tor.processInvocation( PrivilegedWithCombinerIntercep tor.java:80)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) ChainedIn
at org.jboss.invocation.terceptor. processInvocation(ChainedInterceptor.java:61) View
at org.jboss.as.ee.component.Service$View.invoke( ViewService.java:198) View
at org.jboss.as.ee.component.Description$1. processInvocation( ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. LogDiagnosticContextRecoveryIn terceptor.processInvocation( LogDiagnosticContextRecoveryIn terceptor.java:82) Intercept
at org.jboss.invocation.orContext.proceed( InterceptorContext.java:340) in
at org.jboss.as.ejb3.component.terceptors. AsyncFutureInterceptorFactory$ 1$2.runInvocation(AsyncFutureInterceptorFactory. java:104) in
at org.jboss.as.ejb3.component.terceptors. AsyncInvocationTask.run( AsyncInvocationTask.java:74) ThreadPoo
at java.util.concurrent.lExecutor.runWorker( ThreadPoolExecutor.java:1149) ThreadPoo
at java.util.concurrent.lExecutor$Worker.run( ThreadPoolExecutor.java:624) ja
at java.lang.Thread.run(Thread.va:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320) RollbackExce
Caused by: javax.transaction.ption: ARJUNA016053: Could not commit transaction. tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. TransactionImple. commitAndDisassociate(TransactionImple.java:1212) tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. BaseTransaction.commit( BaseTransaction.java:126) BaseTr
at com.arjuna.ats.jbossatx.ansactionManagerDelegate .commit( BaseTransactionManagerDelegate .java:89)
at org.jboss.as.ejb3.tx.CMTTxInterceptor. endTransaction(CMTTxInterceptor.java:91) PersistenceE
... 41 more
Caused by: javax.persistence.xception: error during managed flush Ent
at org.hibernate.jpa.internal.ityManagerImpl$ CallbackExceptionMapperImpl. mapManagedFlushFailure( EntityManagerImpl.java:240) Session
at org.hibernate.internal.Impl. flushBeforeTransactionCompleti on(SessionImpl.java:2970)
at org.hibernate.internal.SessionImpl. beforeTransactionCompletion( SessionImpl.java:2339)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl. beforeTransactionCompletion( JdbcCoordinatorImpl.java:485) transac
at org.hibernate.resource.tion.backend.jta. internal.JtaTransactionCoordinatorImpl. beforeCompletion( JtaTransactionCoordinatorImpl. java:316)
at org.hibernate.resource.transaction.backend.jta. internal.synchronization. SynchronizationCallbackCoordin atorNonTrackingImpl. beforeCompletion(SynchronizationCallbackCoordin atorNonTrackingImpl.java:47) transac
at org.hibernate.resource.tion.backend.jta. internal.synchronization. RegisteredSynchronization. beforeCompletion(RegisteredSynchronization. java:37) inter
at org.jboss.as.txn.service.nal.tsr. JCAOrderedLastSynchronizationL ist.beforeCompletion(JCAOrderedLastSynchronizationL ist.java:116) re
at com.arjuna.ats.internal.jta.sources.arjunacore. SynchronizationImple. beforeCompletion(SynchronizationImple.java:76) coordina
at com.arjuna.ats.arjuna.tor. TwoPhaseCoordinator.beforeCompletion( TwoPhaseCoordinator.java:368) coordina
at com.arjuna.ats.arjuna.tor. TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91) AtomicAc
at com.arjuna.ats.arjuna.tion.commit( AtomicAction.java:162) tr
at com.arjuna.ats.internal.jta.ansaction.arjunacore. TransactionImple. commitAndDisassociate(TransactionImple.java:1200) ConstraintVio
... 44 more
Caused by: javax.validation.lationException: Validation failed for classes [org.jboss.aerogear. unifiedpush.api.Installation] during persist time for groups [javax.validation.groups. Default, ] interp
List of constraint violations:[
ConstraintViolationImpl{olatedMessage='Device token is not valid for this device type', propertyPath=, rootBeanClass=class org.jboss.aerogear. unifiedpush.api.Installation, messageTemplate='{org.jboss. aerogear.unifiedpush.model. constraints.devicetoken}'} beanvalidati
]
at org.hibernate.cfg.on. BeanValidationEventListener. validate(BeanValidationEventListener. java:138)
at org.hibernate.cfg.beanvalidation. BeanValidationEventListener. onPreInsert(BeanValidationEventListener. java:78)
at org.hibernate.action.internal.EntityInsertAction.preInsert( EntityInsertAction.java:205)
at org.hibernate.action.internal.EntityInsertAction.execute( EntityInsertAction.java:82) Actio
at org.hibernate.engine.spi.nQueue.executeActions( ActionQueue.java:582) Actio
at org.hibernate.engine.spi.nQueue.executeActions( ActionQueue.java:456) A
at org.hibernate.event.internal.bstractFlushingEventListener. performExecutions( AbstractFlushingEventListener. java:337)
at org.hibernate.event.internal.DefaultFlushEventListener. onFlush( DefaultFlushEventListener.java:39) Session
at org.hibernate.internal.Impl.flush(SessionImpl. java:1282) Session
at org.hibernate.internal.Impl.managedFlush( SessionImpl.java:465) Session
at org.hibernate.internal.Impl. flushBeforeTransactionCompleti on(SessionImpl.java:2963)
2018-04-10 5:35 GMT-03:00 <aerogear-users-request@lists.jboss.org >:Send Aerogear-users mailing list submissions to
aerogear-users@lists.jboss.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.jboss.org/mailman/listinfo/aerogear-users
or, via email, send a message with subject or body 'help' to
aerogear-users-request@lists.jboss.org
You can reach the person managing the list at
aerogear-users-owner@lists.jboss.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aerogear-users digest..."
Today's Topics:
1. Android Devices Wont Register iOS Pushes wont be received on
the devices (Victor Silva)
2. Re: Android Devices Wont Register iOS Pushes wont be received
on the devices (Matthias Wessendorf)
------------------------------------------------------------ ----------
Message: 1
Date: Mon, 9 Apr 2018 18:37:55 -0300
From: Victor Silva <vfbsilva@gmail.com>
Subject: [Aerogear-users] Android Devices Wont Register iOS Pushes
wont be received on the devices
To: aerogear-users@lists.jboss.org
Message-ID:
<CALGxnHOrnR23iVKh_yhq=xmW26xpO-eDLyRrbcCZ5YQ6-HYqkQ@mail.gm >ail.com
Content-Type: text/plain; charset="utf-8"
Hello, I have a strange issue where my Android Devices won't register
properly and the iOSes despite being registered wont receive the dispatched
notifications. Checking the server logs the messages seem to have been
properly dispatched to the push networks. I could not find logs explaining
the issue all I found is here:
\u001B[0m\u001B[31m11:25:19,720 ERROR [org.jboss.as.ejb3.invocation] (EJB
default - 4) WFLYEJB0034: EJB Invocation failed on component
ClientInstallationServiceImpl for method public abstract void
org.jboss.aerogear.unifiedpush.service.ClientInstallationSer vice.addInstallation(org. jboss.aerogear.unifiedpush. api.Variant,org.jboss. aerogear.unifiedpush.api. Installation):
javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionEx ception(CMTTxInterceptor.java: 137)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxIn terceptor.java:117)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInt erceptor.java:279)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxIntercep tor.java:327)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTT xInterceptor.java:239)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.component.interceptors.CurrentInvocationCo ntextInterceptor. processInvocation(CurrentInvoc ationContextInterceptor.java: 41)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterc eptor.processInvocation(WaitTi meInterceptor.java:47)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.security.SecurityContextInterceptor.proces sInvocation(SecurityContextInt erceptor.java:100)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.deployment.processors.StartupAwaitIntercep tor.processInvocation(StartupA waitInterceptor.java:22)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.component.interceptors.ShutDownInterceptor Factory$1.processInvocation(Sh utDownInterceptorFactory.java: 64)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.component.interceptors.LoggingInterceptor. processInvocation(LoggingInter ceptor.java:67)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ee.component.NamespaceContextInterceptor.proces sInvocation(NamespaceContextIn terceptor.java:50)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.component.interceptors.AdditionalSetupInte rceptor.processInvocation(Addi tionalSetupInterceptor.java: 54)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.invocation.ContextClassLoaderInterceptor.processIn vocation(ContextClassLoaderInt erceptor.java:64)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.invocation.InterceptorContext.run(InterceptorConte xt.java:356)
at
org.wildfly.security.manager.WildFlySecurityManager.doChecke d(WildFlySecurityManager.java: 636)
at
org.jboss.invocation.AccessCheckingInterceptor.processInvoca tion(AccessCheckingInterceptor .java:61)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.invocation.InterceptorContext.run(InterceptorConte xt.java:356)
at
org.jboss.invocation.PrivilegedWithCombinerInterceptor. processInvocation(PrivilegedWi thCombinerInterceptor.java:80)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.invocation.ChainedInterceptor.processInvocation(Ch ainedInterceptor.java:61)
at
org.jboss.as.ee.component.ViewService$View.invoke(ViewServic e.java:198)
at
org.jboss.as.ee.component.ViewDescription$1.processInvocatio n(ViewDescription.java:185)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.component.interceptors.LogDiagnosticContex tRecoveryInterceptor. processInvocation(LogDiagnosti cContextRecoveryInterceptor. java:82)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorC ontext.java:340)
at
org.jboss.as.ejb3.component.interceptors.AsyncFutureIntercep torFactory$1$2.runInvocation(A syncFutureInterceptorFactory.j ava:104)
at
org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask .run(AsyncInvocationTask.java: 74)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not
commit transaction.
at
com.arjuna.ats.internal.jta.transaction.arjunacore.Transacti onImple.commitAndDisassociate( TransactionImple.java:1212)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTrans action.commit(BaseTransaction. java:126)
at
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate. commit(BaseTransactionManagerD elegate.java:89)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxIn terceptor.java:91)
... 41 more
Caused by: javax.persistence.PersistenceException: error during managed
flush
at
org.hibernate.jpa.internal.EntityManagerImpl$CallbackExcepti onMapperImpl.mapManagedFlushFa ilure(EntityManagerImpl.java: 240)
at
org.hibernate.internal.SessionImpl.flushBeforeTransactionCom pletion(SessionImpl.java:2970)
at
org.hibernate.internal.SessionImpl.beforeTransactionCompleti on(SessionImpl.java:2339)
at
org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.befor eTransactionCompletion(JdbcCoo rdinatorImpl.java:485)
at
org.hibernate.resource.transaction.backend.jta.internal.JtaT ransactionCoordinatorImpl.befo reCompletion(JtaTransactionCoo rdinatorImpl.java:316)
at
org.hibernate.resource.transaction.backend.jta.internal. synchronization.Synchronizatio nCallbackCoordinatorNonTrackin gImpl.beforeCompletion(Synchro nizationCallbackCoordinatorNon TrackingImpl.java:47)
at
org.hibernate.resource.transaction.backend.jta.internal. synchronization.RegisteredSync hronization.beforeCompletion(R egisteredSynchronization.java: 37)
at
org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchron izationList.beforeCompletion(J CAOrderedLastSynchronizationLi st.java:116)
at
com.arjuna.ats.internal.jta.resources.arjunacore.Synchroniza tionImple.beforeCompletion(Syn chronizationImple.java:76)
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.before Completion(TwoPhaseCoordinator .java:368)
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(Tw oPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java: 162)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.Transacti onImple.commitAndDisassociate( TransactionImple.java:1200)
... 44 more
Caused by: javax.validation.ConstraintViolationException: Validation failed
for classes [org.jboss.aerogear.unifiedpush.api.Installation] during
persist time for groups [javax.validation.groups.Default, ]
List of constraint violations:[
ConstraintViolationImpl{interpolatedMessage='Device token is not valid
for this device type', propertyPath=, rootBeanClass=class
org.jboss.aerogear.unifiedpush.api.Installation,
messageTemplate='{org.jboss.aerogear.unifiedpush.model.const raints.devicetoken}'}
]
at
org.hibernate.cfg.beanvalidation.BeanValidationEventListener .validate(BeanValidationEventL istener.java:138)
at
org.hibernate.cfg.beanvalidation.BeanValidationEventListener .onPreInsert(BeanValidationEve ntListener.java:78)
at
org.hibernate.action.internal.EntityInsertAction.preInsert(E ntityInsertAction.java:205)
at
org.hibernate.action.internal.EntityInsertAction.execute(Ent ityInsertAction.java:82)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQu eue.java:582)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQu eue.java:456)
at
org.hibernate.event.internal.AbstractFlushingEventListener.p erformExecutions(AbstractFlush ingEventListener.java:337)
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlu sh(DefaultFlushEventListener.j ava:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java: 1282)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl. java:465)
at
org.hibernate.internal.SessionImpl.flushBeforeTransactionCom pletion(SessionImpl.java:2963)
... 55 more
Are the messages maybe delayed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/ 20180409/c8cbaf17/attachment- 0001.html
------------------------------
Message: 2
Date: Tue, 10 Apr 2018 10:35:06 +0200
From: Matthias Wessendorf <matzew@apache.org>
Subject: Re: [Aerogear-users] Android Devices Wont Register iOS Pushes
wont be received on the devices
To: aerogear-users@lists.jboss.org
Message-ID:
<CAAg5f2QQ=jgBhY2_YWwLsyMroSG9tNFC9wyFqXdEMEnO716OBQ@mail. >gmail.com
Content-Type: text/plain; charset="utf-8"
looks like the submitted device token is not valid, not matching the
pattern:
```
Caused by: javax.validation.ConstraintViolationException: Validation failed
for classes [org.jboss.aerogear.unifiedpush.api.Installation] during
persist time for groups [javax.validation.groups.Default, ]
List of constraint violations:[
ConstraintViolationImpl{interpolatedMessage='Device token is not valid
for this device type', propertyPath=, rootBeanClass=class
org.jboss.aerogear.unifiedpush.api.Installation,
messageTemplate='{org.jboss.aerogear.unifiedpush.model.
constraints.devicetoken}'}
]
```
On Mon, Apr 9, 2018 at 11:37 PM, Victor Silva <vfbsilva@gmail.com> wrote:
> Hello, I have a strange issue where my Android Devices won't register
> properly and the iOSes despite being registered wont receive the dispatched
> notifications. Checking the server logs the messages seem to have been
> properly dispatched to the push networks. I could not find logs explaining
> the issue all I found is here:
>
> \u001B[0m\u001B[31m11:25:19,720 ERROR [org.jboss.as.ejb3.invocation] (EJB
> default - 4) WFLYEJB0034: EJB Invocation failed on component
> ClientInstallationServiceImpl for method public abstract void
> org.jboss.aerogear.unifiedpush.service.ClientInstallationSer vice.
> addInstallation(org.jboss.aerogear.unifiedpush.api.
> Variant,org.jboss.aerogear.unifiedpush.api.Installation): javax.ejb.
> EJBTransactionRolledbackException: Transaction rolled back
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.
> handleEndTransactionException(CMTTxInterceptor.java:137)
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(
> CMTTxInterceptor.java:117)
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(
> CMTTxInterceptor.java:279)
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(
> CMTTxInterceptor.java:327)
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(
> CMTTxInterceptor.java:239)
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at org.jboss.as.ejb3.component.interceptors.
> CurrentInvocationContextInterceptor.processInvocation(
> CurrentInvocationContextInterceptor.java:41)
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterc eptor.
> processInvocation(WaitTimeInterceptor.java:47)
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at org.jboss.as.ejb3.security.SecurityContextInterceptor.
> processInvocation(SecurityContextInterceptor.java:100)
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at org.jboss.as.ejb3.deployment.processors.StartupAwaitIntercep tor.
> processInvocation(StartupAwaitInterceptor.java:22)
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at org.jboss.as.ejb3.component.interceptors.
> ShutDownInterceptorFactory$1.processInvocation(ShutDownInter ceptorFactory.
> java:64)
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.
> processInvocation(LoggingInterceptor.java:67)
> at org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at org.jboss.as.ee.component.NamespaceContextInterceptor.
> processInvocation(NamespaceContextInterceptor.java:50)