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

Matthias Wessendorf matzew at apache.org
Wed Oct 16 10:02:17 EDT 2013


On Wed, Oct 16, 2013 at 3:59 PM, Daniel Passos <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 <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 <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> 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
>> 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 listaerogear-dev at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>   Daniel Passos <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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131016/9c1dab78/attachment.html 


More information about the aerogear-dev mailing list