Hi all,
Has anyone used Quartz with Axis2 1.0? (I am asking this same
question in the Quartz forum)
Everytime I try to schedule a new job, I get an AxisFault exception
thrown.
The code I have is:
JobDetail job = sched.getJobDetail(name, group);
CronTrigger trigger = new CronTrigger(name, group, expr);
trigger.setDescription(desc);
log.info("cron expression = " + trigger.getCronExpression());
sched.scheduleJob(job, trigger);
I know the log.info line was executed as my log shows the expression.
However, the next line is the one that causes the AxisFault:
org.apache.axis2.AxisFault: null; nested exception is:
org.apache.axis2.AxisFault
org.apache.axis2.transport.http.util.RESTUtil.processGetRequest
(RESTUtil.java:1 41)
org.apache.axis2.transport.http.AxisRESTServlet.doGet
(AxisRESTServlet.java:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Has anyone seen this behavior before? If I comment out the
scheduleJob line, then it seems to be fine.
Any help is much appreciated.
Thanks
Jian
--
Jian Zhen <[EMAIL PROTECTED]>
http://www.zhen.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]