1、数据来源。

控制台地址:172.30.252.164:7001/console 登陆: weblogic/weblogic#123
数据库jdbc:oracle:thin:@172.30.252.123:1521:pndb smartposdb_test/CDE#4rfv

根据上面的内容可以得到:

(1)数据库类型是oracle.

(2)采用的是java的jdbc的thin瘦方式连接数据库。

(3)数据库服务器的ip和端口分别是172.30.252.123和1521。

(4)数据库SID是pndb。

(5)数据库服务器的用户名和密码分别是smartposdb_test和CDE#4rfv。

(6)控制台地址就是浏览器中的网址,因此在浏览器中直接输入。控制台的用户名和密码分别是weblogic和weblogic#123。

#####################################################################

2、日志如下。
---------------------
2018-07-04T01:42:59.888+0800|INFO |SIGUSR2 handler|c.u.x.d.DyncmicDataSourceBySignal|recive signal Swtich2MainDataSource...|LID=[],ID=[],RID=[]
2018-07-04T01:42:59.888+0800|INFO |SIGUSR2 handler|c.u.x.d.DynamicDataSourceHolder|Switch DataSource from [DBSOURCE2 ] to [DBSOURCE1 ]|LID=[],ID=[],RID=[]
2018-07-04T01:42:59.888+0800|INFO |SIGUSR2 handler|c.u.x.datasource.ApplicationSettings|Switch TRANS_NO_PREFIX to N06|LID=[],ID=[],RID=[]
2018-07-04T01:43:03.667+0800|INFO |tLoopGroup-4-61|com.ums.netty.RequestLogger|收到报文:SockAddr=/10.2.131.5:40351, {"reqDetail":"{\"extBillNo\":\"\",\"appId\":\"\",\"printData\":{\"devBatchNo\":\"201801280001\",\"needPrnUMSAdQr\":true},\"location\":\"116.079335|43.937325\",\"pinblock\":\"\",\"currency\":\"156\",\"amount\":\"000000021600\",\"cardNo\":\"\",\"timestamp\":\"20180704014307\",\"extOrderNo\":\"\",\"serviceCode\":\"82\",\"selfDefined048\":\"504235314132303030303030303220202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203030303030303033381F5103504F53FF5512313334353232343932383038393435333438FF610133FF42044646464623\",\"extFld01\":{\"0201\":\"2\",\"0301\":\"2\",\"0302\":\"1\",\"0202\":\"1\"},\"transToken\":\"20180704014306069c39ef5a5546aca1d634ff23fb7a19\"}","appInfo":"{\"appName\":\"POS 通\",\"usinNO\":\"guest\",\"tokenWay\":\"1\",\"bizName\":\"消费\",\"packName\":\"com.ums.tss.mastercontrol\",\"bizId\":\"00010008\"}","chnId":"003","mac":"3936393930324239","method":"com.ums.noncard.post.consume","deviceInfo":"{\"prodCode\":\"N900\",\"devSn\":\"N9NL10108327\",\"firmCode\":\"11\"}","version":"3"}|LID=[7b3e628b916840ceab5ec9b7e5e6fadd],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|INFO |ool-4-thread-78|c.u.x.d.DynamicDataSourceHolder|Current DataSource [DBSOURCE1 ]|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|WARN |ool-4-thread-78|o.h.util.JDBCExceptionReporter|SQL Error: 0, SQLState: null|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|ERROR|ool-4-thread-78|o.h.util.JDBCExceptionReporter|weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|WARN |ool-4-thread-78|o.h.util.JDBCExceptionReporter|SQL Error: 0, SQLState: null|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|ERROR|ool-4-thread-78|o.h.util.JDBCExceptionReporter|Cannot obtain connection: driverURL = jdbc:weblogic:pool:jdbc/xposp_n2, props = {EmulateTwoPhaseCommit=false, connectionPoolID=jdbc/xposp_n2, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=jdbc/xposp_n2}|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|WARN |ool-4-thread-78|o.h.util.JDBCExceptionReporter|SQL Error: 0, SQLState: null|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|ERROR|ool-4-thread-78|o.h.util.JDBCExceptionReporter|weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|WARN |ool-4-thread-78|o.h.util.JDBCExceptionReporter|SQL Error: 0, SQLState: null|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.667+0800|ERROR|ool-4-thread-78|o.h.util.JDBCExceptionReporter|Cannot obtain connection: driverURL = jdbc:weblogic:pool:jdbc/xposp_n2, props = {EmulateTwoPhaseCommit=false, connectionPoolID=jdbc/xposp_n2, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=jdbc/xposp_n2}|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.668+0800|ERROR|ool-4-thread-78|c.ums.frame.AbstractExceptionHandler|异常:|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..; nested exception is weblogic.jdbc.extensions.PoolDisabledSQLException: weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.orm.hibernate3.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:424)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at com.ums.base.dao.hibernate.HibernateGenericDao.findBySql(HibernateGenericDao.java:620)
at com.ums.xposp.device.dao.impl.DeviceDaoImpl.findUnionDeviceBySN(DeviceDaoImpl.java:38)
at com.ums.xposp.device.service.impl.DeviceServiceImpl.findUnionDeivceBySN(DeviceServiceImpl.java:94)
at $Proxy96.findUnionDeivceBySN(Unknown Source)
at com.ums.xposp.tcpservice.XpospProxyServiceAsync.process(XpospProxyServiceAsync.java:117)
at com.ums.frame.filter.LinkedFilterChain.process(LinkedFilterChain.java:24)
at com.ums.frame.filter.JsonConvertFilter.process(JsonConvertFilter.java:88)
at com.ums.frame.filter.LinkedFilterChain.process(LinkedFilterChain.java:24)
at com.ums.netty.NettyInvokeService.processInvoke(NettyInvokeService.java:49)
at com.ums.netty.RequestHandler$1.run(RequestHandler.java:53)
at com.ums.frame.TaskExecutor$1.run(TaskExecutor.java:85)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: weblogic.jdbc.extensions.PoolDisabledSQLException: weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..
at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:251)
at weblogic.jdbc.pool.Driver.connect(Driver.java:142)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:658)
at weblogic.jdbc.jts.Driver.connect(Driver.java:127)
at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.bull.javamelody.JdbcWrapper$2.invoke(JdbcWrapper.java:681)
at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:282)
at $Proxy102.connect(Unknown Source)
at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:548)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:513)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:506)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:162)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:83)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)
at org.hibernate.loader.Loader.doQuery(Loader.java:801)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
at org.hibernate.loader.Loader.doList(Loader.java:2542)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
at org.hibernate.loader.Loader.list(Loader.java:2271)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1842)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:157)
at com.ums.base.dao.hibernate.HibernateGenericDao$9.doInHibernate(HibernateGenericDao.java:624)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
... 20 common frames omitted
2018-07-04T01:43:03.669+0800|INFO |ool-4-thread-78|com.ums.netty.NettyExceptionHandler|完成异步业务应答: com.ums.noncard.post.consume, 耗时: 3|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.669+0800|INFO |ool-4-thread-78|com.ums.netty.NettyInvokeService|请求处理结束|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[]
2018-07-04T01:43:03.669+0800|INFO |tLoopGroup-4-61|com.ums.netty.ResponseLogger|应答报文: /10.2.131.5:40351
{"retCode":"9999","retMsg":"系统繁忙,请重试"}|LID=[],ID=[51991472beec46bf85ee4bde95c6ec3d],RID=[087cbf9c6df79f1896147ea51f89bc82459dd2044fd0736be4b33d41ad0e964f]

ces to applications..|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.232+0800|WARN |ool-4-thread-78|o.h.util.JDBCExceptionReporter|SQL Error: 0, SQLState: null|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.232+0800|ERROR|ool-4-thread-78|o.h.util.JDBCExceptionReporter|Cannot obtain connection: driverURL = jdbc:weblogic:pool:jdbc/xposp_n2, props = {EmulateTwoPhaseCommit=false, connectionPoolID=jdbc/xposp_n2, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=jdbc/xposp_n2}|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.232+0800|WARN |ool-4-thread-78|o.h.util.JDBCExceptionReporter|SQL Error: 0, SQLState: null|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.232+0800|ERROR|ool-4-thread-78|o.h.util.JDBCExceptionReporter|weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.232+0800|WARN |ool-4-thread-78|o.h.util.JDBCExceptionReporter|SQL Error: 0, SQLState: null|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.232+0800|ERROR|ool-4-thread-78|o.h.util.JDBCExceptionReporter|Cannot obtain connection: driverURL = jdbc:weblogic:pool:jdbc/xposp_n2, props = {EmulateTwoPhaseCommit=false, connectionPoolID=jdbc/xposp_n2, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=jdbc/xposp_n2}|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.233+0800|ERROR|ool-4-thread-78|c.ums.frame.AbstractExceptionHandler|异常:|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..; nested exception is weblogic.jdbc.extensions.PoolDisabledSQLException: weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.orm.hibernate3.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:424)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at com.ums.base.dao.hibernate.HibernateGenericDao.findBySql(HibernateGenericDao.java:620)
at com.ums.xposp.device.dao.impl.DeviceDaoImpl.findUnionDeviceBySN(DeviceDaoImpl.java:38)
at com.ums.xposp.device.service.impl.DeviceServiceImpl.findUnionDeivceBySN(DeviceServiceImpl.java:94)
at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
at $Proxy96.findUnionDeivceBySN(Unknown Source)
at com.ums.xposp.tcpservice.XpospProxyServiceAsync.process(XpospProxyServiceAsync.java:117)
at com.ums.frame.filter.LinkedFilterChain.process(LinkedFilterChain.java:24)
at com.ums.frame.filter.JsonConvertFilter.process(JsonConvertFilter.java:88)
at com.ums.frame.filter.LinkedFilterChain.process(LinkedFilterChain.java:24)
at com.ums.netty.NettyInvokeService.processInvoke(NettyInvokeService.java:49)
at com.ums.netty.RequestHandler$1.run(RequestHandler.java:53)
at com.ums.frame.TaskExecutor$1.run(TaskExecutor.java:85)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: weblogic.jdbc.extensions.PoolDisabledSQLException: weblogic.common.resourcepool.ResourceDisabledException: Pool jdbc/xposp_n2 is Suspended, cannot allocate resources to applications..
at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:251)
at weblogic.jdbc.pool.Driver.connect(Driver.java:142)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:658)
at weblogic.jdbc.jts.Driver.connect(Driver.java:127)
at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.bull.javamelody.JdbcWrapper$2.invoke(JdbcWrapper.java:681)
at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:282)
at $Proxy102.connect(Unknown Source)
at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:548)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:513)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:506)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:162)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:83)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)
at org.hibernate.loader.Loader.doQuery(Loader.java:801)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
at org.hibernate.loader.Loader.doList(Loader.java:2542)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
at org.hibernate.loader.Loader.list(Loader.java:2271)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1842)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:157)
at com.ums.base.dao.hibernate.HibernateGenericDao$9.doInHibernate(HibernateGenericDao.java:624)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
... 20 common frames omitted
2018-07-04T01:43:05.233+0800|INFO |ool-4-thread-78|com.ums.netty.NettyExceptionHandler|完成异步业务应答: com.ums.noncard.post.guarantee, 耗时: 1|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.233+0800|INFO |ool-4-thread-78|com.ums.netty.NettyInvokeService|请求处理结束|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[]
2018-07-04T01:43:05.233+0800|INFO |tLoopGroup-4-62|com.ums.netty.ResponseLogger|应答报文: /10.2.131.5:40355
{"retCode":"9999","retMsg":"系统繁忙,请重试"}|LID=[],ID=[aaf7362bad7947efa4ddc85c09746cff],RID=[972cb5f6152437c2e390cdb30e286b740dde28eff38b8995442b78af1299faa4]

##########################################################################

3、问题分析。

4、问题解决。

oracle连接池问题的更多相关文章

  1. oracle 连接池参数

    后来排查出数据库监听异常,发现是ORA-12519拒绝错误.后来发现是数据的连接池达到的极致. 具体解决方案如下: --首先检查process和session的使用情况,在sqlplus里面查看. S ...

  2. Oracle连接池工具类OJDBCUtils

    Oraclejdbc.properties driverClassName=oracle.jdbc.driver.OracleDriver url=jdbc:oracle:thin:@127.0.0. ...

  3. Oracle连接池

    原由:许多用户可能在查询相同的数据库以获取相同的数据.在这些情况下,可以通过使应用程序共享到数据源的连接来提高应用程序的性能.否则,让每个用户打开和关闭单独的连接的开销会对应用程序性能产生不利影响.这 ...

  4. tomcat+oracle连接池

    tomcat 5.5.23 oracle 10g 全局配置 一.tomcat目录\common\lib下添加包ojdbc14.jar. 二.tomcat目录\conf\server.xml的<G ...

  5. .net跨防火墙链接oracle连接池链接长时间无通讯数据被断开后报错问题解决

    环境: .net 4.0以上使用Oracle.ManagedDataAccess组件链接oracle数据库,应用程序与数据库之间存在硬件防火墙. 症状:应用程序启动后正常访问,如果出现长时间无数据库请 ...

  6. spring+apache dbcp +oracle 连接池配置以及优化

    特此记录 <!-- 数据源配置, 使用应用中的DBCP数据库连接池 --> <bean id="dataSource" class="org.apach ...

  7. tomcat oracle 连接池配置

    <?xml version='1.0' encoding='utf-8'?> <Context displayName="zcgl" docBase=" ...

  8. Tomcat+Oracle配置连接池的例子

    我这有一个Tomcat+Oracle连接池的例子,放上来和大家分享一下. Tomcat +Oracle  连接池配置   Author: Kenneth.Leaf@GalaxySoft Date: / ...

  9. python - DBUtils 连接池减少oracle数据库的连接数

    问题: 接到需求,告知项目的oracle连接次数过多,对系统造成太过大的负担,要求减少oracle数据库的连接次数 分析: 仔细分析代码以后,发现产生问题的原因,在于之前要求提升oracle监控的监控 ...

随机推荐

  1. clone命令

    git clone <repository> <directory> git clone https://nulab.backlog.jp/git/BLG/tutorial.g ...

  2. 收藏几个支持中文的PHP字符串截取函数

    字符串截取是一个非常常见的编程任务,而往往带中文的字符串截取会经常用到.虽然不难,但是自己写函数实现又耗费时间,这里介绍一个比较好用的字符串截取函数,能够胜任基本的需求了. <?php func ...

  3. cocos2d怎么设置屏幕朝向?横屏 or 竖屏设置

    在cocos引擎里面找了好久.没找到相关接口,网上也搜索了好久,最后发现.原来须要依据各个平台分别进行设置. android 改动项目根文件夹 proj.android\AndroidManifest ...

  4. python3----datetime模块分析

    datetime模块用于是date和time模块的合集,datetime有两个常量,MAXYEAR和MINYEAR,分别是9999和1. datetime模块定义了5个类,分别是 1.datetime ...

  5. Android 模拟机出现Installation failed due to invalid URI!错误

    [2017-03-28 09:52:13 - DataVDemo06] Installation failed due to invalid URI![2017-03-28 09:52:13 - Da ...

  6. 如何通过Keil将程序正确的下载进flash中

    前面介绍了一些创建工程和调试的基本步骤,在这里准备介绍一下如何正确的将Keil程序在仿真调试中下载到flash.这里再次涉及到了debug的窗口.   工具/原料   Keil uVision 4/5 ...

  7. ios 去掉UITableView Group形式下面的白色阴影

    初始化的时候 设置_tableView.separatorStyle = UITableViewCellSeparatorStrleNone;

  8. Python全栈day28(上下文管理)

    我们知道在操作文件对象的时候可以这么写 with open('a.txt',''r) as f: 代码 上述叫做上下文管理协议,即with语句,为了让一个对象兼容with语句,必须在这个对象的类中声明 ...

  9. 可序列化对象和byte[]数组之间的互转

    /// <summary> /// 将可序列化对象转成Byte数组 /// </summary> /// <param name="obj">对 ...

  10. Exception in thread "main" java.lang.IllegalArgumentException: System memory 202768384 must be at least 4.718592E8. Please use a larger heap size.

    Spark-submit 提交任务时候报错 Exception in thread "main" java.lang.IllegalArgumentException: Syste ...