[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3650) Quartz-asynchronous throws NotSerializableException (from AsynchronousInvocation.log)

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Oct 30 08:51:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-3650.
-----------------------------

    Fix Version/s: 2.1.1.CR1
       Resolution: Duplicate Issue
         Assignee: Pete Muir


Someone else just reported this, and I fixed it :-) Thanks!

> Quartz-asynchronous throws NotSerializableException (from AsynchronousInvocation.log)
> -------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3650
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3650
>             Project: Seam
>          Issue Type: Bug
>          Components: Async
>    Affects Versions: 2.1.0.GA
>         Environment: JBoss 4.2.3GA, seam 2.1.0GA
>            Reporter: Vassilis Petropoulos
>            Assignee: Pete Muir
>             Fix For: 2.1.1.CR1
>
>
> Recall from issue 3522:
> 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

        



More information about the seam-issues mailing list