异常备忘录
GP0071
不想写
展开
-
java-proxool 异常
使用 proxool,JDBC连接池,进行批量执行的时候遇到异常:The Thread responsible was named ‘Thread-32′, but the last SQL it performed is unknown because the trace property is not enabled.问题原因:sql语句执行后,长时间未原创 2014-09-18 12:01:00 · 1980 阅读 · 1 评论 -
proxool--高并发异常:We are already in the process of making 11 connections and the number of simultaneous
异常:Caused by: java.sql.SQLException: We are already in the process of making 11 connections and the number of simultaneous builds has been throttled to 10解决方案:在proxool.xml中增加:20默认10原创 2015-01-12 12:05:56 · 14153 阅读 · 1 评论 -
异常-The project: upload_client1 which is referenced by the classpath, does not exist.
eclipse执行run时抛出异常The project: upload_client1 which is referenced by the classpath, does not exist.原因:由于工程名与工作空间名相同导致。修改工作空间 或 工程名即可解决此问题。原创 2015-01-13 17:53:16 · 1275 阅读 · 0 评论 -
java--proxool.xml异常Attempt to refer to a unregistered pool by its alias
项目使用proxool做的JDBC连接池,每次在启动项目的时候,会抛出一下异常:org.logicalcobwebs.proxool.ProxoolException: Attempt to refer to a unregistered pool by its alias 'HAIERDB' at org.logicalcobwebs.proxool.ConnectionPoolDefin原创 2015-01-06 14:47:13 · 5435 阅读 · 0 评论 -
异常--Interrupting idle Thread
今天遇到系统无法访问问题,检查日志异常如下。异常信息|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=14;_ThreadName=Thread-2;|GRIZZLY0023: Interrupting idle Thread: http-thread-pool-28080原创 2015-02-12 14:58:11 · 2601 阅读 · 0 评论 -
框架技术--S2SH框架整合(遇到的问题)NO 1
今天使用S2SH框架自己做了个单表增加功能,遇到两个问题,并解决了,做下记录。问题1:今天在用s2sh做一个单表的插入功能是,发现hibernate在执行插入sql时抛出异常:说主键不能为空。但是我的主键有值,将hql语句输出发现insert语句中没有插入主键那一列。解决方案:后来查了下,hibernate的配置文件*.hbm.xml对主键是有生成策略的,我设置的是主键自增,原创 2013-07-31 16:35:21 · 1441 阅读 · 0 评论