{"action":"opened","issue":{"url":"https://api.github.com/repos/alibaba/druid/issues/2434","repository_url":"https://api.github.com/repos/alibaba/druid","labels_url":"https://api.github.com/repos/alibaba/druid/issues/2434/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/druid/issues/2434/comments","events_url":"https://api.github.com/repos/alibaba/druid/issues/2434/events","html_url":"https://github.com/alibaba/druid/issues/2434","id":308660302,"number":2434,"title":"使用Atomikos某些连接池属性是否无法设置？","user":{"login":"myVictor","id":7285684,"avatar_url":"https://avatars2.githubusercontent.com/u/7285684?v=4","gravatar_id":"","url":"https://api.github.com/users/myVictor","html_url":"https://github.com/myVictor","followers_url":"https://api.github.com/users/myVictor/followers","following_url":"https://api.github.com/users/myVictor/following{/other_user}","gists_url":"https://api.github.com/users/myVictor/gists{/gist_id}","starred_url":"https://api.github.com/users/myVictor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myVictor/subscriptions","organizations_url":"https://api.github.com/users/myVictor/orgs","repos_url":"https://api.github.com/users/myVictor/repos","events_url":"https://api.github.com/users/myVictor/events{/privacy}","received_events_url":"https://api.github.com/users/myVictor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T17:12:44Z","updated_at":"2018-03-26T17:12:44Z","closed_at":null,"author_association":"NONE","body":"代码使用方式：\r\nProperties ps = build(env, prefix);\r\nAtomikosDataSourceBean atorm = new AtomikosDataSourceBean();\r\natorm.setXaDataSourceClassName(\"com.alibaba.druid.pool.xa.DruidXADataSource\");\r\natorm.setXaProperties(ps);\r\n\r\n配置信息：\r\n{url=jdbc:数据库连接信息, validationQuery=SELECT 'x', maxActive=20, driverClassName=, maxWait=60000, minEvictableIdleTimeMillis=300000, testWhileIdle=false, testOnReturn=false, username=root, poolPreparedStatements=false, minIdle=5, validationQueryTimeout=3600, timeBetweenEvictionRunsMillis=60000, password=123, testOnBorrow=false, initialSize=5, maxPoolPreparedStatementPerConnectionSize=20}\r\nDruidXADataSource 信息：\r\n xaDataSourceClassName=com.alibaba.druid.pool.xa.DruidXADataSource, uniqueResourceName=towDs, maxPoolSize=1, minPoolSize=1, borrowConnectionTimeout=30, maxIdleTime=60, reapTimeout=0, maintenanceInterval=60, testQuery=null, xaProperties=[url=数据库连接信息,validationQuery=SELECT 'x',maxActive=null,driverClassName=,maxWait=null,testWhileIdle=null,minEvictableIdleTimeMillis=null,testOnReturn=null,username=root,minIdle=null,poolPreparedStatements=null,validationQueryTimeout=null,timeBetweenEvictionRunsMillis=null,password=123,testOnBorrow=null,initialSize=null,maxPoolPreparedStatementPerConnectionSize=null], loginTimeout=0, maxLifetime=0\r\n\r\n问题：\r\n如：timeBetweenEvictionRunsMillis、validationQueryTimeout、poolPreparedStatements这些属性好像没有应用上去。\r\n\r\n监控页面：\r\n![default](https://user-images.githubusercontent.com/7285684/37921263-e4d0c360-315b-11e8-944f-097de67dc82b.png)\r\n使用方式不对？\r\n"}}
{"actor":{"display_login":"myVictor"}}