Hi,
I'm a beginner Slide API side-server user.
I use the version 2.0
I need help about the following problem
I want lock an ObjectNode and I think to do in this way:
......
Lock lock = _token.getLockHelper();
.......
token.begin();
NodeLock nodelock = new
NodeLock("/files/fileDiTest","/users/root","/actions/read",new Date(new
Date().getTime()+10000000),true);
lock.lock(slideToken,nodelock);
..............
token.commit();
but lock.lock(slideToken,nodelock); throws this Exception:
org.apache.slide.common.ServiceAccessException: Service TxFileStore at
store/metadata working on work/metadata access error : The data "null" is
not legal for a JDOM attribute: A null is not a legal XML value.
at org.apache.slide.store.AbstractStore.putLock(AbstractStore.java:741)
at org.apache.slide.store.ExtendedStore.putLock(ExtendedStore.java:571)
at org.apache.slide.lock.LockImpl.lock(LockImpl.java:128)
the configuration file is Domain.sample.
Thanks
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]