1. jboss/tomcat cluster wide singleton task, transaction timeout stackoverflow.comI have 2 questions in this thread. 1) I don't yet have JBoss installed, just using Tomcat and Hibernate w/ InnoDB. I thought of a way that I can implement a ... |
2. Lock table in multiple server cluster forum.hibernate.orgHello, I have a little problem with Hibernate. I'm using an application running on more more server and balanced by a webserver. Inside this application i need to implements a semaphore, but i can not use a java semaphore or a Hibernate lock because other servers will not lock, so how can I be sure to lock a table on Oracle ... |
3. Clustering, transaction, and hibernate forum.hibernate.orghi all, we are using hibernate on a MVC architecture. We use the threadLocal strategy on 90% of the cases. We have some business process that need more than one JSP to allow the commit of the transaction. For those cases, we place the hibernateSession into the HttpSession. It works fine but there's a problem using a clustered environment: - 1st ... |
4. How to implement efficient concurrent update in cluster? forum.hibernate.orgHi, I'm looking for the efficient solution of following problem using hibernate: Scenario: - Two node cluster - Each node concurrently adds some value to "price" in the same "account" SQL Solution: state before: price=1 for account id=4 NODE1: stm1.execute("update account set price=price+3 where id=4") NODE2: stm2.execute("update account set price=price+8 where id=4") state after: price=12 for account id=4 Hibernate Solution: state ... |
5. distributed transaction in jboss cluster forum.hibernate.orgNewbie Joined: Thu Jan 11, 2007 9:16 am Posts: 2 After Reading a lot within the Forums here and at jboss.org I finally ask the question here in this forum. I have an issue using hibernate in a clustered JBoss environment (JBoss 4.0.5GA, JBossTS JTS 4.2.2GA, Oracle 10g with Driver 10.2.0.2). I have two cluster nodes and each node has running ... |