Bug 1248903 - Significant volume of datasource pool's logging generated by JBoss EAP 6.x
Summary: Significant volume of datasource pool's logging generated by JBoss EAP 6.x
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JCA
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: jboss-set
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-31 06:54 UTC by xuzhan
Modified: 2019-07-11 09:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-06 00:11:29 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)
Statistic log of datasource from JBoss EAP 5.x (23.20 KB, application/zip)
2015-07-31 06:54 UTC, xuzhan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-553 0 Major Closed Significant volume of datasource pool's logging generated by JBoss EAP 6.x 2016-06-29 06:03:50 UTC

Description xuzhan 2015-07-31 06:54:27 UTC
Created attachment 1057932 [details]
Statistic log of datasource from JBoss EAP 5.x

Description of problem:
Based on KCS: https://access.redhat.com/solutions/287523, JBoss EAP 6.x is able to log statistics of datasource pool, but the volume is huge then that of JBoss EAP 5.x.

Version-Release number of selected component (if applicable):
JBoss EAP 6.x

How reproducible:
Follow the steps from KCS:https://access.redhat.com/solutions/287523

Steps to Reproduce:
1. /subsystem=logging/logger=org.jboss.jca:add(level=TRACE)
2. /subsystem=logging/logger=org.jboss.as.connector:add(level=TRACE)
3. /subsystem=logging/logger=com.arjuna:write-attribute(name=level,value=TRACE)
4. restart JBoss EAP 6.x

Actual results:
~~~
[org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] (http-/10.10.11.181:8080-6) returnConnection(1d9ffbbd, false)
ManagedConnectionPool: 7ec42e5a
Method: returnConnection(1d9ffbbd, false)
ManagedConnectionFactory:
  Class: org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory
  Object: 2785552b
ConnectionListenerFactory:
  Class: org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl
  Object: 229a8e52
Pool:
  Name: syncTargetDS
PoolConfiguration:
  MinSize: 0
  MaxSize: 20
  BlockingTimeout: 30000
  IdleTimeoutMinutes: 30
  BackgroundValidation: false
  BackgroundValidationMillis: 0
  StrictMin: false
  UseFastFail: false
Available (1):
  46306c48 (NORMAL)
InUse (1):
  1d9ffbbd (NORMAL)
Statistics:
  ActiveCount: 0
  AvailableCount: 0
  AverageBlockingTime: 0
  AverageCreationTime: 0
  CreatedCount: 0
  DestroyedCount: 0
  InUseCount: 0
  MaxCreationTime: 0
  MaxUsedCount: 0
  MaxWaitCount: 0
  MaxWaitTime: 0
  TimedOut: 0
  TotalBlockingTime: 0
  TotalCreationTime: 0
~~~

Expected results:
~~~
2015-07-07 00:01:41,236 INFO  [jca.lis] 0,150,10,2166,2156,11,0
~~~

Additional info:
Can we provide this function in the next patch?


Note You need to log in before you can comment on or make changes to this bug.