AeroGear unified push notification
by Walto, David
Hi, I a new AeroGear unified push notification user. I am trying to create a simple push notification from a WebSphere java application.
I have created a couple of push notification classes to test (below) and both version I get the error:
SenderClient E Send did not succeed: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 64
I have the following jars for this application.
[cid:image001.png@01D0EB25.5E1F6EE0]
[cid:image003.png@01D0EB25.C89EC4F0]
Any direction how to resolve this would be greatly appreciated.
Thanks in advance.
David Walto
Senior Application Engineer | EMR Engineering and Integration
Baystate Health | Information & Technology
1550 Main Street, Springfield, MA 01199 | p: 413-794-0627 | f: 413-794-5570
----------------------------------------------------------------------
Please view our annual report at http://baystatehealth.org/annualreport
CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please reply to the sender immediately or by telephone at 413-794-0000 and destroy all copies of this communication and any attachments. For further information regarding Baystate Health's privacy policy, please visit our Internet site at http://baystatehealth.org.
7 years, 2 months
The push notification can't receive
by Flynn
Hello, I set up a new Aerogear Unified Push server, and the android device
which is developed by Cordova can register successfully. But the the device
can't receive the notification. Some days before I had set up another it
worked OK for notification. And I find some error in Debug level log. Can
some one help me on this? Paste some logs which generated when I send the
notification from the web GUI. And attached the log file. log.txt
<http://aerogear-users.1116366.n5.nabble.com/file/n976/log.txt> 2016-11-29
21:27:30,354 INFO
[org.jboss.aerogear.unifiedpush.message.sender.GCMPushNotificationSender]
(Thread-19 (HornetQ-client-global-threads-1685022652)) Sent push
notification to GCM topic:
/topics/28701964-1bec-4275-96dd-ee8585876dd02016-11-29
21:27:30,355 FINE [com.google.android.gcm.server.Sender] (Thread-19
(HornetQ-client-global-threads-1685022652)) Sending POST to
https://gcm-http.googleapis.com/gcm/send2016-11-29 21:27:30,394 *WARNING*
[org.jboss.aerogear.unifiedpush.message.token.TokenLoader] (Thread-20
(HornetQ-client-global-threads-1685022652)) Check your push query: Not a
single token was loaded from the DB!2016-11-29 21:27:30,505 DEBUG
[org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Thread-20
(HornetQ-client-global-threads-1685022652)) could not log warnings:
*java.sql.SQLException*: IJ031070: Transaction cannot proceed:
STATUS_COMMITTED at
org.jboss.jca.adapters.jdbc.WrapperDataSource.checkTransactionActive(WrapperDataSource.java:241)2016-11-29
21:27:30,505 DEBUG [org.hibernate.engine.jdbc.spi.SqlExceptionHelper]
(Thread-20 (HornetQ-client-global-threads-1685022652)) could not clear
warnings: *java.sql.SQLException*: IJ031070: Transaction cannot proceed:
STATUS_COMMITTED at
org.jboss.jca.adapters.jdbc.WrapperDataSource.checkTransactionActive(WrapperDataSource.java:241)2016-11-29
21:27:32,747 WARNING
[org.jboss.aerogear.unifiedpush.message.NotificationDispatcher] (Thread-19
(HornetQ-client-global-threads-1685022652)) *Error on 'android'
delivery*
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/The-push-notification-can-t-r...
Sent from the aerogear-users mailing list archive at Nabble.com.
7 years, 11 months
The google play service version
by Flynn
Hello all,
There are some questions about version. I'm now want my app to support
from android 4.1.2. So I use an emulator with this android version. I first
tried the native aerogear android code example(got from Aerogear web site
and Github), the system remind me to update the google-play-service.
Now the question is if I use the Aerogear cordova push plugin, will I
face the same problem? Which version of the plugin support the android
4.1.2? And does this also relate to the Cordova version? Because now I'm
using Cordova 6 which can only use android 5.2.2 to build.
Another question is when the device reboot and my app hasn't started,
then a push notification is sent from Aerogear. For this case, can the
device receive the notification if I use the Aerogear cordova push plugin to
develop my app. I tried on Android 5.1.1 seems can't receive it.
Thanks.
Regards,
Flynn
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/The-google-play-service-versi...
Sent from the aerogear-users mailing list archive at Nabble.com.
7 years, 11 months
aerogear-cordova-push
by lumaruma
Hi Aerogear team,
I am trying to get your Cordova demo example with Plugin
Aerogear-cordova-push (3.0.1) running in my app. But got back following
exception:
-->"Uncaught ReferenceError: push is not defined"
If referencing the java scripts "aerogear.ajax.js" and "aerogear-push.js"
directly in index.html, i got following error message:
--> "Uncaught TypeError: Cannot read property 'register' of undefined"
Please could you help me here?!
Thanks and best regards
Martin Gross
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/aerogear-cordova-push-tp925.html
Sent from the aerogear-users mailing list archive at Nabble.com.
7 years, 11 months
Other databases
by Gorla, Vinod (NonEmp)
Hi Aerogear team,
Would Aerogear support any other databases like SQL server, Oracle, UDB
and Informix along with Cassandra or MongoDB?
Thanks
Vinod
________________________________
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
7 years, 11 months
Table 'client_attributes' already exists ERROR
by falconea
I'm installing AeroGear UnifiedPush on JBoss 6.4.
I get this error Table 'client_attributes' already exists. How can i fix
that?
11:02:21,198 ERROR
[org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider]
(ServerService Thread Pool -- 66) Change Set
META-INF/jpa-changelog-1.1.0.Beta1.xml::1.1.0.Beta1::sthorger@redhat.com
failed. Error: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Table 'client_attributes' already exists:
liquibase.exception.DatabaseException:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table
'client_attributes' already exists
at
liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:316)
[liquibase-core-3.3.5.jar:]
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
[liquibase-core-3.3.5.jar:]
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122)
[liquibase-core-3.3.5.jar:]
at
liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1227)
[liquibase-core-3.3.5.jar:]
at
liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1210)
[liquibase-core-3.3.5.jar:]
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:550)
[liquibase-core-3.3.5.jar:]
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:43)
[liquibase-core-3.3.5.jar:]
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:73)
[liquibase-core-3.3.5.jar:]
at liquibase.Liquibase.update(Liquibase.java:200)
[liquibase-core-3.3.5.jar:]
at liquibase.Liquibase.update(Liquibase.java:181)
[liquibase-core-3.3.5.jar:]
at
org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider.update(LiquibaseJpaUpdaterProvider.java:84)
[keycloak-connections-jpa-liquibase-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:143)
[keycloak-connections-jpa-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:35)
[keycloak-connections-jpa-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:25)
[keycloak-connections-jpa-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99)
[keycloak-services-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:34)
[keycloak-model-jpa-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:16)
[keycloak-model-jpa-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99)
[keycloak-services-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:70)
[keycloak-invalidation-cache-model-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultCacheRealmProvider.java:163)
[keycloak-invalidation-cache-model-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:40)
[keycloak-services-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:31)
[keycloak-services-1.3.1.Final.jar:1.3.1.Final]
at
org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:157)
[keycloak-services-1.3.1.Final.jar:1.3.1.Final]
at
org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40)
[classes:]
at
org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:87)
[keycloak-services-1.3.1.Final.jar:1.3.1.Final]
at
org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.<init>(UpsKeycloakApplication.java:35)
[classes:]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[rt.jar:1.8.0_111]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[rt.jar:1.8.0_111]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[rt.jar:1.8.0_111]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[rt.jar:1.8.0_111]
at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:133)
[resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at
org.jboss.resteasy.spi.ResteasyDeployment.createFromInjectorFactory(ResteasyDeployment.java:293)
[resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:270)
[resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:228)
[resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)
[resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
[resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)
[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100)
[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3593)
[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3802)
[jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163)
[jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)
[jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at
org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
[jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[rt.jar:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[rt.jar:1.8.0_111]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_111]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table
'client_attributes' already exists
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[rt.jar:1.8.0_111]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[rt.jar:1.8.0_111]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[rt.jar:1.8.0_111]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[rt.jar:1.8.0_111]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2618)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:842)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:681)
at
org.jboss.jca.adapters.jdbc.WrappedStatement.execute(WrappedStatement.java:157)
at
liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:314)
[liquibase-core-3.3.5.jar:]
... 48 more
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Table-client-attributes-alrea...
Sent from the aerogear-users mailing list archive at Nabble.com.
7 years, 11 months