jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gadbury <gadb...@googlemail.com>
Subject Re: User Managed Transactions...
Date Thu, 30 Jul 2009 19:16:53 GMT

Hi again all.

I have been trying to get javax.transaction.UserTransaction working by JNDI
lookup.  I use Eclipse Galileo and Tomcat 6.0.  I am trying trying retreive
a UserTransaction as follows  (I have tried both):

UserTransaction utx = new

UserTransaction utx = new

However, an exception is thrown stating that I must setup a system or
environment property, or the application context.  Do I need to configure
the resource and / or environment elements in context.xml?  For example, the
resource configuration:

<Resource name="UserTransaction" auth="Container"
  <ResourceParams name="UserTransaction">

Does Tomcat 6.0 support UserTransaction by JNDI, or do I need to use another
technology such as JOTM or Jencks?  Ideally I wouldn't have to install and
configure one of the other technologies.

Thanks for reading.  Kind regards,

View this message in context: http://www.nabble.com/User-Managed-Transactions...-tp24687924p24745618.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message