[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 4.2.1 Optimistic Locking - how to turn on

2009-07-26 Thread smith.ge...@gmail.com
How do you turn on optimistic locking in JBoss 4.2.1 ? Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246057#4246057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246057

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 4.2.1 Optimistic Locking - how to turn on

2009-07-27 Thread smith.ge...@gmail.com
Many thanks for the reply. I'm using mysql. So all I have to do is edit the datasource to make the cache use optimistic locking ? I probably should have said I meant in the cache ? Thanks, Gerry Smith View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246271#424

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 4.2.1 Optimistic Locking - how to turn on

2009-07-27 Thread smith.ge...@gmail.com
I was referring to JBoss cache, I think I need to do something like this: http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/cache/Tree_Cache_Guide/Configuration-Sample_XML_Based_Configuration.html Thanks again, Gerry Smith View the original post : http://www.jboss.org/index.html?modul

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 4.2.1 Optimistic Locking - how to turn on

2009-07-27 Thread smith.ge...@gmail.com
- or upgrade to 5.1 and use MVCC, but I had other problems upgrading the app to 5.0. (obviously I'm getting deadlocks with pessimistic locking) Gerry Smith View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246290#4246290 Reply to the post : http://www.jboss.o

[jboss-user] [EJB] - CMR Collections and transaction demarcation

2009-10-14 Thread smith.ge...@gmail.com
I am using JBoss 4.2.1, EJB 2.1. I have a session bean which uses a finder to get a collection of entities and creates a list of data transfer objects. The entities have CMR Collections that need to be accessed. I am trying to make this work without a transaction, and I'm using XDoclet, so I've

[jboss-user] [EJB] - Re: CMR Collections and transaction demarcation

2009-10-18 Thread smith.ge...@gmail.com
Solved the root cause of the problem by using read-only for get* and commit option A. Gerry View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260969#4260969 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260969 _

[jboss-user] [Security & JAAS/JBoss] - Migration to AS 5.0.1 -> Authentication Exception

2009-04-05 Thread smith.ge...@gmail.com
Our app works great in production on AS 4.2.1. We are trying to migrate to AS 5.0.1. In the middle of a method in a session bean, it seems like it forgets the security domain. Even calling a create method on the local home of an EJB 2.1 which has already been called earlier in the method can caus

[jboss-user] [Security & JAAS/JBoss] - Re: Custom login-module and EJB

2009-04-06 Thread smith.ge...@gmail.com
I am having the same problem, anyone figured this out ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223578#4223578 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223578 __

[jboss-user] [Security & JAAS/JBoss] - Re: Custom login-module and EJB

2009-04-06 Thread smith.ge...@gmail.com
pcarrollnf suggested copying the security policy, and naming the copy BYPASSED-SECURITY. This works at the point where I was getting an error, but it's in a complex chain of events and towards the end the security principal suddenly becomes 'guest', like this is the next fallback position when i