[jboss-user] [JBoss Portal] - Cannot retrieve user: Unable to locate current JTA transacti

kpalania do-not-reply at jboss.com
Mon Aug 6 15:57:57 EDT 2007


I am trying to retrieve a user from the JBoss Portal DB using the APIs provided, and I am running into a JTA Transaction exception ("unable to locate currentJTA transaction"). I've confirmed that the SessionFactory object used in HibernateUserModuleImpl is not null.

 
  | UserModule  userModule = (UserModule) new InitialContext().lookup("java:portal/UserModule");
  | User user = userModule.findUserByUserName("admin");
  | 

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

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



More information about the jboss-user mailing list