[jboss-user] [JBoss Portal] - How can I get current portal user from javax.portlet.Portlet

2008-04-18 Thread freesoul
hi , i want to obtain the current user object from my prtlet based on struts2 portlet,but I can only get javax.portlet.PortletContext use PortletActionContext.getPortletContext() in referenceGuide of Jboss Portal, it says anonymous wrote : The org.jboss.portal.api.PortalRuntimeContext gives access

[jboss-user] [JBoss Portal] - Re: How can I get current portal user from javax.portlet.Por

2008-04-20 Thread freesoul
Yesterday I can't understand jboss portlet container very well, so I didn'i konw the relationship between javax.portlet.ActionRequest and org.jboss.portlet.JBossActionRequest, but now I get it. public class org.jboss.portlet.JBossActionRequest extends org.jboss.portal.portlet.impl.jsr168.api.Ac

[jboss-user] [JBoss Portal] - Unable to locate current JTA transaction?

2008-05-08 Thread freesoul
when call the portal mbean UserModule mbean = (UserModule) MBeanProxyExt | .create(UserModule.class, ObjectNameFactory | .create("portal:service=Module,type=User")); | mbean.getUserCount(); the application throws exception as follows, 20:3

[jboss-user] [JBoss Portal] - Re: Unable to locate current JTA transaction?

2008-05-08 Thread freesoul
My environment: jboss portal 2.6.4 + JBOSS AS 4.2.1 MYSQL 5.0 Struts2 + spring + hibernate when I request an ajax action ,the exception happens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149448#4149448 Reply to the post : http://www.jboss.com/index.html