[aerogear-dev] Loosing data in AeroGear Unified Push Server?

Summers Pittman supittma at redhat.com
Mon Oct 3 09:09:34 EDT 2016


You need to set the JAVA_OPTS_EXT(1) variable to include "
-Daerogear.metrics.storage.days=YOUR_DESIRED_DAYS".  Here are some docs :

1:
https://developers.openshift.com/managing-your-applications/environment-variables.html#java-variables

On Mon, Oct 3, 2016 at 9:04 AM, Mads Møller <mm at napp.dk> wrote:

> Hi Matthias,
>
>
>
> Thanks for the reply.
>
> So since I dont have any experience with build java from source, is there
> an environment file I can change?
>
> We are hosting the service in Openshift Cartridge setup.
>
>
>
>
>
>
>
> BEST REGARDS
>
> *__________________*
>
> *MADS MØLLER*
>
> TECHNICAL PARTNER
>
>
>
> Napp A/S
>
> T: +45 42 42 80 60
>
> M: +45 20 28 20 26
>
> E: mm at napp.dk
>
> W: https://napp.dk
>
> *__________________*
>
>
>
>
>
> *From: *<aerogear-dev-bounces at lists.jboss.org> on behalf of Matthias
> Wessendorf <matzew at apache.org>
> *Reply-To: *AeroGear Developer Mailing List <aerogear-dev at lists.jboss.org>
> *Date: *Monday 3 October 2016 at 12:15
> *To: *AeroGear Developer Mailing List <aerogear-dev at lists.jboss.org>
> *Subject: *Re: [aerogear-dev] Loosing data in AeroGear Unified Push
> Server?
>
>
>
> data taht's older than 30 days will be removed:
>
> https://github.com/aerogear/aerogear-unifiedpush-server/
> blob/master/service/src/main/java/org/jboss/aerogear/
> unifiedpush/service/metrics/PushMessageMetricsService.java#L133-L136
>
>
>
> but... you can override that default behavior:
>
> https://github.com/aerogear/aerogear-unifiedpush-server/
> blob/master/service/src/main/java/org/jboss/aerogear/
> unifiedpush/service/metrics/PushMessageMetricsService.java#L41
>
>
>
> By starting the server with a system property, like:
>
> -Daerogear.metrics.storage.days=YOUR_DESIRED_DAYS
>
>
>
> -M
>
>
>
>
>
>
>
> On Mon, Oct 3, 2016 at 11:14 AM, Mads Møller <mm at napp.dk> wrote:
>
> Hi there,
>
>
>
> I just found out that we are loosing the push messages from the
> push_message_info table. They are simply removed by something in the
> Aerogear push code.
>
> This is super scary for us.
>
>
>
> Do anyone know of current or previous bugs regarding the messages from
> that table have been deleted because of that a bug in the source code?
>
>
>
>
>
>
>
> BEST REGARDS
>
> *__________________*
>
> *MADS MØLLER*
>
> TECHNICAL PARTNER
>
>
>
> Napp A/S
>
> T: +45 42 42 80 60
>
> M: +45 20 28 20 26
>
> E: mm at napp.dk
>
> W: https://napp.dk
>
> *__________________*
>
>
>
>
> _______________________________________________
> 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/
> twitter: http://twitter.com/mwessendorf
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20161003/db2663aa/attachment-0001.html 


More information about the aerogear-dev mailing list