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

Vassilis Petropoulos (JIRA) jira-events at lists.jboss.org
Thu Oct 30 05:39:23 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12436157#action_12436157 ] 

Vassilis Petropoulos commented on JBSEAM-3522:
----------------------------------------------

Tested with Build #355, 2.1.0SP1 but still AsynchronousInvocation doesn't set log as static final.

> 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

        



More information about the seam-issues mailing list