Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

EXCLUSIVE_READ_LOCK exception with XAP Community 7.1.1 GA

Hello, We use XAP Community 7.1.1 GA since a few months. But since a few days we're getting exception:

Exception in thread "main" org.openspaces.core.UncategorizedSpaceException: Using EXCLUSIVE_READ_LOCK modifier without a transaction is illegal.; nested exception is java.lang.IllegalArgumentException: Using EXCLUSIVE_READ_LOCK modifier without a transaction is illegal. at org.openspaces.core.exception.DefaultExceptionTranslator.translate(DefaultExceptionTranslator.java:54) at org.openspaces.core.DefaultGigaSpace.readById(DefaultGigaSpace.java:247)

when try to use readById with ReadModifiers.EXCLUSIVE_READ_LOCK. I've read that this is a new exception added with XAP 7.1.2 GigaSpace, but we are using XAP 7.1.1 GA and no updates were made. Is this possible?

Thanks

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3579]{quote}

asked 2011-01-05 10:23:07 -0500

jeni_m gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Are you sure you use EXCLUSIVE_READ_LOCK with transactions? Shay

answered 2011-01-06 12:23:12 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

We don't use transactions, but we use XAP 7.1.1 since a few months and this problem started a few days ago. As I understood, this new exception is included from XAP 7.1.2, am I right?

jeni_m gravatar imagejeni_m ( 2011-01-06 13:29:03 -0500 )edit

if you are getting this exception and not using EXCLUSIVE_READ_LOCK then something wrong is going on. You should report this to the support team. We did modified the product to throw an exception when EXCLUSIVE_READ_LOCK is used without a transaction. The EXCLUSIVE_READ_LOCK must use a transaction.

shay hassidim gravatar imageshay hassidim ( 2011-01-06 21:19:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-01-05 10:23:07 -0500

Seen: 148 times

Last updated: Jan 06 '11