On Wed, Oct 16, 2013 at 4:02 PM, Matthias Wessendorf <matzew@apache.org> wrote:



On Wed, Oct 16, 2013 at 3:59 PM, Daniel Passos <daniel@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)

Actually, I had this on my JvaOne demo priject:

        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jackson-provider</artifactId>
            <version>2.3.2.Final</version>
        </dependency>

Let me add something on the README :-) 
 

-M
 
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-dev
October 16, 2013 2:36 AM



On 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
    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.
 

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
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?

_______________________________________________
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