-
1. Re: StatisticsCollector
luc.texier Nov 17, 2004 4:07 AM (in response to mcorey)Get the source code. Compile it.
The lib is located under /varia/output/lib -
2. Re: StatisticsCollector
mcorey Nov 17, 2004 11:02 AM (in response to mcorey)Excellent -- found it! Thank you...
M -
3. Re: StatisticsCollector
mlange Nov 17, 2004 11:32 AM (in response to mcorey)Last time I tried it, the collector did not show any sql stats. Would be great if you could provide an information whether this part is working for you. Thanks.
-
4. Re: StatisticsCollector
steve.devore Mar 23, 2006 1:50 PM (in response to mcorey)I seem to be having the same problem.. I configure the StatisticsCollector, but the reports all show no activity.
-
5. Re: StatisticsCollector
somefoo Feb 12, 2007 9:30 AM (in response to mcorey)Hello!
Also coming from the wiki ... and also monitoring method statistics per transaction does not work for me. There are no exceptions or other observable failure s - the transaction-list simply is empty.
Does (should) all these work with EJB3?
Is anyone out there? - since this trace is unhandled since November last year?
Thank's? -
6. Re: StatisticsCollector
somefoo Feb 20, 2007 4:22 AM (in response to mcorey)Hiho!
Obviously there is no one out there - so I keep talking to myself. Sorry for my rude englisch in advance!
I analyzed the sources of statscollector and it seems thas EJB3 can not be handled by TxStatisticsInterceptor.java. But it's quite easy to enable EJB3-support: I just intruduced a new EJB3-typical EJB3Interceptor instead of TxStatisticsInterceptor - the rest of the code is working further on.
The DataSource interceptor service still does not work for me because of the 'java:/DSInterceptor' seems just to be a JNDI-ressource which probably could be invoked by EJB2-descriptors but I need a 'tx-datasource' for the EJB2-persistence-unit - anyone any idea how to manage that?
Further on I tried to adopt the sources for my needs - which was/is really wicked: There are no source-code-comments at all and I can't see any possibility to extend the current object-structure to bring them to do just a penny more than it does now.
Bye!
somefoo -
7. Re: StatisticsCollector
somefoo Mar 19, 2007 5:19 AM (in response to mcorey)"somefoo" wrote:
... but I need a 'tx-datasource' for the EJB*2*-persistence-unit - anyone any idea how to manage that?
Hello!
The above is (of course) a typo: I would need a EJB*3*-persistence-unit - there is no such thing as a Persistence-unit in EJB2, is it?
Just further on for the non-listening and non-answering jboss-people ;-)
My monitoring tool is in a final state now - I'am just interested in transaction-data, which works quite well with the given structure - asaide from the mentioned ('sub-optimal' OO-design) which made all changes und extensions a little bit tricky - .
bye! -
8. Re: StatisticsCollector
pilhuhn Mar 19, 2007 5:33 AM (in response to mcorey)For the EJB3 PU, you can (if you use JBoss EJB3) enable Hibernate statistics and use stats from there.
Else, the underlying datasource is the same for EJB2 and EJB3.
So have a look at the respecive ConnectionPool-MBeans etc. -
9. Re: StatisticsCollector
cezary_u Aug 21, 2008 5:11 AM (in response to mcorey)I was trying to build Stats Collector, but kept getting lots of errors and warnings...
Could anyone be so kind and provide me already built .jar file? Or at least explain me what versions of jdk/ant/whatever else meaningful to the build process should i have...
Already tried to build it with jdk 1.4,1.5,1.6 with the corresponding Ant version... whole JBoss project builds successfully except of Stats Collector :/
please help me with that,
thanks in advance -
10. Re: StatisticsCollector
cezary_u Aug 22, 2008 9:35 AM (in response to mcorey)ok, nvm the one above... i finally managed to build this joy ;]
now i have problems with deploying collector...keep throwing that TransactionManager is not bound...
Anyone can help with that issue? -
11. Re: StatisticsCollector
francis17101970 Sep 3, 2008 2:54 AM (in response to mcorey)Which release of JBoss are you using ?
The only time I've met this Exception was when embedding ejb3 on another Web Container (And it turned out I was missing some stuff from jboss-embedded-beans.xml)
Francesco