I got a similar error message when using InstantDB. (See http://192.44.60.125/messages/JonasUsers/0729.html)
It is is problem when you have to different processes accessing the same InstantDB, in other words InstantDB doesn't work at all well with multiple, simultaneous transactions. My solution was to abandon InstantDB and use a better database (I went to MSSQLServer 7.0, but only cos it comes free with our NT server).
 
Hope this helps,
 
Robert Hargreaves
-----Original Message-----
From: Jochen Vastmans [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2000 14:36
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: PROBLEM with servlets ->JOnAS

Hi,
 
I use JOnAS 1.5 , Jetty-2.3.3 (http-server) and InstantDB
I made some entity beans and session beans, which are all tested.
 
Now i'm writing some servlets so i could lookup beans and write beans from my website.
This also works, but sometimes i get an error , and i don't know what to do with it....
 
when i try to get some beans from the database (via servlets)  i sometimes get these errors
 
(I don't use Rollback only commit, when i write something to the database)
 
From http-server:
 
java.rmi.ServerException: RemoteException occured in server thread; nested exception is:
            java.rmi.RemoteException: Container cannot register synchronization Object;
            nested exception is: javax.transaction.RollbackException
...
 
From JOnAS:
 
SessionSynchroImpl.considerRequest() registerSynchronization(this): javax.transaction.RollbackException
Cannot enlist XAResource: javax.transaction.RollbackException
RMI TCP Connection(22) -134.58.42.3 select id from CompactDisc where artist=live
Exception in connectionClosed: javax.transaction.SystemException: cannot send XAend: javax.transaction.xa.XAException
Cannot enlist XAResource: javax.transaction.RollbackException
RMI TCP Connection(21) -134.58.42.3 select id, artist, title, rCompany, ePrice,type,genre,grou,dat
                    from CompactDisc where id=196455217732
Exception in connectionClosed: javax.transaction.SystemException: Cannot send XAend: javax.transaction.xa.XAException
EntitySynchroImpl.considerRequest() registerSynchronization(this): javax.transaction.RollbackException
...
 
 
It is for my thesis, so it is very important for me to get this solved...
Can you help me with this?
 
Thanks, best reagards
 
Jochen Vastmans
 
 
 
 

Reply via email to