Re: [Aerogear-users] Aerogear-users Digest, Vol 42, Issue 1
by Victor Silva
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:
[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
at org.hibernate.jpa.internal.EntityManagerImpl$
CallbackExceptionMapperImpl.mapManagedFlushFailure(
EntityManagerImpl.java:240)
at org.hibernate.internal.SessionImpl.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)
at org.hibernate.resource.transaction.backend.jta.internal.
JtaTransactionCoordinatorImpl.beforeCompletion(
JtaTransactionCoordinatorImpl.java:316)
at org.hibernate.resource.transaction.backend.jta.
internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl.
beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)
at org.hibernate.resource.transaction.backend.jta.
internal.synchronization.RegisteredSynchronization.beforeCompletion(
RegisteredSynchronization.java:37)
at org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationL
ist.beforeCompletion(JCAOrderedLastSynchronizationList.java:116)
at com.arjuna.ats.internal.jta.resources.arjunacore.
SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.
beforeCompletion(TwoPhaseCoordinator.java:368)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(
TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.
commitAndDisassociate(TransactionImple.java:1200)
at com.arjuna.ats.internal.jta.transaction.arjunacore.
BaseTransaction.commit(BaseTransaction.java:126)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(
BaseTransactionManagerDelegate.java:89)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(
CMTTxInterceptor.java:91)
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.WaitTimeInterceptor.
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.StartupAwaitInterceptor.
processInvocation(StartupAwaitInterceptor.java:22)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.
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)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.
processInvocation(AdditionalSetupInterceptor.java:54)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(
ContextClassLoaderInterceptor.java:64)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.InterceptorContext.run(
InterceptorContext.java:356)
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(
WildFlySecurityManager.java:636)
at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(
AccessCheckingInterceptor.java:61)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.InterceptorContext.run(
InterceptorContext.java:356)
at org.jboss.invocation.PrivilegedWithCombinerIntercep
tor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.ChainedInterceptor.processInvocation(
ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewService$View.invoke(
ViewService.java:198)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
LogDiagnosticContextRecoveryInterceptor.processInvocation(
LogDiagnosticContextRecoveryInterceptor.java:82)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
AsyncFutureInterceptorFactory$1$2.runInvocation(
AsyncFutureInterceptorFactory.java:104)
at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(
AsyncInvocationTask.java:74)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
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}'}
]
at org.hibernate.cfg.beanvalidation.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)
at org.hibernate.engine.spi.ActionQueue.executeActions(
ActionQueue.java:582)
at org.hibernate.engine.spi.ActionQueue.executeActions(
ActionQueue.java:456)
at org.hibernate.event.internal.AbstractFlushingEventListener.
performExecutions(AbstractFlushingEventListener.java:337)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(
DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:465)
at org.hibernate.internal.SessionImpl.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.
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.WaitTimeInterceptor.
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.StartupAwaitInterceptor.
processInvocation(StartupAwaitInterceptor.java:22)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.
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)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.
processInvocation(AdditionalSetupInterceptor.java:54)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(
ContextClassLoaderInterceptor.java:64)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.InterceptorContext.run(
InterceptorContext.java:356)
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(
WildFlySecurityManager.java:636)
at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(
AccessCheckingInterceptor.java:61)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.InterceptorContext.run(
InterceptorContext.java:356)
at org.jboss.invocation.PrivilegedWithCombinerIntercep
tor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.ChainedInterceptor.processInvocation(
ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewService$View.invoke(
ViewService.java:198)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
LogDiagnosticContextRecoveryInterceptor.processInvocation(
LogDiagnosticContextRecoveryInterceptor.java:82)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
AsyncFutureInterceptorFactory$1$2.runInvocation(
AsyncFutureInterceptorFactory.java:104)
at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(
AsyncInvocationTask.java:74)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.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.TransactionImple.
commitAndDisassociate(TransactionImple.java:1212)
at com.arjuna.ats.internal.jta.transaction.arjunacore.
BaseTransaction.commit(BaseTransaction.java:126)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(
BaseTransactionManagerDelegate.java:89)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(
CMTTxInterceptor.java:91)
... 41 more
Caused by: javax.persistence.PersistenceException: error during managed
flush
at org.hibernate.jpa.internal.EntityManagerImpl$
CallbackExceptionMapperImpl.mapManagedFlushFailure(
EntityManagerImpl.java:240)
at org.hibernate.internal.SessionImpl.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)
at org.hibernate.resource.transaction.backend.jta.internal.
JtaTransactionCoordinatorImpl.beforeCompletion(
JtaTransactionCoordinatorImpl.java:316)
at org.hibernate.resource.transaction.backend.jta.
internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl.
beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)
at org.hibernate.resource.transaction.backend.jta.
internal.synchronization.RegisteredSynchronization.beforeCompletion(
RegisteredSynchronization.java:37)
at org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationL
ist.beforeCompletion(JCAOrderedLastSynchronizationList.java:116)
at com.arjuna.ats.internal.jta.resources.arjunacore.
SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.
beforeCompletion(TwoPhaseCoordinator.java:368)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(
TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.
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.
constraints.devicetoken}'}
]
at org.hibernate.cfg.beanvalidation.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)
at org.hibernate.engine.spi.ActionQueue.executeActions(
ActionQueue.java:582)
at org.hibernate.engine.spi.ActionQueue.executeActions(
ActionQueue.java:456)
at org.hibernate.event.internal.AbstractFlushingEventListener.
performExecutions(AbstractFlushingEventListener.java:337)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(
DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:465)
at org.hibernate.internal.SessionImpl.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
at org.hibernate.jpa.internal.EntityManagerImpl$
CallbackExceptionMapperImpl.mapManagedFlushFailure(
EntityManagerImpl.java:240)
at org.hibernate.internal.SessionImpl.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)
at org.hibernate.resource.transaction.backend.jta.internal.
JtaTransactionCoordinatorImpl.beforeCompletion(
JtaTransactionCoordinatorImpl.java:316)
at org.hibernate.resource.transaction.backend.jta.
internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl.
beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)
at org.hibernate.resource.transaction.backend.jta.
internal.synchronization.RegisteredSynchronization.beforeCompletion(
RegisteredSynchronization.java:37)
at org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationL
ist.beforeCompletion(JCAOrderedLastSynchronizationList.java:116)
at com.arjuna.ats.internal.jta.resources.arjunacore.
SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.
beforeCompletion(TwoPhaseCoordinator.java:368)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(
TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.
commitAndDisassociate(TransactionImple.java:1200)
at com.arjuna.ats.internal.jta.transaction.arjunacore.
BaseTransaction.commit(BaseTransaction.java:126)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(
BaseTransactionManagerDelegate.java:89)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(
CMTTxInterceptor.java:91)
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.WaitTimeInterceptor.
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.StartupAwaitInterceptor.
processInvocation(StartupAwaitInterceptor.java:22)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.
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)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.
processInvocation(AdditionalSetupInterceptor.java:54)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(
ContextClassLoaderInterceptor.java:64)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.InterceptorContext.run(
InterceptorContext.java:356)
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(
WildFlySecurityManager.java:636)
at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(
AccessCheckingInterceptor.java:61)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.InterceptorContext.run(
InterceptorContext.java:356)
at org.jboss.invocation.PrivilegedWithCombinerIntercep
tor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.ChainedInterceptor.processInvocation(
ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewService$View.invoke(
ViewService.java:198)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
LogDiagnosticContextRecoveryInterceptor.processInvocation(
LogDiagnosticContextRecoveryInterceptor.java:82)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
AsyncFutureInterceptorFactory$1$2.runInvocation(
AsyncFutureInterceptorFactory.java:104)
at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(
AsyncInvocationTask.java:74)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
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}'}
]
at org.hibernate.cfg.beanvalidation.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)
at org.hibernate.engine.spi.ActionQueue.executeActions(
ActionQueue.java:582)
at org.hibernate.engine.spi.ActionQueue.executeActions(
ActionQueue.java:456)
at org.hibernate.event.internal.AbstractFlushingEventListener.
performExecutions(AbstractFlushingEventListener.java:337)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(
DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:465)
at org.hibernate.internal.SessionImpl.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.
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.WaitTimeInterceptor.
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.StartupAwaitInterceptor.
processInvocation(StartupAwaitInterceptor.java:22)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.
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)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.
processInvocation(AdditionalSetupInterceptor.java:54)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(
ContextClassLoaderInterceptor.java:64)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.InterceptorContext.run(
InterceptorContext.java:356)
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(
WildFlySecurityManager.java:636)
at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(
AccessCheckingInterceptor.java:61)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.InterceptorContext.run(
InterceptorContext.java:356)
at org.jboss.invocation.PrivilegedWithCombinerIntercep
tor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.invocation.ChainedInterceptor.processInvocation(
ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewService$View.invoke(
ViewService.java:198)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
ViewDescription.java:185)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
LogDiagnosticContextRecoveryInterceptor.processInvocation(
LogDiagnosticContextRecoveryInterceptor.java:82)
at org.jboss.invocation.InterceptorContext.proceed(
InterceptorContext.java:340)
at org.jboss.as.ejb3.component.interceptors.
AsyncFutureInterceptorFactory$1$2.runInvocation(
AsyncFutureInterceptorFactory.java:104)
at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(
AsyncInvocationTask.java:74)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.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.TransactionImple.
commitAndDisassociate(TransactionImple.java:1212)
at com.arjuna.ats.internal.jta.transaction.arjunacore.
BaseTransaction.commit(BaseTransaction.java:126)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(
BaseTransactionManagerDelegate.java:89)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(
CMTTxInterceptor.java:91)
... 41 more
Caused by: javax.persistence.PersistenceException: error during managed
flush
at org.hibernate.jpa.internal.EntityManagerImpl$
CallbackExceptionMapperImpl.mapManagedFlushFailure(
EntityManagerImpl.java:240)
at org.hibernate.internal.SessionImpl.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)
at org.hibernate.resource.transaction.backend.jta.internal.
JtaTransactionCoordinatorImpl.beforeCompletion(
JtaTransactionCoordinatorImpl.java:316)
at org.hibernate.resource.transaction.backend.jta.
internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl.
beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)
at org.hibernate.resource.transaction.backend.jta.
internal.synchronization.RegisteredSynchronization.beforeCompletion(
RegisteredSynchronization.java:37)
at org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationL
ist.beforeCompletion(JCAOrderedLastSynchronizationList.java:116)
at com.arjuna.ats.internal.jta.resources.arjunacore.
SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.
beforeCompletion(TwoPhaseCoordinator.java:368)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(
TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.
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.
constraints.devicetoken}'}
]
at org.hibernate.cfg.beanvalidation.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)
at org.hibernate.engine.spi.ActionQueue.executeActions(
ActionQueue.java:582)
at org.hibernate.engine.spi.ActionQueue.executeActions(
ActionQueue.java:456)
at org.hibernate.event.internal.AbstractFlushingEventListener.
performExecutions(AbstractFlushingEventListener.java:337)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(
DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:465)
at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompleti
on(SessionImpl.java:2963)
Can those situations be related?
Thanks again.
2018-04-10 5:35 GMT-03:00 <aerogear-users-request(a)lists.jboss.org>:
> Send Aerogear-users mailing list submissions to
> aerogear-users(a)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(a)lists.jboss.org
>
> You can reach the person managing the list at
> aerogear-users-owner(a)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(a)gmail.com>
> Subject: [Aerogear-users] Android Devices Wont Register iOS Pushes
> wont be received on the devices
> To: aerogear-users(a)lists.jboss.org
> Message-ID:
> <CALGxnHOrnR23iVKh_yhq=xmW26xpO-eDLyRrbcCZ5YQ6-HYqkQ@mail.
> gmail.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.ClientInstallationService.
> 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.CurrentInvocationContextInterc
> eptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.
> 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.StartupAwaitInterceptor.
> processInvocation(StartupAwaitInterceptor.java:22)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.
> processInvocation(ShutDownInterceptorFactory.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)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.
> processInvocation(AdditionalSetupInterceptor.java:54)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(
> ContextClassLoaderInterceptor.java:64)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
> at
> org.wildfly.security.manager.WildFlySecurityManager.doChecked(
> WildFlySecurityManager.java:636)
> at
> org.jboss.invocation.AccessCheckingInterceptor.processInvocation(
> AccessCheckingInterceptor.java:61)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
> at
> org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(
> PrivilegedWithCombinerInterceptor.java:80)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.invocation.ChainedInterceptor.processInvocation(
> ChainedInterceptor.java:61)
> at
> org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
> at
> org.jboss.as.ee.component.ViewDescription$1.processInvocation(
> ViewDescription.java:185)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryIn
> terceptor.processInvocation(LogDiagnosticContextRecoveryIn
> terceptor.java:82)
> at
> org.jboss.invocation.InterceptorContext.proceed(
> InterceptorContext.java:340)
> at
> org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$
> 1$2.runInvocation(AsyncFutureInterceptorFactory.java:104)
> at
> org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(
> AsyncInvocationTask.java:74)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.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.TransactionImple.
> commitAndDisassociate(TransactionImple.java:1212)
> at
> com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(
> BaseTransaction.java:126)
> at
> com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(
> BaseTransactionManagerDelegate.java:89)
> at
> org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(
> CMTTxInterceptor.java:91)
> ... 41 more
> Caused by: javax.persistence.PersistenceException: error during managed
> flush
> at
> org.hibernate.jpa.internal.EntityManagerImpl$CallbackExceptionMapperImpl.
> mapManagedFlushFailure(EntityManagerImpl.java:240)
> at
> org.hibernate.internal.SessionImpl.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)
> at
> org.hibernate.resource.transaction.backend.jta.internal.
> JtaTransactionCoordinatorImpl.beforeCompletion(
> JtaTransactionCoordinatorImpl.java:316)
> at
> org.hibernate.resource.transaction.backend.jta.internal.synchronization.
> SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(
> SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)
> at
> org.hibernate.resource.transaction.backend.jta.internal.synchronization.
> RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.
> java:37)
> at
> org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationL
> ist.beforeCompletion(JCAOrderedLastSynchronizationList.java:116)
> at
> com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.
> beforeCompletion(SynchronizationImple.java:76)
> at
> com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(
> TwoPhaseCoordinator.java:368)
> at
> com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(
> TwoPhaseCoordinator.java:91)
> at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
> at
> com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.
> 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.
> constraints.devicetoken}'}
> ]
> at
> org.hibernate.cfg.beanvalidation.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)
> at
> org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:582)
> at
> org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:456)
> at
> org.hibernate.event.internal.AbstractFlushingEventListener.
> performExecutions(AbstractFlushingEventListener.java:337)
> at
> org.hibernate.event.internal.DefaultFlushEventListener.onFlush(
> DefaultFlushEventListener.java:39)
> at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
> at org.hibernate.internal.SessionImpl.managedFlush(
> SessionImpl.java:465)
> at
> org.hibernate.internal.SessionImpl.flushBeforeTransactionCompleti
> on(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(a)apache.org>
> Subject: Re: [Aerogear-users] Android Devices Wont Register iOS Pushes
> wont be received on the devices
> To: aerogear-users(a)lists.jboss.org
> Message-ID:
> <CAAg5f2QQ=jgBhY2_YWwLsyMroSG9tNFC9wyFqXdEMEnO71
> 6OBQ(a)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(a)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.ClientInstallationService.
> > 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.
> WaitTimeInterceptor.
> > 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.StartupAwaitInterceptor.
> > processInvocation(StartupAwaitInterceptor.java:22)
> > at org.jboss.invocation.InterceptorContext.proceed(
> > InterceptorContext.java:340)
> > at org.jboss.as.ejb3.component.interceptors.
> > ShutDownInterceptorFactory$1.processInvocation(
> ShutDownInterceptorFactory.
> > 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)
> > at org.jboss.invocation.InterceptorContext.proceed(
> > InterceptorContext.java:340)
> > at org.jboss.as.ejb3.component.interceptors.
> > AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.
> > java:54)
> > at org.jboss.invocation.InterceptorContext.proceed(
> > InterceptorContext.java:340)
> > at org.jboss.invocation.ContextClassLoaderInterceptor.
> > processInvocation(ContextClassLoaderInterceptor.java:64)
> > at org.jboss.invocation.InterceptorContext.proceed(
> > InterceptorContext.java:340)
> > at org.jboss.invocation.InterceptorContext.run(
> > InterceptorContext.java:356)
> > at org.wildfly.security.manager.WildFlySecurityManager.doChecked(
> > WildFlySecurityManager.java:636)
> > at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(
> > AccessCheckingInterceptor.java:61)
> > at org.jboss.invocation.InterceptorContext.proceed(
> > InterceptorContext.java:340)
> > at org.jboss.invocation.InterceptorContext.run(
> > InterceptorContext.java:356)
> > at org.jboss.invocation.PrivilegedWithCombinerIntercep
> > tor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
> > at org.jboss.invocation.InterceptorContext.proceed(
> > InterceptorContext.java:340)
> > at org.jboss.invocation.ChainedInterceptor.processInvocation(
> > ChainedInterceptor.java:61)
> > at org.jboss.as.ee.component.ViewService$View.invoke(
> > ViewService.java:198)
> > at org.jboss.as.ee.component.ViewDescription$1.processInvocation(
> > ViewDescription.java:185)
> > at org.jboss.invocation.InterceptorContext.proceed(
> > InterceptorContext.java:340)
> > at org.jboss.as.ejb3.component.interceptors.
> > LogDiagnosticContextRecoveryInterceptor.processInvocation(
> > LogDiagnosticContextRecoveryInterceptor.java:82)
> > at org.jboss.invocation.InterceptorContext.proceed(
> > InterceptorContext.java:340)
> > at org.jboss.as.ejb3.component.interceptors.
> > AsyncFutureInterceptorFactory$1$2.runInvocation(
> > AsyncFutureInterceptorFactory.java:104)
> > at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(
> > AsyncInvocationTask.java:74)
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(
> > ThreadPoolExecutor.java:1149)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> > ThreadPoolExecutor.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.
> > TransactionImple.commitAndDisassociate(TransactionImple.java:1212)
> > at com.arjuna.ats.internal.jta.transaction.arjunacore.
> > BaseTransaction.commit(BaseTransaction.java:126)
> > at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(
> > BaseTransactionManagerDelegate.java:89)
> > at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(
> > CMTTxInterceptor.java:91)
> > ... 41 more
> > Caused by: javax.persistence.PersistenceException: error during managed
> > flush
> > at org.hibernate.jpa.internal.EntityManagerImpl$
> > CallbackExceptionMapperImpl.mapManagedFlushFailure(
> > EntityManagerImpl.java:240)
> > at org.hibernate.internal.SessionImpl.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)
> > at org.hibernate.resource.transaction.backend.jta.internal.
> > JtaTransactionCoordinatorImpl.beforeCompletion(
> > JtaTransactionCoordinatorImpl.java:316)
> > at org.hibernate.resource.transaction.backend.jta.
> > internal.synchronization.SynchronizationCallbackCoordin
> > atorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordin
> > atorNonTrackingImpl.java:47)
> > at org.hibernate.resource.transaction.backend.jta.
> > internal.synchronization.RegisteredSynchronization.beforeCompletion(
> > RegisteredSynchronization.java:37)
> > at org.jboss.as.txn.service.internal.tsr.
> > JCAOrderedLastSynchronizationList.beforeCompletion(
> > JCAOrderedLastSynchronizationList.java:116)
> > at com.arjuna.ats.internal.jta.resources.arjunacore.
> > SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
> > at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.
> > beforeCompletion(TwoPhaseCoordinator.java:368)
> > at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(
> > TwoPhaseCoordinator.java:91)
> > at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
> > at com.arjuna.ats.internal.jta.transaction.arjunacore.
> > TransactionImple.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.
> > constraints.devicetoken}'}
> > ]
> > at org.hibernate.cfg.beanvalidation.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)
> > at org.hibernate.engine.spi.ActionQueue.executeActions(
> > ActionQueue.java:582)
> > at org.hibernate.engine.spi.ActionQueue.executeActions(
> > ActionQueue.java:456)
> > at org.hibernate.event.internal.AbstractFlushingEventListener.
> > performExecutions(AbstractFlushingEventListener.java:337)
> > at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(
> > DefaultFlushEventListener.java:39)
> > at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
> > at org.hibernate.internal.SessionImpl.managedFlush(
> > SessionImpl.java:465)
> > at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompleti
> > on(SessionImpl.java:2963)
> > ... 55 more
> >
> > Are the messages maybe delayed?
> >
> >
> >
> > _______________________________________________
> > Aerogear-users mailing list
> > Aerogear-users(a)lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-users
> >
> >
>
>
> --
> Matthias Wessendorf
>
> github: https://github.com/matzew
> twitter: http://twitter.com/mwessendorf
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.jboss.org/pipermail/aerogear-users/
> attachments/20180410/3fb208d2/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
> End of Aerogear-users Digest, Vol 42, Issue 1
> *********************************************
>
6 years, 8 months
Android Devices Wont Register iOS Pushes wont be received on the devices
by Victor Silva
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.ClientInstallationService.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.WaitTimeInterceptor.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.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
at
org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.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)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
at
org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
at
org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
at
org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
at
org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
at
org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
at
org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
at
org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at
org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
at
org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
at
org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecoveryInterceptor.java:82)
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
at
org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$2.runInvocation(AsyncFutureInterceptorFactory.java:104)
at
org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:74)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.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.TransactionImple.commitAndDisassociate(TransactionImple.java:1212)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
at
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:89)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:91)
... 41 more
Caused by: javax.persistence.PersistenceException: error during managed
flush
at
org.hibernate.jpa.internal.EntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(EntityManagerImpl.java:240)
at
org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2970)
at
org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2339)
at
org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:485)
at
org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.beforeCompletion(JtaTransactionCoordinatorImpl.java:316)
at
org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)
at
org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:37)
at
org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationList.beforeCompletion(JCAOrderedLastSynchronizationList.java:116)
at
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:368)
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.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.constraints.devicetoken}'}
]
at
org.hibernate.cfg.beanvalidation.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)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:582)
at
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:456)
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:465)
at
org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2963)
... 55 more
Are the messages maybe delayed?
6 years, 8 months