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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to