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