• Post Reply Bookmark Topic Watch Topic
  • New Topic

RollbackException  RSS feed

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i get this error :


javax.ejb.EJBException: Transaction aborted (possibly due to transaction time out).; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback



i have this relationship between those Beans :


and i have this setup :



please help!!!
 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the exception stacktrace?
 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is all i got from the server :

ObservasjonBean.setEntityContext(EntityContext context)
ObservasjonBean.ejbCreate(String oid, String dato, int antall, String kommentar,
sted)
ObservasjonBean: --> ejbPostCreate(String oid, String dato, int antall, String k
ommentar, String sted)
ObservasjonBean.ejbStore
ObservasjonBean.ejbPassivate
javax.ejb.EJBException: Transaction aborted (possibly due to transaction time ou
t).; nested exception is: javax.transaction.RollbackException: Transaction marke
d for rollback

 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me if I have set up the relationship correct?
i am not good with database relationships !

please help me !
this is very urgent!!!
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!