jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Pandey <VPan...@mdes.ms.gov>
Subject RE: User Managed Transactions...
Date Fri, 31 Jul 2009 13:43:03 GMT
There might be a line break and you might not be copying the full URL. I
just checked and the URL is alive.

-----Original Message-----
From: Gadbury [mailto:gadbury@googlemail.com] 
Sent: Thursday, July 30, 2009 3:59 PM
To: users@jackrabbit.apache.org
Subject: RE: User Managed Transactions...


Thank you Vijay, I shall take a closer look tomorrow.  By the way, the
second
link gives me a 404.

Cheers,

James


Vijay Pandey wrote:
> 
> You might want to take a look at this 
> 
>
http://static.raibledesigns.com/downloads/howto-tomcat-jotm.html#5.5-config
> 
> along with this 
> 
>
http://www.nabble.com/Re%3A-UserTransaction%2C-JOTM-and-Tomcat-5.5.x-p288894
> 3.html
> 
> Vijay
> 
> -----Original Message-----
> From: Gadbury [mailto:gadbury@googlemail.com] 
> Sent: Thursday, July 30, 2009 2:17 PM
> To: users@jackrabbit.apache.org
> Subject: Re: User Managed Transactions...
> 
> 
> 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
> InitialContext().lookup("java:comp/UserTransaction");
> 
> UserTransaction utx = new
> InitialContext().lookup("java:comp/env/UserTransaction");
> 
> 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:
> 
> <context>
> <Resource name="UserTransaction" auth="Container"
>     type="javax.transaction.UserTransaction"/>
>   <ResourceParams name="UserTransaction">
>     <parameter>
>       <name>factory</name>
>       <value>org.objectweb.jotm.UserTransactionFactory</value>
>     </parameter>
>     <parameter>
>       <name>jotm.timeout</name>
>       <value>60</value>
>     </parameter>
>   </ResourceParams>
> </context>
> 
> 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,
> 
> James
> -- 
> 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 this message in context:
http://www.nabble.com/User-Managed-Transactions...-tp24687924p24747221.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.



Mime
View raw message