[aerogear-dev] aerogear-unifiedpush-java-client problems

Daniel Passos daniel at passos.me
Wed Oct 16 10:05:15 EDT 2013


Sorry, Yes, this == Jackson :)

My project dependencies => 
https://gist.github.com/danielpassos/7cd848105df9263cff3e
> Matthias Wessendorf <mailto:matzew at apache.org>
> October 16, 2013 11:02 AM
>
>
>
> On Wed, Oct 16, 2013 at 3:59 PM, Daniel Passos <daniel at passos.me 
> <mailto:daniel at passos.me>> wrote:
>
>     Only to you know, I'm using JBoss AS 7.1.1 and needed add this on
>     my project pom to work
>
>
>
> 'this' meaning Jackson ?
>
> Are you using RestEasy as well ?
>
> I never had to add it to my projects, but I was always using RestEasy 
> (same does AeroDoc)
>
> -M
>
>>     Douglas Campos <mailto:qmx at qmx.me>
>>     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 at lists.jboss.org <mailto:aerogear-dev at lists.jboss.org>
>>     https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>     Matthias Wessendorf <mailto:matzew at apache.org>
>>     October 16, 2013 2:36 AM
>>
>>
>>
>>     On Wed, Oct 16, 2013 at 6:21 AM, Daniel Passos <daniel at passos.me
>>     <mailto:daniel at 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
>>
>>             |defaultJavaSender.send(unifiedMessage);|
>>
>>             but this method dosen’t exist.
>>
>>
>>     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 at lists.jboss.org
>>         <mailto:aerogear-dev at 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 at lists.jboss.org  <mailto:aerogear-dev at lists.jboss.org>
>>     https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>     Daniel Passos <mailto:daniel at passos.me>
>>     October 16, 2013 1:21 AM
>>
>>     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
>>         |defaultJavaSender.send(unifiedMessage);|
>>         but this method dosen’t exist. I think the correct is sendTo
>>         or broadcast, but if I try use it I get[2]
>>         |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
>>
>>
>
>     _______________________________________________
>     aerogear-dev mailing list
>     aerogear-dev at lists.jboss.org <mailto:aerogear-dev at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> Daniel Passos <mailto:daniel at passos.me>
> October 16, 2013 10:59 AM
> Only to you know, I'm using JBoss AS 7.1.1 and needed add this on my 
> project pom to work
> Douglas Campos <mailto:qmx at qmx.me>
> 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> Matthias Wessendorf <mailto:matzew at apache.org>
> October 16, 2013 2:36 AM
>
>
>
> On Wed, Oct 16, 2013 at 6:21 AM, Daniel Passos <daniel at passos.me 
> <mailto:daniel at 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
>
>         |defaultJavaSender.send(unifiedMessage);|
>
>         but this method dosen’t exist.
>
>
> 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 at lists.jboss.org <mailto:aerogear-dev at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> Daniel Passos <mailto:daniel at passos.me>
> October 16, 2013 1:21 AM
>
> 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
>     |defaultJavaSender.send(unifiedMessage);|
>     but this method dosen’t exist. I think the correct is sendTo or
>     broadcast, but if I try use it I get[2]
>     |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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131016/4a5a01e3/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1309 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131016/4a5a01e3/attachment-0003.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1294 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131016/4a5a01e3/attachment-0004.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1448 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131016/4a5a01e3/attachment-0005.jpg 


More information about the aerogear-dev mailing list