Problem to use custom datasource with oracle #1295
Unanswered
FranckyMan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using quartz version 3.13.1 on c# application.
I'm trying to start quartz in cluster mode with a custom db provider but i have these Oracle errors on some queries whereas main tables like QRTZ_JOB_DETAILS, QRTZ_SCHEDULER_STATE, QRTZ_TRIGGERS are well filled at the begining.
When i start with empty table for quartz i have this "ORA-00942: Table or view does not exist" on this query
SELECT \r\n JOB_NAME,\r\n JOB_GROUP,\r\n DESCRIPTION,\r\n NEXT_FIRE_TIME,\r\n PREV_FIRE_TIME,\r\n TRIGGER_TYPE,\r\n START_TIME,\r\n END_TIME,\r\n CALENDAR_NAME,\r\n MISFIRE_INSTR,\r\n PRIORITY,\r\n JOB_DATA,\r\n CRON_EXPRESSION,\r\n TIME_ZONE_ID,\r\n REPEAT_COUNT,\r\n REPEAT_INTERVAL,\r\n TIMES_TRIGGERED \r\n FROM \r\n QRTZ_TRIGGERS t\r\n LEFT JOIN\r\n QRTZ_SIMPLE_TRIGGERS st ON (st.SCHED_NAME = t.SCHED_NAME AND st.TRIGGER_GROUP = t.TRIGGER_GROUP AND st.TRIGGER_NAME = t.TRIGGER_NAME)\r\n LEFT JOIN\r\n QRTZ_CRON_TRIGGERS ct ON (ct.SCHED_NAME = t.SCHED_NAME AND ct.TRIGGER_GROUP = t.TRIGGER_GROUP AND ct.TRIGGER_NAME = t.TRIGGER_NAME)\r\n WHERE\r\n t.SCHED_NAME = @schedulerName AND t.TRIGGER_NAME = @triggerName AND t.TRIGGER_GROUP = @triggerGroup
and when i start with not empty table i have "ORA-01722: invalid number" on this query for column "SCHED_NAME" whereas this column should be able to store VARCHAR2
UPDATE QRTZ_TRIGGERS SET JOB_NAME = @triggerJobName, JOB_GROUP = @triggerJobGroup, DESCRIPTION = @triggerDescription, NEXT_FIRE_TIME = @triggerNextFireTime, PREV_FIRE_TIME = @triggerPreviousFireTime, \r\n TRIGGER_STATE = @triggerState, TRIGGER_TYPE = @triggerType, START_TIME = @triggerStartTime, END_TIME = @triggerEndTime, CALENDAR_NAME = @triggerCalendarName, MISFIRE_INSTR = @triggerMisfireInstruction, PRIORITY = @triggerPriority\r\n WHERE SCHED_NAME = @schedulerName AND TRIGGER_NAME = @triggerName AND TRIGGER_GROUP = @triggerGroup
No job are triggered and the qrtz_fired_trigger alwayz stay empty
I use custom database, because in production mode the Oracle user will not be the tables owner.
Here are my source code for my cutom db provider
and settings
I hope i put enough details.
Thank you in advance for your help
Beta Was this translation helpful? Give feedback.
All reactions