Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-08-06


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.