October 16, 2013 10:39 AM
Looks like we're assuming it runs on JBoss EAP/Wildfly/AS7 and not
documenting it properly :(_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-devOctober 16, 2013 2:36 AMOn Wed, Oct 16, 2013 at 6:21 AM, Daniel Passos <daniel@passos.me> wrote:
Hi guys
I’m preparing my talk for MobileConf this weekend and would like to talk about push. I tried to use Java Sender, but, I’m a little confuse. The documentation say:
- use
but this method dosen’t exist.defaultJavaSender.send(unifiedMessage);
that was introduced in 0.3.0-SNAPSHOT (currently on master), to match the server that is currently on master (and on the 0.8.1 'staging').This all was part of the effort to get rid of the broadcast API (had several discussions on the ML and JIRA for that).
- I think the correct is sendTo or broadcast, but if I try use it I get[2]
Well, that broadcast is getting removed on the current sender, for above reasons.
Caused by: java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper at org.jboss.aerogear.unifiedpush.SenderClient.transformJSON(SenderClient.java:205) [unified-push-java-client-0.2.2.jar:0.2.2]
Hrm - looks like your dependencies are not right
- Documentation is not clear for me where I need add[2] JBoss workaround in standard.xml.
what work around ? You mean the Java7 issue? That's only for SSL, on Java7; not related for having no Jackson dependency.
- Can I add it anywhere within the server tag?
[1] https://github.com/aerogear/aerogear-unifiedpush-java-client
[2] https://gist.github.com/danielpassos/f6d733197b995156722c
[3] https://github.com/aerogear/aerogear-unifiedpush-java-client#known-issues
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf_______________________________________________ aerogear-dev mailing list aerogear-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/aerogear-devOctober 16, 2013 1:21 AMHi guys
I’m preparing my talk for MobileConf this weekend and would like to talk about push. I tried to use Java Sender, but, I’m a little confuse. The documentation say:
- use
but this method dosen’t exist. I think the correct is sendTo or broadcast, but if I try use it I get[2]defaultJavaSender.send(unifiedMessage);
Caused by: java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
at org.jboss.aerogear.unifiedpush.SenderClient.transformJSON(SenderClient.java:205) [unified-push-java-client-0.2.2.jar:0.2.2]- Documentation is not clear for me where I need add[2] JBoss workaround in standard.xml. Can I add it anywhere within the server tag?
[1] https://github.com/aerogear/aerogear-unifiedpush-java-client
[2] https://gist.github.com/danielpassos/f6d733197b995156722c
[3] https://github.com/aerogear/aerogear-unifiedpush-java-client#known-issues