From michi.oshima at gmail.com Tue Apr 21 10:16:32 2015 From: michi.oshima at gmail.com (mo) Date: Tue, 21 Apr 2015 07:16:32 -0700 (MST) Subject: [Aerogear-users] Unified push server development environment setup Message-ID: <1429625792522-7.post@n5.nabble.com> Hi, I'm trying to run the unified push server in a development environment to troubleshoot and understand it better. I'm wondering if there is any documentation available to assist me with setting up development environment for it. I've looked though documents under "Contributing to AeroGear", but I am in need of a more detailed guide. I'd like to get to a point where I can run unified push, break point, and inspect variables, and so on. So far I've managed to run 'mvn test' successfully on the unified push server source code. I use Eclipse, so I wanted to import the project. I get quite a lot of errors in doing so. I am troubleshooting version 1.0.2. We use OpenShift to deploy the aerogear server. I appreciate any help. Thank you. Michi Oshima -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-development-environment-setup-tp7.html Sent from the aerogear-users mailing list archive at Nabble.com. From supittma at redhat.com Tue Apr 21 11:07:31 2015 From: supittma at redhat.com (Summers Pittman) Date: Tue, 21 Apr 2015 11:07:31 -0400 Subject: [Aerogear-users] Unified push server development environment setup In-Reply-To: <1429625792522-7.post@n5.nabble.com> References: <1429625792522-7.post@n5.nabble.com> Message-ID: On Tue, Apr 21, 2015 at 10:16 AM, mo wrote: > Hi, > > I'm trying to run the unified push server in a development environment to > troubleshoot and understand it better. I'm wondering if there is any > documentation available to assist me with setting up development > environment > for it. I've looked though documents under "Contributing to AeroGear", but > I am in need of a more detailed guide. I'd like to get to a point where I > can run unified push, break point, and inspect variables, and so on. > > So far I've managed to run 'mvn test' successfully on the unified push > server source code. I use Eclipse, so I wanted to import the project. I > get quite a lot of errors in doing so. > > I am troubleshooting version 1.0.2. We use OpenShift to deploy the > aerogear > server. > > I appreciate any help. Thank you. > Sure thing. I'm ran this from master, I am using postgres as my database, Wildfly as my app server, NetBeans as my IDE, and I'm running all of these commands from the CLI instead of through the IDE; but I am 99% sure the principle of what I am saying will work for you. 1. Have you read https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation? It walks you through setting up your database and such. * You will need to start wildfly in debug mode 2. Go to ${UPS-SOURCE-HOME}/servers and run `mvn wildfly:deploy -Pwildfly` 3. In Eclipse attach a debugger to port 8787 4. Set a breakpoint in DashboardEndpoint.java in the *totalApplications* method. 5. Navigate to localhost:8080/ag-push 6. Do the login and change the initial admin password (it defaults to admin/123) 7. When you load the application, your breakpoint should be triggered. --Summers > Michi Oshima > > > > -- > View this message in context: > http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-development-environment-setup-tp7.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150421/895cb7ed/attachment.html From michi.oshima at gmail.com Tue Apr 21 15:34:00 2015 From: michi.oshima at gmail.com (mo) Date: Tue, 21 Apr 2015 12:34:00 -0700 (MST) Subject: [Aerogear-users] How to configure logging on OpenShift? Message-ID: <1429644840902-9.post@n5.nabble.com> Hi, I'm trying to get more log messages out of AeroGear Unified Server. We used "AeroGear Unified Push Server 1.0.2 on JBoss" cartridge to host the server on OpenShift. How should I go about customizing logging in this environment? I've naively added a "./.openshift/config/standalone.xml" (with custom logging) to my template repository. It did not get deployed. Thank you, Michi Oshima P.S.: I'm currently setting up my development environment by following the instructions provided in another thread. Summers, thank you very much for the info. -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/How-to-configure-logging-on-OpenShift-tp9.html Sent from the aerogear-users mailing list archive at Nabble.com. From Matthias.Geisriegler at reval.com Wed Apr 22 04:58:11 2015 From: Matthias.Geisriegler at reval.com (Matthias Geisriegler) Date: Wed, 22 Apr 2015 08:58:11 +0000 Subject: [Aerogear-users] Nodejs Proxying Message-ID: <65D23B59FE8A1847AF35FAABB4DA2CE53D858E@c5vexmb01.Reval.com> Hi! I am interested in the nodejs solution of aerogear. However, I am forced to use a proxy - is it possibly to configure proxy settings? I found it in the Java solution, but couldn't find anything for nodejs. Another question is, does anybody know if devices in a WiFi with proxy will ever receive GCM, APNS or WPS notifications? Or is this impossible. Thank you, Matthias -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150422/47f8c431/attachment.html From matzew at apache.org Wed Apr 22 05:22:36 2015 From: matzew at apache.org (Matthias Wessendorf) Date: Wed, 22 Apr 2015 11:22:36 +0200 Subject: [Aerogear-users] Nodejs Proxying In-Reply-To: <65D23B59FE8A1847AF35FAABB4DA2CE53D858E@c5vexmb01.Reval.com> References: <65D23B59FE8A1847AF35FAABB4DA2CE53D858E@c5vexmb01.Reval.com> Message-ID: On Wed, Apr 22, 2015 at 10:58 AM, Matthias Geisriegler < Matthias.Geisriegler at reval.com> wrote: > Hi! > > > > I am interested in the nodejs solution of aerogear: > Do you mean the Node.js library ([1]) to send out push notifications to our server? (the push server itself is written in java - there is no node.js version of the server) > However, I am forced to use a proxy ? is it possibly to configure proxy > settings? > Not sure, but I think would be possible to implement a proxy config on the Node.js sender, similar to what our java client has ([2]). > I found it in the Java solution, but couldn't find anything for nodejs. > Another question is, does anybody know if devices in a WiFi with proxy will > ever receive GCM, APNS or WPS notifications? Or is this impossible. > Not sure, tbh - does the app store work behind the proxy? and do other apps are able to receive push? If yes, it would work for us as well - because our server is just a broker that hands of stuff to GCM/APNS/WPS for them to deliver it to the devices. -Matthias [1] https://github.com/aerogear/aerogear-unifiedpush-nodejs-client [2] https://github.com/aerogear/aerogear-unifiedpush-java-client > > > Thank you, > > > > Matthias > > > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > > -- 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-users/attachments/20150422/7ecbdaf4/attachment.html From Matthias.Geisriegler at reval.com Wed Apr 22 05:29:00 2015 From: Matthias.Geisriegler at reval.com (Matthias Geisriegler) Date: Wed, 22 Apr 2015 09:29:00 +0000 Subject: [Aerogear-users] Nodejs Proxying In-Reply-To: References: <65D23B59FE8A1847AF35FAABB4DA2CE53D858E@c5vexmb01.Reval.com> Message-ID: <65D23B59FE8A1847AF35FAABB4DA2CE53D85A4@c5vexmb01.Reval.com> Hi, thanks for the really quick answer. I am desperately trying to find a solution for my companies app to send push notifications through the proxy. Okay, I misunderstood the nodejs solution, I was scanning through this project really quickly. So the only thing I need is a server, that allows me to send push notifications through the proxy to GCM etc. so that they can send them to the devices. So this is possible with aerogear? Thanks in advance, Matthias From: aerogear-users-bounces at lists.jboss.org [mailto:aerogear-users-bounces at lists.jboss.org] On Behalf Of Matthias Wessendorf Sent: Wednesday, April 22, 2015 11:23 AM To: aerogear-users at lists.jboss.org Subject: Re: [Aerogear-users] Nodejs Proxying On Wed, Apr 22, 2015 at 10:58 AM, Matthias Geisriegler > wrote: Hi! I am interested in the nodejs solution of aerogear: Do you mean the Node.js library ([1]) to send out push notifications to our server? (the push server itself is written in java - there is no node.js version of the server) However, I am forced to use a proxy ? is it possibly to configure proxy settings? Not sure, but I think would be possible to implement a proxy config on the Node.js sender, similar to what our java client has ([2]). I found it in the Java solution, but couldn't find anything for nodejs. Another question is, does anybody know if devices in a WiFi with proxy will ever receive GCM, APNS or WPS notifications? Or is this impossible. Not sure, tbh - does the app store work behind the proxy? and do other apps are able to receive push? If yes, it would work for us as well - because our server is just a broker that hands of stuff to GCM/APNS/WPS for them to deliver it to the devices. -Matthias [1] https://github.com/aerogear/aerogear-unifiedpush-nodejs-client [2] https://github.com/aerogear/aerogear-unifiedpush-java-client Thank you, Matthias _______________________________________________ Aerogear-users mailing list Aerogear-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/aerogear-users -- 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-users/attachments/20150422/fbead780/attachment-0001.html From matzew at apache.org Wed Apr 22 12:21:08 2015 From: matzew at apache.org (Matthias Wessendorf) Date: Wed, 22 Apr 2015 18:21:08 +0200 Subject: [Aerogear-users] Nodejs Proxying In-Reply-To: <65D23B59FE8A1847AF35FAABB4DA2CE53D85A4@c5vexmb01.Reval.com> References: <65D23B59FE8A1847AF35FAABB4DA2CE53D858E@c5vexmb01.Reval.com> <65D23B59FE8A1847AF35FAABB4DA2CE53D85A4@c5vexmb01.Reval.com> Message-ID: Not yet, but we could try to add it - interested in helping ? On Wed, Apr 22, 2015 at 11:29 AM, Matthias Geisriegler < Matthias.Geisriegler at reval.com> wrote: > Hi, > > > > thanks for the really quick answer. I am desperately trying to find a > solution for my companies app to send push notifications through the proxy. > Okay, I misunderstood the nodejs solution, I was scanning through this > project really quickly. So the only thing I need is a server, that allows > me to send push notifications through the proxy to GCM etc. so that they > can send them to the devices. So this is possible with aerogear? > > > > Thanks in advance, > > > > Matthias > > > > *From:* aerogear-users-bounces at lists.jboss.org [mailto: > aerogear-users-bounces at lists.jboss.org] *On Behalf Of *Matthias Wessendorf > *Sent:* Wednesday, April 22, 2015 11:23 AM > *To:* aerogear-users at lists.jboss.org > *Subject:* Re: [Aerogear-users] Nodejs Proxying > > > > > > > > On Wed, Apr 22, 2015 at 10:58 AM, Matthias Geisriegler < > Matthias.Geisriegler at reval.com> wrote: > > Hi! > > > > I am interested in the nodejs solution of aerogear: > > > > > > Do you mean the Node.js library ([1]) to send out push notifications to > our server? (the push server itself is written in java - there is no > node.js version of the server) > > > > However, I am forced to use a proxy ? is it possibly to configure proxy > settings? > > > > Not sure, but I think would be possible to implement a proxy config on the > Node.js sender, similar to what our java client has ([2]). > > > > I found it in the Java solution, but couldn't find anything for nodejs. > Another question is, does anybody know if devices in a WiFi with proxy will > ever receive GCM, APNS or WPS notifications? Or is this impossible. > > > > Not sure, tbh - does the app store work behind the proxy? and do other > apps are able to receive push? If yes, it would work for us as well - > because our server is just a broker that hands of stuff to GCM/APNS/WPS for > them to deliver it to the devices. > > > > -Matthias > > > > > > > > [1] https://github.com/aerogear/aerogear-unifiedpush-nodejs-client > > [2] https://github.com/aerogear/aerogear-unifiedpush-java-client > > > > > > Thank you, > > > > Matthias > > > > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > > > > > > -- > > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > > -- 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-users/attachments/20150422/10eca3d0/attachment.html From michi.oshima at gmail.com Fri Apr 24 16:24:46 2015 From: michi.oshima at gmail.com (mo) Date: Fri, 24 Apr 2015 13:24:46 -0700 (MST) Subject: [Aerogear-users] Unified push server development environment setup In-Reply-To: References: <1429625792522-7.post@n5.nabble.com> Message-ID: <1429907086438-14.post@n5.nabble.com> Thank you, Summers. I'm currently following the instructions in the link you provided. I got to the point where I am supposed to create the database schema, but I cannot find either "liquibase-database-flavor-example.properties" or "ups-migrator" under the unified server git repository. I also downloaded version 1.0.2 release distribution, but that didn't include these files, either. Am I not looking for them in the right place? Or could it be that this liquibase update is not available for version 1.0.2? If so, how should I generate the database schema? -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-development-environment-setup-tp7p14.html Sent from the aerogear-users mailing list archive at Nabble.com. From matzew at apache.org Sat Apr 25 01:28:48 2015 From: matzew at apache.org (Matthias Wessendorf) Date: Sat, 25 Apr 2015 07:28:48 +0200 Subject: [Aerogear-users] Unified push server development environment setup In-Reply-To: <1429907086438-14.post@n5.nabble.com> References: <1429625792522-7.post@n5.nabble.com> <1429907086438-14.post@n5.nabble.com> Message-ID: that all exsists 1.0.3 and later. Liquibase is not part of 1.o.2 On Friday, April 24, 2015, mo wrote: > Thank you, Summers. > > I'm currently following the instructions in the link you provided. > > I got to the point where I am supposed to create the database schema, but I > cannot find either "liquibase-database-flavor-example.properties" or > "ups-migrator" under the unified server git repository. I also downloaded > version 1.0.2 release distribution, but that didn't include these files, > either. > > Am I not looking for them in the right place? > > Or could it be that this liquibase update is not available for version > 1.0.2? If so, how should I generate the database schema? > > > > > > -- > View this message in context: > http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-development-environment-setup-tp7p14.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -- Sent from Gmail Mobile -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150425/ae65e5df/attachment.html From michi.oshima at gmail.com Mon Apr 27 10:48:10 2015 From: michi.oshima at gmail.com (mo) Date: Mon, 27 Apr 2015 07:48:10 -0700 (MST) Subject: [Aerogear-users] Unified push server development environment setup In-Reply-To: References: <1429625792522-7.post@n5.nabble.com> <1429907086438-14.post@n5.nabble.com> Message-ID: <1430146090884-16.post@n5.nabble.com> Thanks Matthias, I managed to figure out I needed to run `mvn liquibase:update` under the "database" dir of the unified push server project. I believe for 1.0.2 release, the liquibase-related XML files are hard-coded to mysql. I've been changing lines here and there to make my postgresql take the liquibase update, but I haven't cleared all errors at this time. I will have to revisit this later on. Maybe a more up-to-date version of unified push server will be available for OpenShift before I get to revisit this? Thanks for all your help thus far. -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-development-environment-setup-tp7p16.html Sent from the aerogear-users mailing list archive at Nabble.com. From michi.oshima at gmail.com Tue Apr 28 15:09:39 2015 From: michi.oshima at gmail.com (mo) Date: Tue, 28 Apr 2015 12:09:39 -0700 (MST) Subject: [Aerogear-users] Unified push server development environment setup In-Reply-To: <1430146090884-16.post@n5.nabble.com> References: <1429625792522-7.post@n5.nabble.com> <1429907086438-14.post@n5.nabble.com> <1430146090884-16.post@n5.nabble.com> Message-ID: <1430248179951-17.post@n5.nabble.com> I gave up on setting up environment for 1.0.2. I decided instead to get set up with latest on master. It worked. I have the unified server running on my machine now. I'm listing some parameters here: 1. JDK (JRE) 1.7.0_51 2. Postgresql 9.3 3. Wildfly 8.2.0 Thanks for all your help. -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-development-environment-setup-tp7p17.html Sent from the aerogear-users mailing list archive at Nabble.com. From chessray77 at gmail.com Wed Apr 29 06:05:43 2015 From: chessray77 at gmail.com (Raimund Klein) Date: Wed, 29 Apr 2015 11:05:43 +0100 Subject: [Aerogear-users] AeroGear Unified Push on other application servers? Message-ID: Hi everyone, We are considering the use of the AeroGear Unified Push Server in our current project, but I'm afraid there will be quite some resistance against using the WildFly or JBoss EAP servers in our environments (and no, we don't have Docker yet, either - I'm trying to push for that on another line, but there are even more stakeholders involved...). So far, our infrastructure team supports only another application server. How deep are the links between the application and the server? I briefly talked to Matze after this JAX talk last week and he mentioned that there are direct uses of HornetQ. Is that the only restriction, and how heavily is this used? Are there plans to make this tie-in optional? Please excuse all these questions, but they're only some of the problems I'm facing in pushing this forward. I would really like to use it in order to reduce the headaches I had over the past months, but in a bigger organisation you have more people asking this kind of thing. ;-) Cheers Raimund -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150429/2736bc6e/attachment-0001.html From edewit at redhat.com Wed Apr 29 08:44:04 2015 From: edewit at redhat.com (Erik Jan de Wit) Date: Wed, 29 Apr 2015 14:44:04 +0200 Subject: [Aerogear-users] AeroGear Unified Push on other application servers? In-Reply-To: References: Message-ID: Maybe use wildfly swarm [1] and 'just' manage the process? [1] https://github.com/wildfly-swarm/wildfly-swarm On Wed, Apr 29, 2015 at 12:05 PM, Raimund Klein wrote: > Hi everyone, > > We are considering the use of the AeroGear Unified Push Server in our > current project, but I'm afraid there will be quite some resistance against > using the WildFly or JBoss EAP servers in our environments (and no, we don't > have Docker yet, either - I'm trying to push for that on another line, but > there are even more stakeholders involved...). So far, our infrastructure > team supports only another application server. > > How deep are the links between the application and the server? I briefly > talked to Matze after this JAX talk last week and he mentioned that there > are direct uses of HornetQ. Is that the only restriction, and how heavily is > this used? Are there plans to make this tie-in optional? > > Please excuse all these questions, but they're only some of the problems I'm > facing in pushing this forward. I would really like to use it in order to > reduce the headaches I had over the past months, but in a bigger > organisation you have more people asking this kind of thing. ;-) > > Cheers > Raimund > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -- Cheers, Erik Jan From chessray77 at gmail.com Wed Apr 29 09:52:46 2015 From: chessray77 at gmail.com (Raimund Klein) Date: Wed, 29 Apr 2015 14:52:46 +0100 Subject: [Aerogear-users] AeroGear Unified Push on other application servers? In-Reply-To: References: Message-ID: Hi Erik, Thank you for the suggestion. Please excuse the stupid question, but I assume this means I'd have to pack my own artifact based on the released sources? In this case, I'm a bit concerned about this part of the swarm (which I haven't heard of before) documentation: ------------------------------------------------------------------------------------------- In order to specify the portions of the Wildfly AS your application needs, your pom.xml should specify some of the following dependencies within the org.wildfly.swarm Maven group-id: bean-validation ee io jaxrs logging naming request-controller security transactions undertow weld ----------------------------------------------------------------------------------------- Since this would be my first contact with AeroGear, I have no idea which of these is required by the server. I'd probably just resort to including all of the above. I'm not sure if I could "sell" this solution to the other project stakeholders, but unless someone has a better idea (or can give me a hint as to how much Wildfly there really is inside the Unified Push Server), I'll have to give it a try. Cheers Raimund 2015-04-29 13:44 GMT+01:00 Erik Jan de Wit : > Maybe use wildfly swarm [1] and 'just' manage the process? > > [1] https://github.com/wildfly-swarm/wildfly-swarm > > On Wed, Apr 29, 2015 at 12:05 PM, Raimund Klein > wrote: > > Hi everyone, > > > > We are considering the use of the AeroGear Unified Push Server in our > > current project, but I'm afraid there will be quite some resistance > against > > using the WildFly or JBoss EAP servers in our environments (and no, we > don't > > have Docker yet, either - I'm trying to push for that on another line, > but > > there are even more stakeholders involved...). So far, our infrastructure > > team supports only another application server. > > > > How deep are the links between the application and the server? I briefly > > talked to Matze after this JAX talk last week and he mentioned that there > > are direct uses of HornetQ. Is that the only restriction, and how > heavily is > > this used? Are there plans to make this tie-in optional? > > > > Please excuse all these questions, but they're only some of the problems > I'm > > facing in pushing this forward. I would really like to use it in order to > > reduce the headaches I had over the past months, but in a bigger > > organisation you have more people asking this kind of thing. ;-) > > > > Cheers > > Raimund > > > > _______________________________________________ > > Aerogear-users mailing list > > Aerogear-users at lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/aerogear-users > > > > > > -- > Cheers, > Erik Jan > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150429/f234d3fc/attachment.html From lukas.fryc at gmail.com Thu Apr 30 02:30:26 2015 From: lukas.fryc at gmail.com (=?UTF-8?B?THVrw6HFoSBGcnnEjQ==?=) Date: Thu, 30 Apr 2015 06:30:26 +0000 Subject: [Aerogear-users] AeroGear Unified Push on other application servers? In-Reply-To: References: Message-ID: Hi Raimund, with 1.1.0-alpha.2, we are now more dependent on WildFly/JBossAS/EAP, with use of HornetQ and Hibernate specific configurations and APIs. Hibernate API/config is used just for one reason - indexing device tokens (and it is possible that at the end it will be avoided altogether, depending on resolution of [1]). HornetQ can be still simply replaced, because we need that only for automatic deployment of queues (hornetq-jms.xml). However they are plans to leverage advanced HornetQ advanced configurations in order to optimize message delivery (limiting throughput and shaping load). That said, there are no plans for support of any other application server, but we don't definitely resist that! You can always define bundle specific to your application server, providing own configuration, look here (there are WARs built for as7 and wildfly): https://github.com/aerogear/aerogear-unifiedpush-server/tree/master/servers Since we are using CDI internally, with bit of extensions and bit of configuration, you can make it work on any application server of your choice. A good start would be probably trying UPS 1.0.x and if that will work for you, look into adopting 1.1 for your AS. Alternative option would be leveraging UPS on OpenShift or use it as a microservice as Erik mentioned. Cheers! ~ Lukas [1] https://issues.jboss.org/browse/AGPUSH-1370 Device token is too long to be indexed st 29. 4. 2015 v 15:53 odes?latel Raimund Klein napsal: Hi Erik, > > Thank you for the suggestion. Please excuse the stupid question, but I > assume this means I'd have to pack my own artifact based on the released > sources? In this case, I'm a bit concerned about this part of the swarm > (which I haven't heard of before) documentation: > > > ------------------------------------------------------------------------------------------- > > In order to specify the portions of the Wildfly AS your application needs, > your pom.xml should specify some of the following dependencies within the > org.wildfly.swarm Maven group-id: > > bean-validation > ee > io > jaxrs > logging > naming > request-controller > security > transactions > undertow > weld > > > ----------------------------------------------------------------------------------------- > > Since this would be my first contact with AeroGear, I have no idea which > of these is required by the server. I'd probably just resort to including > all of the above. > > I'm not sure if I could "sell" this solution to the other project > stakeholders, but unless someone has a better idea (or can give me a hint > as to how much Wildfly there really is inside the Unified Push Server), > I'll have to give it a try. > > Cheers > Raimund > > 2015-04-29 13:44 GMT+01:00 Erik Jan de Wit : > >> Maybe use wildfly swarm [1] and 'just' manage the process? >> >> [1] https://github.com/wildfly-swarm/wildfly-swarm >> >> On Wed, Apr 29, 2015 at 12:05 PM, Raimund Klein >> wrote: >> > Hi everyone, >> > >> > We are considering the use of the AeroGear Unified Push Server in our >> > current project, but I'm afraid there will be quite some resistance >> against >> > using the WildFly or JBoss EAP servers in our environments (and no, we >> don't >> > have Docker yet, either - I'm trying to push for that on another line, >> but >> > there are even more stakeholders involved...). So far, our >> infrastructure >> > team supports only another application server. >> > >> > How deep are the links between the application and the server? I briefly >> > talked to Matze after this JAX talk last week and he mentioned that >> there >> > are direct uses of HornetQ. Is that the only restriction, and how >> heavily is >> > this used? Are there plans to make this tie-in optional? >> > >> > Please excuse all these questions, but they're only some of the >> problems I'm >> > facing in pushing this forward. I would really like to use it in order >> to >> > reduce the headaches I had over the past months, but in a bigger >> > organisation you have more people asking this kind of thing. ;-) >> > >> > Cheers >> > Raimund >> > >> > _______________________________________________ >> > Aerogear-users mailing list >> > Aerogear-users at lists.jboss.org >> > https://lists.jboss.org/mailman/listinfo/aerogear-users >> > >> >> >> >> -- >> Cheers, >> Erik Jan >> _______________________________________________ >> Aerogear-users mailing list >> Aerogear-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/aerogear-users >> > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150430/98af6e62/attachment.html From eduyayo at gmail.com Thu Apr 30 12:15:42 2015 From: eduyayo at gmail.com (eduyayo) Date: Thu, 30 Apr 2015 09:15:42 -0700 (MST) Subject: [Aerogear-users] IllegalArgumentException: argument cannot be null Message-ID: <1430410542548-22.post@n5.nabble.com> Hi, theese last days I?ve found I cannot send push notificactions to GCM they always fail and I don?t have a clue about the null argument that is failing... Any idea on this? Stacktrace follows: 2015-04-30 12:00:37,504 SEVERE [org.jboss.aerogear.unifiedpush.message.sender.GCMPushNotificationSender] (EJB default - 1) Error sending payload to GCM server: java.lang.IllegalArgumentException: argument cannot be null at com.google.android.gcm.server.Sender.nonNull(Sender.java:553) [gcm-server-1.0.2.jar:] at com.google.android.gcm.server.Sender.getString(Sender.java:534) [gcm-server-1.0.2.jar:] at com.google.android.gcm.server.Sender.sendNoRetry(Sender.java:365) [gcm-server-1.0.2.jar:] at com.google.android.gcm.server.Sender.send(Sender.java:261) [gcm-server-1.0.2.jar:] -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/IllegalArgumentException-argument-cannot-be-null-tp22.html Sent from the aerogear-users mailing list archive at Nabble.com.