[jboss-user] [JBossCache] - Re: Timeout/Lock exception in single user/single thread envi

manik.surtani@jboss.com do-not-reply at jboss.com
Thu Jan 24 05:41:18 EST 2008


Try 

  | Context ctx=new InitialContext(...);
  | UserTranscation utx=(UserTransaction) ctx.lookup("java:comp/UserTransaction");
  | 

to get a hold of a UserTransaction, which you can then use to begin() and commit() your work.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122970#4122970

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122970



More information about the jboss-user mailing list