Comments (5)
You have to manually create the quartz tables... the plugin does not do
that for you. Download the quartz package from quartzscheduler.org and
create the tables for your DB under the doc directory. Or set
quartz.jdbcStore = false, for the RAMStore (no database).
On Fri, Jan 22, 2016 at 6:45 PM, netadmin2015 [email protected]
wrote:
Java 18
Grails 3012removed all cache files from anywhere I can think of
New project: grails create-app junk1
add compile 'orggrailsplugins:quartz:205' to buildgradlegrails
create-job Testme88Edit Testme88Job and put:
1 package testme66
2
3 class Testme88Job {
4 static triggers = {
5 simple name: 'mySimpleTrigger', startDelay:5000, repeatCount: 1
6 }
7
8 def execute() {
9 logdebug("Domain name job processing");
10
11 }
12 }All seems good
Now
run-app
Lots of errors, This is the start of them
Grails 3 / quartz 205 / java 18 / groovy 245
I am at a loss why I cannot get jobs to work
Honestly grails 245 I do not have any issues and may not even upgrade to
grails 3 as it seems to be a completely different animalAny ideas ?
From scratch out of the box does not seem to work at all
HealthIndicatorAutoConfigurationDiskSpaceHealthIndicatorConfiguration
- matched (OnPropertyCondition)
Exception in thread "main"
orgspringframeworkcontextApplicationContextException: Failed to start bean
'quartzScheduler'; nested exception is
orgspringframeworkschedulingSchedulingException: Could not start Quartz
Scheduler; nested exception is orgquartzSchedulerConfigException: Failure
occured during job recovery [See nested exception:
orgquartzimpljdbcjobstoreLockException: Failure obtaining db row lock:
Table "QRTZ_LOCKS" not found; SQL statement:
SELECT * FROM QRTZ_LOCKS WHERE SCHED_NAME = 'quartzScheduler' AND
LOCK_NAME = ? FOR UPDATE [42102-176] [See nested exception:
orgh2jdbcJdbcSQLException: Table "QRTZ_LOCKS" not found; SQL statement:
SELECT * FROM QRTZ_LOCKS WHERE SCHED_NAME = 'quartzScheduler' AND
LOCK_NAME = ? FOR UPDATE [42102-176]]]
at
orgspringframeworkcontextsupportDefaultLifecycleProcessordoStart(DefaultLifecycleProcessorjava:176)
at
orgspringframeworkcontextsupportDefaultLifecycleProcessoraccess$200(DefaultLifecycleProcessorjava:51)
at
orgspringframeworkcontextsupportDefaultLifecycleProcessor$LifecycleGroupstart(DefaultLifecycleProcessorjava:346)
at
orgspringframeworkcontextsupportDefaultLifecycleProcessorstartBeans(DefaultLifecycleProcessorjava:149)
at
orgspringframeworkcontextsupportDefaultLifecycleProcessoronRefresh(DefaultLifecycleProcessorjava:112)
at
orgspringframeworkcontextsupportAbstractApplicationContextfinishRefresh(AbstractApplicationContextjava:772)
at
orgspringframeworkbootcontextembeddedEmbeddedWebApplicationContextfinishRefresh(EmbeddedWebApplicationContextjava:139)—
Reply to this email directly or view it on GitHub
#53.
from grails-quartz.
RAMStore not working from 2.0.2. Pull request awaiting!:)
from grails-quartz.
Using grails, the development mode has a database that is removed after you stop-app. I guess I could put those create tables in the Bootstrap and have them run each time. I assume version 2 had all this by default and it was removed for this version of the plugin.
I am use to (spoiled) by the Grails 2 version of everything. Grails 3 in almost every situation requires handholding. I decided to just download the jar files and not use the plugin. Found out that grails 3 does not even have a lib directory anymore.
Anyhow thanks again.
from grails-quartz.
Use 2.0.1 plugin version! Or wait before rvanderwerf apply my pull at last.
#51
from grails-quartz.
this was fixed with #50 as far as the referred pull request and released today
from grails-quartz.
Related Issues (20)
- "No Session found for current thread" for job listener
- Conflicting bean HOT 1
- Race condition with dataSource on startup HOT 1
- Broken links in Grails plugin page
- How to configure multiple schedulers to have more than one thread pool?
- version 2.0.13 is not working with Grails 4.0.0.M2 HOT 6
- java -jar run xxx.jar not working HOT 1
- Version 2.0.13 not compatible with Groovy 3 HOT 1
- The trigger configuration stored in the database is reset after application restart
- Plugin Prevents application to startup with a job in past date
- Timezone parameter is ignored
- Long time running jobs
- Plugin is not working with Grails 5 HOT 7
- How to disable quartz in unit tests ?
- 'grails create-job' command does not exist in grails 6
- When I set autoStartup to false the job does not work HOT 1
- Set-up GitHub Workflows HOT 1
- Verify all the tests are up-to-date and green (passing) HOT 1
- Review Documentation and update accordingly
- Could not instantiate custom Metaclass for class: grails.plugins.quartz.QuartzJob$Trait$Helper HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grails-quartz.