`

Failure obtaining db row lock: No row exists in table QRTZ_LOCKS for lock named:

 
阅读更多

项目里做了使用Spring+Quartz建立一个任务调度管理模块,

实现了基于service层的定时任务管理,包括任务创建、执行、暂停、启动、定时设置、日志等。

 

在另外一个项目使用时出现如下Error:

Failure obtaining db row lock: No row exists in table QRTZ_LOCKS for lock named: TRIGGER_ACCESS

 

解决如下:

执行如下SQL解决:

INSERT INTO QRTZ_LOCKS values('my sched_name','TRIGGER_ACCESS'); 
INSERT INTO QRTZ_LOCKS values('my sched_name','JOB_ACCESS'); 
INSERT INTO QRTZ_LOCKS values('my sched_name','CALENDAR_ACCESS'); 
INSERT INTO QRTZ_LOCKS values('my sched_name','STATE_ACCESS'); 
INSERT INTO QRTZ_LOCKS values('my sched_name','MISFIRE_ACCESS');  


是不是很简单, 只是问题不好查。。。。
记录一下。:-)....
  • 大小: 52.2 KB
分享到:
评论

相关推荐

    KFC系列之 - Oracle DBA入门Mysql(中)

    SELECT`语句时,如果`innodb_locks_unsafe_for_binlog`参数值为1,则不会使用间隙锁;若为0,则会使用间隙锁。 了解以上关于MySQL中锁的知识点对于优化数据库性能、处理并发访问等问题至关重要。通过合理设置隔离...

    leetcode是收费的吗-algorithm::man_technologist_light_skin_tone:把算法当作一种爱好

    obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...

    HACMP状态查看(AIX 5.3 HACMP 5.4.1)

    Obtaining information via SNMP from Node: e10lpar2 _____________________________________________________________________________ Cluster Name: test Cluster State: UP Cluster Substate: STABLE _________...

    HACMP日常维护操作

    Obtaining information via SNMP from Node: CHIC550_1... _____________________________________________________________________________ Cluster Name: hnha Cluster State: UP Cluster Substate: STABLE _____...

    考研备考资料真题-2009年南京大学二外英语考研真题试卷(题后含答案及解析).doc

    - **题目示例3**:“Living in the central Australian desert has its problems, ______ obtaining water is not the least.” 此题考查的是语法结构中的定语从句,正确答案是C选项“of which”,表示饮水问题只是...

    atomic-design-sample:原子设计-Android设计系统

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...

    calmly:Calmly由扑打制成,可以练习冥想,带来头部空间和平静感。 :male_sign:‍:male_sign:

    冷静地 用 :fire: 在印度 是用制成的,用于练习冥想以带来空间和平静。此应用是的克隆,可在Play...Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated

    netWindows_0.3.0_pre2

    WITHOUT LIMITATION,DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION,OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PERSON SHALLHAVE BEEN INFORMED OF THE ...

    BIND-LINUX64位包

    Fix a potential hang with failure to release lock on error in receive_secure_db. #34944] Fix cast in lex.c which could see 0xff treated as EOF. This fixes issue with potential bad data in a ...

    Nouveau WinRAR archive (2).rar_FLC _For Real_INDUCTION MOTOR flc

    This technique avoids the exhaustive traditional trial-and-error procedure for obtaining membership functions (MFs). The generated adaptive MFs are implemented in speed controller design for input ...

    (2008)A_Case-Based_Approach_for_Action_Selection_and_Coo

    interested in obtaining a cooperative behavior among robots to successfully perform joint tasks. Thus, we include explicit passes between robots, not only to enhance collaboration, but also to face ...

    科技简历:轻松制作一份值得工作的简历

    科技简历 简历构建器,可帮助您毫不费力地制作一份值得...Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the " Software " ),

    Obtaining a stack trace in C upon SIGSEGV

    ### 获取 C 语言程序在 SIGSEGV 时的堆栈轨迹 #### 代码实现 本文档介绍了一种在不使用调试器的情况下获取 C 或 C++ 程序崩溃时堆栈轨迹的方法。此方法尤其适用于那些希望在程序崩溃时能够追踪到错误发生位置的...

    Devart dbForge Studio for MySQL Professional Edition v7.1.13

    dbForge Studio for MySQL is a universal GUI for managing, developing and administrating MySQL and MariaDB databases. The tool allows to create and execute queries, develop and debug routines, automate...

    万能脱壳工具 病毒分析工具 V1.4

    In order to recognize more packers, you can use the external signatures library (must named userdb.txt, the library format is as same as the PEid's external signatures library). Note: A '*' will...

    uiautomatorviewer更新文件.rar

    解决uiautomatorviewer报错问题,分享给大家。 Unexpected error while obtaining UI hierarchy # 点击Details java.lang.reflect.InvocationTargetException

    caltech-lane-detection

    |_ ranker.h: code for obtaining the median of a vector |_ run.sh: Shell script for running the detector on the four clips in Caltech Lanes Dataset matlab/: contains the Matlab source files |_ ...

    CordovaAudioManager:CordovaPhoneGap 的音频管理器

    科尔多瓦音频管理器 一种从 PhoneGap/Cordova 加载和播放音频的简单方法。 :grinning_face_with_...Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated

    考研复试英语自我介绍范文两则精选.doc

    2. **学术目标与动机**:这部分内容表达了申请者的学术追求,如:“Now, I am trying my best for obtaining a key to ________ University.” 这表明了考生对进一步深造的渴望和对目标院校的向往。 3. **学术能力...

    考研复试英语自我介绍范文5篇精选.doc

    例如:"Now, I am trying my best for obtaining a key to ________ University." 4. 学术经历与兴趣:提及对网页设计的兴趣,并努力学习。例如:"When I was sophomore, I found web design very interesting, so I...

Global site tag (gtag.js) - Google Analytics