[jboss-user] [JBoss Portal] - Re: Calling UserModule service

2006-11-13 Thread cpage
TransactionManager tm; | try { | tm = (TransactionManager)new InitialContext().lookup(java:/TransactionManager); | TypeX x = (TypeX)Transactions.required(tm, new Transactions.Runnable() | { |

[jboss-user] [JBoss Portal] - Re: Calling UserModule service

2006-11-13 Thread rashmi_setty
hi cpage, Thx for your reply. Actually can i open JTA Transaction as shown below.This code is working fine now.But i dont know whether i can call this way though i am getting result. UserTransaction ut = (UserTransaction)(initCtx.lookup(java:comp/UserTransaction)); |

[jboss-user] [JBoss Portal] - Re: Calling UserModule service

2006-11-12 Thread rashmi_setty
As i have metioned it is not portal application.It is just simple JSF application.I am not using Portlet. Can anybody tell me how to open JTA transaction before calling UserModule View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985298#3985298 Reply to the post

[jboss-user] [JBoss Portal] - Re: Calling UserModule service

2006-11-10 Thread [EMAIL PROTECTED]
You need to have a JTA transaction open before you call the method createUser on the UserModule if you are using the database implementation of the user module. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984915#3984915 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Calling UserModule service

2006-11-10 Thread rashmi_setty
Can u tell me how to open JTA transaction. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985109#3985109 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985109