Hello all, Since my client is unsatisfied with the current registration/user management features that are bundled with JBoss Portal (i.e. the UserPortlet), I have been attempting to implement my own using JSF, and Spring. What I'm trying to do is grab the UserModule using JNDI. The JNDI lookup goes well, but calling any of the UserModule's methods throws a ModuleExcepton. Any help would be greatly appreciated! Thanks!
Sincerely, James JBoss Version: 4.0.3SP1 JBoss Portal Version: 2.2.1 Stacktrace: org.jboss.portal.core.modules.ModuleException: Cannot find user by name test at org.jboss.portal.core.impl.user.UserModuleImpl.findUserByUserName(UserModuleImpl.java:131) at chn.portal.core.service.impl.JBossUserServiceImpl.findUserByEmail(JBossUserServiceImpl.java:94) ... 37 more Caused by: org.hibernate.HibernateException: Unable to locate current JTA transaction at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61) at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:604) at org.jboss.portal.core.impl.user.UserModuleImpl.getCurrentSession(UserModuleImpl.java:372) at org.jboss.portal.core.impl.user.UserModuleImpl.findUserByUserName(UserModuleImpl.java:116) ... 38 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950017#3950017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950017 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user