Update from 1.0.2 to 1.1.0alpha
by Kleber Rocha
Hi there,
I trying to update my aerogear-unifiedpush-server from 1.0.2 to 1.1.0alpha,
but I'm having this error:
Caused by: org.postgresql.util.PSQLException: Large Objects may not be used
in auto-commit mode.
at
org.postgresql.largeobject.LargeObjectManager.open(LargeObjectManager.java:260)
at
org.postgresql.largeobject.LargeObjectManager.open(LargeObjectManager.java:189)
at
org.postgresql.jdbc2.AbstractJdbc2BlobClob.<init>(AbstractJdbc2BlobClob.java:45)
at
org.postgresql.jdbc2.AbstractJdbc2Blob.<init>(AbstractJdbc2Blob.java:19)
at
org.postgresql.jdbc3.AbstractJdbc3Blob.<init>(AbstractJdbc3Blob.java:17)
at
org.postgresql.jdbc4.AbstractJdbc4Blob.<init>(AbstractJdbc4Blob.java:18)
at org.postgresql.jdbc4.Jdbc4Blob.<init>(Jdbc4Blob.java:18)
at org.postgresql.jdbc4.Jdbc4ResultSet.makeBlob(Jdbc4ResultSet.java:41)
at
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getBlob(AbstractJdbc2ResultSet.java:379)
at
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getBlob(AbstractJdbc2ResultSet.java:367)
at
org.jboss.jca.adapters.jdbc.WrappedResultSet.getBlob(WrappedResultSet.java:573)
at
org.hibernate.type.descriptor.sql.BlobTypeDescriptor$1.doExtract(BlobTypeDescriptor.java:65)
[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
at
org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:64)
[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
at
org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:267)
[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
at
org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:263)
[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
at
org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:253)
[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
at
org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:338)
[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
at
org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2969)
[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
at
org.hibernate.loader.plan.exec.process.internal.EntityReferenceInitializerImpl.loadFromResultSet(EntityReferenceInitializerImpl.java:324)
[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
... 85 more
Did you saw something about this?
Thanks
10 years
UnifiedPush Java Sender Forge Addon
by Sebastien Blanc
Hi !
I'm happy to announce the first release of the UPS Java Sender Forge Addon,
This addon will help the developer to integrate the Java Sender into their
existing applications.
Basically it provides 2 commands :
- unifiedpush-setup : will pull in the dependency and create a
pushConfiguration.json file that contains the needed information (UPS url,
PushAppID and master secret)
-unifiedpush-generate-service : will generate a small service that wraps
the Java Sender, you can then easily inject it into your business logic.
The nice thing about Forge 2 Addons, is that you get JBDS Integration for
"free" , so these 2 commands are available in JBDS as UI Wizards.
I created a blog entry for that which also contains a screencast :
http://blog-sblanc.rhcloud.com/?p=66
The code is hosted here for now :
https://github.com/sebastienblanc/unifiedpush-addon but will soon be
migrated under the AeroGear org.
Regards,
Sebi
10 years
Registration error with iOS on AeroGear UnifiedPush Server
by Andreas Røsdal
Hello!
I would appreciate some help in resolving a problem I have with registering
a new iOS device token to the AeroGear UnifiedPush Server.
We are using aerogear-ios-push on iOS 8.1.1, and AeroGear UnifiedPush
Server version 1.0.2 running on Wildfly.
Registering a new device token works correctly with a test certificate, and
we were able to send push messages correctly. However, when time came to
register a new device using the production certificates in the iOS variant
in the UnifiedPush Server, we got an error message in the iPhone app.
This is the error message we got:
http://imgur.com/w7t9zLd
This error was generated by showing an alert with the response from the
server. Note the AGPushErrorDomain
AGNetworkingOperationFailingURLRequestErrorKey in the screenshot above.
Thanks for the positive response from this mailing list so far!
Regards,
Andreas R.
10 years
Aerogear Website Design
by Andres Galante
Hello,
Just wanted to tell you that Feedhenry gig I was involved is done and I will mainly be working on the website during the next days.
I still need to implement the suggestions Lukas, Matthias and Bruno made, but if you want to follow the progress I'll be updating it here (please use Safari or Firefox):
http://andresgalante.com/aerogearwebsite/
I will concentrate first on structure and content changes, then on styling and colors.
Feedback is very welcome. Please send as much info, changes and critics as possible.
Thanks!
10 years
AGPUSH-1047 - Heads up
by Bruno Oliveira
Good morning my friends, decouple AeroGear from Keycloak was easy[1], we
did that last week. This week I'm struggling with auth server url which
must be dinamically replaced[2], for this reason I started a discusson
on keycloak-dev mailing list[3].
Based on the discussion there, I started some changes[4], moved most of
configuration be programatically[5] and make use of placeholders, as
well move our client-side configuration[6]. Altough I'm getting an annoying exception[7]
and already reported to KC team (certainly something missing).
Some of the possible alternatives to KC placeholders:
1. During the configuration wizard, generate the JSON file and store in
some place. The problem is: Keycloak.js must be able to retrieve this
resource, otherwise, won't happen.
2. Allow people to upload their own configuration files to the server,
which requires to manually change it (I don't like it, but works).
If you're feeling bored and want to try my branch:
1. docker run -it -p 8080:8080 -p 9090:9090 jboss/keycloak
2. Login at http://dockerip:8080/auth
3. Add a real and upload ups-realm.json
4. git clone git@github.com:abstractj/aerogear-unifiedpush-server.git &&
switch to strawman branch
5. mvn clean install
6. Deploy ag-push to WildFly
7. Try it (an exception is expected like I mentioned)
I have switch to another task at the moment, and wanted to give to you a
heads up, just in case you want to try/help.
[1] - https://github.com/abstractj/aerogear-unifiedpush-server/commit/e8fc8461f...
[2] - https://github.com/abstractj/aerogear-unifiedpush-server/commit/e8fc8461f...
[3] - http://lists.jboss.org/pipermail/keycloak-dev/2014-November/003096.html
[4] - https://github.com/abstractj/aerogear-unifiedpush-server/commit/d5298d613...
[5] - https://github.com/abstractj/aerogear-unifiedpush-server/commit/d5298d613...
[6] - https://github.com/abstractj/aerogear-unifiedpush-server/commit/d5298d613...
[7] - https://gist.github.com/abstractj/ef42e28903e470d5033d
--
abstractj
PGP: 0x84DC9914
10 years