[WARN<http-80-18> 2013-12-13 16:29:42 grails.util.GrailsUtil] [DEPRECATED] executeQuery(String query, Object[] positionalParams) domain class dynamic method is deprecated since 0.6. Check out docs at: http://grails.org/DomainClass+Dynamic+Methods
getTableNames: upline=Mon Dec 02 00:00:00 CST 2013
getTableNames: begin
from2Date start:Mon Dec 09 00:00:00 CST 2013 end:Mon Dec 09 00:00:00 CST 2013
from2Date rz_20131209##
initTables tableNames:rz_20131209##
找表:rz_20131209
[ERROR<http-80-18> 2013-12-13 16:29:42 com.richeninfo.sedm.sql.JDBCPoolHelper
] 执行sql失败 hasTable name:rz_20131209
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 4 ms ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2871)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3414)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1383)
at com.mysql.jdbc.DatabaseMetaData$9.forEach(DatabaseMetaData.java:4826)
at com.mysql.jdbc.IterateBlock.doForAll(IterateBlock.java:50)
at com.mysql.jdbc.DatabaseMetaData.getTables(DatabaseMetaData.java:4804)
at com.richeninfo.sedm.sql.JDBCPoolHelper.hasTable(JDBCPoolHelper.java:206)
at sun.reflect.GeneratedMethodAccessor549.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at com.richeninfo.sedm.service.DeliveryEngineService.initTables(DeliveryEngineService.groovy:51)
at com.richeninfo.sedm.service.DeliveryEngineService$initTables.callStatic(Unknown Source)
at com.richeninfo.sedm.service.DeliveryEngineService.getCountGroupByFinalErrorCode(DeliveryEngineService.groovy:566)
at com.richeninfo.sedm.service.DeliveryEngineService$getCountGroupByFinalErrorCode.call(Unknown Source)
at com.richeninfo.sedm.service.StatisticsService.countByErrorCode(StatisticsService.groovy:1483)
at com.richeninfo.sedm.service.StatisticsService$countByErrorCode.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at com.richeninfo.sedm.service.StatisticsService$countByErrorCode.callCurrent(Unknown Source)
at com.richeninfo.sedm.service.StatisticsService.countByFinalErrorCode(StatisticsService.groovy:1319)
at com.richeninfo.sedm.service.StatisticsService$$FastClassByCGLIB$$331f94.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:625)
at com.richeninfo.sedm.service.StatisticsService$$EnhancerByCGLIB$$b35a8fb8.countByFinalErrorCode(<generated>)
at com.richeninfo.sedm.service.StatisticsService$countByFinalErrorCode.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at com.richeninfo.sedm.service.StatisticsService$countByFinalErrorCode.call(Unknown Source)
at com.richeninfo.sedm.controller.TaskController$_closure5_closure23.doCall(TaskController.groovy:281)
at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)