Closed GoogleCodeExporter closed 8 years ago
UPDATE: Charts are showing jdbc connections, when setting
javamelody.resolution-seconds=1. With default 60 seconds, I was not able to see
any used or active connections - in that case, I think that this defect could
be ok to close, if I misunderstood how this parameter should be used.
Meanwhile, could You please guide me, what is the impact of this parameter?
Imho setting parameter to 60 secs should cause, that jdbc connection data will
be presented with up to 60 second delay - is the above statement correct?
In summary:
I've set javamelody.resolution-seconds=1
I changed the mvc config to use javamelody wrapper:
<bean id="_dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="java:comp/env/jdbc/UCPPool" />
</bean>
<bean id="dataSource" class="net.bull.javamelody.SpringDataSourceFactoryBean">
<property name="targetName" value="_dataSource" />
</bean>
Original comment by eko...@gmail.com
on 20 Mar 2014 at 8:43
Update 2:
Ok to close, according to:
"When an application is sparsely or not used, the charts of active threads and
of active jdbc connections stay at 0. Indeed, most requests are fortunately
short and most measures (done each 2 minutes for example) are taken without
active requests, except 1 or 2 occasionally shown as a peak." - because of that
I might not be able to find data on local dev environment, due to 60 seconds
probe and query/call execution time at around 141us .
Original comment by eko...@gmail.com
on 20 Mar 2014 at 9:01
Yes, absolutely
Original comment by evernat@free.fr
on 20 Mar 2014 at 10:14
Original issue reported on code.google.com by
eko...@gmail.com
on 19 Mar 2014 at 12:39Attachments: