need help to understand ironjaca

70 views
Skip to first unread message

Shiva Patwary

unread,
Oct 17, 2016, 3:09:22 PM10/17/16
to IronJacamar Users
I am newbie to ironjacamar . I am trying to debug an issue of slow leak in jdbc connections  . we are using  wildlfy10 which uses ironjacamar. I am trying to find who is the  culprit. Here is the log with tracer turned on. i did generate  the html report  But want to under stand  which application code is causing the issue.

i will share the trace file from google groups.

shiva


Shiva Patwary

unread,
Oct 17, 2016, 3:15:01 PM10/17/16
to IronJacamar Users

Shiva Patwary

unread,
Oct 18, 2016, 3:44:39 PM10/18/16
to IronJacamar Users
In the html generated repot

i am seeing  that status is red and returnConnectionListener()  is showing up. what could be reason for this i am just running a query.

Timestamp

Description
6285694280933649    getConnectionListener()
6285694281139649    enlistResource()
6285694281187649    getConnection(408f9898)
6285694282786649 r   eturnConnection(408f9898)
6285694316165649      getConnection(3df6b6a1)
6285694316945649       returnConnection(3df6b6a1)


Martin Simka

unread,
Oct 21, 2016, 8:37:07 AM10/21/16
to IronJacamar Users
Hi,

you can try leak detector pool [1] instead of tracer. In WildFly you can enable it with command:

/subsystem=datasources/data-source=<datasource_name>:write-attribute(name=mcp, value="org.jboss.jca.core.connectionmanager.pool.mcp.LeakDumperManagedConnectionPool")

Martin

[1] http://www.ironjacamar.org/doc/userguide/1.2/en-US/html_single/index.html#configuration_ironjacamar_leakpool

Shiva Patwary

unread,
Oct 27, 2016, 10:10:47 AM10/27/16
to IronJacamar Users
where does it write the leak file . i am unable to find it.

Martin Simka

unread,
Oct 31, 2016, 7:20:37 AM10/31/16
to IronJacamar Users
If you don't specify property "ironjacamar.leaklog", it logs to standard wildfly log ($WILDFLY_DIST/standalone/log/server.log)
Reply all
Reply to author
Forward
0 new messages