geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: Spring support in Geronimo
Date Sat, 04 Feb 2006 01:19:23 GMT
Only in an EJB using bean managed transactions.

-dain

On Feb 3, 2006, at 5:01 PM, Jason Dillon wrote:

> Is a JTA UserTransaction supposed to be bound as
> java:comp/UserTransaction, from inside a EAR/EJB context?
>
> I'm getting unhappy exceptions like:
>
> <snip>
> Caused by: org.springframework.transaction.TransactionSystemException:
> JTA UserTransaction is not available at JNDI location
> [java:comp/UserTransaction]; nested exception is
> javax.naming.NameNotFoundException: UserTransaction
>         at  
> org.springframework.transaction.jta.JtaTransactionManager.lookupUserTr 
> ansaction(JtaTransactionManager.java:359)
>         at  
> org.springframework.transaction.jta.JtaTransactionManager.afterPropert 
> iesSet(JtaTransactionManager.java:312)
>         at  
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1065)
>         at  
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF 
> actory.createBean(AbstractAutowireCapableBeanFactory.java:343)
>         ... 65 more
> </snip>
>
> I've been meaning to download a JNDI viewer so I can actually see
> what's in there.
>
> --jason


Mime
View raw message