Hi,
I'm trying to write a simple transaction test to
help determine if our application is transactional compliant. to do this I
need to get a UserTransaction that I can rollback, commit, etc.
From the release notes of jBoss-2.4.0Beta it
appears that UserTransaction support has been added. However I am having
problems trying to get one from the jndiContext. Am I using the wrong
lookup name or do I have to configur jboss to register the
UserTransaction?
UserTransaction transaction =
(UserTransaction)ctx.lookup("java:comp/UserTransaction");
Thanks,
Gray Jones
|