[jboss-user] [JBoss Portal] - Re: UserModule transaction problem

alexandru30043004 do-not-reply at jboss.com
Mon Oct 23 14:29:59 EDT 2006


I managed to find in a test case in jboss portal sources a class that retrieves the transaction like that:

(UserTransaction)new InitialContext().lookup("UserTransaction");

but when I run this code I get 
Error org.jboss.tm.usertx.client.ServerVMClientUserTransaction
ErrorType java.lang.ClassCastException
Stacktrace ...

Any ideea?




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

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



More information about the jboss-user mailing list