[
https://jira.jboss.org/jira/browse/JBSEAM-3522?page=com.atlassian.jira.pl...
]
Vassilis Petropoulos commented on JBSEAM-3522:
----------------------------------------------
Filed issue 3650
Quartz-asynchronous throws NotSerializableException (from
AsynchronousInvocation.log)
-------------------------------------------------------------------------------------
Key: JBSEAM-3522
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3522
Project: Seam
Issue Type: Bug
Components: Async
Affects Versions: 2.1.0.CR1
Environment: JBOSS 4.2.3 GA
Reporter: Klaasjan te Voortwis
Assignee: Pete Muir
Fix For: 2.1.0.GA
log should also be: static final
---
When using persistent job store for quartz since 2.1.0-CR1 version seam throws
NotSerializableException
I traced it down to
class: org.jboss.seam.async.AsynchronousInvocation
private LogProvider log = Logging.getLogProvider(AsynchronousInvocation.class);
log should also be: static final
Stacktrace:
Caused by: org.quartz.JobPersistenceException: Couldn't store job: Unable to
serialize JobDataMap for insertion into database because the value of property
'async' is not serializable: org.jboss.seam.log.Log4JProvider [See nested
exception: java.io.NotSerializableException: Unable to serialize JobDataMap for insertion
into database because the value of property 'async' is not serializable:
org.jboss.seam.log.Log4JProvider]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJob(JobStoreSupport.java:1041)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$3.execute(JobStoreSupport.java:983)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$39.execute(JobStoreSupport.java:3590)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:244)
at
org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInLock(JobStoreSupport.java:3586)
at
org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJobAndTrigger(JobStoreSupport.java:971)
at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:703)
at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:255)
at
org.jboss.seam.async.QuartzDispatcher.scheduleWithQuartzService(QuartzDispatcher.java:165)
at
org.jboss.seam.async.QuartzDispatcher.scheduleWithQuartzServiceAndWrapExceptions(QuartzDispatcher.java:115)
... 103 more
Caused by: java.io.NotSerializableException: Unable to serialize JobDataMap for insertion
into database because the value of property 'async' is not serializable:
org.jboss.seam.log.Log4JProvider
at
org.quartz.impl.jdbcjobstore.StdJDBCDelegate.serializeJobData(StdJDBCDelegate.java:3354)
at
org.quartz.impl.jdbcjobstore.StdJDBCDelegate.insertJobDetail(StdJDBCDelegate.java:515)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJob(JobStoreSupport.java:1038)
... 112 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira