cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinh...@apache.org>
Subject Re: [c3 monitoring] Statistics module.
Date Sat, 07 Nov 2009 12:25:18 GMT
Dariusz Łuksza wrote:
> Hi all,
> 
> For last few days I'm back on track with my project. In my latest
> patch[0] I've published StatisticsCollector class and cruelty I have
> some issues connected with SortedMap (methods:
> getAllHitCountListAsc(), getAllHitCountListDesc(),
> getHitCountListAsc(long), getHitCountListDesc(long)).
> 
> It appears that this class can't be used via JMX because of
> serialization problems that occurs when I gave it costume Comparator
> implementation. The Comparator interface doesn't extends Serializable
> interface so I've created an extra SerializableComparator interface
> that merge both interfaces. This way NotSerializableException were
> fixed but next problem has occurs, this time it is connected with RMI
> and Java Security policy. IMHO creating exceptions in default security
> policy for this minor feature isn't good idea.
> 
> I was wondering what else can I do and right now only idea I had is
> that, the only solution for this problem is to abandon this idea and
> don't expose sorted statistics list on JXM with is quite ugly
> solution.
> 
> Maybe somebody could gave me some a hints for another solution ?
> 
> [0] https://issues.apache.org/jira/secure/attachment/12416127/statistics-StatisticsCollector.patch

Great to see you back! I will look into your patch next week.

-- 
Reinhard Pötz                           Managing Director, {Indoqa} GmbH
                         http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member                  reinhard@apache.org
________________________________________________________________________

Mime
View raw message