2.12 warnings

what does this warning mean?

WARN 2013-06-06 07:03:06,180 HHH000179: Narrowing proxy to class org.hisp.dhis.period.YearlyPeriodType - this operation breaks == (StatefulPersistenceContext.java [http-8080-2])

Hi Lungo,

this warning is nothing to worry about and you can safely ignore it. We could make a fix for ignoring this log message.

If you are interested the reason is explained here:

https://forum.hibernate.org/viewtopic.php?p=2404391

Lars

···

On Thu, Jun 6, 2013 at 6:22 AM, Juma Lungo jlungo@yahoo.com wrote:

what does this warning mean?

WARN 2013-06-06 07:03:06,180 HHH000179: Narrowing proxy to class org.hisp.dhis.period.YearlyPeriodType - this operation breaks == (StatefulPersistenceContext.java [http-8080-2])


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi Lars,
We are getting a huge number of these in the logs. Could you suggest an alternative solution which could be placed in a custom log4j.properties file?

Regards,

Jason

···

On Tue, Jun 18, 2013 at 1:30 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Lungo,

this warning is nothing to worry about and you can safely ignore it. We could make a fix for ignoring this log message.

If you are interested the reason is explained here:

https://forum.hibernate.org/viewtopic.php?p=2404391

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Thu, Jun 6, 2013 at 6:22 AM, Juma Lungo jlungo@yahoo.com wrote:

what does this warning mean?

WARN 2013-06-06 07:03:06,180 HHH000179: Narrowing proxy to class org.hisp.dhis.period.YearlyPeriodType - this operation breaks == (StatefulPersistenceContext.java [http-8080-2])


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi Jason,

I have set the log level for hibernate proxies to ERROR in . Should work according to these posts - but I haven’t been able to reproduce it so cannot confirm it. Could you tell me which operation in dhis that causes this, and if warnings are gone after this fix?

https://forum.hibernate.org/viewtopic.php?p=2404391

https://code.google.com/p/gaojicedb/source/browse/trunk/pdb_commandline/src/main/resources/log4j.properties?r=3

regards,

Lars

···

On Tue, Aug 20, 2013 at 5:07 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Lars,
We are getting a huge number of these in the logs. Could you suggest an alternative solution which could be placed in a custom log4j.properties file?

Regards,

Jason

On Tue, Jun 18, 2013 at 1:30 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Lungo,

this warning is nothing to worry about and you can safely ignore it. We could make a fix for ignoring this log message.

If you are interested the reason is explained here:

https://forum.hibernate.org/viewtopic.php?p=2404391

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Thu, Jun 6, 2013 at 6:22 AM, Juma Lungo jlungo@yahoo.com wrote:

what does this warning mean?

WARN 2013-06-06 07:03:06,180 HHH000179: Narrowing proxy to class org.hisp.dhis.period.YearlyPeriodType - this operation breaks == (StatefulPersistenceContext.java [http-8080-2])


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thanks. Weird you cannot reproduce it. Maybe something else in my setup then.

We get TONS of these messages on the Zambia production server. Seems they happen all over the place, but particularly with the DV, GIS and data entry (anything related to the OU tree).

Will give it a try. Did you backport to 2.12?

Regards,

Jason

···

On Fri, Aug 23, 2013 at 9:44 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Jason,

I have set the log level for hibernate proxies to ERROR in . Should work according to these posts - but I haven’t been able to reproduce it so cannot confirm it. Could you tell me which operation in dhis that causes this, and if warnings are gone after this fix?

https://forum.hibernate.org/viewtopic.php?p=2404391

https://code.google.com/p/gaojicedb/source/browse/trunk/pdb_commandline/src/main/resources/log4j.properties?r=3

regards,

Lars

On Tue, Aug 20, 2013 at 5:07 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Lars,
We are getting a huge number of these in the logs. Could you suggest an alternative solution which could be placed in a custom log4j.properties file?

Regards,

Jason

On Tue, Jun 18, 2013 at 1:30 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Lungo,

this warning is nothing to worry about and you can safely ignore it. We could make a fix for ignoring this log message.

If you are interested the reason is explained here:

https://forum.hibernate.org/viewtopic.php?p=2404391

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Thu, Jun 6, 2013 at 6:22 AM, Juma Lungo jlungo@yahoo.com wrote:

what does this warning mean?

WARN 2013-06-06 07:03:06,180 HHH000179: Narrowing proxy to class org.hisp.dhis.period.YearlyPeriodType - this operation breaks == (StatefulPersistenceContext.java [http-8080-2])


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thanks. Weird you cannot reproduce it. Maybe something else in my setup
then.

We get TONS of these messages on the Zambia production server. Seems they
happen all over the place, but particularly with the DV, GIS and data entry
(anything related to the OU tree).

No I have seen them earlier.. Just not able to get them when I need them.

Will give it a try. Did you backport to 2.12?

Not yet - would be good to confirm if it's a fix or hot air.

···

On Fri, Aug 23, 2013 at 9:51 AM, Jason Pickering < jason.p.pickering@gmail.com> wrote: