ERROR: Store Exception (XApp Java API)

X-Application Version: 3.1.3.2
Tamino Version : 3.1.1.4/3.1.1.7
Platform : NT
WebContainer : Tomcat 3.3.1
JDK Version : 1.3.1_04

Hi,
I’ve installed X-Application on NT 4 and I’m using XApp Java API.The following code (read/update):

BusinessDocument c = ws.read(“test”, “contador[@ino:id=‘1’]”);
c.modify();
c.getRoot().getDescendant(“/contador”).setValue(“123”);
ws.commitAll();

it cancels accessing to Tamino 3.1.1.7 on Linux Suse 7.3 with the error:

ERROR: Store Exception ‘id = 162 arg[0] = /contador[@ino:id=‘1’]’
UpdateAssertionFailed: id = 162 arg[0] = /contador[@ino:id=‘1’]
id = 162 arg[0] = /contador[@ino:id=‘1’]

but, it works fine accesing to Tamino 3.1.1.4 on NT

Do you have any idea?
Thanks,
Guillermo

Hello,

It must not be a problem of the different platforms. The update conflict could be the result of X-Application?s time constraints. To verify this, it would be interesting to know when the document you are working with was created:

(A) Is it an existing document?
(B) Is it a new document you created within the same program?
(C) Did you modify the same document before you read it again?

Furthermore, could you post the complete stacktrace of the occurring exception?

Then, I can check the code to find out more details.

Thank you,
Christian.

Hello,
Today I can’t reproduce the error yet!. When I get it, I’ll save the stacktrace.
I’m updating an existing document.

Thanks
Guillermo