`

You can't perform a prepareStatement operation after the connection has been clo

阅读更多

Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:71)
 ... 126 more
Caused by: java.sql.SQLException: Couldn't perform the operation prepareStatement: You can't perform a prepareStatement operation after the connection has been closed
 at org.logicalcobwebs.proxool.WrappedConnection.invoke(WrappedConnection.java:207)
 at org.logicalcobwebs.proxool.WrappedConnection.intercept(WrappedConnection.java:87)
 at $java.sql.Connection$$EnhancerByProxool$$d70c7c6b.prepareStatement(<generated>)
 ... 130 more

 

是因为配置问题,重复加载调度配置文件,在配置文件中配置有初始化调度的设置,所以每次加载配置文件的时候,导致都会重新去初始化调度计划,从而引起连接被关闭的问题.

0
2
分享到:
评论
3 楼 pointdew 2012-05-22  
poterban 写道
说说解决的办法呗


调度配置文件被加载了几次?你自己应该比我清楚,你的调度配置文件在哪里被加载的,检查加载调度配置文件的入口看是否存在多个。
2 楼 poterban 2012-01-06  
说说解决的办法呗
1 楼 ww20042005 2011-03-21  
有没有代码说明啊!怎么写可以防止重复加载调度配置文件?

相关推荐

    微软内部资料-SQL性能优化3

    For example, a second transaction traversing the doubly linked list mentioned above would see the list before or after the insert, but it will see only complete changes. Durability After a ...

    plsqldev13.0.0.1882x32主程序+ v12中文包+keygen

    You can define steps, sub steps and loops to perform specific SQL statements or PL/SQL blocks to mimic the behavior of users of a specific application. For each step you can define execution ...

    Hadoop from the beginning: The basics

    The author helps you familiarize yourself with the various commands that you can use to perform various tasks within the Hadoop system. The author also helps you know how to write MapReduce programs ...

    微软内部资料-SQL性能优化5

    When the index is traversed to the leaf level, the data itself has been retrieved, not simply pointed to. Uniqueness Is Maintained In Key Values In SQL Server 2000, all clustered indexes are unique. ...

    曲线拟合工具CurveExpert 1.0

    + The structure of the code has been undergone some major changes to ease porting to Windows 95 and Windows NT. I was exceedingly careful, but I hope this didn't introduce new bugs! :-) + For ...

    微信小程序控制台提示warning:Now you can provide attr "wx:key" for a "wx:for" to improve performance解决方法

    主要介绍了微信小程序控制台提示warning:Now you can provide attr "wx:key" for a "wx:for" to improve performance解决方法,简单分析了wx:for警告提示相关解决方法,需要的朋友可以参考下

    NewSID(光学习一下代码就可以了,没看清楚介绍别运行)

    Ghost Software and Altiris to develop programs that can change a computer‘s SID after a system has been cloned. However, PowerQuest‘s SID Changer and Ghost Software‘s Ghost Walker are only sold as...

    计算机网络第六版答案

    Part of protocol has always been the acknowledgment of the hierarchical standing of all present. Protocol rules are based on the principles of civility. Standards are important for protocols so that...

    SSD7 选择题。Multiple-Choice

    (b) the name of the table, the names of the table's attributes, the data types of the table's attributes, the formats of the table's attributes, and the maximum number of rows that the table can have...

    a project model for the FreeBSD Project.7z

    [1] This paper will provide such a project model and is donated to the FreeBSD Documentation project where it can evolve together with the project so that it can at any point in time reflect the way ...

    Debugging Malloc Lab: Detecting Memory-Related Errors

    a "fence" immediately around the requested payload with a known value like 0xCCDEADCC, so that you can check if it has been changed when the block is freed. the size of the block a checksum for the ...

    VclZip pro v3.10.1

    PLEASE TAKE A LOOK AT THE "WHAT's NEW IN THIS VERSION" LINK IN THE HELP FILE AS IT HAS CONVENIENT LINKS TO ALL OF THE NEW TOPICS. ==================== Version 3.10 Build 1 - Several bug fixes. - ...

    dx修复工具

    The new design provides separated tasks for checking, downloading and repairing, which means that each task can perform individually without interfering between each other. The programme also ...

    JSP Simple Examples

    After going through this example you will be understand how you can calculate the factorial by using recursion in jsp. To make a program on factorial, firstly it must be clear what is recursion. ...

    3D Math Primer for graphics and game development

    that you can browse through on a first reading and then revisit when the need for a specific tool arises. 1 A unique approach. We take a three-pronged approach to the subject matter: math, geome- try...

    微软内部资料-SQL性能优化2

    If you attempt to access a reserved address that has not yet been committed (backed by memory or disk) you will cause an access violation. Committed Memory Committed pages are those pages that when ...

    Using kgdb, kdb and the kernel debugger internals

    The kernel has two different debugger front ends (kdb and kgdb) which interface to the debug core. It is possible to use either of the debugger front ends and dynamically transition between them if ...

    Web.Client.Programming.with.Perl.Automating.Tasks.on.the.Web.pdf

    The World Wide Web has been credited with bringing the Internet to the masses. The Internet was previously the stomping ground of academics and a small, elite group of computer professionals, mostly...

Global site tag (gtag.js) - Google Analytics