[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-894) Exceptions when using optimistic treecache with hibernate 3.2

Manik Surtani (JIRA) jira-events at jboss.com
Wed Dec 6 10:53:58 EST 2006


    [ http://jira.jboss.com/jira/browse/JBCACHE-894?page=comments#action_12348272 ] 
            
Manik Surtani commented on JBCACHE-894:
---------------------------------------

The third problem I see here is a CCE in the TxInterceptor, when trying to retrieve a boolean param in the prepare() methodcall.  

The only way I can see this happening is if one of the caches in the cluster is set to PESSIMISTIC locking while the others are OPTIMISTIC, which is not a valid scenario. 

Still trying to recreate this in a valid scenario.



> Exceptions when using optimistic treecache with hibernate 3.2
> -------------------------------------------------------------
>
>                 Key: JBCACHE-894
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-894
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.4.0.SP1
>         Environment: Jboss 4.0.5.GA Hibernate 3.2.0.GA JBossCache 1.4.1.BETA
>            Reporter: pkorros
>         Assigned To: Manik Surtani
>             Fix For: 1.4.1.GA
>
>         Attachments: server.zip
>
>
> I am using Hibernate 3.2.GA with the OptimisticTreeCacheProvider.
> Cache mode is REPL_ASYNC
> and NodeLockingScheme is OPTIMISTIC.
> I tested again using JBoss 1.4.1.BETA and I am getting numerous exceptions.
> The application is trying to insert a large (~600) number of new objects to the database using Session.save().
> See the attached server.log for details, the log has tracing enabled for Hibernate and JBossCache

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list